diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-06-30 11:17:43 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-06-30 11:17:43 +0200 |
commit | de4ca8052c37aaa3e89273f48c7013c13d09c223 (patch) | |
tree | 9cd703868a28a5ada5987850fa7af75b0b382335 | |
parent | sys-fs/squashfs-tools: Clean up patch. (diff) | |
download | gentoo-de4ca8052c37aaa3e89273f48c7013c13d09c223.tar.gz gentoo-de4ca8052c37aaa3e89273f48c7013c13d09c223.tar.bz2 gentoo-de4ca8052c37aaa3e89273f48c7013c13d09c223.zip |
sys-fs/squashfs-tools: Version 4.3_p6.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
-rw-r--r-- | sys-fs/squashfs-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/squashfs-tools-4.3_p6.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/sys-fs/squashfs-tools/Manifest b/sys-fs/squashfs-tools/Manifest index 19e73e7434a1..f422cd408c4a 100644 --- a/sys-fs/squashfs-tools/Manifest +++ b/sys-fs/squashfs-tools/Manifest @@ -1,4 +1,5 @@ DIST squashfs-tools_4.3-3.debian.tar.xz 15252 BLAKE2B 5273eb8007192190786513f49be68eded38a7acae80d0c84067e8d239d53304a79be454cc4970af0d1c1eff6e58b75403201497dfd18d175f9d5aae5e0102834 SHA512 ab1a707e04e92697549f7e7c667c5da835d39d5e2cb791e47bf549b232e7173e6981c33a87cd373c4a7a4815e4af1b7294fe13e54422a5ccdcff90904bfc51ae +DIST squashfs-tools_4.3-6.debian.tar.xz 19060 BLAKE2B 4fc28fae1da2bd1bfbf774acd4f4b29e382760078efd16c655a9178633a58e1ab15fb0203a626dc6353df8ff6860f7da5f9369fd920cf773dd53f8b90cffe13c SHA512 e2f64cdcfe01696980a45d4d6ec50e82626cb3e25e8c98d63b68c9754f519171fcfc4586b4ef88104e28275e1daf94a23f5b7dd08d37fe6e8417b054954de1e7 DIST squashfs3.2-r2.tar.gz 314764 BLAKE2B 55d2f38572263c4b1ec704ed7a07794400e904e260e316e399511851d35ab0f7e1834eba605e8739d1b8f6b5a56512570d36196d21743d05842e958b3d80e368 SHA512 983f1fa966c15fb4929eaaf2d88401aac72f6d04e8c5523bd46397bc28928ff13b638e0e96bc09650627449c37f6a654ffa727445f1e9ca13cdc9de4fc43012f DIST squashfs3.4.tar.gz 352660 BLAKE2B f48b1f0399d3fde75b8f625fa4130d04772ed9e6d8dc179e7105a7770a5bd211a7aa5c7d5d621efedc54707b37a622351efa65291c03cd84d049ec4a1094773a SHA512 5e126ea468271f54c62d473a04a355169514f2668b4dc0de4138a8ef2a6e633d373454e7b85c1c684b875d9dfc8afb17c05548dd5062d05f847ffef8e624d9fe DIST squashfs4.3.tar.gz 182550 BLAKE2B f56ff33a505f7d60cced11224526bfce003bc06184ad7e8cb9cd08b14854164da8d2ecc64694d44085c46bcfa3aaa85939c97820415345053f7956af04066fdb SHA512 854ed7acc99920f24ecf11e0da807e5a2a162eeda55db971aba63a03f0da2c13b20ec0564a906c4b0e415bd8258b273a10208c7abc0704f2ceea773aa6148a79 diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.3_p6.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.3_p6.ebuild new file mode 100644 index 000000000000..1209603f28d9 --- /dev/null +++ b/sys-fs/squashfs-tools/squashfs-tools-4.3_p6.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Tool for creating compressed filesystem type squashfs" +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" + +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(+)] ) +" +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) + ) + + 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] +} |