summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-04-10 21:37:05 +0000
committerChristian Parpart <trapni@gentoo.org>2005-04-10 21:37:05 +0000
commit15dc8225b114aa26042b8b8d0c0e340c32cb1da9 (patch)
treed2361093e7493b35c9a5005a54ee0b41dbc20173 /dev-libs/apr-util
parentadding apr-1 (1.1.1) ebuilds to the series of apr versions which is the base ... (diff)
downloadhistorical-15dc8225b114aa26042b8b8d0c0e340c32cb1da9.tar.gz
historical-15dc8225b114aa26042b8b8d0c0e340c32cb1da9.tar.bz2
historical-15dc8225b114aa26042b8b8d0c0e340c32cb1da9.zip
adding apr-util-1 (1.1.1) ebuilds to the series of apr versions which is the base requirement (besides of apr-1) for forthcoming apache httpd 2.1.x series ;)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r--dev-libs/apr-util/ChangeLog9
-rw-r--r--dev-libs/apr-util/apr-util-1.1.2.ebuild66
-rw-r--r--dev-libs/apr-util/files/digest-apr-util-1.1.21
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-libs/apr-util/ChangeLog b/dev-libs/apr-util/ChangeLog
index 7e63b96e83a3..151d5e6df9aa 100644
--- a/dev-libs/apr-util/ChangeLog
+++ b/dev-libs/apr-util/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/apr-util
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.16 2005/04/01 03:58:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.17 2005/04/10 21:37:05 trapni Exp $
+
+*apr-util-1.1.2 (10 Apr 2005)
+
+ 10 Apr 2005; Christian Parpart <trapni@gentoo.org> +apr-util-1.1.2.ebuild:
+ adding apr-util-1 (1.1.1) ebuilds to the series of apr versions which is the
+ base requirement (besides of apr-1) for forthcoming apache httpd 2.1.x
+ series ;)
31 Mar 2005; Aron Griffis <agriffis@gentoo.org> apr-util-0.9.5.ebuild:
stable on ia64
diff --git a/dev-libs/apr-util/apr-util-1.1.2.ebuild b/dev-libs/apr-util/apr-util-1.1.2.ebuild
new file mode 100644
index 000000000000..70b25a01d544
--- /dev/null
+++ b/dev-libs/apr-util/apr-util-1.1.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.1.2.ebuild,v 1.1 2005/04/10 21:37:05 trapni Exp $
+
+
+DESCRIPTION="Apache Portable Runtime Library"
+HOMEPAGE="http://apr.apache.org/"
+SRC_URI="mirror://apache/apr/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="1"
+
+RESTRICT="maketest"
+
+IUSE="berkdb gdbm ldap"
+
+DEPEND=">=sys-apps/sed-4
+ dev-libs/expat
+ >=dev-libs/apr-1.1.0
+ berkdb? ( sys-libs/db )
+ gdbm? ( sys-libs/gdbm )
+ ldap? ( =net-nds/openldap-2* )"
+
+src_compile() {
+ myconf=""
+
+ if use ldap; then
+ myconf="${myconf} --with-ldap"
+ fi
+
+ if use berkdb; then
+ if has_version '=sys-libs/db-4.2*'; then
+ myconf="${myconf} --with-dbm=db42 --with-berkely-db=/usr"
+ elif has_version '=sys-libs/db-4*'; then
+ myconf="${myconf} --with-dbm=db4 --with-berkely-db=/usr"
+ elif has_version '=sys-libs/db-3*'; then
+ myconf="${myconf} --with-dbm=db3 --with-berkely-db=/usr"
+ elif has_version '=sys-libs/db-2'; then
+ myconf="${myconf} --with-dbm=db2 --with-berkely-db=/usr"
+ fi
+ fi
+
+ ./configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --datadir=/usr/share/apr-util-1 \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --with-apr=/usr \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+ einstall installbuilddir=${D}/usr/share/apr-util-1/build
+
+ #bogus values pointing at /var/tmp/portage
+ sed -i -e 's:APU_SOURCE_DIR=.*:APU_SOURCE_DIR=:g' ${D}/usr/bin/apu-1-config
+ sed -i -e 's:APU_BUILD_DIR=.*:APU_BUILD_DIR=/usr/share/apr-util-1/build:g' ${D}/usr/bin/apu-1-config
+
+ dodoc CHANGES LICENSE NOTICE
+}
diff --git a/dev-libs/apr-util/files/digest-apr-util-1.1.2 b/dev-libs/apr-util/files/digest-apr-util-1.1.2
new file mode 100644
index 000000000000..159e5d96cf74
--- /dev/null
+++ b/dev-libs/apr-util/files/digest-apr-util-1.1.2
@@ -0,0 +1 @@
+MD5 e82f933c065ccd1c7d910da67bc77825 apr-util-1.1.2.tar.gz 615019