summaryrefslogtreecommitdiff
path: root/user/squashfs-tools/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-30 03:16:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:13 -0500
commit6d3b8091164a5c7a382cbaa7f974277896d25a59 (patch)
tree42893b49f42d8fc6f716aea81e16bb52bc6d3264 /user/squashfs-tools/APKBUILD
parente3a8adeb51fbf5b5120457822a1a6db8e2c739cb (diff)
downloadpackages-6d3b8091164a5c7a382cbaa7f974277896d25a59.tar.gz
packages-6d3b8091164a5c7a382cbaa7f974277896d25a59.tar.bz2
packages-6d3b8091164a5c7a382cbaa7f974277896d25a59.tar.xz
packages-6d3b8091164a5c7a382cbaa7f974277896d25a59.zip
user/squashfs-tools: Update to 4.6.1
Also, move tools to /usr/sbin because lzo/lz4 are in /usr/lib.
Diffstat (limited to 'user/squashfs-tools/APKBUILD')
-rw-r--r--user/squashfs-tools/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/user/squashfs-tools/APKBUILD b/user/squashfs-tools/APKBUILD
index e33b06b16..be6eddb44 100644
--- a/user/squashfs-tools/APKBUILD
+++ b/user/squashfs-tools/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=squashfs-tools
-pkgver=4.4
+pkgver=4.6.1
pkgrel=0
pkgdesc="Tools for SquashFS, a highly compressed read-only filesystem"
-url="http://squashfs.sourceforge.net"
+url="https://squashfs.sourceforge.net"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
@@ -12,7 +12,6 @@ makedepends="attr-dev lz4-dev lzo-dev xz-dev zlib-dev"
source="https://downloads.sourceforge.net/squashfs/squashfs$pkgver.tar.gz
fix-compat.patch
"
-builddir="$srcdir/squashfs$pkgver/$pkgname"
# secfixes:
# 4.3-r5:
@@ -21,13 +20,13 @@ builddir="$srcdir/squashfs$pkgver/$pkgname"
# - CVE-2015-4646
build() {
- make XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
+ make XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1 -C squashfs-tools
}
package() {
- mkdir -p "$pkgdir"/sbin
- cp -a mksquashfs unsquashfs "$pkgdir"/sbin
+ mkdir -p "$pkgdir"/usr/sbin
+ cp -a squashfs-tools/mksquashfs squashfs-tools/unsquashfs "$pkgdir"/usr/sbin
}
-sha512sums="e7119f82cea0eda8dffcbf15c9ee511ad457e004bfc0c5a5685e84785e49cf34f3c053036449af6bba0012cef48426f65958c97b9958d58f1b31175cb0bbbe24 squashfs4.4.tar.gz
-12f5739aa32b9e15ba3d22e5953034f17867a8837475f13bde5bbc378dbded0483cde42c0cdfc5d33ab3723b9de752c71b5ba8f4301ca7b59aa4054d669c262d fix-compat.patch"
+sha512sums="10e8a4b1e2327e062aef4f85860e76ebcd7a29e4c19e152ff7edec4a38316982b5bcfde4ab69da6bcb931258d264c2b6cb40cb5f635f9e6f6eba1ed5976267cb squashfs4.6.1.tar.gz
+7572f2fab6357525bc607a8db92b0c1f5fc7d482e935c3ee1828543a3de474162b71b8441f77ee1656873def8593d99158b14c55ec44799f22eed2978aa19147 fix-compat.patch"