blob: be6eddb448ffd825153eb82f9934caa7d7d5758e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=squashfs-tools
pkgver=4.6.1
pkgrel=0
pkgdesc="Tools for SquashFS, a highly compressed read-only filesystem"
url="https://squashfs.sourceforge.net"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
depends=""
makedepends="attr-dev lz4-dev lzo-dev xz-dev zlib-dev"
source="https://downloads.sourceforge.net/squashfs/squashfs$pkgver.tar.gz
fix-compat.patch
"
# secfixes:
# 4.3-r5:
# - CVE-2015-4645
# 4.4-r0:
# - CVE-2015-4646
build() {
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1 -C squashfs-tools
}
package() {
mkdir -p "$pkgdir"/usr/sbin
cp -a squashfs-tools/mksquashfs squashfs-tools/unsquashfs "$pkgdir"/usr/sbin
}
sha512sums="10e8a4b1e2327e062aef4f85860e76ebcd7a29e4c19e152ff7edec4a38316982b5bcfde4ab69da6bcb931258d264c2b6cb40cb5f635f9e6f6eba1ed5976267cb squashfs4.6.1.tar.gz
7572f2fab6357525bc607a8db92b0c1f5fc7d482e935c3ee1828543a3de474162b71b8441f77ee1656873def8593d99158b14c55ec44799f22eed2978aa19147 fix-compat.patch"
|