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