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: Sat, 29 Sep 2018 13:29:21
Message-Id: 1538227751.73b8142f97198f7189d80a5192996f08e4296c6d.jer@gentoo
1 commit: 73b8142f97198f7189d80a5192996f08e4296c6d
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 29 12:57:46 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 29 13:29:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b8142f
7
8 app-arch/dpkg: Version 1.19.1.
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-arch/dpkg/Manifest | 1 +
14 app-arch/dpkg/dpkg-1.19.1.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++
15 app-arch/dpkg/metadata.xml | 1 +
16 3 files changed, 92 insertions(+)
17
18 diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest
19 index 832ba163aa0..224d399150f 100644
20 --- a/app-arch/dpkg/Manifest
21 +++ b/app-arch/dpkg/Manifest
22 @@ -1 +1,2 @@
23 DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a7143f87c581730797975303c1054003e41fd65ecf80df1dc053ba87c0e8449ec574ddcb158228b41ae57a23db18f SHA512 60d7198ffe6ea759c30ad82143b3107d41ce59224b853cb5a7beb79af0de6ba6a69414c365e6b3555a0a9c60e3cf9b543a3a448d80a734be38ccecb77ae963a9
24 +DIST dpkg_1.19.1.tar.xz 4600848 BLAKE2B daadc95f0f66312e6012a5c9ce053dba055d87f766d8e9b9e99ed3eed59e83616b89cb2324fc61205bf4e22388cc0f9f62d191cbdd858250a50f7c6d141adf7d SHA512 d2c745f8cc3db94be15ce3ef74f9317768b316d9bb96aac2c681c2f47433524774e0c2d5ff3daf6e7cc779e5ffc4ce96783de12802f32dab1d72022786ca6c20
25
26 diff --git a/app-arch/dpkg/dpkg-1.19.1.ebuild b/app-arch/dpkg/dpkg-1.19.1.ebuild
27 new file mode 100644
28 index 00000000000..fba3abe2ea0
29 --- /dev/null
30 +++ b/app-arch/dpkg/dpkg-1.19.1.ebuild
31 @@ -0,0 +1,90 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit eutils multilib autotools toolchain-funcs
37 +
38 +DESCRIPTION="Package maintenance system for Debian"
39 +HOMEPAGE="https://packages.qa.debian.org/dpkg"
40 +SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
41 +
42 +LICENSE="GPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
45 +IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
46 +
47 +RDEPEND="
48 + >=dev-lang/perl-5.14.2:=
49 + bzip2? ( app-arch/bzip2 )
50 + libmd? ( app-crypt/libmd )
51 + lzma? ( app-arch/xz-utils )
52 + selinux? ( sys-libs/libselinux )
53 + zlib? ( >=sys-libs/zlib-1.1.4 )
54 +"
55 +DEPEND="
56 + ${RDEPEND}
57 + app-arch/xz-utils
58 + sys-devel/flex
59 + virtual/pkgconfig
60 + nls? (
61 + app-text/po4a
62 + >=sys-devel/gettext-0.18.2
63 + )
64 + test? (
65 + dev-perl/IO-String
66 + dev-perl/Test-Pod
67 + virtual/perl-Test-Harness
68 + )
69 +"
70 +DOCS=(
71 + ChangeLog
72 + THANKS
73 + TODO
74 +)
75 +PATCHES=(
76 + "${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
77 + "${FILESDIR}"/${PN}-1.18.12-flags.patch
78 + "${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
79 +)
80 +
81 +src_prepare() {
82 + use nls && strip-linguas -i po
83 +
84 + default
85 +
86 + eautoreconf
87 +}
88 +
89 +src_configure() {
90 + tc-export CC
91 + econf \
92 + $(use_enable nls) \
93 + $(use_enable static-libs static) \
94 + $(use_enable unicode) \
95 + $(use_enable update-alternatives) \
96 + $(use_with bzip2 libbz2) \
97 + $(use_with libmd) \
98 + $(use_with lzma liblzma) \
99 + $(use_with selinux libselinux) \
100 + $(use_with zlib libz) \
101 + --disable-compiler-warnings \
102 + --disable-dselect \
103 + --disable-silent-rules \
104 + --disable-start-stop-daemon \
105 + --localstatedir="${EPREFIX}"/var
106 +}
107 +
108 +src_compile() {
109 + emake AR=$(tc-getAR)
110 +}
111 +
112 +src_install() {
113 + default
114 +
115 + keepdir \
116 + /usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
117 + /var/lib/dpkg/{alternatives,info,parts,updates}
118 +# /usr/$(get_libdir)/db/{alternatives,info,parts,updates} \
119 +
120 + prune_libtool_files
121 +}
122
123 diff --git a/app-arch/dpkg/metadata.xml b/app-arch/dpkg/metadata.xml
124 index 029c83c9469..f7244bcd0e2 100644
125 --- a/app-arch/dpkg/metadata.xml
126 +++ b/app-arch/dpkg/metadata.xml
127 @@ -6,6 +6,7 @@
128 <name>Gentoo Debian Tools Project</name>
129 </maintainer>
130 <use>
131 +<flag name="libmd">Use <pkg>app-crypt/libmd</pkg> library for message digest functions</flag>
132 <flag name="update-alternatives">Install update-alternatives</flag>
133 </use>
134 </pkgmetadata>