diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-04-10 13:40:20 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-04-10 13:40:42 +0200 |
commit | 62080301b42cc144c9e66e67bcbcc7785fec6322 (patch) | |
tree | b13bbc0e08b963179bb9154aaa33e99539b78f85 /sys-fs | |
parent | dev-embedded/platformio: Version bump (diff) | |
download | gentoo-62080301b42cc144c9e66e67bcbcc7785fec6322.tar.gz gentoo-62080301b42cc144c9e66e67bcbcc7785fec6322.tar.bz2 gentoo-62080301b42cc144c9e66e67bcbcc7785fec6322.zip |
sys-fs/squashfs-tools: Version 4.3_p12
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/squashfs-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/squashfs-tools-4.3_p12.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/sys-fs/squashfs-tools/Manifest b/sys-fs/squashfs-tools/Manifest index f740543e93ae..1995aff20fa5 100644 --- a/sys-fs/squashfs-tools/Manifest +++ b/sys-fs/squashfs-tools/Manifest @@ -1,4 +1,5 @@ DIST squashfs-tools_4.3-11.debian.tar.xz 27108 BLAKE2B 948a69f79fbec6af2467a56457410253676d693e1d67efef034f85523c17e6db6d85f1f9e9b2f8ae391ac5783d37b7d2cdb3434acee96c19880bbf6a5b771e40 SHA512 ef22436a6da925f8ac0c61ae4450b4cc9a87930b456035dd2588c3edf0d7530cd1a9d1e7bde90c9462e39687a9a8d0caedea5f181cd2414e4caa8af1d3965b0a +DIST squashfs-tools_4.3-12.debian.tar.xz 27300 BLAKE2B 60e127f0ab2fde08c58bf255926b47812b8103793ee187633bf0ee12c9b74ae55faf930f992be3eee87b998da9ed7bb42b1150e58903b2855b159b861b542669 SHA512 13b04a85b1237b5a88a0e01f82b992d98e1b29e3a90a29230607c5232e0188d5402de55a08b6cf78b09f7da2eea05ccc6d15ac0de375af8004c468cfac1fe940 DIST squashfs-tools_4.3-3.debian.tar.xz 15252 BLAKE2B 5273eb8007192190786513f49be68eded38a7acae80d0c84067e8d239d53304a79be454cc4970af0d1c1eff6e58b75403201497dfd18d175f9d5aae5e0102834 SHA512 ab1a707e04e92697549f7e7c667c5da835d39d5e2cb791e47bf549b232e7173e6981c33a87cd373c4a7a4815e4af1b7294fe13e54422a5ccdcff90904bfc51ae DIST squashfs-tools_4.3-7.debian.tar.xz 19612 BLAKE2B 7894b6fa27e7e46aec82b680a1ce521c895436ccb1cafcfd3d95e09f56546e08539a7c152854ee14e9516e217339617d25e68c0cc1a4c41b3bdd689caeefa94a SHA512 88df37e0c13483c5591f925156628b3ae27279f56d2453f7f1f82558da1bc3338e23e9481d704b785a40846c6dedc6b0a0e1dd2ea70fe26ea2f1e855fd6d6fdf DIST squashfs4.3.tar.gz 182550 BLAKE2B f56ff33a505f7d60cced11224526bfce003bc06184ad7e8cb9cd08b14854164da8d2ecc64694d44085c46bcfa3aaa85939c97820415345053f7956af04066fdb SHA512 854ed7acc99920f24ecf11e0da807e5a2a162eeda55db971aba63a03f0da2c13b20ec0564a906c4b0e415bd8258b273a10208c7abc0704f2ceea773aa6148a79 diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.3_p12.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.3_p12.ebuild new file mode 100644 index 000000000000..48c56a335453 --- /dev/null +++ b/sys-fs/squashfs-tools/squashfs-tools-4.3_p12.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="tools to create and extract Squashfs filesystems" +HOMEPAGE="http://squashfs.sourceforge.net" +SRC_URI=" + mirror://sourceforge/squashfs/squashfs${PV/_p*}.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug lz4 lzma lzo static xattr +xz zstd" + +LIB_DEPEND=" + sys-libs/zlib[static-libs(+)] + !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) + lz4? ( app-arch/lz4[static-libs(+)] ) + lzma? ( app-arch/xz-utils[static-libs(+)] ) + lzo? ( dev-libs/lzo[static-libs(+)] ) + xattr? ( sys-apps/attr[static-libs(+)] ) + xz? ( app-arch/xz-utils[static-libs(+)] ) + zstd? ( app-arch/zstd[static-libs(+)] ) +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) +" +DEPEND=" + ${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +PATCHES=( + "${FILESDIR}"/${P/_p*}-sysmacros.patch + "${FILESDIR}"/${P/_p*}-aligned-data.patch + "${FILESDIR}"/${P/_p*}-local-cve-fix.patch + "${FILESDIR}"/${P/_p*}-mem-overflow.patch + "${FILESDIR}"/${P/_p*}-extmatch.patch + "${FILESDIR}"/${P/_p*}-musl.patch +) + +S="${WORKDIR}/squashfs${PV/_p*}/${PN}" + +src_prepare() { + eapply -p2 "${WORKDIR}"/debian/patches/*.patch + eapply -p2 ${PATCHES[@]} + eapply_user +} + +use10() { usex $1 1 0 ; } + +src_configure() { + # restore GNU89 inline semantics to + # emit function symbols, bug 595290 + append-cflags -std=gnu89 + + # set up make command line variables in EMAKE_SQUASHFS_CONF + EMAKE_SQUASHFS_CONF=( + LZMA_XZ_SUPPORT=$(use10 lzma) + LZO_SUPPORT=$(use10 lzo) + LZ4_SUPPORT=$(use10 lz4) + XATTR_SUPPORT=$(use10 xattr) + XZ_SUPPORT=$(use10 xz) + ZSTD_SUPPORT=$(use10 zstd) + ) + + tc-export CC + use debug && append-cppflags -DSQUASHFS_TRACE + use static && append-ldflags -static +} + +src_compile() { + emake "${EMAKE_SQUASHFS_CONF[@]}" +} + +src_install() { + dobin mksquashfs unsquashfs + cd .. + dodoc CHANGES PERFORMANCE.README pseudo-file.example README* OLD-READMEs/* + doman "${WORKDIR}"/debian/manpages/*.[0-9] +} |