diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-21 18:58:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-21 18:58:21 +0100 |
commit | 3811bc3072bf19e2be351d2c63f81532945c0f21 (patch) | |
tree | 52b4da2dd6e3e391c6d505db21bf24fbedd2cb6e /app-arch | |
parent | 741f84b9049559581fdb52d1f8b93b5105c1187b (diff) |
gentoo resync : 21.07.2018
Diffstat (limited to 'app-arch')
24 files changed, 209 insertions, 585 deletions
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz Binary files differindex 2ee9ed149ba9..2922ef44df0e 100644 --- a/app-arch/Manifest.gz +++ b/app-arch/Manifest.gz diff --git a/app-arch/brotli/Manifest b/app-arch/brotli/Manifest index 82569652e237..d8495b420075 100644 --- a/app-arch/brotli/Manifest +++ b/app-arch/brotli/Manifest @@ -7,6 +7,6 @@ EBUILD brotli-1.0.2.ebuild 1440 BLAKE2B 5c9bff9a21dd9aa71846f75615d5d0aaea5ec7ec EBUILD brotli-1.0.3-r1.ebuild 1421 BLAKE2B 51ff6f7042873b1ae54672c1727f5558005ccf84ab385c24bd3c036b4533d181dd0adbe59e8d2d0aeb37bced3cda7399ed447cbce8fe2f1370347a153c48095d SHA512 65d064cb8c1c99874ae66de10a2204d5506a5545c7af26839105d6dbbf6767b52630745d087ba46c9c12168ec329f79b2f8425fc165e8e2c4c41a0d1a9d8a86c EBUILD brotli-1.0.3.ebuild 1398 BLAKE2B 7cce4fc14efb56d134eea51714e12c1dde687a5d57daa2d27a94d39358a26633dfb0a380872bc9a32e32c4d772fa8602eacd5f857c85f4dd5e096c4783b63e93 SHA512 8210643e246c6172946577112adb0bd721f2a4810461db192ec2b2e2bb7ca917b5dde061ce760aedfc7d908a5944ec4dc89ace253adf79b0337b0bb2b0f2cbef EBUILD brotli-1.0.4.ebuild 1421 BLAKE2B 51ff6f7042873b1ae54672c1727f5558005ccf84ab385c24bd3c036b4533d181dd0adbe59e8d2d0aeb37bced3cda7399ed447cbce8fe2f1370347a153c48095d SHA512 65d064cb8c1c99874ae66de10a2204d5506a5545c7af26839105d6dbbf6767b52630745d087ba46c9c12168ec329f79b2f8425fc165e8e2c4c41a0d1a9d8a86c -EBUILD brotli-1.0.5.ebuild 1421 BLAKE2B 51ff6f7042873b1ae54672c1727f5558005ccf84ab385c24bd3c036b4533d181dd0adbe59e8d2d0aeb37bced3cda7399ed447cbce8fe2f1370347a153c48095d SHA512 65d064cb8c1c99874ae66de10a2204d5506a5545c7af26839105d6dbbf6767b52630745d087ba46c9c12168ec329f79b2f8425fc165e8e2c4c41a0d1a9d8a86c -EBUILD brotli-9999.ebuild 1421 BLAKE2B 51ff6f7042873b1ae54672c1727f5558005ccf84ab385c24bd3c036b4533d181dd0adbe59e8d2d0aeb37bced3cda7399ed447cbce8fe2f1370347a153c48095d SHA512 65d064cb8c1c99874ae66de10a2204d5506a5545c7af26839105d6dbbf6767b52630745d087ba46c9c12168ec329f79b2f8425fc165e8e2c4c41a0d1a9d8a86c +EBUILD brotli-1.0.5.ebuild 1423 BLAKE2B f1b4d9b2f69532f1c262f66350744cf5deab65ea68cbcdaa136670cb8e26226f3b13acf8c16d2f1adb3002a9b3fbe22bfd7750d2912585b19da8493c281ecdc4 SHA512 f2b97bb2a14d6f36d58b9905dea34816ea630d6b582b9f8ee69ba59470cc55833e2753e6b37d45d5f2c7f4cc785a604d8d3857c46b8a79dc823b5be3cbb998c8 +EBUILD brotli-9999.ebuild 1423 BLAKE2B f1b4d9b2f69532f1c262f66350744cf5deab65ea68cbcdaa136670cb8e26226f3b13acf8c16d2f1adb3002a9b3fbe22bfd7750d2912585b19da8493c281ecdc4 SHA512 f2b97bb2a14d6f36d58b9905dea34816ea630d6b582b9f8ee69ba59470cc55833e2753e6b37d45d5f2c7f4cc785a604d8d3857c46b8a79dc823b5be3cbb998c8 MISC metadata.xml 686 BLAKE2B 192c9019f79840dfcc409e8244eac99f3bd793ea91bb8f5f26fcf1a9dbb6ba34273ea2221e0e18322dccec1674929cdf1bfd7ca19628a3e69fc4bdd6f60ba932 SHA512 4057d0834db13baf716500e6d8fa80b9d6ee854f7e9620462ed1162d2bc6ff88d2bb2f81902c6730df337afc38c8eb378fa5b85debd2a5a57597c0faf58132dc diff --git a/app-arch/brotli/brotli-1.0.5.ebuild b/app-arch/brotli/brotli-1.0.5.ebuild index e06daa440b9b..13c06932944f 100644 --- a/app-arch/brotli/brotli-1.0.5.ebuild +++ b/app-arch/brotli/brotli-1.0.5.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy ) DISTUTILS_OPTIONAL="1" inherit cmake-utils distutils-r1 eapi7-ver diff --git a/app-arch/brotli/brotli-9999.ebuild b/app-arch/brotli/brotli-9999.ebuild index e06daa440b9b..13c06932944f 100644 --- a/app-arch/brotli/brotli-9999.ebuild +++ b/app-arch/brotli/brotli-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy ) DISTUTILS_OPTIONAL="1" inherit cmake-utils distutils-r1 eapi7-ver diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest index 5bc92764178b..f8a43aac37d5 100644 --- a/app-arch/bzip2/Manifest +++ b/app-arch/bzip2/Manifest @@ -8,6 +8,5 @@ AUX bzip2-1.0.6-out-of-tree-build.patch 2121 BLAKE2B ff2d18e161e2ed437b3452639b3 AUX bzip2-1.0.6-progress.patch 5716 BLAKE2B 8f89dcc1f9d95440cba7df54ee80e861e02e8f88d1ad906ef4bcecf4796ec125434b0e4d56f83715f30114d808aad9811b72cc890e85ace1901350d96f9d3f91 SHA512 e72ada256b08b539e4489d714d4d8612c643549cd25b1ec4e455b2c769c0955fe0e1f54504b259db213f3c72aa78c08d1f0513ce1ae113182691b504bd9c09b7 AUX bzip2-1.0.6-saneso.patch 443 BLAKE2B b496406e6f3c520886fff99c9206d6d1a01dc0e55a8491bec0318741dc53ad6da321553e73c8929c5fb4938e7275671c04d4b5c86730b580a042a18bb81b7116 SHA512 b9798368d12ab3547ccd3bb614e3a81f1b232990c0f9e3e4472532a8070a3c212274d5b9d093cd046cfee7c8d25da9cfd368c7ca4bd86fbb67f34510107159ab DIST bzip2-1.0.6.tar.gz 782025 BLAKE2B b31533af7c71d715e6600874bb0a11b9b3aebbb08af0414a6d88bd5a2ad879a482ad408338159cb6c241815da8f48798d2ea7789ea971431d0be42ee827b0a7e SHA512 00ace5438cfa0c577e5f578d8a808613187eff5217c35164ffe044fbafdfec9e98f4192c02a7d67e01e5a5ccced630583ad1003c37697219b0f147343a3fdd12 -EBUILD bzip2-1.0.6-r8.ebuild 3016 BLAKE2B 1f48f0161c93dabc18beeab6f064b5ec44b901ca474525c3159c7859cafe3fd6207bafeb7254e763c5a9261f9d4b59271af564771d9201c00ecc408928154388 SHA512 b969bde987920cd44a90c4b89efc90f35f71c988852e0c623c38b461d8ec5ab9e969963aaf7b2177e5dad1fa4d0e0da7c61092527a5aebf2a6d17d5d6949bc85 -EBUILD bzip2-1.0.6-r9.ebuild 3050 BLAKE2B fae48013f5b10e6dc5601cae339ee1f5fc9e23432eb4a007e2d14558443992a0df3bf24b575597d00e1caac6d2463b1bbb61c84f70888dbe7258794f30610a6e SHA512 04a09cb18999d5b6cc5736ca51ebc74acf4f146a804990aad92540b0be42edf88098e4cb2f405d5b6803064f44b5febfd1a8b66829f6e26941287d2fed9451d8 +EBUILD bzip2-1.0.6-r9.ebuild 3048 BLAKE2B 0118a8817ad403a1b42c4fc5aa3609ebf8690ea237425a813ea370ca521bb880e47ef332603aa5b88dfa3b8a8300fff3342fd0437171bfc8c8781f6615d427bb SHA512 919c01e29973fc3722dfcb53edd046fd7a6de492bf2ca4514a807a778a3f4cf181f90e9ce6f39542e8baa584bb1f989820e951cf12aea4a76c74b2d146ef3914 MISC metadata.xml 332 BLAKE2B b949c1c7d17334fcb499bbbd042cb217092743b6ae29fc64e634f7957767bf8c6a46f865b1681ce165d60143307795ebc417887fa8ba7a69afee95062411ea07 SHA512 1a7f730b73728875e428e7b123cd8e7773e8ea88a02d6891727775b50196854c608ae541846063a258874a83aab38800dc697b37196fe1c75162abe21b8f92d0 diff --git a/app-arch/bzip2/bzip2-1.0.6-r8.ebuild b/app-arch/bzip2/bzip2-1.0.6-r8.ebuild deleted file mode 100644 index 167f56e9bfd2..000000000000 --- a/app-arch/bzip2/bzip2-1.0.6-r8.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly -# (since we're building shared libs) ... - -EAPI=5 - -inherit eutils toolchain-funcs multilib multilib-minimal - -DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" -HOMEPAGE="http://www.bzip.org/" -SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" - -LICENSE="BZIP2" -SLOT="0/1" # subslot = SONAME -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" -IUSE="static static-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch - "${FILESDIR}"/${PN}-1.0.6-saneso.patch - "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 - "${FILESDIR}"/${PN}-1.0.6-progress.patch - "${FILESDIR}"/${PN}-1.0.3-no-test.patch - "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 - "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573 - "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch - "${FILESDIR}"/${PN}-1.0.6-CVE-2016-3189.patch #620466 -) - -src_prepare() { - epatch "${PATCHES[@]}" - - # - Use right man path - # - Generate symlinks instead of hardlinks - # - pass custom variables to control libdir - sed -i \ - -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \ - -e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \ - -e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ - Makefile || die -} - -bemake() { - emake \ - VPATH="${S}" \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - "$@" -} - -multilib_src_compile() { - bemake -f "${S}"/Makefile-libbz2_so all - # Make sure we link against the shared lib #504648 - ln -sf libbz2.so.${PV} libbz2.so - bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')" -} - -multilib_src_install() { - into /usr - - # Install the shared lib manually. We install: - # .x.x.x - standard shared lib behavior - # .x.x - SONAME some distros use #338321 - # .x - SONAME Gentoo uses - dolib.so libbz2.so.${PV} - local v - for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do - dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} - done - use static-libs && dolib.a libbz2.a - - if multilib_is_native_abi ; then - gen_usr_ldscript -a bz2 - - dobin bzip2recover - into / - dobin bzip2 - fi -} - -multilib_src_install_all() { - # `make install` doesn't cope with out-of-tree builds, nor with - # installing just non-binaries, so handle things ourselves. - insinto /usr/include - doins bzlib.h - into /usr - dobin bz{diff,grep,more} - doman *.1 - - dosym bzdiff /usr/bin/bzcmp - dosym bzdiff.1 /usr/share/man/man1/bzcmp.1 - - dosym bzmore /usr/bin/bzless - dosym bzmore.1 /usr/share/man/man1/bzless.1 - - local x - for x in bunzip2 bzcat bzip2recover ; do - dosym bzip2.1 /usr/share/man/man1/${x}.1 - done - for x in bz{e,f}grep ; do - dosym bzgrep /usr/bin/${x} - dosym bzgrep.1 /usr/share/man/man1/${x}.1 - done - - dodoc README* CHANGES manual.pdf - dohtml manual.html - - # move "important" bzip2 binaries to /bin and use the shared libbz2.so - dosym bzip2 /bin/bzcat - dosym bzip2 /bin/bunzip2 -} diff --git a/app-arch/bzip2/bzip2-1.0.6-r9.ebuild b/app-arch/bzip2/bzip2-1.0.6-r9.ebuild index 5200b0c3413e..d4a73abdd219 100644 --- a/app-arch/bzip2/bzip2-1.0.6-r9.ebuild +++ b/app-arch/bzip2/bzip2-1.0.6-r9.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" LICENSE="BZIP2" SLOT="0/1" # subslot = SONAME -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="static static-libs" PATCHES=( diff --git a/app-arch/hardlink/Manifest b/app-arch/hardlink/Manifest index b519ee5b3955..bec6d368a846 100644 --- a/app-arch/hardlink/Manifest +++ b/app-arch/hardlink/Manifest @@ -1,5 +1,6 @@ DIST hardlink_0.2.0.tar.gz 12478 BLAKE2B 42918fbacdd230796e59f6ae7968599a90b63cc35876872ef34919377d6489c6c99d06f201a122f5859a283cea2672dbcc207e04c6b5ca0c54ab4e2f4178a970 SHA512 963fe90aa09e2bd548722b5c7f047fbd54fddf37967333e86251d7e5d1c646108ce90d78e7efeb8af6b9169b9a0bc5bc8b744afe1e813390f3e0bd535ce22005 DIST hardlink_0.3.0.tar.xz 14440 BLAKE2B cfbd02b008d49b129e0b75f67bf45d904e89a1e585d0e05e959770a4367ad0f5823f24cb4f3f6715310c749ba368ac00d378f8eb967a1b4437335eecee8a5077 SHA512 22a8945ce5dac74b05bb1231959823aec0cd364d6db9ad808df4acf232d894170c006ac1e88509604ce1859d41bd4a5d91e2b12c8010aa7fc7e19a77922c4486 -EBUILD hardlink-0.2.0.ebuild 947 BLAKE2B e36630eed495ad995eb78de4ec0e345c84c482de144d3634d2d781f0272b8439878a21cd72d013011c678c9fe2b9bb8d7ea8d22b841d9b085a5457879c396ebf SHA512 55d1a806082a726d826f3c8fd44806d009a9efaa9cd7ddcd9ec25b16980aeb86b98f12ca756df7f3190480ebe39cda4e67d36240ce4ea6f41d9dfc10681c9ff2 -EBUILD hardlink-0.3.0.ebuild 951 BLAKE2B 0dcd0bfc08f308499a4b2ba366593c47ae1d35044d1fc6f32107e3ef52e4aa45ac4ec9de3db9325bc02a0f25217a98a1865f29ddef03afa051f7c054ed06a2b8 SHA512 ab20f75ababc3f64f3422f4dad0cfdaa4646aeb118382813c83c17ffbeb3f5577c0f2aec26c16d01b594aa91be7b3072026b37f9680af1e18bc1d485213bfefb +EBUILD hardlink-0.2.0.ebuild 949 BLAKE2B 4bc9cadbbd21a5fff33192e3c132e37e25ed17519dab483ae6b699a03da912a2236fbfb6e6065052f5202b36d601fbbb6fa84abf01b6e8cd98a784d9911360a5 SHA512 632ea6bb7ef4d9bd78ab185ccf6028b41731146d15eecebaef2c9f623c3f2c0112b8b1265c3808d7ef728f47f7c2c664eeb670abf3871720c48a43b92537cba8 +EBUILD hardlink-0.3.0-r1.ebuild 946 BLAKE2B c6d10c932bbe4ec4be3bc57c7ceb785118dcc9a33b997e0a3ae7b4d213ca2f6bb18fdb67a8203f7134b3640736e7ad3beb07556dd59dd3c66efb38787039e91b SHA512 c97a9b425ee7306931601c1a33e8bb8a0f4f0d8bed4ad33a5a7f0a38de4d17f952a521ecfcb3c25606007b70661632e06402373e4b64048c16f8ac74a0cf8331 +EBUILD hardlink-0.3.0.ebuild 953 BLAKE2B 11199ae0f842229c6366a797523b9b9b32816cf7cf21b5dc3d980c400daf58297bb804f98a62f92562b5c1a02e7c32e4e6ed972ffa6a1b6694e85a2c8e781cad SHA512 925ff75903a12381c440382981507e14d7eb8b1901e1dd7001632a422a862e1588290c3bfe6ed823898e2c4b594212c96500d25cbfd5a0a8042a5b6e578e791d MISC metadata.xml 375 BLAKE2B d148dcbae6b75d007f0fdb447b3e0a866df0468da507482ce60fbf4dc8f758053bc4fd9d5179f07915576dc10a96102c797747cb499199f55d22c7a989cc10a2 SHA512 1f14b085ab758738cc521af00de93bd47ca037f6b59fff96352c72e8f4acae7fa2bb5a8aa2df9eb865d992035a9c57c0b976cbe5f6033e4a77250e9101b22b7c diff --git a/app-arch/hardlink/hardlink-0.2.0.ebuild b/app-arch/hardlink/hardlink-0.2.0.ebuild index d45ddbfecf17..169f891ede6c 100644 --- a/app-arch/hardlink/hardlink-0.2.0.ebuild +++ b/app-arch/hardlink/hardlink-0.2.0.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 inherit toolchain-funcs DESCRIPTION="A tool which replaces copies of a file with hardlinks" -HOMEPAGE="http://jak-linux.org/projects/hardlink/" -SRC_URI="http://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.gz" +HOMEPAGE="https://jak-linux.org/projects/hardlink/" +SRC_URI="https://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/app-arch/hardlink/hardlink-0.3.0-r1.ebuild b/app-arch/hardlink/hardlink-0.3.0-r1.ebuild new file mode 100644 index 000000000000..313db6d71904 --- /dev/null +++ b/app-arch/hardlink/hardlink-0.3.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A tool which replaces copies of a file with hardlinks" +HOMEPAGE="https://jak-linux.org/projects/hardlink/" +SRC_URI="https://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" + +RDEPEND="dev-libs/libpcre" +BDEPEND="virtual/pkgconfig" + +DOCS=( README ${T}/README.rsync ) + +src_prepare() { + default + sed -i -e '/^CF/s:?=:+=:' -e '/^CF/s:-O2 -g::' Makefile || die + + cat <<-EOF > "${T}"/README.rsync + https://hardlinkpy.googlecode.com/svn/trunk/hardlink.py has regex '^\..*\.\?{6,6}$' + for excluding rsync temporary files by default. + + To accomplish same with this version, you can use following syntax: + # hardlink -x '^\..*\.\?{6,6}$' + + This was discussed at https://bugs.gentoo.org/416613 + EOF +} + +src_compile() { + emake CC=$(tc-getCC) +} diff --git a/app-arch/hardlink/hardlink-0.3.0.ebuild b/app-arch/hardlink/hardlink-0.3.0.ebuild index ba3a9f866baf..8b23adc7d94f 100644 --- a/app-arch/hardlink/hardlink-0.3.0.ebuild +++ b/app-arch/hardlink/hardlink-0.3.0.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 inherit toolchain-funcs DESCRIPTION="A tool which replaces copies of a file with hardlinks" -HOMEPAGE="http://jak-linux.org/projects/hardlink/" -SRC_URI="http://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.xz" +HOMEPAGE="https://jak-linux.org/projects/hardlink/" +SRC_URI="https://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.xz" LICENSE="MIT" SLOT="0" diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest index 18055ce17019..a21a85998e8a 100644 --- a/app-arch/rpm/Manifest +++ b/app-arch/rpm/Manifest @@ -6,5 +6,6 @@ DIST rpm-4.12.0.1.tar.bz2 4129093 BLAKE2B 85addde70d031f179566771350f5907311cf61 DIST rpm-4.14.1.tar.bz2 4103880 BLAKE2B 3fa7579a251b02ec89943b5505ad9ca7303a444eb64b1018fc74bc6dfb1c19d4f30d96189172c4450925f3357174cde70b298116b53b9155223b52a593a67aea SHA512 29e95eaaf40a6ddf7f23446ea6cb8a1dcd12a45d4965595a705cb9130890d772a40ecfa475b189865da51248b3d2414e4f4b1a40cbfd7ca538c482d87c50a218 EBUILD rpm-4.11.0.1.ebuild 2739 BLAKE2B 80664cf24466365a81eb4774a49a146327367b20c26fabc11c872ad8c4c22079235ae9dc0ece0956478668fcf47caca1215fe77674f7f06e778eea7003502ef6 SHA512 ecade45798b73e1a573edac06b60dbe0d0e2d4915a13beb41bbdfdc2596e208899bf6b7a36ad1144d65ebf1c186889c6f9928575ff7f5f14516deb5687b2d83a EBUILD rpm-4.12.0.1.ebuild 2894 BLAKE2B cf3ba401cf5c1b327c9911416926e849e52841bbc1ab937eaea44949a68ce91bc609ad2c6cf241d57f93b948ded48753cd888cadb3ff21a78fcc5b8586e9c355 SHA512 cf4c78083f32a3f54d732261d284e6a8ea4b7f5d6ff5150ff398627929b8329913a188e629fb930c7c042e4391725ce83546ec030a8d47095eb8065bc202d9f2 +EBUILD rpm-4.14.1-r1.ebuild 3325 BLAKE2B 2fee8b954de059fce00922e09c1da37f4e32da8c7333d8032fc31c9a6a2b978a61c40c4833c723b58c10db6a75e676c1be1c838084409e09c1075e076e050bf6 SHA512 9b991624f7def19b2e06b03a938930239c339fa411662577b20ed4ee744fc750c67fa5c22cc521dbd1c0931778ea9a6d5905db93922830769ab5c179a017383e EBUILD rpm-4.14.1.ebuild 3240 BLAKE2B c5affb6379387da560f5de40de55fbb22dd4ddad850a87b9f72ef7615cec38056d9465cf6b41b49f17b90fde0c4d72c4ddcba6134e06e0fc26bcf7f91f6da5b5 SHA512 88a58c95d18b05fb910ffc09ffaad08d8592235dc1b1110b4c07a7e8e6c1c0f886030c2e7629d7a8a1d45c9722ea82adc23bc589bb5fbea8c9e00d9447e6dd22 -MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 +MISC metadata.xml 446 BLAKE2B 7d96be70d67580be8b2f1726dc905d9ff4a6d291c6fe72e52bd5c7a4614cc0b61bc3c6dfe12c715558a89554878b20a5df7cd02414275728be15e3bb6f0eec66 SHA512 9a426e6ce042ecd050c19adadfe10c53d72c1ecbf313673c8a5cd66096aa05bf54d0f67b9659ec07be2367f90f9b43028d3b3302fead2fe8f8f55764e17d9dc6 diff --git a/app-arch/rpm/metadata.xml b/app-arch/rpm/metadata.xml index 7a38bb900964..49d25c49b068 100644 --- a/app-arch/rpm/metadata.xml +++ b/app-arch/rpm/metadata.xml @@ -1,5 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <use> + <flag name="zstd">Enable support for ZSTD compression using <pkg>app-arch/zstd</pkg></flag> + </use> + <upstream> + <remote-id type="github">rpm-software-management/rpm</remote-id> + </upstream> </pkgmetadata> diff --git a/app-arch/rpm/rpm-4.14.1-r1.ebuild b/app-arch/rpm/rpm-4.14.1-r1.ebuild new file mode 100644 index 000000000000..1afa7aeae2ca --- /dev/null +++ b/app-arch/rpm/rpm-4.14.1-r1.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit autotools flag-o-matic perl-module python-single-r1 eapi7-ver + +DESCRIPTION="Red Hat Package Management Utils" +HOMEPAGE="http://www.rpm.org + https://github.com/rpm-software-management/rpm" +SRC_URI="http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" + +# Tests are broken. See bug 657500 +RESTRICT="test" + +IUSE="acl caps doc lua nls python selinux test zstd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +CDEPEND="!app-arch/rpm5 + app-arch/libarchive + >=sys-libs/db-4.5:* + >=sys-libs/zlib-1.2.3-r1 + >=app-arch/bzip2-1.0.1 + >=dev-libs/popt-1.7 + >=app-crypt/gnupg-1.2 + dev-libs/elfutils + virtual/libintl + >=dev-lang/perl-5.8.8 + dev-libs/nss + python? ( ${PYTHON_DEPS} ) + nls? ( virtual/libintl ) + lua? ( >=dev-lang/lua-5.1.0:*[deprecated] ) + acl? ( virtual/acl ) + caps? ( >=sys-libs/libcap-2.0 ) + zstd? ( app-arch/zstd ) +" +DEPEND="${CDEPEND} + nls? ( sys-devel/gettext ) + doc? ( app-doc/doxygen ) + virtual/pkgconfig + test? ( sys-apps/fakechroot ) +" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-rpm ) +" + +src_prepare() { + eapply "${FILESDIR}"/${PN}-4.11.0-autotools.patch + eapply "${FILESDIR}"/${PN}-4.8.1-db-path.patch + eapply "${FILESDIR}"/${PN}-4.9.1.2-libdir.patch + + # fix #356769 + sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed" + # fix #492642 + sed -i "s:@__PYTHON@:${PYTHON}:" macros.in || die "Fixing %__python failed" + + eapply_user + + eautoreconf + + # Prevent automake maintainer mode from kicking in (#450448). + touch -r Makefile.am preinstall.am +} + +src_configure() { + append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" + econf \ + --without-selinux \ + --with-external-db \ + --with-crypto=nss \ + $(use_enable python) \ + $(use_with doc hackingdocs) \ + $(use_enable nls) \ + $(use_with lua) \ + $(use_with caps cap) \ + $(use_with acl) \ + $(use_enable zstd zstd $(usex zstd yes no)) +} + +src_install() { + default + + # remove la files + find "${ED}" -name '*.la' -delete || die + + # fix symlinks to /bin/rpm (#349840) + for binary in rpmquery rpmverify;do + ln -sf rpm "${ED}"/usr/bin/${binary} || die + done + + if ! use nls; then + rm -rf "${ED}"/usr/share/man/?? || die + fi + + keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} + + dodoc CREDITS README* + if use doc; then + for docname in hacking librpm; do + docinto "html/${docname}" + dodoc -r "doc/${docname}/html/." + done + fi + + # Fix perllocal.pod file collision + perl_delete_localpod +} + +src_test() { + # Known to fail with FEATURES=usersandbox (bug #657500): + if has usersandbox $FEATURES ; then + ewarn "You are emerging ${P} with 'usersandbox' enabled." \ + "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" + fi + + emake check +} + +pkg_postinst() { + if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then + einfo "RPM database found... Rebuilding database (may take a while)..." + "${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}" || die + else + einfo "No RPM database found... Creating database..." + "${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}" || die + fi +} diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest index 61712921af97..3e4a059dd126 100644 --- a/app-arch/tar/Manifest +++ b/app-arch/tar/Manifest @@ -1,12 +1,6 @@ AUX rmt 263 BLAKE2B 7535dd27d5ba367066cd519dee06f053cde9d4f1e86728059935fb80e9a9880e7a934076949af54e47ee7de3f91452f2c642780e7d56619f166574633d1e4759 SHA512 2f1a9d3a522fc1f0d5385d1ea4c27da88a1c9357b866340432c6310604c01d3e328e33080ed1e951c0da6f025c3ee2a0c9f170d4b86a1d235ebb56be48fef152 -AUX tar-1.29-add-files.patch 6602 BLAKE2B ac4687bccd88e1fb3b2c565901815988b0ff0d9d42b46f71878c0293db0e0ce453d3b2fd3ead26d136997bd6f87b1400eb2310fd4d40c07a56b63a5528e5a7fa SHA512 5c87dd4a8e6d86c8e2311ac8487958abbda846484aec664ab82b7502ac1bb6a6cd43d3869fc64e06f792915b6a0659c41b9481357e5da19fbe43f9c913a10f3e -AUX tar-1.29-extract-pathname-bypass-upstream.patch 1604 BLAKE2B 83364c5dee8d12b7cb67d8497666ec3082e0e209aeb4c84cc26292d43da0820bd14188f3003244a379cf5b6bdb5d3d7d566b42ec2c35d62f1d5713be7395e001 SHA512 c13046f8b0bcc435197c859006b1cfd12b79377f3b90edfd4b77f86ec6d3ca431c716d731be84884f0ec6d6129765cbfbccb5971d0b909c3f45aff8f0b9b45cb -AUX tar-1.29-extract-pathname-bypass.patch 723 BLAKE2B c63c23dd1f256263cb4d1371e7a3eeccfe1da4aa74c13fd23f9bc1721b06e06d388eb99e1d9d17fb3344875be8b80e2a433f78360c89f6b2b7408302f346d0cc SHA512 ba06ae53b4effcdd0996be07ae03fae7237c579a82d2606fe25100bed447287a68e37282ba2b017eed0c26cb0f4bf77dcdb4fca2f5175e1bbaed91408b0bd54a AUX tar-1.30-fix-test-117-and-118.patch 3109 BLAKE2B d547dfb115d6cdbdf565c93dcdc70c9d2d0cde70228f58763e74d4cf5df7d621a5fccea375c3e103f8dcc04a19b3318b227384db2dc983cec5876eed8861cece SHA512 d104bbd88dafc0c3bb0308fbfb1dfb39b6c26fed14a316c30c2355d57ebe16172c0dde8ed6c91696b90f37622a43b5b1d70f397f7de521b9bd1552a5af78bb14 AUX tar-1.30-fix-test-92.patch 257 BLAKE2B ee4fe8420f56191a8e4d9edefd109c948eb693532e2c3bb2073a8d55631aed142ab9c3adfa64d6461eb1aa9221a1aca6ec5086f15b3b9154effdb8e7128a8601 SHA512 aa1c80edbf1c846e23aa34ed343ffebad969b26fed9d4ccdc779f3df5bc384bb44d6c78044c385dbb7c01e68462568b941e8ec1060eb97bf36606d7beb790c1c -DIST tar-1.29.tar.bz2 2715993 BLAKE2B 656b77a49c463ec7ade87a97b71469dadbf01551131bdf0cfa895b7b2a7d073a4cd51e9bec4169b134d83155aca18af1a89ddb5d14cb1dc0d9968184870d69f3 SHA512 d2cea9892892dfa0c8efd390303b75dccc085c4895e07ced684074592d69729916d6ea12475aa6aff873d076a729bb7dc2499c233edcfb9c7e8e8995481eef3b DIST tar-1.30.tar.bz2 2858639 BLAKE2B 82a8b1fbf1eb5c0347b2f8cf35854498e2955eb85eaf041ec44a38bbd9bc82cc7184d5cb858f9905f503c9178ec6d0ed50be2dc27be9933b29e0a18b8e6c0b8f SHA512 07a1157430898fee1a2c6fd3853d59d4ae13998db685669c8c702f73d2466eeb9892f84a5f0495bfe088c8190a643a99ac9f2cb16b85c9fe3ae0d83cc0f338e8 -EBUILD tar-1.29-r1.ebuild 2157 BLAKE2B 4a1e4e3cbbc34cf71f41b5ce9e1f7b8b65a9413fdc3e08bb97f09eb64a4f72b8952461fef59d7b6beca00350ea0b7718d2a4d99d3f9a8a830479d1e194f44641 SHA512 9445561ce892822feb1365f6a227143a3bea6767a19bacea08345057ac2fab80cd5035c81281b27161a443c5103e5432288e9b69ec0fe33218c587ccb9d20a4b -EBUILD tar-1.29-r3.ebuild 2227 BLAKE2B 50afab4df588f55fdab5d3cfd4258d3c65192ee0cc7079527a05fcbee0a2ec50e3875302a241faa351edc41e5f77351382ecd3e291037eec11115d4c729aebde SHA512 270db39d7490c4829fb11cb680b39e75963bb065fe3ebdf78ab024300dae27f78e18453dc76c029a6cdfc4af9511074322aaafc3e89910e63e976065d92867a3 -EBUILD tar-1.30.ebuild 2201 BLAKE2B 47202beceb4d1780e307b6bb5edf17a3275cbab15d9d91641a47c0912cb295a63597189e952d4a8a49a3a3824a4ac8f54ea35ce4894a76da548be3c8021bb563 SHA512 722c0d360a4be6d9b7507bd349a866becaa2adbf4346a257a68ab5b2fde29125767e9c90fa402a81e3d793879b45e52946f9cdf1fee0627018fda687786f9abe +EBUILD tar-1.30.ebuild 2198 BLAKE2B 9e7a2b30059f3f12bf29b0eff8b4d414ef7b0a48719b86b1d088afa7236d4786a6028a408e7838e7a18f1940d73a2b9e6323a214764dcea9a93dc24701a001f6 SHA512 8880020af262ae83beeac49969f9cac8a4a0943946d8bee87b16c8fdbfde4c8ac9afdfab7b9204399401cf19f7fa93d0bd1a2a9a46552e988a4f622b0ce6a3f0 MISC metadata.xml 387 BLAKE2B 6d37d364bd888503b868af168aa496d57abf7bac5c4c69f4c02933b5715312ec65f43babb347d34c665873247e4feaa9b9de2d3bb2d224e1751922c159f2fa87 SHA512 e5bce64bc18a7c6313d0818182941f49ea7e89617c97338fff29297bb2bfc2f4e56a9c124aa97fcb5f2a3a54e0e7cfd209bce09c2ced40a398381b7970c08cf7 diff --git a/app-arch/tar/files/tar-1.29-add-files.patch b/app-arch/tar/files/tar-1.29-add-files.patch deleted file mode 100644 index 8ab15ac32aff..000000000000 --- a/app-arch/tar/files/tar-1.29-add-files.patch +++ /dev/null @@ -1,194 +0,0 @@ -From 3a283cfe9f8f1f127e8dc5597a5ea1d249985a54 Mon Sep 17 00:00:00 2001 -From: Sergey Poznyakoff <gray@gnu.org> -Date: Sat, 12 Nov 2016 11:20:47 +0200 -Subject: [PATCH] Fix the --add-file option. - -* src/common.h (name_more_files): New proto. -(files_from_option): Remove. -* src/names.c (name_more_files): New file. -(names_options): Fix declaration of the -add-file option. -(names_parse_opt): Handle --add-file. -* src/tar.c (struct tar_args): Remove the input_files member. -Change all uses: use name_more_files() instead. -* tests/Makefile.am: Add new test. -* tests/add-file.at: New testcase. -* tests/testsuite.at: Add new test. ---- - src/common.h | 4 +--- - src/names.c | 24 ++++++++++++------- - src/tar.c | 16 ++++--------- - tests/Makefile.am | 3 ++- - tests/add-file.at | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - tests/testsuite.at | 1 + - 6 files changed, 92 insertions(+), 23 deletions(-) - create mode 100644 tests/add-file.at - -diff --git a/src/common.h b/src/common.h -index 50c34cc7c09b..6fdb6225f18b 100644 ---- a/src/common.h -+++ b/src/common.h -@@ -414,9 +414,6 @@ GLOBAL bool show_transformed_names_option; - timestamps from archives with an unusual member order. It is automatically - set for incremental archives. */ - GLOBAL bool delay_directory_restore_option; -- --/* When set, tar will not refuse to create empty archives */ --GLOBAL bool files_from_option; - - /* Declarations for each module. */ - -@@ -738,6 +735,7 @@ void uid_to_uname (uid_t uid, char **uname); - int uname_to_uid (char const *uname, uid_t *puid); - - void name_init (void); -+bool name_more_files (void); - void name_add_name (const char *name); - void name_term (void); - const char *name_next (int change_dirs); -diff --git a/src/names.c b/src/names.c -index 219aa77a4356..1a9465667cd3 100644 ---- a/src/names.c -+++ b/src/names.c -@@ -32,7 +32,8 @@ static void name_add_file (const char *name); - - enum - { -- EXCLUDE_BACKUPS_OPTION = 256, -+ ADD_FILE_OPTION = 256, -+ EXCLUDE_BACKUPS_OPTION, - EXCLUDE_CACHES_OPTION, - EXCLUDE_CACHES_UNDER_OPTION, - EXCLUDE_CACHES_ALL_OPTION, -@@ -67,7 +68,7 @@ static struct argp_option names_options[] = { - {NULL, 0, NULL, 0, - N_("Local file name selection:"), GRID }, - -- {"add-file", ARGP_KEY_ARG, N_("FILE"), 0, -+ {"add-file", ADD_FILE_OPTION, N_("FILE"), 0, - N_("add given FILE to the archive (useful if its name starts with a dash)"), GRID+1 }, - {"directory", 'C', N_("DIR"), 0, - N_("change to directory DIR"), GRID+1 }, -@@ -190,10 +191,10 @@ names_parse_opt (int key, char *arg, struct argp_state *state) - - case 'T': - name_add_file (arg); -- /* Indicate we've been given -T option. This is for backward -- compatibility only, so that `tar cfT archive /dev/null will -- succeed */ -- files_from_option = true; -+ break; -+ -+ case ADD_FILE_OPTION: -+ name_add_name (arg); - break; - - default: -@@ -651,8 +652,8 @@ struct name_elt /* A name_array element. */ - } v; - }; - --static struct name_elt *name_head; /* store a list of names */ --size_t name_count; /* how many of the entries are names? */ -+static struct name_elt *name_head;/* store a list of names */ -+size_t name_count; /* how many of the entries are file names? */ - - static struct name_elt * - name_elt_alloc (void) -@@ -784,6 +785,12 @@ name_list_advance (void) - } - } - -+/* Return true if there are names or options in the list */ -+bool -+name_more_files (void) -+{ -+ return name_count > 0; -+} - - /* Add to name_array the file NAME with fnmatch options MATFLAGS */ - void -@@ -823,6 +830,7 @@ name_add_file (const char *name) - ep->v.file.name = name; - ep->v.file.line = 0; - ep->v.file.fp = NULL; -+ name_count++; - } - - /* Names from external name file. */ -diff --git a/src/tar.c b/src/tar.c -index 35bac38c2793..a361fc2c607f 100644 ---- a/src/tar.c -+++ b/src/tar.c -@@ -813,7 +813,6 @@ struct tar_args /* Variables used during option parsing */ - bool pax_option; /* True if --pax-option was given */ - char const *backup_suffix_string; /* --suffix option argument */ - char const *version_control_string; /* --backup option argument */ -- bool input_files; /* True if some input files where given */ - int compress_autodetect; /* True if compression autodetection should - be attempted when creating archives */ - }; -@@ -1322,7 +1321,6 @@ parse_opt (int key, char *arg, struct argp_state *state) - case ARGP_KEY_ARG: - /* File name or non-parsed option, because of ARGP_IN_ORDER */ - name_add_name (arg); -- args->input_files = true; - break; - - case 'A': -@@ -2179,7 +2177,7 @@ more_options (int argc, char **argv, struct option_locus *loc) - args.loc = loc; - if (argp_parse (&argp, argc, argv, ARGP_IN_ORDER|ARGP_NO_EXIT, &idx, &args)) - abort (); /* shouldn't happen */ -- if (loc->source == OPTS_ENVIRON && args.input_files) -+ if (loc->source == OPTS_ENVIRON && name_more_files ()) - USAGE_ERROR ((0, 0, _("non-option arguments in %s"), loc->name)); - } - -@@ -2221,7 +2219,6 @@ decode_options (int argc, char **argv) - args.pax_option = false; - args.backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX"); - args.version_control_string = 0; -- args.input_files = false; - args.compress_autodetect = false; - - subcommand_option = UNKNOWN_SUBCOMMAND; -@@ -2340,10 +2337,7 @@ decode_options (int argc, char **argv) - - /* Handle operands after any "--" argument. */ - for (; idx < argc; idx++) -- { -- name_add_name (argv[idx]); -- args.input_files = true; -- } -+ name_add_name (argv[idx]); - - /* Derive option values and check option consistency. */ - -@@ -2365,7 +2359,7 @@ decode_options (int argc, char **argv) - - if (occurrence_option) - { -- if (!args.input_files) -+ if (!name_more_files ()) - USAGE_ERROR ((0, 0, - _("--occurrence is meaningless without a file list"))); - if (!IS_SUBCOMMAND_CLASS (SUBCL_OCCUR)) -@@ -2569,7 +2563,7 @@ decode_options (int argc, char **argv) - { - /* --test-label is silent if the user has specified the label name to - compare against. */ -- if (!args.input_files) -+ if (!name_more_files ()) - verbose_option++; - } - else if (utc_option) -@@ -2598,7 +2592,7 @@ decode_options (int argc, char **argv) - switch (subcommand_option) - { - case CREATE_SUBCOMMAND: -- if (!args.input_files && !files_from_option) -+ if (!name_more_files ()) - USAGE_ERROR ((0, 0, - _("Cowardly refusing to create an empty archive"))); - if (args.compress_autodetect && archive_names diff --git a/app-arch/tar/files/tar-1.29-extract-pathname-bypass-upstream.patch b/app-arch/tar/files/tar-1.29-extract-pathname-bypass-upstream.patch deleted file mode 100644 index 2030ca6d2bdd..000000000000 --- a/app-arch/tar/files/tar-1.29-extract-pathname-bypass-upstream.patch +++ /dev/null @@ -1,60 +0,0 @@ -https://bugs.gentoo.org/598334 - -From 7340f67b9860ea0531c1450e5aa261c50f67165d Mon Sep 17 00:00:00 2001 -From: Paul Eggert <eggert@Penguin.CS.UCLA.EDU> -Date: Sat, 29 Oct 2016 21:04:40 -0700 -Subject: [PATCH] When extracting, skip ".." members - -* NEWS: Document this. -* src/extract.c (extract_archive): Skip members whose names -contain "..". ---- - NEWS | 8 +++++++- - src/extract.c | 8 ++++++++ - 2 files changed, 15 insertions(+), 1 deletion(-) - ---- a/NEWS -+++ b/NEWS -@@ -1,6 +1,16 @@ - GNU tar NEWS - User visible changes. 2016-05-16 - Please send GNU tar bug reports to <bug-tar@gnu.org> - -+ -+ -+version 1.29-r2+ Gentoo -+ -+* Member names containing '..' components are now skipped when extracting. -+ -+This fixes tar's behavior to match its documentation, and is a bit -+safer when extracting untrusted archives over old files (an unsafe -+practice that the tar manual has long recommended against). -+ - - version 1.29 - Sergey Poznyakoff, 2016-05-16 - ---- a/src/extract.c -+++ b/src/extract.c -@@ -1629,12 +1629,20 @@ - { - char typeflag; - tar_extractor_t fun; -+ bool skip_dotdot_name; - - fatal_exit_hook = extract_finish; - - set_next_block_after (current_header); - -+ skip_dotdot_name = (!absolute_names_option -+ && contains_dot_dot (current_stat_info.orig_file_name)); -+ if (skip_dotdot_name) -+ ERROR ((0, 0, _("%s: Member name contains '..'"), -+ quotearg_colon (current_stat_info.orig_file_name))); -+ - if (!current_stat_info.file_name[0] -+ || skip_dotdot_name - || (interactive_option - && !confirm ("extract", current_stat_info.file_name))) - { --- -2.11.0.rc2 - diff --git a/app-arch/tar/files/tar-1.29-extract-pathname-bypass.patch b/app-arch/tar/files/tar-1.29-extract-pathname-bypass.patch deleted file mode 100644 index 6470fe082bda..000000000000 --- a/app-arch/tar/files/tar-1.29-extract-pathname-bypass.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/lib/paxnames.c 2016-04-06 00:04:47.314860045 +0300 -+++ b/lib/paxnames.c 2016-04-06 02:08:44.962297881 +0300 -@@ -18,6 +18,7 @@ - #include <system.h> - #include <hash.h> - #include <paxlib.h> -+#include <quotearg.h> - - - /* Hash tables of strings. */ -@@ -114,7 +115,15 @@ - for (p = file_name + prefix_len; *p; ) - { - if (p[0] == '.' && p[1] == '.' && (ISSLASH (p[2]) || !p[2])) -- prefix_len = p + 2 - file_name; -+ { -+ static char const *const diagnostic[] = -+ { -+ N_("%s: Member name contains '..'"), -+ N_("%s: Hard link target contains '..'") -+ }; -+ ERROR ((0, 0, _(diagnostic[link_target]), -+ quotearg_colon (file_name))); -+ } - - do - { diff --git a/app-arch/tar/tar-1.29-r1.ebuild b/app-arch/tar/tar-1.29-r1.ebuild deleted file mode 100644 index cc4cfe9bcbef..000000000000 --- a/app-arch/tar/tar-1.29-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit flag-o-matic eutils - -DESCRIPTION="Use this to make tarballs :)" -HOMEPAGE="https://www.gnu.org/software/tar/" -SRC_URI="mirror://gnu/tar/${P}.tar.bz2 - mirror://gnu-alpha/tar/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr" - -RDEPEND="acl? ( virtual/acl ) - selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.35 ) - xattr? ( elibc_glibc? ( sys-apps/attr ) )" - -PATCHES=( - "${FILESDIR}/${P}-extract-pathname-bypass.patch" -) - -src_prepare() { - epatch "${PATCHES[@]}" - epatch_user - - if ! use userland_GNU ; then - sed -i \ - -e 's:/backup\.sh:/gbackup.sh:' \ - scripts/{backup,dump-remind,restore}.in \ - || die "sed non-GNU" - fi -} - -src_configure() { - use static && append-ldflags -static - FORCE_UNSAFE_CONFIGURE=1 \ - econf \ - --enable-backup-scripts \ - --bindir="${EPREFIX}"/bin \ - --libexecdir="${EPREFIX}"/usr/sbin \ - $(usex userland_GNU "" "--program-prefix=g") \ - $(use_with acl posix-acls) \ - $(use_enable nls) \ - $(use_with selinux) \ - $(use_with xattr xattrs) -} - -src_install() { - default - - local p=$(usex userland_GNU "" "g") - if [[ -z ${p} ]] ; then - # a nasty yet required piece of baggage - exeinto /etc - doexe "${FILESDIR}"/rmt - fi - - # autoconf looks for gtar before tar (in configure scripts), hence - # in Prefix it is important that it is there, otherwise, a gtar from - # the host system (FreeBSD, Solaris, Darwin) will be found instead - # of the Prefix provided (GNU) tar - if use prefix ; then - dosym tar /bin/gtar - fi - - mv "${ED}"/usr/sbin/${p}backup{,-tar} || die - mv "${ED}"/usr/sbin/${p}restore{,-tar} || die - - if use minimal ; then - find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \ - -type f -a '!' '(' -name tar -o -name ${p}tar ')' \ - -delete || die - fi -} diff --git a/app-arch/tar/tar-1.29-r3.ebuild b/app-arch/tar/tar-1.29-r3.ebuild deleted file mode 100644 index 7f8e1ba1631b..000000000000 --- a/app-arch/tar/tar-1.29-r3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit flag-o-matic eutils - -DESCRIPTION="Use this to make tarballs :)" -HOMEPAGE="https://www.gnu.org/software/tar/" -SRC_URI="mirror://gnu/tar/${P}.tar.bz2 - mirror://gnu-alpha/tar/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr" - -RDEPEND="acl? ( virtual/acl ) - selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.35 ) - xattr? ( elibc_glibc? ( sys-apps/attr ) )" - -PATCHES=( - "${FILESDIR}/${P}-extract-pathname-bypass-upstream.patch" #598334 - "${FILESDIR}/${P}-add-files.patch" -) - -src_prepare() { - epatch "${PATCHES[@]}" - epatch_user - - if ! use userland_GNU ; then - sed -i \ - -e 's:/backup\.sh:/gbackup.sh:' \ - scripts/{backup,dump-remind,restore}.in \ - || die "sed non-GNU" - fi -} - -src_configure() { - use static && append-ldflags -static - FORCE_UNSAFE_CONFIGURE=1 \ - econf \ - --enable-backup-scripts \ - --bindir="${EPREFIX}"/bin \ - --libexecdir="${EPREFIX}"/usr/sbin \ - $(usex userland_GNU "" "--program-prefix=g") \ - $(use_with acl posix-acls) \ - $(use_enable nls) \ - $(use_with selinux) \ - $(use_with xattr xattrs) -} - -src_install() { - default - - local p=$(usex userland_GNU "" "g") - if [[ -z ${p} ]] ; then - # a nasty yet required piece of baggage - exeinto /etc - doexe "${FILESDIR}"/rmt - fi - - # autoconf looks for gtar before tar (in configure scripts), hence - # in Prefix it is important that it is there, otherwise, a gtar from - # the host system (FreeBSD, Solaris, Darwin) will be found instead - # of the Prefix provided (GNU) tar - if use prefix ; then - dosym tar /bin/gtar - fi - - mv "${ED}"/usr/sbin/${p}backup{,-tar} || die - mv "${ED}"/usr/sbin/${p}restore{,-tar} || die - - if use minimal ; then - find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \ - -type f -a '!' '(' -name tar -o -name ${p}tar ')' \ - -delete || die - fi -} diff --git a/app-arch/tar/tar-1.30.ebuild b/app-arch/tar/tar-1.30.ebuild index f202b7126d40..bd81d1b42f3e 100644 --- a/app-arch/tar/tar-1.30.ebuild +++ b/app-arch/tar/tar-1.30.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/tar/${P}.tar.bz2 LICENSE="GPL-3+" SLOT="0" -KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr" RDEPEND="acl? ( virtual/acl ) diff --git a/app-arch/xarchiver/Manifest b/app-arch/xarchiver/Manifest index 81a01614d559..a50aa0e10837 100644 --- a/app-arch/xarchiver/Manifest +++ b/app-arch/xarchiver/Manifest @@ -1,5 +1,5 @@ DIST xarchiver-0.5.4.12.tar.gz 1074764 BLAKE2B 65d8968a470f7ea607fcbb1e2ff3b6c54ff8e521df1ca0cd29d3b7fc7b84d2ad5e2b9987bfb482979c7099d62287c463317d524cadc4a03d6b80ae61d28bfcc2 SHA512 18d177efed810576ee4dc4bc379817cbff390bcbfc541652d8288545bbb4a0e29b2136364e8675814a2780d06e2c5537ca4451a1c73a6becd45e1c0de7ba4554 DIST xarchiver-0.5.4.13.tar.gz 1079259 BLAKE2B c824e81182a6105d24fe85d148fb7e71c2ae761948421bacf7af240e4b2a381582ab5db46c29ee3b2daf01f710696ee53a93a0a2923923083c177e9473bee4f1 SHA512 ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849 -EBUILD xarchiver-0.5.4.12.ebuild 1320 BLAKE2B 1f9b40a82529f4764fc56a123a6176bc4b65633cab5fc5710ae76b3b102b88c5cfe20d8f46f69447cce2324a3819a52641e504a528327fada0c476ae8036291f SHA512 848307a17c6aa0aefdf1eff7a516173f4f77fd774950ca03708251f70acea85ff3556f7d69af63f242afa126b356faf10960087d22dd1f37ca970a9c35d97a46 -EBUILD xarchiver-0.5.4.13.ebuild 1321 BLAKE2B 6f2287f0b02cc48a03e865c30558b288fad1276b6b8db3c9e2c84c885cf8b54f6c9335eb0cdec5d80d8eadd26ba4db62328d156e417332c768f3b4329637e5b9 SHA512 aac2eabd10d1767b8c809f7ba7dc50ec43b293af97aeafbe1124a5469f4d2e1b773e039a09a8d5a7af2c07504acdd6f1a9f88c7613ad1986f7ec5840ad91a56b +EBUILD xarchiver-0.5.4.12.ebuild 1448 BLAKE2B f2052bb4fff9c3665392ac688cdd8cfdb529dd98268f877ae7f1e2c4583da257c49b892cfe561929c29ab80417d237592bdd98c26fdb3030eacb6f3c660a4adf SHA512 08b81716f60fb6dca34e6d4e77a1224db528148af9ff9f005deff35be54deeaad772fcd3b2d32be07bfa0dde535ca27b01ca2d1e32976988381adabeea310043 +EBUILD xarchiver-0.5.4.13.ebuild 1449 BLAKE2B 6987905ac1c6f92380978e4ca884f9a0f6b8238b5f14ef39cc2a1b586a10a0125d7b1ff3b3514c0b31f08fbb76df547dec706fcbb914e899b134abfed6ac2851 SHA512 0c5bdacea1aeba2d187932a61a3eff4c1b93aebfaa098cfdba75968c37a64764cc20235c739b991507806958bf4d57ae1c8b5f2d0d3d6d0b66b403f920823d67 MISC metadata.xml 447 BLAKE2B 3ac670facb7c0034e1f079622c8c14e04a131e359e1cdbbc18b7cdd111a673651a97a7e35a430d13d80c1cf35e87f4aec0738836b60dd2837e4a77ff4e9485a3 SHA512 ccccc741a75658963153a71810ea9d8c25bfe49765f90a4aa5558ef8fef2abdd1e17d1c9ffb604a78deafeda1e5032b671c8f85a8189e6c89cf3f057dfec9a4a diff --git a/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild index 7a9f62c11b87..ffa666d4ec89 100644 --- a/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild +++ b/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild @@ -14,8 +14,11 @@ SLOT="0" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="doc" +# older pigz versions have incompatible command-line processing +# https://bugs.gentoo.org/661464 RDEPEND=">=dev-libs/glib-2:= - x11-libs/gtk+:3=" + x11-libs/gtk+:3= + !!<app-arch/pigz-2.4[symlink]" DEPEND="${RDEPEND} dev-util/intltool sys-devel/gettext diff --git a/app-arch/xarchiver/xarchiver-0.5.4.13.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.13.ebuild index 5c60b01c508e..3c50e7698ea5 100644 --- a/app-arch/xarchiver/xarchiver-0.5.4.13.ebuild +++ b/app-arch/xarchiver/xarchiver-0.5.4.13.ebuild @@ -14,8 +14,11 @@ SLOT="0" KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="doc" +# older pigz versions have incompatible command-line processing +# https://bugs.gentoo.org/661464 RDEPEND=">=dev-libs/glib-2:= - x11-libs/gtk+:3=" + x11-libs/gtk+:3= + !!<app-arch/pigz-2.4[symlink]" DEPEND="${RDEPEND} dev-util/intltool sys-devel/gettext |