diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 08:25:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 08:25:41 +0000 |
commit | 2f28d79786e67cf29825843d6d04d4591a27f9cf (patch) | |
tree | 8a64339e27c973dd87bc7bf3434f082998eabe76 /app-arch/dpkg | |
parent | 384d032fe7e048bb10cc9bc9881835c92d7e104c (diff) |
gentoo auto-resync : 03:01:2023 - 08:25:40
Diffstat (limited to 'app-arch/dpkg')
-rw-r--r-- | app-arch/dpkg/Manifest | 5 | ||||
-rw-r--r-- | app-arch/dpkg/dpkg-1.21.15.ebuild (renamed from app-arch/dpkg/dpkg-1.21.11.ebuild) | 44 | ||||
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.21.15-buf-lengh.patch | 34 |
3 files changed, 60 insertions, 23 deletions
diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest index a78b9801bafd..9b9765fefbf4 100644 --- a/app-arch/dpkg/Manifest +++ b/app-arch/dpkg/Manifest @@ -2,12 +2,13 @@ AUX dpkg-1.18.12-flags.patch 416 BLAKE2B c7fe40b28793420afa0b895585cc14a675f9be6 AUX dpkg-1.18.12-rsyncable.patch 1245 BLAKE2B e1488cc6a6807d38ec7218ae6651b0d919fbc3ee5e2837540f91cf80229e669a6fe24d6de1c4bd1c1debdc34a0c04a2bbc6a21eb964032f24526986678eb1b14 SHA512 743f4780b4c93e53924836fae96d59c2f1098dae6ef683b2b30146ab0345109718a507486f86ff96cda5b705aff858da563cdc0d40c965bf964cafe7105994ae AUX dpkg-1.20.12-m4-stdio.patch 710 BLAKE2B 8a414738ca9b12791483897f70003b9266d8c8192f6b05fa04aa6ff5d8b990bd68d0298edb917f34684e23acdd4d502b7e7678e84bd0a7433bc443ba87190235 SHA512 53a6f2ff2b7894a11f3778f5b1bb7c2bf4a4d58985e339bacee39d73ebf6871da250012415d07aa15a164d56ce11b261eb3323d485cdacef95806e38778e8ec2 AUX dpkg-1.20.5-dpkg_buildpackage-test.patch 209 BLAKE2B d15000423abe8259e7bdd92e5ff2d38f8fd32622e8467259e791159df590f7d394647ba4efdd599b77d652f973cd07af09d64f29df920fb8015c995bce9b302a SHA512 046200d2a8c143a2b08e0c8113765c7a7a18846ce0b7a2dfd5a3f1167eacc70391415c6bcef21abe49e5d8225dbf08680fcdc405f0910e9c42071ad4cf8ae6d5 +AUX dpkg-1.21.15-buf-lengh.patch 1017 BLAKE2B 420c1c25a206b2ff1cee39cf29a7564a87487644d737ad06bd9c500e0a67874838a4e984718a97e0310e9fd5ab23817edcef02f9003ab0d2077a6c39f99a908e SHA512 ed0d960aec7cc7df3480c0ef40c3758b34d6918de6d766f7ec9df51d2435bb38fa567d3532167c448d6400560d7f85d837f41ccb94343d52fe7dc36b8587730a DIST dpkg_1.20.12.tar.xz 5009108 BLAKE2B 47ecb53c331503c72081a4c472acd6e94a5b7fca2032358809aa8c546cfd6c1542c7cdfad2a5ceff0e40dc454a61974ec47233061b98cf99aabbb8e53621858c SHA512 ce20b1b00b972e6fa5d5cd6427003415a92a78742dc02a9055fee6f00db22b037c54560170e657d7b74c2ae542fff4b7eba46f642adf911dc2f3b90eebefc3ff DIST dpkg_1.20.9.tar.xz 4954428 BLAKE2B 4e04f7a90c8696971895081e18b220d9dee4bc5930428f131556ae71c673e61e18c363e279b566c2218da60a5aca421807c14cf518952502e707c7397769097b SHA512 904a4742f5f340dc65b2137364dce102a0b2eb42ccedb2a73f79c207362c699fbffaaf1379f1f6c8b8b0e490321af1d03c34b50ebe0c703f5ce8a7f75f17a839 DIST dpkg_1.21.1.tar.xz 4986936 BLAKE2B f5b0f9fe7ac5fe7ba47191a9e467356e748418846ce0fc9f3c61d731e035eb096932848b15e6a85a15938d3bbd6fa069c786ab0e89c77119958fe632a91c309f SHA512 3f3f263e1300f3e4b55e84521847703dcfe465aa54829a69c31c174a2ad5e8b6a8a251da7c6020d31a38e9e6744113924a71e9579469e32289328e91a48db07f -DIST dpkg_1.21.11.tar.xz 5147576 BLAKE2B c6854e9b3d9db9744675104ec477d0967a7de7fad1b9774fcfce3be6f7cfe587ea09b4824764f4cf7ab658fcb92864d57da0e2a5f601c7e9dc253adbda01e1b0 SHA512 ed93ccb6b39779c9aa03c4d3505c5c3f70cb198445d95d14eb119f8d5382539fe529e46c062b89f27a7b96ad44fe1d48c9cb30be76dd5c3dbf716af2b25d7b48 +DIST dpkg_1.21.15.tar.xz 5350148 BLAKE2B f26611db365266ef9f43484c20d3150889238b34b156cac26f0ae8ae9572e7e4a9839e08a0073a25c886cd2891fc6d84afc97262ae6992267b47fa6e86c03a33 SHA512 eb31db63dd454048c3b7539b539720ed71239303ca679df92b934e971914d63dd771da09149054048e24dde1f5627ee24d43dbd8782ca1dc28c4a2bd3ed8f26a EBUILD dpkg-1.20.12-r1.ebuild 2094 BLAKE2B 223c1a0fb84047b8fa33bb86127b6a01c699035aadd8244ee5bcfcca555f39cf5e8364665bf557e39257eb86a1582bf9ae6a852cf4c574752b1a08dbd4e6bda7 SHA512 455b2a89f88cc46f14e705244165b5ab7d0f44f9a266c56fc1859b54492b856aabd4585fa9dbe52f5af1a7a61636052cc04d864dc18c6ca4b0338e998478f67d EBUILD dpkg-1.20.9.ebuild 1999 BLAKE2B 8c4eb6fde703797505d357ae6ba5f70ca15a514f60699a25eccc2896aad1daa10662da0f80ff1ef0ea6d94ca0381280f3c57f38df4340ac86098c65a91043313 SHA512 b50c6ac21dc86e8ca91d6cfd87855935c6aaa3ece8bc6cca6ebd53b46b7fa54e5b39b24edf8d81c6dac423c531b13379e17fda0d8946f4248b518a13c613eccd EBUILD dpkg-1.21.1.ebuild 1990 BLAKE2B 3aff143bc3013658754a67e43ca6f9aacd43372cf32ac3821321c1ff454d30a08c62edafc9eafd6444de9c39d082f625fc73df86c89ef142ec5b7d8535ace1b4 SHA512 c47497584a0ab84311361eab048da24c23ba422478210f366e7f8a0f8223fb498e930fedaa0b72e4a0ef2062f67f338b681501c0eafa05d36be3759884f7579b -EBUILD dpkg-1.21.11.ebuild 1977 BLAKE2B 4b1247ade5a3d2fbb9cccc3d9b8b4828e2d8bb3810099c5750d26d55e0b3ebbe22fe7d26bd18fb43fdd7ddb4d56f6c8d2f7920b438ead971ada9cd1618cbd155 SHA512 9773c4b5276ec3e2037f8a56fde0640131602e8922038480008e4ae71806d234f8bdecc3e9d49fa0c05ca6b4f8c462a8ffa23fc783cb26f2734150586a6aeb72 +EBUILD dpkg-1.21.15.ebuild 2047 BLAKE2B 61d3d462c3c8fcc68db2f14d9b3215accef578d3c4eeb1e2a7b55be634673f26a9487134b2d5f341a285661e8f666134d6b85aa28ad23b0167b842e3ba9125c6 SHA512 4eb2750a8fdf58ac2f803ad104c89b26f7248d49fc717af4e65cc010f75d74ddec598100ea35adeb55cb30b0e595053d7d382e72e97ea9351c93f2bac83167b5 MISC metadata.xml 433 BLAKE2B fe1e0ca0c96628891b711ca120d5c119f8effe66ce43198ebb2a16fce1cea23b7ab6ab88d807a71645298e2311bc3044dca4989fe83cf99e54a9e97f66835c69 SHA512 2882194685980d67acc10913c8863b55dc0a9215558db2e3cf33f0489d91e5477bf2ac0c0fc5b4a134f45593f6f5d3fde5e09493d20ca45224645b8c1c597fef diff --git a/app-arch/dpkg/dpkg-1.21.11.ebuild b/app-arch/dpkg/dpkg-1.21.15.ebuild index cdfc69c4e2fb..02e4f4a95589 100644 --- a/app-arch/dpkg/dpkg-1.21.11.ebuild +++ b/app-arch/dpkg/dpkg-1.21.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,17 +10,17 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz" LICENSE="GPL-2+" SLOT="0" -#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="+bzip2 libmd +lzma nls selinux static-libs test +update-alternatives +zlib" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+bzip2 +lzma nls selinux static-libs test +update-alternatives +zlib" RESTRICT="!test? ( test )" RDEPEND=" >=app-arch/gzip-1.7 >=app-arch/tar-1.34-r1 + app-crypt/libmd >=dev-lang/perl-5.14.2:= sys-libs/ncurses:=[unicode(+)] bzip2? ( app-arch/bzip2 ) - libmd? ( app-crypt/libmd ) lzma? ( app-arch/xz-utils ) nls? ( virtual/libintl ) selinux? ( sys-libs/libselinux ) @@ -43,13 +43,10 @@ BDEPEND=" >=sys-devel/gettext-0.18.2 ) " -DOCS=( - ChangeLog - THANKS - TODO -) + PATCHES=( "${FILESDIR}"/${PN}-1.18.12-flags.patch + "${FILESDIR}"/${PN}-1.21.15-buf-lengh.patch # sent upstream ) src_prepare() { @@ -63,19 +60,23 @@ src_prepare() { src_configure() { tc-export AR CC - econf \ - $(use_enable nls) \ - $(use_enable update-alternatives) \ - $(use_with bzip2 libbz2) \ - $(use_with libmd) \ - $(use_with lzma liblzma) \ - $(use_with selinux libselinux) \ - $(use_with zlib libz) \ - --enable-unicode \ - --disable-compiler-warnings \ - --disable-dselect \ - --disable-start-stop-daemon \ + local myconf=( + --disable-compiler-warnings + --disable-devel-docs + --disable-dselect + --disable-start-stop-daemon + --enable-unicode --localstatedir="${EPREFIX}"/var + $(use_enable nls) + $(use_enable update-alternatives) + $(use_with bzip2 libbz2) + $(use_with lzma liblzma) + $(use_with selinux libselinux) + $(use_with zlib libz) + + ) + + econf "${myconf[@]}" } src_compile() { @@ -83,6 +84,7 @@ src_compile() { } src_install() { + local DOCS=( debian/changelog THANKS TODO ) default keepdir \ diff --git a/app-arch/dpkg/files/dpkg-1.21.15-buf-lengh.patch b/app-arch/dpkg/files/dpkg-1.21.15-buf-lengh.patch new file mode 100644 index 000000000000..1ab28d1df5a0 --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.21.15-buf-lengh.patch @@ -0,0 +1,34 @@ +From 7caf70b6cda200e1bad77c26e46e465a4ad76d71 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <gyakovlev@gentoo.org> +Date: Mon, 2 Jan 2023 21:57:29 -0800 +Subject: [PATCH] dpkg-deb: increase buf lengh in movecontrolfiles + +In some cases limit of 200 is too short. +For example, on gentoo we build in /var/tmp/portage (user configurable) + +the buf contents end up exactly 201 characters: +e.g.: "mv /long/path /another/long/path && rmdir /yet/another/long/path" + +so we only catch it in testsuite and dpkg-deb tests fail sometimes. + +Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> +--- + src/deb/extract.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/deb/extract.c b/src/deb/extract.c +index a098539..332c664 100644 +--- a/src/deb/extract.c ++++ b/src/deb/extract.c +@@ -53,7 +53,7 @@ + static void + movecontrolfiles(const char *dir, const char *thing) + { +- char buf[200]; ++ char buf[512]; + pid_t pid; + + sprintf(buf, "mv %s/%s/* %s/ && rmdir %s/%s", dir, thing, dir, dir, thing); +-- +2.39.0 + |