summaryrefslogtreecommitdiff
path: root/data/apt7-lib
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 10:49:31 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 10:49:31 -1000
commit2f8f0c32e83897a3644f0d94bfaf437743e2741b (patch)
tree87038c9a8a49f33db1e3c1a5f4cc38109f4e0de2 /data/apt7-lib
parentaf3c4ce5f8f1a128eaf24d22749df3b7e744e41b (diff)
Update apt7 to 1.4.8 based on nitotv fork and add xz support
Diffstat (limited to 'data/apt7-lib')
l---------data/apt7-lib/_metadata/lz4.dep1
l---------data/apt7-lib/_metadata/xz.dep1
-rw-r--r--data/apt7-lib/make.sh11
3 files changed, 6 insertions, 7 deletions
diff --git a/data/apt7-lib/_metadata/lz4.dep b/data/apt7-lib/_metadata/lz4.dep
new file mode 120000
index 000000000..bccb2875c
--- /dev/null
+++ b/data/apt7-lib/_metadata/lz4.dep
@@ -0,0 +1 @@
+../../lz4 \ No newline at end of file
diff --git a/data/apt7-lib/_metadata/xz.dep b/data/apt7-lib/_metadata/xz.dep
new file mode 120000
index 000000000..d5eb7ae54
--- /dev/null
+++ b/data/apt7-lib/_metadata/xz.dep
@@ -0,0 +1 @@
+../../xz \ No newline at end of file
diff --git a/data/apt7-lib/make.sh b/data/apt7-lib/make.sh
index 373980ce9..bf5b34eaf 100644
--- a/data/apt7-lib/make.sh
+++ b/data/apt7-lib/make.sh
@@ -3,10 +3,7 @@ cp -a "$(PKG_DEST_ _apt7)"/var "${PKG_DEST}"
pkg: mkdir -p /usr
cp -a "$(PKG_DEST_ _apt7)"/usr/lib "${PKG_DEST}"/usr
-pkg: rm -f /usr/lib/apt/methods/https
-pkg: ln -s http /usr/lib/apt/methods/https
-
-pkg: hexdump -ve '1/1 "%.2X"' /usr/lib/apt/methods/http | sed -e 's/\(0C0000005C0000001800000002000000\)00......\(000096002F53797374656D2F4C6962726172792F4672616D65776F726B732F436F7265466F756E646174696F6E2E6672616D65776F726B2F436F7265466F756E646174696F6E0000\)/\1000EAA05\2/' | xxd -r -p >"${PKG_DEST}"/usr/lib/apt/methods/http_
-pkg: mv -f /usr/lib/apt/methods/http_ /usr/lib/apt/methods/http
-pkg: chmod 755 /usr/lib/apt/methods/http
-pkg: ldid -S /usr/lib/apt/methods/http
+cp -a "$(PKG_DEST_ _apt7)"/usr/libexec "${PKG_DEST}"/usr
+pkg: ln -s ../libexec/apt /usr/lib/apt
+pkg: rm -f /usr/libexec/apt/methods/https
+pkg: ln -s http /usr/libexec/apt/methods/https