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.15.8.ebuild
Date: Thu, 29 Jul 2010 16:51:50
Message-Id: 20100729165147.90A1F2CE15@corvid.gentoo.org
1 jer 10/07/29 16:51:47
2
3 Modified: ChangeLog
4 Added: dpkg-1.15.8.ebuild
5 Log:
6 Version bump. Reenable t-ar test now that it is fixed. Respect CC even in src_test().
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.134 app-arch/dpkg/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.134&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.134&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.133&r2=1.134
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
19 retrieving revision 1.133
20 retrieving revision 1.134
21 diff -u -r1.133 -r1.134
22 --- ChangeLog 20 May 2010 02:17:25 -0000 1.133
23 +++ ChangeLog 29 Jul 2010 16:51:47 -0000 1.134
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-arch/dpkg
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.133 2010/05/20 02:17:25 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.134 2010/07/29 16:51:47 jer Exp $
29 +
30 +*dpkg-1.15.8 (29 Jul 2010)
31 +
32 + 29 Jul 2010; Jeroen Roovers <jer@g.o> +dpkg-1.15.8.ebuild:
33 + Version bump. Reenable t-ar test now that it is fixed. Respect CC even in
34 + src_test().
35
36 *dpkg-1.15.7.2 (20 May 2010)
37
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.15.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.15.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.15.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.15.8.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.15.8.ebuild,v 1.1 2010/07/29 16:51:47 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="sv de es ja fr hu pl ru"
66
67 for X in ${LANGS} ; do
68 IUSE="${IUSE} linguas_${X}"
69 done
70
71 RDEPEND=">=dev-lang/perl-5.6.0
72 dev-perl/TimeDate
73 >=sys-libs/ncurses-5.2-r7
74 zlib? ( >=sys-libs/zlib-1.1.4 )
75 bzip2? ( app-arch/bzip2 )"
76 DEPEND="${RDEPEND}
77 nls? ( app-text/po4a )
78 test? ( dev-perl/Test-Pod dev-perl/IO-String )"
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${PN}-1.15.5.6-bootstrap.patch
82
83 # don't mess with linker optimisation, respect user's flags (don't break!)
84 sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
85
86 # Force the use of the running bash for get-version (this file is never
87 # installed, so no need to worry about hardcoding a temporary bash)
88 sed -i -e '1c\#!'"${BASH}" get-version || die
89
90 # bug 310847
91 if [[ "${PV}" = "1.15.8" ]]; then
92 sed -i scripts/Makefile.am -e '/850_Dpkg_Compression.t/d' \
93 || die "sed failed"
94 fi
95
96 eautoreconf
97 }
98
99 src_configure() {
100 tc-export CC
101 local myconf
102 if use nls; then
103 myconf="--enable-nls $(use_with dselect)"
104 else
105 if use dselect; then
106 elog "Building dselect requires USE=nls - disabling USE=dselect..."
107 fi
108 myconf="--disable-nls --without-dselect"
109 fi
110 econf \
111 ${myconf} \
112 $(use_with bzip2 bz2) \
113 $(use_enable unicode) \
114 $(use_with zlib) \
115 --without-selinux \
116 --without-start-stop-daemon
117 }
118
119 src_install() {
120 strip-linguas ${LANGS}
121 if [ -z "${LINGUAS}" ] ; then
122 LINGUAS=none
123 fi
124
125 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
126 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
127 dodoc ChangeLog INSTALL THANKS TODO
128 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
129 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
130 }