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: dpkg-1.15.7.1.ebuild ChangeLog
Date: Thu, 22 Apr 2010 14:23:10
Message-Id: 20100422142304.285C128AEE@corvid.gentoo.org
1 jer 10/04/22 14:23:04
2
3 Modified: ChangeLog
4 Added: dpkg-1.15.7.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.132 app-arch/dpkg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.132&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.132&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.131&r2=1.132
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
19 retrieving revision 1.131
20 retrieving revision 1.132
21 diff -u -r1.131 -r1.132
22 --- ChangeLog 21 Apr 2010 15:18:30 -0000 1.131
23 +++ ChangeLog 22 Apr 2010 14:23:03 -0000 1.132
24 @@ -1,6 +1,11 @@
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.131 2010/04/21 15:18:30 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.132 2010/04/22 14:23:03 jer Exp $
29 +
30 +*dpkg-1.15.7.1 (22 Apr 2010)
31 +
32 + 22 Apr 2010; Jeroen Roovers <jer@g.o> +dpkg-1.15.7.1.ebuild:
33 + Version bump.
34
35 *dpkg-1.15.7 (21 Apr 2010)
36
37
38
39
40 1.1 app-arch/dpkg/dpkg-1.15.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/dpkg-1.15.7.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/dpkg-1.15.7.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dpkg-1.15.7.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.15.7.1.ebuild,v 1.1 2010/04/22 14:23:03 jer Exp $
50
51 EAPI=3
52
53 inherit eutils multilib autotools
54
55 DESCRIPTION="Package maintenance system for Debian"
56 HOMEPAGE="http://packages.qa.debian.org/dpkg"
57 SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 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"
62 IUSE="bzip2 dselect nls test unicode zlib"
63
64 LANGS="sv de es ja fr hu pl ru"
65
66 for X in ${LANGS} ; do
67 IUSE="${IUSE} linguas_${X}"
68 done
69
70 RDEPEND=">=dev-lang/perl-5.6.0
71 dev-perl/TimeDate
72 >=sys-libs/ncurses-5.2-r7
73 zlib? ( >=sys-libs/zlib-1.1.4 )
74 bzip2? ( app-arch/bzip2 )"
75 DEPEND="${RDEPEND}
76 nls? ( app-text/po4a )
77 test? ( dev-perl/Test-Pod dev-perl/IO-String )"
78
79 src_prepare() {
80 epatch "${FILESDIR}"/${PN}-1.15.5.6-bootstrap.patch
81
82 # don't mess with linker optimisation, respect user's flags (don't break!)
83 sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
84
85 # Force the use of the running bash for get-version (this file is never
86 # installed, so no need to worry about hardcoding a temporary bash)
87 sed -i -e '1c\#!'"${BASH}" get-version || die
88
89 # bug 310847
90 if [[ "${PV}" = "1.15.7" ]]; then
91 sed -i lib/dpkg/test/Makefile.am -e '/t[_-]ar/d' || die "sed failed"
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 local myconf
101 if use nls; then
102 myconf="--enable-nls $(use_with dselect)"
103 else
104 if use dselect; then
105 elog "Building dselect requires USE=nls - disabling USE=dselect..."
106 fi
107 myconf="--disable-nls --without-dselect"
108 fi
109 econf \
110 ${myconf} \
111 $(use_with bzip2 bz2) \
112 $(use_enable unicode) \
113 $(use_with zlib) \
114 --without-selinux \
115 --without-start-stop-daemon
116 }
117
118 src_install() {
119 strip-linguas ${LANGS}
120 if [ -z "${LINGUAS}" ] ; then
121 LINGUAS=none
122 fi
123
124 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
125 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
126 dodoc ChangeLog INSTALL THANKS TODO
127 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
128 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
129 }