Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/dpkg/
Date: Mon, 29 Jun 2020 07:02:21
Message-Id: 1593414132.6139963b3f9fa96008d398cd22bf000ef35d98fc.jer@gentoo
1 commit: 6139963b3f9fa96008d398cd22bf000ef35d98fc
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 29 06:36:54 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 29 07:02:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6139963b
7
8 app-arch/dpkg: Version 1.20.2
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-arch/dpkg/Manifest | 1 +
14 app-arch/dpkg/dpkg-1.20.2.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 91 insertions(+)
16
17 diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest
18 index c02b97fc49d..71e910df779 100644
19 --- a/app-arch/dpkg/Manifest
20 +++ b/app-arch/dpkg/Manifest
21 @@ -2,3 +2,4 @@ DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a71
22 DIST dpkg_1.19.6.tar.xz 4802832 BLAKE2B e35a805942e2b26a90cec80493a14697461cfb1c1352fa7fadce7171c8cca88785ff2590d34b8f0bd4763642cb21ee7bf449df86b01eef223554daba4604d1b1 SHA512 71981079835ea4bd5c4a381ca8702cf489c788034e29c129899eb288cfaf4ec55eb58c0aea13145dcde99f15a47d2de71fba7b5e7eb8e6b1b1d6f016de8a919d
23 DIST dpkg_1.19.7.tar.xz 4716724 BLAKE2B d65200fc5da986db8b66e31e1ea45b9757b87e0fa15f7fc0579f1c1c63de78829c1a10bbc72726fe3b75bf6c11cbe1fe3c9b62f8374c796f990835f9f0e79dd2 SHA512 9ca441dc265baf5359c71617aef1c57504a7097c26ea57108b88dadc511bfa9918fcc765d8c67cec9def9916c5df92d6cabe508446dbc7223a29b45260445e81
24 DIST dpkg_1.20.0.tar.xz 4738556 BLAKE2B 2e58b3881abd46854416b05b0f9d2e972c3b545412a506b7bc18f1ebae5d82eac8bc2b55920d706fee0ca02239871c4f1c121e0c780aef31404e0408fbfa76e8 SHA512 5dd7961bde19ccc891fd5b77ca0085f7fc0308c20380e20b393397ff92e50d1c0f54e7b57676c05876021b44aa3788af8258c21ff2b672110ac92c7ce0b408f9
25 +DIST dpkg_1.20.2.tar.xz 4710300 BLAKE2B 0d10ee7f5cc863a6496fd8340cf0457f9af3d7d7a74821d561d0cc500a056d52664d1418453fa45dcb27d01ef59e55eb299ce1fcccd1ae7cb72b7c9e43b6b120 SHA512 523713e40d4f49332d96fdcabaeaf4d97f56b40bbbd51f18d17b5c79598249d04fdf96dfc5c8684408a666cf04f622cbd30da60efe68ba2cf1cd836cb2503e02
26
27 diff --git a/app-arch/dpkg/dpkg-1.20.2.ebuild b/app-arch/dpkg/dpkg-1.20.2.ebuild
28 new file mode 100644
29 index 00000000000..371e6291f50
30 --- /dev/null
31 +++ b/app-arch/dpkg/dpkg-1.20.2.ebuild
32 @@ -0,0 +1,90 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit multilib autotools toolchain-funcs
38 +
39 +DESCRIPTION="Package maintenance system for Debian"
40 +HOMEPAGE="https://packages.qa.debian.org/dpkg"
41 +SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
46 +IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + >=dev-lang/perl-5.14.2:=
51 + bzip2? ( app-arch/bzip2 )
52 + libmd? ( app-crypt/libmd )
53 + lzma? ( app-arch/xz-utils )
54 + nls? ( virtual/libintl )
55 + selinux? ( sys-libs/libselinux )
56 + zlib? ( >=sys-libs/zlib-1.1.4 )
57 +"
58 +DEPEND="
59 + ${RDEPEND}
60 + app-arch/xz-utils
61 + virtual/pkgconfig
62 + test? (
63 + dev-perl/IO-String
64 + dev-perl/Test-Pod
65 + virtual/perl-Test-Harness
66 + )
67 +"
68 +BDEPEND="
69 + sys-devel/flex
70 + nls? (
71 + app-text/po4a
72 + >=sys-devel/gettext-0.18.2
73 + )
74 +"
75 +DOCS=(
76 + ChangeLog
77 + THANKS
78 + TODO
79 +)
80 +PATCHES=(
81 + "${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
82 + "${FILESDIR}"/${PN}-1.18.12-flags.patch
83 + "${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
84 +)
85 +
86 +src_prepare() {
87 + default
88 +
89 + eautoreconf
90 +}
91 +
92 +src_configure() {
93 + tc-export CC
94 + econf \
95 + $(use_enable nls) \
96 + $(use_enable static-libs static) \
97 + $(use_enable unicode) \
98 + $(use_enable update-alternatives) \
99 + $(use_with bzip2 libbz2) \
100 + $(use_with libmd) \
101 + $(use_with lzma liblzma) \
102 + $(use_with selinux libselinux) \
103 + $(use_with zlib libz) \
104 + --disable-compiler-warnings \
105 + --disable-dselect \
106 + --disable-start-stop-daemon \
107 + --localstatedir="${EPREFIX}"/var
108 +}
109 +
110 +src_compile() {
111 + emake AR=$(tc-getAR)
112 +}
113 +
114 +src_install() {
115 + default
116 +
117 + keepdir \
118 + /usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
119 + /var/lib/dpkg/{alternatives,info,parts,updates}
120 +
121 + find "${ED}" -name '*.la' -delete || die
122 +}