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.4.ebuild
Date: Fri, 08 Jun 2012 15:58:38
Message-Id: 20120608155827.4CAD42004B@flycatcher.gentoo.org
1 jer 12/06/08 15:58:27
2
3 Modified: ChangeLog
4 Added: dpkg-1.16.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.185 app-arch/dpkg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.185&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.185&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.184&r2=1.185
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
20 retrieving revision 1.184
21 retrieving revision 1.185
22 diff -u -r1.184 -r1.185
23 --- ChangeLog 15 May 2012 19:05:29 -0000 1.184
24 +++ ChangeLog 8 Jun 2012 15:58:27 -0000 1.185
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/dpkg
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.184 2012/05/15 19:05:29 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.185 2012/06/08 15:58:27 jer Exp $
30 +
31 +*dpkg-1.16.4 (08 Jun 2012)
32 +
33 + 08 Jun 2012; Jeroen Roovers <jer@g.o> +dpkg-1.16.4.ebuild:
34 + Version bump.
35
36 15 May 2012; Jeroen Roovers <jer@g.o> dpkg-1.16.2.ebuild:
37 Stable for HPPA (bug #413887).
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.16.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.16.4.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.4.ebuild,v 1.1 2012/06/08 15:58:27 jer Exp $
51
52 EAPI=4
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 virtual/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 REQUIRED_USE="dselect? ( nls )"
89
90 src_prepare() {
91 # don't mess with linker optimisation, respect user's flags (don't break!)
92 sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
93
94 # Force the use of the running bash for get-version (this file is never
95 # installed, so no need to worry about hardcoding a temporary bash)
96 sed -i -e '1c\#!'"${BASH}" get-version || die
97
98 # this test depends on a Debian only gzip extension that adds --rsyncable
99 # which will therefore always fail on Gentoo. (bug #310847).
100 sed -i scripts/Makefile.am \
101 -e '/850_Dpkg_Compression.t/d' \
102 || die "sed failed"
103
104 eautoreconf
105 }
106
107 src_configure() {
108 tc-export CC
109 econf \
110 ${myconf} \
111 $(use_enable dselect) \
112 $(use_enable unicode) \
113 $(use_with bzip2 bz2) \
114 $(use_with zlib) \
115 --disable-compiler-warnings \
116 --without-selinux \
117 --disable-start-stop-daemon
118 }
119
120 src_install() {
121 strip-linguas ${LANGS}
122 if [ -z "${LINGUAS}" ] ; then
123 LINGUAS=none
124 fi
125
126 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
127 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
128 dodoc ChangeLog THANKS TODO
129 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
130 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
131 }