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.8.2.ebuild ChangeLog
Date: Sat, 31 Jul 2010 17:02:44
Message-Id: 20100731164000.360B12CE15@corvid.gentoo.org
1 jer 10/07/31 16:39:59
2
3 Modified: ChangeLog
4 Added: dpkg-1.15.8.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.136 app-arch/dpkg/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.136&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.136&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.135&r2=1.136
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
19 retrieving revision 1.135
20 retrieving revision 1.136
21 diff -u -r1.135 -r1.136
22 --- ChangeLog 30 Jul 2010 16:51:27 -0000 1.135
23 +++ ChangeLog 31 Jul 2010 16:39:59 -0000 1.136
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.135 2010/07/30 16:51:27 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.136 2010/07/31 16:39:59 jer Exp $
29 +
30 +*dpkg-1.15.8.2 (31 Jul 2010)
31 +
32 + 31 Jul 2010; Jeroen Roovers <jer@g.o> +dpkg-1.15.8.2.ebuild:
33 + Version bump.
34
35 *dpkg-1.15.8.1 (30 Jul 2010)
36
37
38
39
40 1.1 app-arch/dpkg/dpkg-1.15.8.2.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.15.8.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.15.8.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dpkg-1.15.8.2.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.8.2.ebuild,v 1.1 2010/07/31 16:39:59 jer Exp $
50
51 EAPI=3
52
53 inherit eutils multilib autotools toolchain-funcs
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 # On every version bump, update the version manually after establishing
90 # which tests fail (bug #310847)
91 if [[ "${PV}" = "1.15.8.2" ]]; 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 }