diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-04 01:03:27 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-04 01:03:27 +0000 |
commit | 85a9836ae3a58baa0e3e049f95da44bddb4e2479 (patch) | |
tree | f8fa26fffde231f7908a84bb23be74c4d04313ee /dev-libs | |
parent | Stable for PPC (bug #339640). (diff) | |
download | historical-85a9836ae3a58baa0e3e049f95da44bddb4e2479.tar.gz historical-85a9836ae3a58baa0e3e049f95da44bddb4e2479.tar.bz2 historical-85a9836ae3a58baa0e3e049f95da44bddb4e2479.zip |
Version bump. Support Berkeley DB 5.1.
Package-Manager: portage-2.2_rc88_p83/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/apr-util/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/apr-util/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/apr-util/apr-util-1.3.10.ebuild | 91 | ||||
-rw-r--r-- | dev-libs/apr-util/files/apr-util-1.3.10-support_berkeley_db-5.1.patch | 138 |
4 files changed, 241 insertions, 2 deletions
diff --git a/dev-libs/apr-util/ChangeLog b/dev-libs/apr-util/ChangeLog index 67c96f068bd1..5a5bfb627c66 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.148 2010/08/06 13:28:37 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.149 2010/10/04 01:03:26 arfrever Exp $ + +*apr-util-1.3.10 (04 Oct 2010) + + 04 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +apr-util-1.3.10.ebuild, + +files/apr-util-1.3.10-support_berkeley_db-5.1.patch: + Version bump. Support Berkeley DB 5.1. *apr-util-1.3.9-r1 (06 Aug 2010) diff --git a/dev-libs/apr-util/Manifest b/dev-libs/apr-util/Manifest index d7548ad279b1..e33577eaa687 100644 --- a/dev-libs/apr-util/Manifest +++ b/dev-libs/apr-util/Manifest @@ -1,7 +1,10 @@ +AUX apr-util-1.3.10-support_berkeley_db-5.1.patch 5015 RMD160 654fb2288a497918a50565f6507061b064f7e6c4 SHA1 7a80bd0fb27343717b34e0912f4f9922f722e20c SHA256 021a7cb221654d3b20162ece372e12a173b6fb479bd3f3ac0fe1a75058450652 AUX apr-util-1.3.9-support_berkeley_db-4.8.patch 4443 RMD160 f378ba707441854a0b19f07a396f7a7be041e715 SHA1 ce3cf0caa6c9a9b6cddb9b0b49366dc132eab398 SHA256 11a8163c75a279d1aa93f9bd0142a836add228a5f1232a8f85e1a128363ae8aa AUX apr-util-1.3.9-support_berkeley_db-5.0.patch 5782 RMD160 93095ea8dbf9ceb35271a752fc6e21f7944d2c24 SHA1 d2d26a293b4b2e52808512ad0a180cb669e6d9ff SHA256 b61b4f1d0063aa41d6f739ea059e5c5ffcdcb8a17a4aefa1901d5cdd08dd8a17 +DIST apr-util-1.3.10.tar.bz2 607912 RMD160 b18520330602d342e15966c48fb31127ce7b31e0 SHA1 9a720cf77f1d0fdc5b0f6ce6d656cc864d7d4833 SHA256 1ac0c049078e17f6bf609bf763634d6851961b5cb81fbca2f9c9810510d017ee DIST apr-util-1.3.9.tar.gz 790952 RMD160 f6180ba186e8ed73831b1da78de7ec57fc1cb162 SHA1 fd2a76352353e6bc2f7cc7da80e2ab3842795199 SHA256 20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9 +EBUILD apr-util-1.3.10.ebuild 2438 RMD160 0b2c9ab59fc73c7ac91e57f8fd7f5a1f9efe5639 SHA1 b5bba3d7bf3b4830f5e0248d31e1150e2a8a227d SHA256 e23dd54f7d0a2f379fb8aea73f8a09d89b3b21152250b2d9e83dc0874a735b71 EBUILD apr-util-1.3.9-r1.ebuild 2443 RMD160 9a6ad060420c08bae4665f4df2025cb86439804c SHA1 ae45c6223d4866297bf0a5452861af2616e78fa6 SHA256 dfc5929305af09c7181ae4656d8e362c8b3b47321af3196a398d1f6fb9d655f7 EBUILD apr-util-1.3.9.ebuild 2364 RMD160 d2c2104cae2cde452b7997e38734bb2ab9b29b5e SHA1 e320872cd820ec29a740aaa689b8b558ba2c113f SHA256 194443f4ae7fd705ee442460f567a73843aff6d932a6c01730efc7caabb4c612 -MISC ChangeLog 19043 RMD160 9d2eeffd33b9de571f5d35d8c9b7e7af3748262a SHA1 83a12f75f93ce612daca5fa9b8b2974b29430512 SHA256 05cf9ae26a9e2e204519b8a6fac57f3e35347d8f7952ae97f9a1ea4a2f830e9b +MISC ChangeLog 19273 RMD160 ab0bc15844a63596ec182414e08b9dabb7d2fe45 SHA1 73c7b7e163572644d1e6ec0b3db58747eb17d015 SHA256 2ca09ab4ccd7d7aa2a424f8e000c998cde8c0b0fcfcf629aa2ccb2667e555b85 MISC metadata.xml 229 RMD160 bb816bd761846ad578f8c1521a1f1ec6297410f4 SHA1 92fdbcb6a85ece96506733ad67a5e4e74a58a529 SHA256 8e1aafc5385805d45759406a60df79f0ce88aa1df1a58d44b596405d64c9226d diff --git a/dev-libs/apr-util/apr-util-1.3.10.ebuild b/dev-libs/apr-util/apr-util-1.3.10.ebuild new file mode 100644 index 000000000000..8d93a9062e94 --- /dev/null +++ b/dev-libs/apr-util/apr-util-1.3.10.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2010 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.3.10.ebuild,v 1.1 2010/10/04 01:03:26 arfrever Exp $ + +EAPI="3" + +# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. +#APR_PV=${PV} +APR_PV="1.3.8" + +inherit autotools db-use eutils libtool multilib + +DESCRIPTION="Apache Portable Runtime Utility Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3" +RESTRICT="test" + +RDEPEND="dev-libs/expat + >=dev-libs/apr-${APR_PV}:1 + berkdb? ( >=sys-libs/db-4 ) + freetds? ( dev-db/freetds ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* ) + mysql? ( =virtual/mysql-5* ) + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql-base ) + sqlite? ( dev-db/sqlite:0 ) + sqlite3? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}/${P}-support_berkeley_db-5.1.patch" + eautoreconf + + elibtoolize +} + +src_configure() { + local myconf + + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)" + else + myconf+=" --without-berkeley-db" + fi + + econf --datadir=/usr/share/apr-util-1 \ + --with-apr=/usr \ + --with-expat=/usr \ + $(use_with freetds) \ + $(use_with gdbm) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with odbc) \ + $(use_with postgres pgsql) \ + $(use_with sqlite sqlite2) \ + $(use_with sqlite3) \ + ${myconf} +} + +src_compile() { + emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" + + if use doc; then + emake dox || die "emake dox failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc CHANGES NOTICE README + + if use doc; then + dohtml -r docs/dox/html/* || die "dohtml failed" + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + rm -f "${D}usr/$(get_libdir)/aprutil.exp" +} diff --git a/dev-libs/apr-util/files/apr-util-1.3.10-support_berkeley_db-5.1.patch b/dev-libs/apr-util/files/apr-util-1.3.10-support_berkeley_db-5.1.patch new file mode 100644 index 000000000000..40a366289dc9 --- /dev/null +++ b/dev-libs/apr-util/files/apr-util-1.3.10-support_berkeley_db-5.1.patch @@ -0,0 +1,138 @@ +https://svn.apache.org/viewvc?view=revision&revision=1003788 + +--- build/dbm.m4 ++++ build/dbm.m4 +@@ -560,6 +560,25 @@ + apu_db_version=5 + fi + ]) ++dnl ++dnl APU_CHECK_DB51: is DB5.1 present? ++dnl ++dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version ++dnl ++AC_DEFUN([APU_CHECK_DB51], [ ++ places=$1 ++ if test -z "$places"; then ++ places="std /usr/local/BerkeleyDB.5.1 /boot/home/config" ++ fi ++ APU_CHECK_BERKELEY_DB("5", "1", "-1", ++ "$places", ++ "db51/db.h db5/db.h db.h", ++ "db-5.1 db5-5.1 db51 db5 db" ++ ) ++ if test "$apu_have_db" = "1"; then ++ apu_db_version=5 ++ fi ++]) + + AC_DEFUN([APU_CHECK_DB], [ + requested=$1 +@@ -656,6 +675,12 @@ + AC_MSG_ERROR(Berkeley db5 not found) + fi + ;; ++ db51) ++ APU_CHECK_DB51("$check_places") ++ if test "$apu_db_version" != "5"; then ++ AC_MSG_ERROR(Berkeley db5 not found) ++ fi ++ ;; + default) + APU_CHECK_DB_ALL("$check_places") + ;; +@@ -663,38 +688,41 @@ + ]) + + dnl +-dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 5.0 to 1. ++dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 5.1 to 1. + dnl + AC_DEFUN([APU_CHECK_DB_ALL], [ + all_places=$1 + +- APU_CHECK_DB50("$all_places") ++ APU_CHECK_DB51("$all_places") + if test "$apu_db_version" != "5"; then +- APU_CHECK_DB48("$all_places") +- if test "$apu_db_version" != "4"; then +- APU_CHECK_DB47("$all_places") ++ APU_CHECK_DB50("$all_places") ++ if test "$apu_db_version" != "5"; then ++ APU_CHECK_DB48("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB46("$all_places") ++ APU_CHECK_DB47("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB45("$all_places") ++ APU_CHECK_DB46("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB44("$all_places") ++ APU_CHECK_DB45("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB43("$all_places") ++ APU_CHECK_DB44("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB42("$all_places") ++ APU_CHECK_DB43("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB41("$all_places") ++ APU_CHECK_DB42("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB4("$all_places") ++ APU_CHECK_DB41("$all_places") + if test "$apu_db_version" != "4"; then +- APU_CHECK_DB3("$all_places") +- if test "$apu_db_version" != "3"; then +- APU_CHECK_DB2("$all_places") +- if test "$apu_db_version" != "2"; then +- APU_CHECK_DB1("$all_places") +- if test "$apu_db_version" != "1"; then +- APU_CHECK_DB185("$all_places") ++ APU_CHECK_DB4("$all_places") ++ if test "$apu_db_version" != "4"; then ++ APU_CHECK_DB3("$all_places") ++ if test "$apu_db_version" != "3"; then ++ APU_CHECK_DB2("$all_places") ++ if test "$apu_db_version" != "2"; then ++ APU_CHECK_DB1("$all_places") ++ if test "$apu_db_version" != "1"; then ++ APU_CHECK_DB185("$all_places") ++ fi + fi + fi + fi +@@ -735,11 +763,11 @@ + apu_db_version=0 + + AC_ARG_WITH(dbm, [APR_HELP_STRING([--with-dbm=DBM], [choose the DBM type to use. +- DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47,db48,db50}])], ++ DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47,db48,db50,db51}])], + [ + if test "$withval" = "yes"; then + AC_MSG_ERROR([--with-dbm needs to specify a DBM type to use. +- One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50]) ++ One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51]) + fi + requested="$withval" + ], [ +@@ -946,6 +974,10 @@ + apu_use_db=1 + apu_default_dbm=db5 + ;; ++ db51) ++ apu_use_db=1 ++ apu_default_dbm=db5 ++ ;; + default) + dnl ### use more sophisticated DBMs for the default? + apu_default_dbm="sdbm (default)" +@@ -953,7 +985,7 @@ + ;; + *) + AC_MSG_ERROR([--with-dbm=$look_for is an unknown DBM type. +- Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50]) ++ Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48, db50, db51]) + ;; + esac + |