Add an unzip shim for libarchive.

This commit is contained in:
Mid Favila 2021-10-23 03:13:06 +00:00
parent 4f48833ae1
commit 86976d11e9
9 changed files with 6 additions and 21 deletions

View File

@ -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"

View File

@ -1 +1,2 @@
7ad2f7c52468b4596791f94472afc307275ff9bc62bd418f256ef9cd007be0ce
f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0

View File

@ -0,0 +1,3 @@
#!/bin/sh -e
tar xf "${1}"

View File

@ -1 +1,2 @@
files/unzip
https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarchive-3.5.2.tar.xz

View File

@ -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"

View File

@ -1 +0,0 @@
0e17d3a8d0b206018693b27f08029b598f6ef03600c2b5d10c94ce58692e299b

View File

@ -1,3 +0,0 @@
bzip2
xz
zlib

View File

@ -1 +0,0 @@
https://github.com/libarchive/libarchive/releases/download/3.5.1/libarchive-3.5.1.tar.xz

View File

@ -1 +0,0 @@
3.5.1 1