1 |
hollow 07/09/08 20:05:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apr-1.2.11.ebuild |
5 |
Log: |
6 |
version bump; #191733 |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.91 dev-libs/apr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.91&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.91&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?r1=1.90&r2=1.91 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v |
19 |
retrieving revision 1.90 |
20 |
retrieving revision 1.91 |
21 |
diff -u -r1.90 -r1.91 |
22 |
--- ChangeLog 31 Jul 2007 09:00:08 -0000 1.90 |
23 |
+++ ChangeLog 8 Sep 2007 20:05:24 -0000 1.91 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-libs/apr |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.90 2007/07/31 09:00:08 phreak Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.91 2007/09/08 20:05:24 hollow Exp $ |
29 |
+ |
30 |
+*apr-1.2.11 (08 Sep 2007) |
31 |
+ |
32 |
+ 08 Sep 2007; Benedikt Böhm <hollow@g.o> +apr-1.2.11.ebuild: |
33 |
+ version bump; #191733 |
34 |
|
35 |
31 Jul 2007; Christian Heim <phreak@g.o> apr-1.2.9.ebuild: |
36 |
The version bump wasn't designed to go straight to stable. |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-libs/apr/apr-1.2.11.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.2.11.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.2.11.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: apr-1.2.11.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 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.2.11.ebuild,v 1.1 2007/09/08 20:05:24 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="ipv6 urandom debug" |
61 |
RESTRICT="test" |
62 |
|
63 |
DEPEND="" |
64 |
|
65 |
src_unpack() { |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
|
69 |
# for some reason not all the .m4 files that are referenced in |
70 |
# configure.in exist, so we remove all references and include every |
71 |
# .m4 file in build using aclocal via eautoreconf |
72 |
# See bug 135463 |
73 |
sed -i -e '/sinclude/d' configure.in |
74 |
AT_M4DIR="build" eautoreconf |
75 |
|
76 |
epatch "${FILESDIR}"/config.layout.patch |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
# For now we always enable ipv6. Testing has shown that is still works |
81 |
# correctly in ipv4 systems, and currently, the ipv4-only support |
82 |
# is broken in apr. (ipv6 is enabled by default) |
83 |
#myconf="${myconf} $(use_enable ipv6)" |
84 |
|
85 |
if use urandom; then |
86 |
myconf="${myconf} --with-devrandom=/dev/urandom" |
87 |
else |
88 |
myconf="${myconf} --with-devrandom=/dev/random" |
89 |
fi |
90 |
|
91 |
use debug && myconf="${myconf} --enable-maintainer-mode" |
92 |
|
93 |
# We pre-load the cache with the correct answer! This avoids |
94 |
# it violating the sandbox. This may have to be changed for |
95 |
# non-Linux systems or if sem_open changes on Linux. This |
96 |
# hack is built around documentation in /usr/include/semaphore.h |
97 |
# and the glibc (pthread) source |
98 |
# See bugs 24215 and 133573 |
99 |
echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache |
100 |
|
101 |
econf --enable-layout=gentoo \ |
102 |
--enable-threads \ |
103 |
--enable-nonportable-atomics \ |
104 |
${myconf} || die "econf failed!" |
105 |
|
106 |
# Make sure we use the system libtool |
107 |
sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk |
108 |
sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config |
109 |
rm -f "${S}"/libtool |
110 |
|
111 |
emake || die "Make failed" |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
make DESTDIR="${D}" install || die "make install failed" |
116 |
|
117 |
# This file is only used on AIX systems, which gentoo is not, |
118 |
# and causes collisions between the SLOTs, so kill it |
119 |
rm "${D}"/usr/$(get_libdir)/apr.exp |
120 |
|
121 |
dodoc CHANGES NOTICE |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
ewarn "We are now using the system's libtool rather then bundling" |
126 |
ewarn "our own. You will need to rebuild Apache and possibly other" |
127 |
ewarn "software if you get a message similiar to the following:" |
128 |
ewarn |
129 |
ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory" |
130 |
ewarn |
131 |
} |
132 |
|
133 |
|
134 |
|
135 |
-- |
136 |
gentoo-commits@g.o mailing list |