summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-05-29 06:31:27 +0000
committerLars Wendler <polynomial-c@gentoo.org>2015-05-29 06:31:27 +0000
commitbb93fd6ef431818398bd9c843c5a0b414f938e94 (patch)
tree2a293fba44445f10e2da647181c8091186af2fbd /sys-libs
parentVersion Bump (diff)
downloadhistorical-bb93fd6ef431818398bd9c843c5a0b414f938e94.tar.gz
historical-bb93fd6ef431818398bd9c843c5a0b414f938e94.tar.bz2
historical-bb93fd6ef431818398bd9c843c5a0b414f938e94.zip
Version bump
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/db/ChangeLog7
-rw-r--r--sys-libs/db/Manifest36
-rw-r--r--sys-libs/db/db-6.1.23.ebuild235
3 files changed, 259 insertions, 19 deletions
diff --git a/sys-libs/db/ChangeLog b/sys-libs/db/ChangeLog
index dec00a29267b..823ce0863656 100644
--- a/sys-libs/db/ChangeLog
+++ b/sys-libs/db/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/db
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.375 2015/03/20 14:41:50 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.376 2015/05/29 06:31:25 polynomial-c Exp $
+
+*db-6.1.23 (29 May 2015)
+
+ 29 May 2015; Lars Wendler <polynomial-c@gentoo.org> +db-6.1.23.ebuild:
+ Version bump.
20 Mar 2015; Justin Lecher <jlec@gentoo.org> db-4.8.30-r1.ebuild,
db-4.8.30-r2.ebuild, db-4.8.30.ebuild, db-5.1.29-r1.ebuild, db-5.1.29.ebuild,
diff --git a/sys-libs/db/Manifest b/sys-libs/db/Manifest
index dd3150b74716..9ac7ebf7f942 100644
--- a/sys-libs/db/Manifest
+++ b/sys-libs/db/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX db-1.85-gentoo-paths.patch 684 SHA256 049052c74c544ac1c1f3b1b91c3e43df76b135c610148212679dfd324470cf2f SHA512 d7e2075a1683c7a04337830730e429c4bf2b5f0bdb49cdc3b625bda83be7cf579f4039204a355f5854c2981b6bd3234767e02bc6a7914e2bcde2a73d698fb914 WHIRLPOOL 272d1acc842c83f9b189deaaf9c38cabc67a0428a21f6b0ff6647899ffb6db7fb4944d18e76884f816baa02ec842d393f5b8c341ef41b820c74adf02d6e86d3a
AUX db-3.2.9-fix-dep-link.patch 1005 SHA256 57e6f13170db99ba7f2f43aa0c7606085d25094127c63a48b76333c1289f6382 SHA512 42f8a6e495266209d7c9bf35bfba801abddffb10488b7b156a790bacdf8fe2d3d3113d8d0a1afddeca238736f64cf8a881141d181fd4a211e4b04da9ed010587 WHIRLPOOL d01855996c76b18793a6cb68ddfab8f3e9a439a13267c41299be13a294469f56d3842a418600475861181b97e90472e800696745068ffb3f47ccbccd74578513
@@ -47,6 +47,7 @@ DIST db-5.1.29.tar.gz 32188074 SHA256 a943cb4920e62df71de1069ddca486d408f6d7a09d
DIST db-5.3.28.tar.gz 35090431 SHA256 e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628 SHA512 e91bbe550fc147a8be7e69ade86fdb7066453814971b2b0223f7d17712bd029a8eff5b2b6b238042ff6ec1ffa6879d44cb95c5645a922fee305c26c3eeaee090 WHIRLPOOL ad9042c4509ece1cae42ade4734f69d59a9ec946a85bd486063a7e8f9fa1ae3f925b71f0475fef05a27d33f695ef82ffd06fbaadbd7dc5bfaa77a8caacf9d1dc
DIST db-6.0.30.tar.gz 36584356 SHA256 608e4b1cf390e9bf54c0ef00c5bd9ca76d36e2261b9f4d33d54516f3f6a20fd2 SHA512 ea249c59dba18cad391f523840028ba8ef962c32f2c7470942d52f9c07f18ba9fdf964dcd545cb7f2d6c66b91924a0ba1478af1d8f81f0dcbbf94c97ac515cf9 WHIRLPOOL 6784730d250dd480bacf78e966c6acb2fb3ca2c3989668e9440a0a60376b009850b2b48fc35f47e3964b175e78501d18b1c3e3b265831165083fe2dd04a46eb3
DIST db-6.1.19.tar.gz 37492835 SHA256 ad8aa5f9ede68118732f78718128e29e4d765e46a87dce54fa9143d9de8684ce SHA512 6b8340c91768238e50969388d42d355f71f69ebf598916623ef7acacd9ee6150e214d78f04bd2bf3803c459e86680db07d43b8c6a4e8f5750f72b94481575adf WHIRLPOOL 66e2fc70ff362cf7c36f9ecf4ef9c3ebb60ce8fa0db9e08d7aa80f8aa74a087a9b53614a830d79e7f88aaac2e8b207f2a0933b9f15b134148261e9bb9a76865e
+DIST db-6.1.23.tar.gz 37465841 SHA256 822e1591f7f535c5eb16389fbd5c1f14877a9561674cc1d497f1db318ef86107 SHA512 2299d9bb7b6bd9fe7637cd64f2985d9a776b8be1984bcd13195a31fef4824a474285a606bca98ae128909c5274ddb06c0a12e2e592d55f26f099d4a76e760026 WHIRLPOOL 82312c330b227c6572fc85ae0912bcf8f21bfc5e317d9beaf191aaf29d818ee567805bb46fafb3d047ad3360ab848ec3ac1d62ba507bb9e4344e6985917ad785
DIST db.1.85.tar.gz 270953 SHA256 4220d4ddeb77fb57ba2f37c1aa105d561d3ef85a6fb89c79c3edd735d0e193c6 SHA512 03bf3a2b0947efdca4e38719542e96378b5eeb57da64d5030dd23ab710773c1826f1c867032d0bea658b7fdd8272db253e97bbc490d198b9437025ffdf9e880e WHIRLPOOL 802346b9fc133f6c9316e987352e8bd8e12792b30b0eae9b4e2b3629c9bc8385ab12244dead428bb824945aab383cd4801de3fc705667797bdf6159066ed1352
DIST patch.3.2.9.1 2139 SHA256 6d89a42ee0be9e47b3e8a42981c65266a556de84bc6281edcf0f977f52547798 SHA512 f410c43ea4af28a39d8ea47f774d38b53bf1183a34abfcf1f27e253eb61b42f4b5e9f0a3a500e174eb796ea342e6dd50a8bb95ff3eb8ee188461489cc994b8f9 WHIRLPOOL 3a879d5306403739465550ade1fbf53ac62b832fbdf507a204fef13949bc7be9c35ddd972834d3ca74bf17c421791011200556dffd95265eb64849f1d7b647ec
DIST patch.3.2.9.2 495 SHA256 61db874796fe8789b0045f456285b27c5b8b7b8902a5e342a115456015716d0e SHA512 cc75fef11a641d480beaa2b62201177c72d10c4eb20376b5f15769db6e9e1a0da41c0365d79772af19b4cacdaa9f91dad049c735de9f95b98dcfc4f0b611b557 WHIRLPOOL 1362c32dc16875a97b451ff52415fe4b9e9d37b256a92c7e86c14a52431937352ae55ecee4361459e9036b9bea238c205a8f0d4406ac7e47387a8cda22906879
@@ -88,24 +89,23 @@ EBUILD db-5.3.28-r2.ebuild 6642 SHA256 6bf78d8c2f7001775fd4fb877b15c8232920f9006
EBUILD db-6.0.30-r1.ebuild 6756 SHA256 19820a4413af84b453036149bfdfd3c62f9843f6cfc617a9f3db805fc43521f9 SHA512 dd0f6525a1644c07e804db1cc979550953f6fd4dcd48b19d90919763e518df1d3c7cd7b052108be398bb93bcb6c34e908fea112d711ddb8f5d4a7246f0ac0720 WHIRLPOOL fc8b4922b1a578a0746f6fa5608adcc99c90b2092bfc729db6dc22cad536bfbd798c24f034e5a01c15df5187c9f2b889e364c798cb8ebf4c040a2d161a07d010
EBUILD db-6.0.30.ebuild 6718 SHA256 c7b6b34ec793d5eb7a0403f7a036dc6af3486da8d53bc04dadc4b89cad9f8540 SHA512 4e535874764cc94611cc4281473d0e9b75f49b246a20f80bdde35d9ec8e7366369a2e2378670c93ac79d4b7832460e9218118dedaa66fa959611df0d7c4dd033 WHIRLPOOL 91693e20c0e9e7317403f5adeab2a55dad5ed33a0f4b04127ceb5522b9ec2c49ab2f2854fa2289db0ef37ed3aec738b8b74f94a064ab665e4548aaee565b2fb6
EBUILD db-6.1.19.ebuild 6753 SHA256 eaf0b9859c359c47c79938062d8f38994f2f3ef28ddb6d493f07fc051cae233b SHA512 f684248bbb31f1a42b3c0f81d50dbb0fcd4b70b9a25c7ff1de2acd86c7acb4c1842489be29a01910a0d2ab64b50f4e96a3d717f394916a83ffb95cedb3c4f861 WHIRLPOOL f6b6dc1b6355739804b53056c652201956941c58c65da089349dee0aa9d9ea407e8a46d84ff188d665abe3ad4b8c4880e5e9e8b96d6b947778dd83ba84755029
-MISC ChangeLog 60571 SHA256 59dd68e8a480415d7ce780697514f1711fbfb5b2dd9c3f778eac3921acde40ac SHA512 8eaba4de692c0427c8c827db35c3578550673138197eff0a0521f1f65346fbdb276a889032790bc87e0fa87e3c9e01ac5cdc087a3cb915a071ba013caf3749ac WHIRLPOOL ed99c1bba0d5af032d47084c8475e1cb70ec6a15056ab7acbf2d21895b8afd70d3cb172463cc49d91027bdb2abc776f6d5a230a8b40cbfa0c828adf66e56e675
+EBUILD db-6.1.23.ebuild 6761 SHA256 db555c9e9f09256f8707bb6b65f12e0a0bd4303eca8c5e4c10c7bf657067e453 SHA512 ecaabade39aeed77b51992175d654cd36887722483ca8ced1e984b500f8a640b884b0bdff0c4f62a158911dad604938993c5a8280d7134826741cd99dc70bab0 WHIRLPOOL 8638278dbf31a14aa136aa5a83aebc5a02acac2dedaceb4f22532fb05eb488f4410a6f25eb70d277ffe0fef87e3b0fc46b36862e908847dce02596748e363cc7
+MISC ChangeLog 60695 SHA256 334ce0c818d2179f534b670b0a1dfc2f00f613aad9ec7be170a8a790e5d36622 SHA512 e88ae9d947cbe36c4d6774a9b9ea4a33c22654ff669860c87d5975069f58af1be56b0da5431d8ad6c0765155ff2ffcba10170260638c52744d99eaa79a2bfa4b WHIRLPOOL 65089dad8dfb36ceb13a0b7ed78a506acec5b3f7e3cab696694a163c7be28e70fadaf493d01160dcfa89f4c94637bf89c49ef7aee66349fb1f640930865b85eb
MISC metadata.xml 1231 SHA256 0aac93eb29b4674d00b215122f39eb1ec03248e105cab670bc1921cbcca1e927 SHA512 6d25e610cc6cdcba13f8ffaab19406ca9dd7b5eda0585a6666058408ef1eb23a062428483532f4d1461888039e49a97aad4afc6dceb96baa70b880f7c4cf59b9 WHIRLPOOL 1d6531dd2346d7bc02dd016688a58c1c454a9262c3bad846147a6bce51f3ab0aba11165782162a5fda678a1fae3bafcab0d57eb882d5450814ce4fa7b813de54
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0
+Version: GnuPG v2
-iQJ8BAEBCgBmBQJVDDGxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirKcAP/ixgFiX8ZlDSwN+VcZ57VWCy
-5TeHLwA0J9xWvmx+r6IOxp3IBp/v00AZErWsvlnaUVRfKj07DDUIBJfWafokijAv
-/nenlS2YXzt9w5dMS/1zlPJZPD6UERvvuMLAN6VoZaVVuCqDBxYBla//DOVCFAhf
-ejo1C8szLUkrnh3crR9WHP26/DbOXyg6NanfWYjZEi8mnRgPpgS+0HWCt2p9R5xV
-qL29stHW5kDbppm04C1zrx99SroAcOShgeRxb6DqVEQ1V2R+hOQVZQO8aBPaPhal
-YMHxSfORwaJtWCgnLsJ/kQIxriuI7g7MLLdKivr3SSHLIlYhN/LvkzKXP4S9yzam
-j3wC9T+r4G6rEYqRcHSkhncyNzXdy7aBj8LIlJEzRvbDpI1bPCmuC1xET42JACqf
-QL2ts70WgEKGjIpA0frmyKl7Gv5+JGqXUrtI0SPRldvevKWI7dPgG4WqnoYHQ3lh
-BM/G6B04xnUnPUuHg08FlxJJRDqiDRN50zbHUUVEq8SmvVzEkpk/wuRfYL+b09sV
-NhE6pH42Nyaa3e9dZMkEV51QqTUK+1y6A8QmA4BNopkXnfc8GPu/8SQKU0pwiJV3
-T/B3WEfQUf3oiR3kyLChxr8N5V9hrplTwZh6tu2agJWkEQH6yWCp0FZeZoKX1fdd
-RAHLfPsf7MNA4UDP7EXj
-=8z3y
+iQIcBAEBCAAGBQJVaAe+AAoJEPiazRVxLXTFRGkP/i1EWEQGP2rKzUVJbT78EmT6
+GHfXBDfIydPKHpV6HCVv+94deuIZkwly7J6clLcNqSxmZTiZ4LyrV1skN/GZzyY1
+d8KsV2vrO1wmlwT4ixDT+fp5Q/M1CKU3IE9pv9sDH7suhCVMOp0yZXcwun+aDBIR
+vcrV+FR9XPnh7ylfp7tteSRVVS6vt3yrMTWrMvBj0zNyc486TT1Rt28EAItN5NbY
+oWukeZbM/cAzzp2hmeCWU24XUof+y3yxDQB+7DHKtyCAMxt6a/jYB7fFUUJ+y/kH
+AgUcmMO/sqT5GMHjT+dmQJYQIK6cnrGd5468RhyO+Rau9ITnBDlYbZDeStfAocyv
+Ftrg7NWE84FT4qZxujrRAbDh36dCppLWiLePdL2f1pe/x8FEJgwH8oEwFINyYulA
+XY0KMqan6DK0+hPwPWC9CSiEVjwbuNeMyjIyCfCzE/UvnUzqLrksu1+zhG9FU90F
+QKGQRCh7ePWxxS2ha0zAmFYPQKNHH/46J9lH1E7Ne1fUzofjlLu/U1H/okv5fu9B
+KdFCZOiBt3M4E44JUtzgWYa3AHbSA64CCf7sd0c/9EYGK5coDuw+hjyQ53mG8DuL
+YpxdlAkvLCjrBQn1TJyrk4o8mi4qP5VPTnTcpPOEBGs5xjLA49fDHetXrs7z/XDR
+d+eVH6zjkiqE/Hbf78VL
+=PNMv
-----END PGP SIGNATURE-----
diff --git a/sys-libs/db/db-6.1.23.ebuild b/sys-libs/db/db-6.1.23.ebuild
new file mode 100644
index 000000000000..a84f91b9afbc
--- /dev/null
+++ b/sys-libs/db/db-6.1.23.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-6.1.23.ebuild,v 1.1 2015/05/29 06:31:25 polynomial-c Exp $
+
+EAPI=5
+inherit eutils db flag-o-matic java-pkg-opt-2 autotools multilib multilib-minimal versionator toolchain-funcs
+
+#Number of official patches
+#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
+PATCHNO=${PV/*.*.*_p}
+if [[ ${PATCHNO} == "${PV}" ]] ; then
+ MY_PV=${PV}
+ MY_P=${P}
+ PATCHNO=0
+else
+ MY_PV=${PV/_p${PATCHNO}}
+ MY_P=${PN}-${MY_PV}
+fi
+
+S_BASE="${WORKDIR}/${MY_P}"
+S="${S_BASE}/build_unix"
+DESCRIPTION="Oracle Berkeley DB"
+HOMEPAGE="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
+SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz"
+for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do
+ export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
+done
+
+LICENSE="AGPL-3"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="doc java cxx tcl test"
+
+REQUIRED_USE="test? ( tcl )"
+
+# the entire testsuite needs the TCL functionality
+DEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] )
+ test? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] )
+ java? ( >=virtual/jdk-1.5 )
+ >=sys-devel/binutils-2.16.1"
+RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] )
+ java? ( >=virtual/jre-1.5 )"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/db$(get_version_component_range 1-2)/db.h
+)
+
+src_prepare() {
+ cd "${WORKDIR}"/"${MY_P}"
+ for (( i=1 ; i<=${PATCHNO} ; i++ ))
+ do
+ epatch "${DISTDIR}"/patch."${MY_PV}"."${i}"
+ done
+
+ # bug #510506
+ epatch "${FILESDIR}"/${PN}-4.8.24-java-manifest-location.patch
+
+ # use the includes from the prefix
+ epatch "${FILESDIR}"/${PN}-4.6-jni-check-prefix-first.patch
+ epatch "${FILESDIR}"/${PN}-4.3-listen-to-java-options.patch
+
+ # sqlite configure call has an extra leading ..
+ # upstreamed:5.2.36, missing in 5.3.x/6.x
+ # still needs to be patched in 6.0.20
+ epatch "${FILESDIR}"/${PN}-6.1.19-sqlite-configure-path.patch
+
+ # The upstream testsuite copies .lib and the binaries for each parallel test
+ # core, ~300MB each. This patch uses links instead, saves a lot of space.
+ epatch "${FILESDIR}"/${PN}-6.0.20-test-link.patch
+
+ # Upstream release script grabs the dates when the script was run, so lets
+ # end-run them to keep the date the same.
+ export REAL_DB_RELEASE_DATE="$(awk \
+ '/^DB_VERSION_STRING=/{ gsub(".*\\(|\\).*","",$0); print $0; }' \
+ "${S_BASE}"/dist/configure)"
+ sed -r -i \
+ -e "/^DB_RELEASE_DATE=/s~=.*~='${REAL_DB_RELEASE_DATE}'~g" \
+ "${S_BASE}"/dist/RELEASE || die
+
+ # Include the SLOT for Java JAR files
+ # This supersedes the unused jarlocation patches.
+ sed -r -i \
+ -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \
+ "${S_BASE}"/dist/Makefile.in || die
+
+ cd "${S_BASE}"/dist || die
+ rm -f aclocal/libtool.m4
+ sed -i \
+ -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \
+ configure.ac || die
+ sed -i \
+ -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \
+ aclocal/programs.m4 || die
+ AT_M4DIR="aclocal aclocal_java" eautoreconf
+ # Upstream sucks - they do autoconf and THEN replace the version variables.
+ . ./RELEASE
+ for v in \
+ DB_VERSION_{FAMILY,LETTER,RELEASE,MAJOR,MINOR} \
+ DB_VERSION_{PATCH,FULL,UNIQUE_NAME,STRING,FULL_STRING} \
+ DB_VERSION \
+ DB_RELEASE_DATE ; do
+ local ev="__EDIT_${v}__"
+ sed -i -e "s/${ev}/${!v}/g" configure || die
+ done
+}
+
+src_configure() {
+ # Add linker versions to the symbols. Easier to do, and safer than header file
+ # mumbo jumbo.
+ if use userland_GNU ; then
+ append-ldflags -Wl,--default-symver
+ fi
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=()
+
+ tc-ld-disable-gold #470634
+
+ # compilation with -O0 fails on amd64, see bug #171231
+ if [[ ${ABI} == amd64 ]]; then
+ local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
+ replace-flags -O0 -O2
+ is-flagq -O[s123] || append-flags -O2
+ fi
+
+ # use `set` here since the java opts will contain whitespace
+ if multilib_is_native_abi && use java ; then
+ myconf+=(
+ --with-java-prefix="${JAVA_HOME}"
+ --with-javac-flags="$(java-pkg_javac-args)"
+ )
+ fi
+
+ # Bug #270851: test needs TCL support
+ if use tcl || use test ; then
+ myconf+=(
+ --enable-tcl
+ --with-tcl=/usr/$(get_libdir)
+ )
+ else
+ myconf+=(--disable-tcl )
+ fi
+
+ # sql_compat will cause a collision with sqlite3
+ # --enable-sql_compat
+ ECONF_SOURCE="${S_BASE}"/dist \
+ STRIP="true" \
+ econf \
+ --enable-compat185 \
+ --enable-dbm \
+ --enable-o_direct \
+ --without-uniquename \
+ --enable-sql \
+ --enable-sql_codegen \
+ --disable-sql_compat \
+ $([[ ${ABI} == arm ]] && echo --with-mutex=ARM/gcc-assembly) \
+ $([[ ${ABI} == amd64 ]] && echo --with-mutex=x86/gcc-assembly) \
+ $(use_enable cxx) \
+ $(use_enable cxx stl) \
+ $(multilib_native_use_enable java) \
+ "${myconf[@]}" \
+ $(use_enable test)
+}
+
+multilib_src_install() {
+ emake install DESTDIR="${D}"
+
+ db_src_install_headerslot
+
+ db_src_install_usrlibcleanup
+
+ if multilib_is_native_abi && use java; then
+ java-pkg_regso "${D}"/usr/"$(get_libdir)"/libdb_java*.so
+ java-pkg_dojar "${D}"/usr/"$(get_libdir)"/*.jar
+ rm -f "${D}"/usr/"$(get_libdir)"/*.jar
+ fi
+}
+
+multilib_src_install_all() {
+ db_src_install_usrbinslot
+
+ db_src_install_doc
+
+ dodir /usr/sbin
+ # This file is not always built, and no longer exists as of db-4.8
+ if [[ -f "${D}"/usr/bin/berkeley_db_svc ]] ; then
+ mv "${D}"/usr/bin/berkeley_db_svc \
+ "${D}"/usr/sbin/berkeley_db"${SLOT/./}"_svc || die
+ fi
+}
+
+pkg_postinst() {
+ multilib_foreach_abi db_fix_so
+}
+
+pkg_postrm() {
+ multilib_foreach_abi db_fix_so
+}
+
+src_test() {
+ # db_repsite is impossible to build, as upstream strips those sources.
+ # db_repsite is used directly in the setup_site_prog,
+ # setup_site_prog is called from open_site_prog
+ # which is called only from tests in the multi_repmgr group.
+ #sed -ri \
+ # -e '/set subs/s,multi_repmgr,,g' \
+ # "${S_BASE}/test/testparams.tcl"
+ sed -ri \
+ -e '/multi_repmgr/d' \
+ "${S_BASE}/test/tcl/test.tcl" || die
+
+ # This is the only failure in 5.2.28 so far, and looks like a false positive.
+ # Repmgr018 (btree): Test of repmgr stats.
+ # Repmgr018.a: Start a master.
+ # Repmgr018.b: Start a client.
+ # Repmgr018.c: Run some transactions at master.
+ # Rep_test: btree 20 key/data pairs starting at 0
+ # Rep_test.a: put/get loop
+ # FAIL:07:05:59 (00:00:00) perm_no_failed_stat: expected 0, got 1
+ sed -ri \
+ -e '/set parms.*repmgr018/d' \
+ -e 's/repmgr018//g' \
+ "${S_BASE}/test/tcl/test.tcl" || die
+
+ multilib-minimal_src_test
+}
+
+multilib_src_test() {
+ multilib_is_native_abi || return
+
+ S=${BUILD_DIR} db_src_test
+}