Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr-util: ChangeLog apr-util-1.5.3.ebuild apr-util-1.4.1.ebuild apr-util-1.3.12.ebuild
Date: Wed, 20 Nov 2013 18:53:56
Message-Id: 20131120185348.48CEF2004B@flycatcher.gentoo.org
1 polynomial-c 13/11/20 18:53:48
2
3 Modified: ChangeLog
4 Added: apr-util-1.5.3.ebuild
5 Removed: apr-util-1.4.1.ebuild apr-util-1.3.12.ebuild
6 Log:
7 Version bump. Removed old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.191 dev-libs/apr-util/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.191&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.191&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.190&r2=1.191
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v
21 retrieving revision 1.190
22 retrieving revision 1.191
23 diff -u -r1.190 -r1.191
24 --- ChangeLog 18 Aug 2013 13:28:53 -0000 1.190
25 +++ ChangeLog 20 Nov 2013 18:53:48 -0000 1.191
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/apr-util
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.190 2013/08/18 13:28:53 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.191 2013/11/20 18:53:48 polynomial-c Exp $
31 +
32 +*apr-util-1.5.3 (20 Nov 2013)
33 +
34 + 20 Nov 2013; Lars Wendler <polynomial-c@g.o> -apr-util-1.3.12.ebuild,
35 + -apr-util-1.4.1.ebuild, +apr-util-1.5.3.ebuild:
36 + Version bump. Removed old.
37
38 18 Aug 2013; Agostino Sarubbo <ago@g.o> apr-util-1.5.2.ebuild:
39 Stable for x86, wrt bug #477296
40
41
42
43 1.1 dev-libs/apr-util/apr-util-1.5.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.5.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.5.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: apr-util-1.5.3.ebuild
49 ===================================================================
50 # Copyright 1999-2013 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.5.3.ebuild,v 1.1 2013/11/20 18:53:48 polynomial-c Exp $
53
54 EAPI="4"
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.4.6"
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 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
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 nss? ( dev-libs/nss )
80 odbc? ( dev-db/unixODBC )
81 openssl? ( dev-libs/openssl )
82 postgres? ( dev-db/postgresql-base )
83 sqlite? ( dev-db/sqlite:3 )"
84 DEPEND="${RDEPEND}
85 doc? ( app-doc/doxygen )"
86
87 DOCS=(CHANGES NOTICE README)
88
89 src_prepare() {
90 eautoreconf
91
92 elibtoolize
93 }
94
95 src_configure() {
96 local myconf
97
98 [[ ${CHOST} == *-mint* ]] && myconf="${myconf} --disable-util-dso"
99
100 if use berkdb; then
101 local db_version
102 db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
103 db_version="$(db_ver_to_slot "${db_version}")"
104 db_version="${db_version/\./}"
105 myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):${EPREFIX}/usr/$(get_libdir)"
106 else
107 myconf+=" --without-berkeley-db"
108 fi
109
110 econf \
111 --datadir="${EPREFIX}"/usr/share/apr-util-1 \
112 --with-apr="${EPREFIX}"/usr \
113 --with-expat="${EPREFIX}"/usr \
114 --without-sqlite2 \
115 $(use_with freetds) \
116 $(use_with gdbm) \
117 $(use_with ldap) \
118 $(use_with mysql) \
119 $(use_with nss) \
120 $(use_with odbc) \
121 $(use_with openssl) \
122 $(use_with postgres pgsql) \
123 $(use_with sqlite sqlite3) \
124 ${myconf}
125 }
126
127 src_compile() {
128 emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
129
130 if use doc; then
131 emake dox
132 fi
133 }
134
135 src_install() {
136 default
137
138 find "${ED}" -name "*.la" -exec rm -f {} +
139 find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
140
141 if use doc; then
142 dohtml -r docs/dox/html/*
143 fi
144
145 if ! use static-libs; then
146 find "${ED}" -name "*.a" -exec rm -f {} +
147 fi
148
149 # This file is only used on AIX systems, which Gentoo is not,
150 # and causes collisions between the SLOTs, so remove it.
151 rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
152 }