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