ChangeLog

# ChangeLog for dev-libs/apr
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.111 2008/08/16 16:48:42 jer Exp $

16 Aug 2008; Jeroen Roovers apr-1.3.2.ebuild:
Stable for HPPA (bug #232671).

08 Aug 2008; nixnut apr-1.3.2.ebuild:
Stable on ppc wrt bug 232671

08 Aug 2008; Markus Rothe apr-1.3.2.ebuild:
Stable on ppc64; bug #232671

08 Aug 2008; Raúl Porcel apr-1.3.2.ebuild:
alpha/ia64/sparc/x86 stable wrt #232671

07 Aug 2008; Thomas Anderson apr-1.3.2.ebuild:
stable amd64, bug 232671

06 Aug 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

23 Jun 2008; Benedikt Böhm apr-1.3.2.ebuild:
remove unused ipv6 USE flag

*apr-1.3.2 (23 Jun 2008)

23 Jun 2008; Benedikt Böhm +apr-1.3.2.ebuild:
version bump wrt #228953

*apr-1.3.0 (11 Jun 2008)

11 Jun 2008; Benedikt Böhm +apr-1.3.0.ebuild:
version bump wrt #225783

01 Jun 2008; Benedikt Böhm apr-1.2.11.ebuild,
apr-1.2.12.ebuild:
fix #221653

28 Jan 2008; Benedikt Böhm
-files/apr-0.9.12-linking.patch, -apr-0.9.12.ebuild, -apr-0.9.13.ebuild:
remove apr-0 wrt #203578

*apr-1.2.12 (15 Dec 2007)

15 Dec 2007; Benedikt Böhm -apr-1.2.8.ebuild,
-apr-1.2.9.ebuild, +apr-1.2.12.ebuild:
version bump; #200947

16 Nov 2007; nixnut apr-1.2.11.ebuild:
Stable on ppc wrt bug 198866

16 Nov 2007; Raúl Porcel apr-1.2.11.ebuild:
alpha/ia64 stable wrt #198866

15 Nov 2007; Steve Dibb apr-1.2.11.ebuild:
amd64 stable, bug 198866

13 Nov 2007; Dawid Węgliński apr-1.2.11.ebuild:
Stable on x86 (bug #198866)

13 Nov 2007; Markus Rothe apr-1.2.11.ebuild:
Stable on ppc64; bug #198866

13 Nov 2007; Jeroen Roovers apr-1.2.11.ebuild:
Stable for HPPA (bug #198866).

12 Nov 2007; Ferris McCormick apr-1.2.11.ebuild:
Sparc stable --- Bug #198866 --- Good for two months.

09 Sep 2007; Benedikt Böhm apr-1.2.11.ebuild:
fix #188485

*apr-1.2.11 (08 Sep 2007)

08 Sep 2007; Benedikt Böhm +apr-1.2.11.ebuild:
version bump; #191733

31 Jul 2007; Christian Heim apr-1.2.9.ebuild:
The version bump wasn't designed to go straight to stable.

*apr-1.2.9 (30 Jul 2007)

30 Jul 2007; Benedikt Böhm +apr-1.2.9.ebuild:
version bump

27 Jun 2007; Lars Weiler apr-1.2.8.ebuild:
Stable on ppc; bug #178264.

27 Jun 2007; Jeroen Roovers apr-1.2.8.ebuild:
Stable for HPPA (bug #178264).

15 Jun 2007; Raúl Porcel apr-1.2.8.ebuild:
alpha stable wrt #178264

13 Jun 2007; Gustavo Zacarias apr-1.2.8.ebuild:
Stable on sparc wrt #178264

21 Apr 2007; Raúl Porcel apr-1.2.8.ebuild:
ia64 stable

15 Apr 2007; Markus Rothe apr-1.2.8.ebuild:
Stable on ppc64

12 Apr 2007; Christian Faulhammer apr-1.2.8.ebuild:
stable amd64, bug 168287

11 Apr 2007; Christian Heim apr-1.2.8.ebuild:
Fix WANT_AUTO*, according to #172978.

03 Mar 2007; Marius Mauch apr-0.9.12.ebuild,
apr-0.9.13.ebuild:
Replacing einfo with elog

25 Feb 2007; Christian Faulhammer apr-1.2.8.ebuild:
stable x86; bug 168287

29 Jan 2007; Christian Heim apr-0.9.13.ebuild:
Reverting the KEYWORDS to ~arch, accidently commited straight to arch.

*apr-0.9.13 (28 Jan 2007)

28 Jan 2007; Christian Heim +apr-0.9.13.ebuild:
Version bump, new upstream version. Cleaning up the ebuild a bit.

28 Jan 2007; Luca Longinotti metadata.xml,
-apr-0.9.6-r3.ebuild, -apr-0.9.6-r4.ebuild, -apr-0.9.7.ebuild,
-apr-1.2.2.ebuild, -apr-1.2.7.ebuild, -apr-1.2.7-r1.ebuild,
-apr-1.2.7-r2.ebuild, -apr-1.2.7-r3.ebuild:
Remove redundant versions.

*apr-1.2.8 (21 Jan 2007)

21 Jan 2007; Christian Heim +apr-1.2.8.ebuild:
Version bump (thanks to Conrad Kostecki in #114232).

08 Jan 2007; Christian Heim apr-1.2.7-r1.ebuild,
apr-1.2.7-r2.ebuild, apr-1.2.7-r3.ebuild:
Setting WANT_AUTOCONF to shutup #161027.

18 Oct 2006; Roy Marples apr-0.9.12.ebuild:
Added ~sparc-fbsd keyword.

18 Oct 2006; Roy Marples apr-1.2.7-r3.ebuild:
Added ~sparc-fbsd keyword.

15 Oct 2006; Michael Stewart apr-0.9.12.ebuild,
apr-1.2.7-r3.ebuild:
Remove apr.exp as it's not used and causes collisions between SLOTs

10 Sep 2006; Javier Villavicencio
apr-1.2.7-r3.ebuild:
Add ~x86-fbsd keyword.

05 Sep 2006; Joshua Kinard apr-0.9.12.ebuild:
Marked stable on mips.

29 Jul 2006; Bryan Østergaard apr-0.9.12.ebuild:
Stable on alpha.

*apr-1.2.7-r3 (07 Jul 2006)

07 Jul 2006; Michael Stewart
+files/config.layout.patch, +apr-1.2.7-r3.ebuild:
Use a config.layout instead of command line options to work around bug 139033.

28 Jun 2006; Tobias Scherbaum apr-0.9.12.ebuild:
ppc stable, #138011

28 Jun 2006; Joshua Jackson apr-0.9.12.ebuild:
Stable x86; buf #138011

27 Jun 2006; Marcus D. Hanwell apr-0.9.12.ebuild:
Marked stable on amd64, bug 138011.

27 Jun 2006; Guy Martin apr-0.9.12.ebuild:
Stable on hppa.

26 Jun 2006; Markus Rothe apr-0.9.12.ebuild:
Stable on ppc64; bug #138011

26 Jun 2006; Gustavo Zacarias apr-0.9.12.ebuild:
Stable on sparc wrt #138011

*apr-1.2.7-r2 (07 Jun 2006)

07 Jun 2006; Michael Stewart +apr-1.2.7-r2.ebuild:
Always enable ipv6. Fixes bug 123320.

06 Jun 2006; Michael Stewart apr-1.2.7.ebuild:
Remove as-needed filtering

05 Jun 2006; Michael Stewart
+files/apr-0.9.12-linking.patch, apr-0.9.12.ebuild:
Add patch to allow correct linking with --as-needed

04 Jun 2006; Michael Stewart apr-1.2.7-r1.ebuild:
Remove hardcoding of .m4 files from configure.in. Fixes bug 135463

*apr-1.2.7-r1 (26 May 2006)

26 May 2006; Michael Stewart +apr-1.2.7-r1.ebuild:
Use the system's libtool instead of the bundled libtool. Fixes bug 81260
Note that some software that hardcodes the APR libtool location (such as
Apache) may need to be recompiled.

18 May 2006; Michael Stewart apr-0.9.12.ebuild,
apr-1.2.7.ebuild:
Fix sem_open related sandbox violations. Resolves bug 133573.

*apr-0.9.12 (16 Apr 2006)

16 Apr 2006; Michael Stewart +apr-0.9.12.ebuild:
Version bump

*apr-1.2.7 (16 Apr 2006)

16 Apr 2006; Michael Stewart +apr-1.2.7.ebuild:
Version bump in preperation for the next version of apache 2.2.x

30 Mar 2006; Diego Pettenò apr-0.9.7.ebuild:
Add ~x86-fbsd keyword.

*apr-1.2.2 (15 Feb 2006)

15 Feb 2006; Michael Stewart +apr-1.2.2.ebuild:
New version for apache 2.2

15 Jan 2006; Marcus D. Hanwell apr-0.9.7.ebuild:
Stable on amd64, bug 117835.

13 Jan 2006; Tobias Scherbaum apr-0.9.7.ebuild:
ppc stable, bug #117835

12 Jan 2006; Markus Rothe apr-0.9.7.ebuild:
Stable on ppc64; bug #117835

10 Jan 2006; Gustavo Zacarias apr-0.9.7.ebuild:
Stable on sparc wrt #117835

09 Jan 2006; Bryan Østergaard Stable on x86, alpha and ia64, bug 117835.

*apr-0.9.7 (22 Oct 2005)

22 Oct 2005; Michael Stewart +apr-0.9.7.ebuild:
Version Bump

21 Oct 2005; Aaron Walker apr-0.9.6-r3.ebuild:
Stable on mips.

10 Oct 2005; Danny van Dyk apr-0.9.6-r4.ebuild:
Marked ~ppc-macos.

29 Sep 2005; MATSUU Takuto apr-0.9.6-r3.ebuild:
Stable on sh.

19 Sep 2005; Michael Hanselmann apr-0.9.6-r3.ebuild:
Stable on hppa and ppc.

18 Sep 2005; Marcus D. Hanwell apr-0.9.6-r3.ebuild:
Stable on amd64, bug 105516.

18 Sep 2005; Jason Wever apr-0.9.6-r3.ebuild:
Added ~sparc keyword wrt bug #105516.

18 Sep 2005; Michael Stewart -apr-0.9.5.ebuild,
-apr-0.9.5-r1.ebuild, -apr-0.9.5-r2.ebuild, -apr-0.9.5-r3.ebuild,
-apr-0.9.6.ebuild, -apr-0.9.6-r1.ebuild, -apr-0.9.6-r2.ebuild:
Removing old revisions that use broken LFS-support

*apr-0.9.6-r4 (17 Sep 2005)

17 Sep 2005; Michael Stewart +apr-0.9.6-r4.ebuild:
Added support for using /dev/urandom instead of /dev/random if the urandom
USE-flag is set. Fixes bug 102587

17 Sep 2005; Aron Griffis apr-0.9.6-r3.ebuild:
Mark 0.9.6-r3 stable on ia64

11 Sep 2005; Markus Rothe apr-0.9.6-r3.ebuild:
Stable on ppc64

10 Sep 2005; Aron Griffis apr-0.9.6-r3.ebuild:
Mark 0.9.6-r3 stable on alpha

10 Sep 2005; Michael Stewart apr-0.9.6-r3.ebuild:
Stable on x86

10 Sep 2005; Aron Griffis apr-0.9.5.ebuild:
Mark 0.9.5 stable on alpha

17 Jul 2005; Kito apr-1.1.1.ebuild:
~ppc-macos Keyword

13 Jul 2005; bret curtis apr-1.1.1.ebuild apr-0.9.6-r3:
added ~mips

10 May 2005; Bret Curtis apr-0.9.5.ebuild:
marked for testing, ~mips

*apr-0.9.6-r3 (09 May 2005)
*apr-0.9.5-r3 (09 May 2005)

09 May 2005; Elfyn McBratney +apr-0.9.5-r3.ebuild,
+apr-0.9.6-r3.ebuild:
Rev bumps that remove LFS support from APR (has caused too many issues for
mid-release introduction). The Apache tool-stack (net-www/apache,
devs-libs/apr (this package) and dev-libs/apr-util) will need to be rebuilt
once emerging this update.

*apr-1.1.1 (10 Apr 2005)

10 Apr 2005; Christian Parpart +apr-1.1.1.ebuild:
adding apr-1 (1.1.1) ebuilds to the series of apr versions which is the base
requirement for forthcoming apache httpd 2.1.x series ;)

31 Mar 2005; Aron Griffis apr-0.9.5.ebuild:
stable on ia64

21 Mar 2005; Elfyn McBratney apr-0.9.5-r2.ebuild,
apr-0.9.6-r2.ebuild:
Add elibtoolize call for bug #77455.

*apr-0.9.6-r2 (14 Mar 2005)

14 Mar 2005; Elfyn McBratney +apr-0.9.5-r2.ebuild,
+apr-0.9.6-r2.ebuild:
Rev bumps which specify which random device node (--with-devrandom) to use.
These two are hard masked in case this changes breaks stuff.

14 Mar 2005; Elfyn McBratney apr-0.9.5-r1.ebuild,
apr-0.9.5.ebuild:
Drop extranous 'ipv6' arg to use_enable.

05 Mar 2005; Markus Rothe apr-0.9.5.ebuild:
Stable on ppc64

*apr-0.9.6-r1 (05 Mar 2005)

05 Mar 2005; Elfyn McBratney +apr-0.9.5-r1.ebuild,
+apr-0.9.6-r1.ebuild:
LFS-enabled apr breaks Apache on sparc; disabling until fixed.

03 Mar 2005; Elfyn McBratney -apr-0.9.2.ebuild,
-apr-0.9.4.ebuild:
Remove old versions.

*apr-0.9.6 (02 Mar 2005)

02 Mar 2005; Elfyn McBratney +apr-0.9.6.ebuild:
Version bump.

28 Feb 2005; Jeremy Huddleston apr-0.9.5.ebuild:
Killed einstall usage. Back to using econf to fix multilib problems.

20 Feb 2005; Aron Griffis apr-0.9.5.ebuild:
add ~ia64 #77455

05 Feb 2005; Bryan Østergaard apr-0.9.5.ebuild:
~alpha keyword, bug 77455.

28 Jan 2005; Michael Hanselmann apr-0.9.5.ebuild:
Added to ~ppc.

11 Jan 2005; Mike Doty apr-0.9.5.ebuild:
~amd64 keyword added, bug 77455

11 Jan 2005; Guy Martin apr-0.9.5.ebuild:
Added ~hppa to KEYWORDS.

11 Jan 2005; Markus Rothe apr-0.9.5.ebuild:
Added ~ppc64 to KEYWORDS

10 Jan 2005; Jason Wever apr-0.9.5.ebuild:
Added ~sparc keyword wrt bug #77455.

*apr-0.9.5 (08 Jan 2005)

08 Jan 2005; Michael Stewart +metadata.xml,
+apr-0.9.5.ebuild:
Apache herd package refresh

22 Jul 2004; David Holm apr-0.9.4.ebuild:
Added to ~ppc.

20 Apr 2004; Daniel Black apr-0.9.2.ebuild:
QA - removed runtime dependance on autoconf and automake. More dependancy work
required

16 Apr 2004; Jason Wever apr-0.9.4.ebuild:
Added ~sparc keyword.

14 Mar 2004; Michael Sterrett apr-0.9.2.ebuild,
apr-0.9.4.ebuild:
Don't assign default to S; header fix

09 Feb 2004; Dylan Carlson apr-0.9.4.ebuild:
added amd64 keyword.

*apr-0.9.4 (13 Oct 2003)

13 Oct 2003; Martin Holzer apr-0.9.4.ebuild:
Version bumped. Ebuild submitted by
Hattya in #30810.

*apr-0.9.2 (29 Mar 2003)

29 Mar 2003; Dylan Carlson apr-0.9.2.ebuild:
Initial import.

Manifest

AUX config.layout.patch 818 RMD160 dada232c8b85e6c3c62fbc6caa1d05f36164dc27 SHA1 3822a0ec508165dd189e1b750bdf4e7778b6c21e SHA256 eeacaf654f23084e842bff02b97c083a8da5b5c056fd086166ba2d250edf3181
DIST apr-1.2.11.tar.gz 1114033 RMD160 8b1c1831cd8281de17f41f84ffc5cfd9b6c35553 SHA1 bde2c8b6e477752bcac4f387ac0de9671cd15d1a SHA256 fc7a14e8ded002c252cf5f3ccce6cd5636f01a85986188e373f9343a174c42ff
DIST apr-1.2.12.tar.gz 1127522 RMD160 912c34e412b42e678288727b811ba35f03d07b6b SHA1 12ebc5ee6bba6b66b75e25ff8326fd2d2ad8f4ff SHA256 23759142c483be869a0aec0529c5b8c94745b4dfd1c2c23f38417f4e02adcead
DIST apr-1.3.0.tar.gz 1145703 RMD160 1b392ce9335f6608102edbba162cc2e9924da6cf SHA1 5cccd027d43e94acf813ca627a3b0984520fe50a SHA256 1bf89994de9758061fdd304d5fe37971d5f2f9e95f587ba847ceb33e67f1d1f0
DIST apr-1.3.2.tar.gz 1158861 RMD160 5606e1d53c7b5fa1214099515c8a746144e0cb7c SHA1 0219048f899ef1dccdbdca60718eb213c8be8e75 SHA256 1208e2caa48c5ac5d543de8642bde064731b45b490d104c59fc816aa88acafda
EBUILD apr-1.2.11.ebuild 2870 RMD160 58944998917e63d1c85ce80449c9bd1c9ec339ef SHA1 c291630d28b4483ea5a3e193367ff1d849e3d2a6 SHA256 6efc6ed59337a266850d473a3dbd0678743493d59e46cc778cff32782ddb6d44
EBUILD apr-1.2.12.ebuild 2854 RMD160 fa0d4d15bbe8786129a3ce99a9603cc2e4c81924 SHA1 6cda380a09c235c8ef31993cd2aa48cd0b8dc98a SHA256 fe9a6a1e4787be2ff2f5fbb5640ab0d12696fbe71f24afe4de6f72c7c05fa2b0
EBUILD apr-1.3.0.ebuild 2853 RMD160 34752f21ff17f508f73659ecb98e82fe19a23bdc SHA1 2afa0dbb4191c4d6562070a8cd2b459fb8a7e63d SHA256 0d554f3a7ad3522c1ef7f0cc9820001eb8ddc9ec0ee8909d81538f8bb8ba9c92
EBUILD apr-1.3.2.ebuild 2849 RMD160 f2d45de495707b94550eaa138518896cb4fc7b2d SHA1 7f3716e92f078a06006ccc3eb83592443ba32941 SHA256 29b8eae4a0e651a9852a401499ae4623707626d45dd94d00d5a29021152a854b
MISC ChangeLog 13620 RMD160 148e03944be30e2dbb6ced5c76af284930c2f7a3 SHA1 9c98e13be200041b9a997a0b68628d36b79c1460 SHA256 2e0eb4635fa0c207d6f15ba09f2c9abf32d328cff4cbe8198e725e5fe7590842
MISC metadata.xml 309 RMD160 416a52a9bb93c4e9ef8e3cf185504d1ef96b8e2a SHA1 9e0bb36e068db1ce9fdc6e1938304a922c5ea7fc SHA256 4850cde4bf33912a1b8609d2ab298a46ee34eb3e4e19e3b0ddfccdd3f0d9a44f

apr-1.2.11.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.2.11.ebuild,v 1.11 2008/06/01 11:35:11 hollow Exp $

inherit autotools

DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc ipv6 urandom debug"
RESTRICT="test"

DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"

# for some reason not all the .m4 files that are referenced in
# configure.in exist, so we remove all references and include every
# .m4 file in build using aclocal via eautoreconf
# See bug 135463
sed -i -e '/sinclude/d' configure.in
AT_M4DIR="build" eautoreconf

epatch "${FILESDIR}"/config.layout.patch
}

src_compile() {
# For now we always enable ipv6. Testing has shown that is still works
# correctly in ipv4 systems, and currently, the ipv4-only support
# is broken in apr. (ipv6 is enabled by default)
#myconf="${myconf} $(use_enable ipv6)"

if use urandom; then
myconf="${myconf} --with-devrandom=/dev/urandom"
else
myconf="${myconf} --with-devrandom=/dev/random"
fi

if use debug; then
myconf="${myconf} --enable-maintainer-mode"
myconf="${myconf} --enable-pool-debug=all"
fi

# We pre-load the cache with the correct answer! This avoids
# it violating the sandbox. This may have to be changed for
# non-Linux systems or if sem_open changes on Linux. This
# hack is built around documentation in /usr/include/semaphore.h
# and the glibc (pthread) source
# See bugs 24215 and 133573
echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache

econf --enable-layout=gentoo \
--enable-threads \
--enable-nonportable-atomics \
${myconf} || die "econf failed!"

# Make sure we use the system libtool
sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk
sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config
rm -f "${S}"/libtool

emake || die "Make failed"

if use doc; then
emake dox || die "make dox failed"
fi
}

src_install() {
make DESTDIR="${D}" install || die "make install failed"

# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/apr.exp

dodoc CHANGES NOTICE

if use doc; then
dohtml docs/dox/html/* || die
fi
}

pkg_postinst() {
ewarn "We are now using the system's libtool rather then bundling"
ewarn "our own. You will need to rebuild Apache and possibly other"
ewarn "software if you get a message similiar to the following:"
ewarn
ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory"
ewarn
}

apr-1.2.12.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.2.12.ebuild,v 1.2 2008/06/01 11:35:11 hollow Exp $

inherit autotools

DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="doc ipv6 urandom debug"
RESTRICT="test"

DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"

# for some reason not all the .m4 files that are referenced in
# configure.in exist, so we remove all references and include every
# .m4 file in build using aclocal via eautoreconf
# See bug 135463
sed -i -e '/sinclude/d' configure.in
AT_M4DIR="build" eautoreconf

epatch "${FILESDIR}"/config.layout.patch
}

src_compile() {
# For now we always enable ipv6. Testing has shown that is still works
# correctly in ipv4 systems, and currently, the ipv4-only support
# is broken in apr. (ipv6 is enabled by default)
#myconf="${myconf} $(use_enable ipv6)"

if use urandom; then
myconf="${myconf} --with-devrandom=/dev/urandom"
else
myconf="${myconf} --with-devrandom=/dev/random"
fi

if use debug; then
myconf="${myconf} --enable-maintainer-mode"
myconf="${myconf} --enable-pool-debug=all"
fi

# We pre-load the cache with the correct answer! This avoids
# it violating the sandbox. This may have to be changed for
# non-Linux systems or if sem_open changes on Linux. This
# hack is built around documentation in /usr/include/semaphore.h
# and the glibc (pthread) source
# See bugs 24215 and 133573
echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache

econf --enable-layout=gentoo \
--enable-threads \
--enable-nonportable-atomics \
${myconf}

# Make sure we use the system libtool
sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk
sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config
rm -f "${S}"/libtool

emake || die "Make failed"

if use doc; then
emake dox || die "make dox failed"
fi
}

src_install() {
make DESTDIR="${D}" install || die "make install failed"

# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/apr.exp

dodoc CHANGES NOTICE

if use doc; then
dohtml docs/dox/html/* || die
fi
}

pkg_postinst() {
ewarn "We are now using the system's libtool rather then bundling"
ewarn "our own. You will need to rebuild Apache and possibly other"
ewarn "software if you get a message similiar to the following:"
ewarn
ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory"
ewarn
}

apr-1.3.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.0.ebuild,v 1.1 2008/06/11 19:12:54 hollow Exp $

inherit autotools

DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="doc ipv6 urandom debug"
RESTRICT="test"

DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"

# for some reason not all the .m4 files that are referenced in
# configure.in exist, so we remove all references and include every
# .m4 file in build using aclocal via eautoreconf
# See bug 135463
sed -i -e '/sinclude/d' configure.in
AT_M4DIR="build" eautoreconf

epatch "${FILESDIR}"/config.layout.patch
}

src_compile() {
# For now we always enable ipv6. Testing has shown that is still works
# correctly in ipv4 systems, and currently, the ipv4-only support
# is broken in apr. (ipv6 is enabled by default)
#myconf="${myconf} $(use_enable ipv6)"

if use urandom; then
myconf="${myconf} --with-devrandom=/dev/urandom"
else
myconf="${myconf} --with-devrandom=/dev/random"
fi

if use debug; then
myconf="${myconf} --enable-maintainer-mode"
myconf="${myconf} --enable-pool-debug=all"
fi

# We pre-load the cache with the correct answer! This avoids
# it violating the sandbox. This may have to be changed for
# non-Linux systems or if sem_open changes on Linux. This
# hack is built around documentation in /usr/include/semaphore.h
# and the glibc (pthread) source
# See bugs 24215 and 133573
echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache

econf --enable-layout=gentoo \
--enable-threads \
--enable-nonportable-atomics \
${myconf}

# Make sure we use the system libtool
sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk
sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config
rm -f "${S}"/libtool

emake || die "Make failed"

if use doc; then
emake dox || die "make dox failed"
fi
}

src_install() {
make DESTDIR="${D}" install || die "make install failed"

# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/apr.exp

dodoc CHANGES NOTICE

if use doc; then
dohtml docs/dox/html/* || die
fi
}

pkg_postinst() {
ewarn "We are now using the system's libtool rather then bundling"
ewarn "our own. You will need to rebuild Apache and possibly other"
ewarn "software if you get a message similiar to the following:"
ewarn
ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory"
ewarn
}

apr-1.3.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.2.ebuild,v 1.7 2008/08/16 16:48:42 jer Exp $

inherit autotools

DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc urandom debug"
RESTRICT="test"

DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"

# for some reason not all the .m4 files that are referenced in
# configure.in exist, so we remove all references and include every
# .m4 file in build using aclocal via eautoreconf
# See bug 135463
sed -i -e '/sinclude/d' configure.in
AT_M4DIR="build" eautoreconf

epatch "${FILESDIR}"/config.layout.patch
}

src_compile() {
# For now we always enable ipv6. Testing has shown that is still works
# correctly in ipv4 systems, and currently, the ipv4-only support
# is broken in apr. (ipv6 is enabled by default) Bug #123320
#myconf="${myconf} $(use_enable ipv6)"

if use urandom; then
myconf="${myconf} --with-devrandom=/dev/urandom"
else
myconf="${myconf} --with-devrandom=/dev/random"
fi

if use debug; then
myconf="${myconf} --enable-maintainer-mode"
myconf="${myconf} --enable-pool-debug=all"
fi

# We pre-load the cache with the correct answer! This avoids
# it violating the sandbox. This may have to be changed for
# non-Linux systems or if sem_open changes on Linux. This
# hack is built around documentation in /usr/include/semaphore.h
# and the glibc (pthread) source
# See bugs 24215 and 133573
echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> "${S}"/config.cache

econf --enable-layout=gentoo \
--enable-threads \
--enable-nonportable-atomics \
${myconf}

# Make sure we use the system libtool
sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' "${S}"/build/apr_rules.mk
sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' "${S}"/apr-1-config
rm -f "${S}"/libtool

emake || die "Make failed"

if use doc; then
emake dox || die "make dox failed"
fi
}

src_install() {
make DESTDIR="${D}" install || die "make install failed"

# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/apr.exp

dodoc CHANGES NOTICE

if use doc; then
dohtml docs/dox/html/* || die
fi
}

pkg_postinst() {
ewarn "We are now using the system's libtool rather then bundling"
ewarn "our own. You will need to rebuild Apache and possibly other"
ewarn "software if you get a message similiar to the following:"
ewarn
ewarn " /usr/share/apr-1/build-1/libtool: No such file or directory"
ewarn
}

files

metadata.xml




apache

apache-bugs@gentoo.org


Use /dev/urandom instead of /dev/random