Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr-util: apr-util-1.4.1.ebuild metadata.xml ChangeLog
Date: Tue, 27 Dec 2011 23:35:54
Message-Id: 20111227233542.1E8BD2004B@flycatcher.gentoo.org
1 neurogeek 11/12/27 23:35:42
2
3 Modified: metadata.xml ChangeLog
4 Added: apr-util-1.4.1.ebuild
5 Log:
6 Version bump. Ebuild by Arfrever.
7
8 (Portage version: 2.2.0_alpha46/cvs/Linux i686)
9
10 Revision Changes Path
11 1.4 dev-libs/apr-util/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 28 Jan 2007 20:06:37 -0000 1.3
24 +++ metadata.xml 27 Dec 2011 23:35:41 -0000 1.4
25 @@ -5,4 +5,8 @@
26 <maintainer>
27 <email>apache-bugs@g.o</email>
28 </maintainer>
29 + <use>
30 + <flag name="nss">Install apr_crypto_nss module</flag>
31 + <flag name="openssl">Install apr_crypto_openssl module</flag>
32 + </use>
33 </pkgmetadata>
34
35
36
37 1.173 dev-libs/apr-util/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.173&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.173&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.172&r2=1.173
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v
46 retrieving revision 1.172
47 retrieving revision 1.173
48 diff -u -r1.172 -r1.173
49 --- ChangeLog 11 Nov 2011 20:35:31 -0000 1.172
50 +++ ChangeLog 27 Dec 2011 23:35:41 -0000 1.173
51 @@ -1,6 +1,12 @@
52 # ChangeLog for dev-libs/apr-util
53 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.172 2011/11/11 20:35:31 hwoarang Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.173 2011/12/27 23:35:41 neurogeek Exp $
56 +
57 +*apr-util-1.4.1 (27 Dec 2011)
58 +
59 + 27 Dec 2011; Jesus Rivero <neurogeek@g.o> +apr-util-1.4.1.ebuild,
60 + metadata.xml:
61 + Version bump. Ebuild by Arfrever.
62
63 11 Nov 2011; Markos Chandras <hwoarang@g.o> -apr-util-1.3.11.ebuild:
64 Remove old ebuild
65
66
67
68 1.1 dev-libs/apr-util/apr-util-1.4.1.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.4.1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.4.1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: apr-util-1.4.1.ebuild
74 ===================================================================
75 # Copyright 1999-2011 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.4.1.ebuild,v 1.1 2011/12/27 23:35:41 neurogeek Exp $
78
79 EAPI="4"
80
81 # Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
82 # APR_PV="${PV}"
83 APR_PV="1.4.5"
84
85 inherit autotools db-use eutils libtool multilib
86
87 DESCRIPTION="Apache Portable Runtime Utility Library"
88 HOMEPAGE="http://apr.apache.org/"
89 SRC_URI="mirror://apache/apr/${P}.tar.bz2"
90
91 LICENSE="Apache-2.0"
92 SLOT="1"
93 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
94 IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
95 RESTRICT="test"
96
97 RDEPEND="dev-libs/expat
98 >=dev-libs/apr-${APR_PV}:1
99 berkdb? ( >=sys-libs/db-4 )
100 freetds? ( dev-db/freetds )
101 gdbm? ( sys-libs/gdbm )
102 ldap? ( =net-nds/openldap-2* )
103 mysql? ( =virtual/mysql-5* )
104 nss? ( dev-libs/nss )
105 odbc? ( dev-db/unixODBC )
106 openssl? ( dev-libs/openssl )
107 postgres? ( dev-db/postgresql-base )
108 sqlite? ( dev-db/sqlite:3 )"
109 DEPEND="${RDEPEND}
110 doc? ( app-doc/doxygen )"
111
112 DOCS=(CHANGES NOTICE README)
113
114 src_prepare() {
115 epatch "${FILESDIR}/${PN}-1.3.12-bdb-5.2.patch"
116 eautoreconf
117
118 elibtoolize
119 }
120
121 src_configure() {
122 local myconf
123
124 if use berkdb; then
125 local db_version
126 db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
127 db_version="$(db_ver_to_slot "${db_version}")"
128 db_version="${db_version/\./}"
129 myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)"
130 else
131 myconf+=" --without-berkeley-db"
132 fi
133
134 econf \
135 --datadir=/usr/share/apr-util-1 \
136 --with-apr=/usr \
137 --with-expat=/usr \
138 --without-sqlite2 \
139 $(use_with freetds) \
140 $(use_with gdbm) \
141 $(use_with ldap) \
142 $(use_with mysql) \
143 $(use_with nss) \
144 $(use_with odbc) \
145 $(use_with openssl) \
146 $(use_with postgres pgsql) \
147 $(use_with sqlite sqlite3) \
148 ${myconf}
149 }
150
151 src_compile() {
152 emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
153
154 if use doc; then
155 emake dox
156 fi
157 }
158
159 src_install() {
160 default
161
162 find "${ED}" -name "*.la" -exec rm -f {} +
163 find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
164
165 if use doc; then
166 dohtml -r docs/dox/html/*
167 fi
168
169 if ! use static-libs; then
170 find "${ED}" -name "*.a" -exec rm -f {} +
171 fi
172
173 # This file is only used on AIX systems, which Gentoo is not,
174 # and causes collisions between the SLOTs, so remove it.
175 rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
176 }