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, 25 Feb 2019 11:39:24
Message-Id: 1551094754.2ab11e08d56c4dc96117ed14976f47ecb8a75dad.jer@gentoo
1 commit: 2ab11e08d56c4dc96117ed14976f47ecb8a75dad
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 11:03:40 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 11:39:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab11e08
7
8 app-arch/dpkg: Version 1.19.5
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-arch/dpkg/Manifest | 1 +
14 app-arch/dpkg/dpkg-1.19.5.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 92 insertions(+)
16
17 diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest
18 index e124bfe1541..2be60d71087 100644
19 --- a/app-arch/dpkg/Manifest
20 +++ b/app-arch/dpkg/Manifest
21 @@ -1,3 +1,4 @@
22 DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a7143f87c581730797975303c1054003e41fd65ecf80df1dc053ba87c0e8449ec574ddcb158228b41ae57a23db18f SHA512 60d7198ffe6ea759c30ad82143b3107d41ce59224b853cb5a7beb79af0de6ba6a69414c365e6b3555a0a9c60e3cf9b543a3a448d80a734be38ccecb77ae963a9
23 DIST dpkg_1.19.3.tar.xz 4644312 BLAKE2B 42a906c5603cc36e53591d0f33c54930fcb0f0848b53cd1908ff5c018f3a4ab823c71408982247f61e0810f223124853fc181994853f39786563ddbf6228ba54 SHA512 6a53b68bc51b9c700618ad379d4f314f0058479d068ae7bb842388e57b6393f87c4990c1d71ed085e76314d0e29295a5344a0ea78f62ef8657df2d53124bbe8f
24 DIST dpkg_1.19.4.tar.xz 4645784 BLAKE2B 2c8a76686ece182b7c87b1fcf3ed81a7bbc9616475e2003847fe9a35b574a814873b183ab5984bb66f725a8e92f3a000bf9250f3f9d1e6b338f6620b3011a067 SHA512 e07538bac0645bf7d49b30f4fb3b59602f304f346437faaea6b4bffbeb59f05471c5e834d6c7e98c869e5466a66c39a0d9e9c05da1cc52a10b5fc60875be218e
25 +DIST dpkg_1.19.5.tar.xz 4699096 BLAKE2B e627843d5502b0b1f3341f407e6ea3689b010afb5113774a133376da8a753b0f768197eeb306a0f8e84184a5110d1ad7695e0d1850b8f3254c5ad2b06d6e8e66 SHA512 3eec957534b8bcbce0e0e04992d29bb9340661bd6b2e29e155c657ce57364e0cb82be1fa61677bdcdb16915a245c37ee0fa64cdf08e39052bba2ca4aadf96b51
26
27 diff --git a/app-arch/dpkg/dpkg-1.19.5.ebuild b/app-arch/dpkg/dpkg-1.19.5.ebuild
28 new file mode 100644
29 index 00000000000..dce613b7e3f
30 --- /dev/null
31 +++ b/app-arch/dpkg/dpkg-1.19.5.ebuild
32 @@ -0,0 +1,91 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit eutils 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 ~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 +
48 +RDEPEND="
49 + >=dev-lang/perl-5.14.2:=
50 + bzip2? ( app-arch/bzip2 )
51 + libmd? ( app-crypt/libmd )
52 + lzma? ( app-arch/xz-utils )
53 + nls? ( virtual/libintl )
54 + selinux? ( sys-libs/libselinux )
55 + zlib? ( >=sys-libs/zlib-1.1.4 )
56 +"
57 +DEPEND="
58 + ${RDEPEND}
59 + app-arch/xz-utils
60 + sys-devel/flex
61 + virtual/pkgconfig
62 + nls? (
63 + app-text/po4a
64 + >=sys-devel/gettext-0.18.2
65 + )
66 + test? (
67 + dev-perl/IO-String
68 + dev-perl/Test-Pod
69 + virtual/perl-Test-Harness
70 + )
71 +"
72 +DOCS=(
73 + ChangeLog
74 + THANKS
75 + TODO
76 +)
77 +PATCHES=(
78 + "${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
79 + "${FILESDIR}"/${PN}-1.18.12-flags.patch
80 + "${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
81 +)
82 +
83 +src_prepare() {
84 + use nls && strip-linguas -i po
85 +
86 + default
87 +
88 + eautoreconf
89 +}
90 +
91 +src_configure() {
92 + tc-export CC
93 + econf \
94 + $(use_enable nls) \
95 + $(use_enable static-libs static) \
96 + $(use_enable unicode) \
97 + $(use_enable update-alternatives) \
98 + $(use_with bzip2 libbz2) \
99 + $(use_with libmd) \
100 + $(use_with lzma liblzma) \
101 + $(use_with selinux libselinux) \
102 + $(use_with zlib libz) \
103 + --disable-compiler-warnings \
104 + --disable-dselect \
105 + --disable-silent-rules \
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 +# /usr/$(get_libdir)/db/{alternatives,info,parts,updates} \
121 +
122 + prune_libtool_files
123 +}