1 |
arfrever 10/10/04 01:03:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apr-util-1.3.10.ebuild |
5 |
Log: |
6 |
Version bump. Support Berkeley DB 5.1. |
7 |
|
8 |
(Portage version: 2.2_rc88_p83/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.149 dev-libs/apr-util/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.149&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.149&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.148&r2=1.149 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v |
20 |
retrieving revision 1.148 |
21 |
retrieving revision 1.149 |
22 |
diff -u -r1.148 -r1.149 |
23 |
--- ChangeLog 6 Aug 2010 13:28:37 -0000 1.148 |
24 |
+++ ChangeLog 4 Oct 2010 01:03:26 -0000 1.149 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-libs/apr-util |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.148 2010/08/06 13:28:37 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.149 2010/10/04 01:03:26 arfrever Exp $ |
30 |
+ |
31 |
+*apr-util-1.3.10 (04 Oct 2010) |
32 |
+ |
33 |
+ 04 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ +apr-util-1.3.10.ebuild, |
35 |
+ +files/apr-util-1.3.10-support_berkeley_db-5.1.patch: |
36 |
+ Version bump. Support Berkeley DB 5.1. |
37 |
|
38 |
*apr-util-1.3.9-r1 (06 Aug 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/apr-util/apr-util-1.3.10.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.3.10.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.3.10.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: apr-util-1.3.10.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $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 $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. |
57 |
#APR_PV=${PV} |
58 |
APR_PV="1.3.8" |
59 |
|
60 |
inherit autotools db-use eutils libtool multilib |
61 |
|
62 |
DESCRIPTION="Apache Portable Runtime Utility Library" |
63 |
HOMEPAGE="http://apr.apache.org/" |
64 |
SRC_URI="mirror://apache/apr/${P}.tar.bz2" |
65 |
|
66 |
LICENSE="Apache-2.0" |
67 |
SLOT="1" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
69 |
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3" |
70 |
RESTRICT="test" |
71 |
|
72 |
RDEPEND="dev-libs/expat |
73 |
>=dev-libs/apr-${APR_PV}:1 |
74 |
berkdb? ( >=sys-libs/db-4 ) |
75 |
freetds? ( dev-db/freetds ) |
76 |
gdbm? ( sys-libs/gdbm ) |
77 |
ldap? ( =net-nds/openldap-2* ) |
78 |
mysql? ( =virtual/mysql-5* ) |
79 |
odbc? ( dev-db/unixODBC ) |
80 |
postgres? ( dev-db/postgresql-base ) |
81 |
sqlite? ( dev-db/sqlite:0 ) |
82 |
sqlite3? ( dev-db/sqlite:3 )" |
83 |
DEPEND="${RDEPEND} |
84 |
doc? ( app-doc/doxygen )" |
85 |
|
86 |
src_prepare() { |
87 |
epatch "${FILESDIR}/${P}-support_berkeley_db-5.1.patch" |
88 |
eautoreconf |
89 |
|
90 |
elibtoolize |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
local myconf |
95 |
|
96 |
if use berkdb; then |
97 |
local db_version |
98 |
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" |
99 |
db_version="$(db_ver_to_slot "${db_version}")" |
100 |
db_version="${db_version/\./}" |
101 |
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)" |
102 |
else |
103 |
myconf+=" --without-berkeley-db" |
104 |
fi |
105 |
|
106 |
econf --datadir=/usr/share/apr-util-1 \ |
107 |
--with-apr=/usr \ |
108 |
--with-expat=/usr \ |
109 |
$(use_with freetds) \ |
110 |
$(use_with gdbm) \ |
111 |
$(use_with ldap) \ |
112 |
$(use_with mysql) \ |
113 |
$(use_with odbc) \ |
114 |
$(use_with postgres pgsql) \ |
115 |
$(use_with sqlite sqlite2) \ |
116 |
$(use_with sqlite3) \ |
117 |
${myconf} |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" |
122 |
|
123 |
if use doc; then |
124 |
emake dox || die "emake dox failed" |
125 |
fi |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
emake DESTDIR="${D}" install || die "emake install failed" |
130 |
|
131 |
dodoc CHANGES NOTICE README |
132 |
|
133 |
if use doc; then |
134 |
dohtml -r docs/dox/html/* || die "dohtml failed" |
135 |
fi |
136 |
|
137 |
# This file is only used on AIX systems, which Gentoo is not, |
138 |
# and causes collisions between the SLOTs, so remove it. |
139 |
rm -f "${D}usr/$(get_libdir)/aprutil.exp" |
140 |
} |