Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/dpkg: ChangeLog dpkg-1.16.1.2.ebuild
Date: Fri, 25 Nov 2011 16:52:23
Message-Id: 20111125165212.8E1D62004B@flycatcher.gentoo.org
1 jer 11/11/25 16:52:12
2
3 Modified: ChangeLog
4 Added: dpkg-1.16.1.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.177 app-arch/dpkg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.177&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.177&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.176&r2=1.177
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
20 retrieving revision 1.176
21 retrieving revision 1.177
22 diff -u -r1.176 -r1.177
23 --- ChangeLog 18 Oct 2011 21:58:13 -0000 1.176
24 +++ ChangeLog 25 Nov 2011 16:52:12 -0000 1.177
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/dpkg
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.176 2011/10/18 21:58:13 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.177 2011/11/25 16:52:12 jer Exp $
30 +
31 +*dpkg-1.16.1.2 (25 Nov 2011)
32 +
33 + 25 Nov 2011; Jeroen Roovers <jer@g.o> +dpkg-1.16.1.2.ebuild:
34 + Version bump.
35
36 18 Oct 2011; Jeroen Roovers <jer@g.o> dpkg-1.16.1.ebuild,
37 dpkg-1.16.1.1.ebuild, +files/dpkg-1.16.1-bootstrap.patch:
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.16.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.16.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.16.1.2.ebuild,v 1.1 2011/11/25 16:52:12 jer Exp $
51
52 EAPI=3
53
54 inherit eutils multilib autotools toolchain-funcs
55
56 DESCRIPTION="Package maintenance system for Debian"
57 HOMEPAGE="http://packages.qa.debian.org/dpkg"
58 SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
63 IUSE="bzip2 dselect nls test unicode zlib"
64
65 LANGS="
66 ast bs ca cs da de dz el eo es et eu fr gl hu id it ja km ko ku lt mr nb ne
67 nl nn pa pl pt_BR pt ro ru sk sv th tl vi zh_CN zh_TW
68 "
69
70 for X in ${LANGS} ; do
71 IUSE="${IUSE} linguas_${X}"
72 done
73
74 RDEPEND=">=dev-lang/perl-5.6.0
75 dev-perl/TimeDate
76 >=sys-libs/ncurses-5.2-r7
77 zlib? ( >=sys-libs/zlib-1.1.4 )
78 bzip2? ( app-arch/bzip2 )"
79 DEPEND="${RDEPEND}
80 sys-devel/flex
81 dev-util/pkgconfig
82 nls? ( app-text/po4a )
83 test? (
84 dev-perl/DateTime-Format-DateParse
85 dev-perl/IO-String
86 dev-perl/Test-Pod
87 )"
88
89 src_prepare() {
90 # don't mess with linker optimisation, respect user's flags (don't break!)
91 sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
92
93 # Force the use of the running bash for get-version (this file is never
94 # installed, so no need to worry about hardcoding a temporary bash)
95 sed -i -e '1c\#!'"${BASH}" get-version || die
96
97 # this test depends on a Debian only gzip extension that adds --rsyncable
98 # which will therefore always fail on Gentoo. (bug #310847).
99 sed -i scripts/Makefile.am \
100 -e '/850_Dpkg_Compression.t/d' \
101 || die "sed failed"
102
103 epatch "${FILESDIR}"/${PN}-1.16.1-bootstrap.patch
104 eautoreconf
105 }
106
107 src_configure() {
108 tc-export CC
109 local myconf
110 if use nls; then
111 myconf="--enable-nls $(use_with dselect)"
112 else
113 if use dselect; then
114 elog "Building dselect requires USE=nls - disabling USE=dselect..."
115 fi
116 myconf="--disable-nls --without-dselect"
117 fi
118 econf \
119 ${myconf} \
120 $(use_with bzip2 bz2) \
121 $(use_enable unicode) \
122 $(use_with zlib) \
123 --disable-compiler-warnings \
124 --without-selinux \
125 --without-start-stop-daemon
126 }
127
128 src_install() {
129 strip-linguas ${LANGS}
130 if [ -z "${LINGUAS}" ] ; then
131 LINGUAS=none
132 fi
133
134 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
135 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
136 dodoc ChangeLog THANKS TODO
137 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
138 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
139 }