summaryrefslogtreecommitdiff
path: root/dev-libs/apr-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-29 11:22:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-10-29 11:22:34 +0000
commitbd7908c6630f38067350d396ac5d18c3cc2434a0 (patch)
tree3559b3e11424f5529527f2474d8a977a91ee3389 /dev-libs/apr-util
parent8b2628ad8526c806375e7b157889e4274b70248b (diff)
gentoo resync : 29.10.2017
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r--dev-libs/apr-util/Manifest3
-rw-r--r--dev-libs/apr-util/apr-util-1.6.1.ebuild (renamed from dev-libs/apr-util/apr-util-1.5.4-r1.ebuild)84
2 files changed, 54 insertions, 33 deletions
diff --git a/dev-libs/apr-util/Manifest b/dev-libs/apr-util/Manifest
index 5e6423eab95c..e5603475b50d 100644
--- a/dev-libs/apr-util/Manifest
+++ b/dev-libs/apr-util/Manifest
@@ -1,10 +1,11 @@
AUX apr-util-1.5.3-sysroot.patch 1234 SHA256 752ee44d3e9e39e4cba824556f829776a46e4f5e64d4f359de781d3bfd3a414f SHA512 44ee2a9cf61587f05d43976d40023f6313b310c3eeb37299840445e3faec7f0352367875f515b21d3b1fcdc8c082d8584a21cf8187deb1f6f69187c14f84f0b7 WHIRLPOOL 2017ccccfade6e99a490781100a7ca2ee1901a93b791db78291e3d7850e9916d183084abc6f46b2a80ffb451dfb5f1e999189f9ce6f994b51146563bef52a7af
DIST apr-util-1.5.4.tar.bz2 694427 SHA256 a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e SHA512 ca877d8e444218c4ba0f28063ee075ddcd6c0a487b692dc80ef442fe775ec4eeb337c6957853772e8082e27edcb450d7e909c2c6c3ab4a95bbf0a5ee5ea4a2d1 WHIRLPOOL bc4ce82785513f4bf2207bb26758abc79e6bfef62a57d3e2ead570abc618b321c302390b9dcd8eab1ec44a9e5d398c2cc4d35af2549636e20d7c20678725ac2e
DIST apr-util-1.6.0.tar.bz2 428750 SHA256 8474c93fa74b56ac6ca87449abe3e155723d5f534727f3f33283f6631a48ca4c SHA512 dc88c13ef6116ed1c67584436cb8ca94ef77d358cb60c7cafab953d36d00564776414faed43397755e79bcf1b14dfca81cad2e280a2dd4c31f6e4559583effd0 WHIRLPOOL a41e90c781d6fd0792ba4d4941744d61bee2289b72529ccca92fbcb671234e80d7faee7e6fa8cf86e6f2d822e6429cff17721a96fdb6527f0802cbd6ed4c1284
-EBUILD apr-util-1.5.4-r1.ebuild 3351 SHA256 9d1e9007dcce45d0e9d0325f4bcb3b28bc540c7c63b07e2767d8a6d1cac1053e SHA512 d56ced2e56d2dcb9b1aa53b426f3e0ba03d4f12076731e808630d9d58917f31320c2d2435bee645be8768b3663ba2af8664f0824a17e90a26f7927a0fae37732 WHIRLPOOL a76001edc4d72768a6c1cb096821ac76139138e75f2f60a8378daf86beee3bcd4d324de0f00d03669b33bde0afd43ca7b1526548d0bb192bc41a08352f4d7b66
+DIST apr-util-1.6.1.tar.bz2 428595 SHA256 d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b SHA512 40eff8a37c0634f7fdddd6ca5e596b38de15fd10767a34c30bbe49c632816e8f3e1e230678034f578dd5816a94f246fb5dfdf48d644829af13bf28de3225205d WHIRLPOOL 66ec9e7f5c596c0eba93329d61b565013bd16388e958bf50f947d977e11ef0a562cf72aa6cce3f24d0748f0f296a011ecbf2a61b6ee5333e0baf3e91ea429fa7
EBUILD apr-util-1.5.4-r3.ebuild 3705 SHA256 e70cda306e07030e975e11e99d3f62e29a93d25dc75647dcd6bb9a48155ae53d SHA512 6fcb294154753d569e3cad05c6e293c85ea49aab64f8fa2542577624b6c4349f80e06376f021d953b22e59ff8bd6b97c5e6e31106971a1333594572a8ef759c0 WHIRLPOOL 24d6411cde7b0926950952b999b37869ef152fd5444361d6faa2aa8e78fe4bdbce7d79af8d2108ee419605ccec1ed384443e3ea89eebd4c346f95a5a1ac61ae0
EBUILD apr-util-1.5.4.ebuild 3238 SHA256 b5dd4d0dd26da87d7167edbadff9ac9d2d6c3cd4919572bc7aa0471dbd29229f SHA512 c018c7088ffac68d91aa0c8e8089dd7a0dd9219b21cbd95db63c8a9980067e1f841a64bb4a1de6fbd3438b4a95edaca838284b85c20095e138fc92f6fbd9d664 WHIRLPOOL bdff04ea43a4c4fc4f4872e41d581c415c00d532267c449a3a68e23b7a5f071401423834b273cdbc188dc9f79c81181088eb6fd68b51aab448213e452a3c2612
EBUILD apr-util-1.6.0.ebuild 3611 SHA256 cc06598079caf57e6c580c1b2f66bf2d137bbfc27d321ae6710693b8186127ca SHA512 9cfd1e467bf2ead57335c561de29851a3bc72e759c0d515223a35b60acebf90ee473846862942c86e5d921acbb9f04e2654a33d27c36ffa6568d354bab871ad8 WHIRLPOOL 2e7da9047abbcbd1cd3a9af434677f6525a7da23276ce3e9eb469b36dd3122199b9412d3bb6d701f01b21a17291205f2c2d6e16b501772a0350ace25777be421
+EBUILD apr-util-1.6.1.ebuild 3611 SHA256 cc06598079caf57e6c580c1b2f66bf2d137bbfc27d321ae6710693b8186127ca SHA512 9cfd1e467bf2ead57335c561de29851a3bc72e759c0d515223a35b60acebf90ee473846862942c86e5d921acbb9f04e2654a33d27c36ffa6568d354bab871ad8 WHIRLPOOL 2e7da9047abbcbd1cd3a9af434677f6525a7da23276ce3e9eb469b36dd3122199b9412d3bb6d701f01b21a17291205f2c2d6e16b501772a0350ace25777be421
MISC ChangeLog 2789 SHA256 7545011cfeb5878c8cf91df048ab98a188e0afbfbb9e6f3b551d7d064abac5c4 SHA512 17c82c556c5c82adbbedd8483c499892adf7d5f6835cc08aa436b6de1d88ce4713c37b08ff1142f15a0d00914cca548447fde08773c58fa8ce56aac3882ab125 WHIRLPOOL 32a8df43ce713e721bac5c6f5c412ef41145d268f5f281dfa3181aa7d3492cd0f4ad1b8ebcb72fd248da07071b594adf0e13eca9afc3b5b0bc1d22048d016d3c
MISC ChangeLog-2015 28596 SHA256 4bf952fa4e066f230ef1d23955c7854a88560e3888938a1e8ef83823adde249b SHA512 87078eb359eff08fc32b698a4c9a43003b83e2f501b0728a2e16978e38c80621a9279624489260c813732281ef59c851e8a2130736cde0eacdf16bb804cafc66 WHIRLPOOL ac08e462b2b6288e93e7a882205acfbe164e28126aea0fcd3f7e293f7c35f5ca1e43b85e7a8222a5905a83d2521c5627b1ebca5b7e9f5191dbbbc7a09062ec93
MISC metadata.xml 515 SHA256 d5226f9f0b532aa0adf1cbc7e4b5333dae3411f0c12e6df483a4036d7150133a SHA512 af8e2bbded13ef475d1577eb4faa27e17a045804f1de3e79c4c3d736871db304872fc65db0d606c243292392fb4ac773711ad9e153369714689138249d469158 WHIRLPOOL 0d9a6906df5f22918414a41f8a0806e502ef38696d9c5fc5c9949c13c988fa57d3acae1c99ef1ca2279ca7ec970044bf3e1c704c460cd397262b1a6e34f0de7b
diff --git a/dev-libs/apr-util/apr-util-1.5.4-r1.ebuild b/dev-libs/apr-util/apr-util-1.6.1.ebuild
index 9fa270a7f21f..ec528c173dd8 100644
--- a/dev-libs/apr-util/apr-util-1.5.4-r1.ebuild
+++ b/dev-libs/apr-util/apr-util-1.6.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=6
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
# APR_PV="${PV}"
-APR_PV="1.4.6"
+APR_PV="1.6.2"
inherit autotools db-use eutils libtool multilib toolchain-funcs
@@ -16,13 +16,13 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="berkdb doc freetds gdbm ldap libressl mysql nss odbc openssl postgres sqlite static-libs"
+IUSE="berkdb doc gdbm ldap libressl mysql nss odbc openssl postgres sqlite static-libs"
#RESTRICT="test"
-RDEPEND="dev-libs/expat
+RDEPEND="
+ dev-libs/expat
>=dev-libs/apr-${APR_PV}:1
- berkdb? ( >=sys-libs/db-4 )
- freetds? ( dev-db/freetds )
+ berkdb? ( >=sys-libs/db-4:= )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
@@ -32,22 +32,49 @@ RDEPEND="dev-libs/expat
!libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
)
- postgres? ( dev-db/postgresql )
- sqlite? ( dev-db/sqlite:3 )"
-DEPEND="${RDEPEND}
+ postgres? ( dev-db/postgresql:= )
+ sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="
+ ${RDEPEND}
>=sys-devel/libtool-2.4.2
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+"
DOCS=(CHANGES NOTICE README)
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775
+ default
+
+ # Fix usage of libmysqlclient (bug #620230)
+ grep -lrF "libmysqlclient_r" "${S}" \
+ | xargs sed 's@libmysqlclient_r@libmysqlclient@g' -i \
+ || die
+
+ mv configure.{in,ac} || die
eautoreconf
elibtoolize
}
src_configure() {
- local myconf=()
+ local myconf=(
+ --datadir="${EPREFIX}"/usr/share/apr-util-1
+ --with-apr="${SYSROOT}${EPREFIX}"/usr
+ --with-expat="${EPREFIX}"/usr
+ --without-sqlite2
+ $(use_with gdbm)
+ $(use_with ldap)
+ $(use_with mysql)
+ $(use_with nss)
+ $(use_with odbc)
+ $(use_with openssl)
+ $(use_with postgres pgsql)
+ $(use_with sqlite sqlite3)
+ )
tc-is-static-only && myconf+=( --disable-util-dso )
@@ -71,21 +98,7 @@ src_configure() {
myconf+=( --with-crypto ) # 518708
fi
- econf \
- --datadir="${EPREFIX}"/usr/share/apr-util-1 \
- --with-apr="${SYSROOT}${EPREFIX}"/usr \
- --with-expat="${EPREFIX}"/usr \
- --without-sqlite2 \
- $(use_with freetds) \
- $(use_with gdbm) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with nss) \
- $(use_with odbc) \
- $(use_with openssl) \
- $(use_with postgres pgsql) \
- $(use_with sqlite sqlite3) \
- "${myconf[@]}"
+ econf "${myconf[@]}"
# Use the current env build settings rather than whatever apr was built with.
sed -i -r \
-e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \
@@ -103,13 +116,20 @@ src_compile() {
src_install() {
default
- find "${ED}" -name "*.la" -delete
- find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete
- use static-libs || find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete
+ find "${ED}" -name "*.la" -delete || die
+ if [[ -d "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then
+ find "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
+ fi
+ if ! use static-libs ; then
+ find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
+ fi
- use doc && dohtml -r docs/dox/html/*
+ if use doc ; then
+ docinto html
+ dodoc -r docs/dox/html/*
+ fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
- rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
+ rm "${ED%/}/usr/$(get_libdir)/aprutil.exp" || die
}