Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr: ChangeLog apr-1.3.2.ebuild
Date: Mon, 23 Jun 2008 18:05:06
Message-Id: E1KAqPU-0006VB-PF@stork.gentoo.org
1 hollow 08/06/23 18:05:00
2
3 Modified: ChangeLog
4 Added: apr-1.3.2.ebuild
5 Log:
6 version bump wrt #228953
7 (Portage version: 2.2_pre8/cvs/Linux 2.6.22-vs2.2.0.6-gentoo x86_64)
8
9 Revision Changes Path
10 1.104 dev-libs/apr/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.104&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.104&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?r1=1.103&r2=1.104
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v
19 retrieving revision 1.103
20 retrieving revision 1.104
21 diff -u -r1.103 -r1.104
22 --- ChangeLog 11 Jun 2008 19:12:54 -0000 1.103
23 +++ ChangeLog 23 Jun 2008 18:05:00 -0000 1.104
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/apr
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.103 2008/06/11 19:12:54 hollow Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.104 2008/06/23 18:05:00 hollow Exp $
29 +
30 +*apr-1.3.2 (23 Jun 2008)
31 +
32 + 23 Jun 2008; Benedikt Böhm <hollow@g.o> +apr-1.3.2.ebuild:
33 + version bump wrt #228953
34
35 *apr-1.3.0 (11 Jun 2008)
36
37
38
39
40 1.1 dev-libs/apr/apr-1.3.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.3.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.3.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: apr-1.3.2.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.2.ebuild,v 1.1 2008/06/23 18:05:00 hollow Exp $
50
51 inherit autotools
52
53 DESCRIPTION="Apache Portable Runtime Library"
54 HOMEPAGE="http://apr.apache.org/"
55 SRC_URI="mirror://apache/apr/${P}.tar.gz"
56
57 LICENSE="Apache-2.0"
58 SLOT="1"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="doc ipv6 urandom debug"
61 RESTRICT="test"
62
63 DEPEND="doc? ( app-doc/doxygen )"
64 RDEPEND=""
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 # for some reason not all the .m4 files that are referenced in
71 # configure.in exist, so we remove all references and include every
72 # .m4 file in build using aclocal via eautoreconf
73 # See bug 135463
74 sed -i -e '/sinclude/d' configure.in
75 AT_M4DIR="build" eautoreconf
76
77 epatch "${FILESDIR}"/config.layout.patch
78 }
79
80 src_compile() {
81 # For now we always enable ipv6. Testing has shown that is still works
82 # correctly in ipv4 systems, and currently, the ipv4-only support
83 # is broken in apr. (ipv6 is enabled by default)
84 #myconf="${myconf} $(use_enable ipv6)"
85
86 if use urandom; then
87 myconf="${myconf} --with-devrandom=/dev/urandom"
88 else
89 myconf="${myconf} --with-devrandom=/dev/random"
90 fi
91
92 if use debug; then
93 myconf="${myconf} --enable-maintainer-mode"
94 myconf="${myconf} --enable-pool-debug=all"
95 fi
96
97 # We pre-load the cache with the correct answer! This avoids
98 # it violating the sandbox. This may have to be changed for
99 # non-Linux systems or if sem_open changes on Linux. This
100 # hack is built around documentation in /usr/include/semaphore.h
101 # and the glibc (pthread) source
102 # See bugs 24215 and 133573
103 echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache
104
105 econf --enable-layout=gentoo \
106 --enable-threads \
107 --enable-nonportable-atomics \
108 ${myconf}
109
110 # Make sure we use the system libtool
111 sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk
112 sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config
113 rm -f "${S}"/libtool
114
115 emake || die "Make failed"
116
117 if use doc; then
118 emake dox || die "make dox failed"
119 fi
120 }
121
122 src_install() {
123 make DESTDIR="${D}" install || die "make install failed"
124
125 # This file is only used on AIX systems, which gentoo is not,
126 # and causes collisions between the SLOTs, so kill it
127 rm "${D}"/usr/$(get_libdir)/apr.exp
128
129 dodoc CHANGES NOTICE
130
131 if use doc; then
132 dohtml docs/dox/html/* || die
133 fi
134 }
135
136 pkg_postinst() {
137 ewarn "We are now using the system's libtool rather then bundling"
138 ewarn "our own. You will need to rebuild Apache and possibly other"
139 ewarn "software if you get a message similiar to the following:"
140 ewarn
141 ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory"
142 ewarn
143 }
144
145
146
147 --
148 gentoo-commits@l.g.o mailing list