Add an unzip shim for libarchive.
This commit is contained in:
parent
4f48833ae1
commit
86976d11e9
@ -13,6 +13,5 @@ make DESTDIR="$1" install
|
||||
ln -s bsdcat "$1/usr/bin/cat"
|
||||
ln -s bsdcpio "$1/usr/bin/cpio"
|
||||
ln -s bsdtar "$1/usr/bin/tar"
|
||||
install -Dm644 unzip "$1/usr/bin/unzip"
|
||||
|
||||
printf '/bin/sh -e\n\nbsdtar xf "${1}"' > "$1/usr/bin/unzip"
|
||||
chmod +x "$1/usr/bin/unzip"
|
||||
|
@ -1 +1,2 @@
|
||||
7ad2f7c52468b4596791f94472afc307275ff9bc62bd418f256ef9cd007be0ce
|
||||
f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0
|
||||
|
3
core-mod/core/libarchive/files/unzip
Executable file
3
core-mod/core/libarchive/files/unzip
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
tar xf "${1}"
|
@ -1 +1,2 @@
|
||||
files/unzip
|
||||
https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarchive-3.5.2.tar.xz
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-nettle \
|
||||
--without-openssl \
|
||||
--without-xml2 \
|
||||
--without-expat
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
ln -s bsdtar "$1/usr/bin/tar"
|
@ -1 +0,0 @@
|
||||
0e17d3a8d0b206018693b27f08029b598f6ef03600c2b5d10c94ce58692e299b
|
@ -1,3 +0,0 @@
|
||||
bzip2
|
||||
xz
|
||||
zlib
|
@ -1 +0,0 @@
|
||||
https://github.com/libarchive/libarchive/releases/download/3.5.1/libarchive-3.5.1.tar.xz
|
@ -1 +0,0 @@
|
||||
3.5.1 1
|
Loading…
Reference in New Issue
Block a user