a5b344a5cd
Fixes CVE-2015-4645 and unsquashfs stack overflow on musl.
20 lines
625 B
Bash
20 lines
625 B
Bash
# Template file for 'squashfs-tools'
|
|
pkgname=squashfs-tools
|
|
version=4.3
|
|
revision=4
|
|
wrksrc="squashfs${version}"
|
|
makedepends="zlib-devel lzo-devel liblzma-devel"
|
|
license="GPL-2"
|
|
homepage="http://squashfs.sf.net/"
|
|
short_desc="Tool to create and append to squashfs filesystems"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
|
|
checksum=0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6
|
|
|
|
do_build() {
|
|
make -C ${pkgname} ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1
|
|
}
|
|
do_install() {
|
|
vbin ${pkgname}/mksquashfs
|
|
vbin ${pkgname}/unsquashfs
|
|
}
|