summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/gdbm/ChangeLog8
-rw-r--r--sys-libs/gdbm/Manifest16
-rw-r--r--sys-libs/gdbm/gdbm-1.9.1.ebuild69
-rw-r--r--sys-libs/gdbm/metadata.xml4
4 files changed, 94 insertions, 3 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog
index 29560ce73819..8582a0b7b232 100644
--- a/sys-libs/gdbm/ChangeLog
+++ b/sys-libs/gdbm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/gdbm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.53 2011/02/06 21:35:09 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.54 2011/09/19 04:28:07 vapier Exp $
+
+*gdbm-1.9.1 (19 Sep 2011)
+
+ 19 Sep 2011; Mike Frysinger <vapier@gentoo.org> +gdbm-1.9.1.ebuild,
+ metadata.xml:
+ Version bump.
06 Feb 2011; Mart Raudsepp <leio@gentoo.org> gdbm-1.8.3-r3.ebuild:
Drop to ~mips
diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest
index c0f5a7f8eb23..ad5055f02b20 100644
--- a/sys-libs/gdbm/Manifest
+++ b/sys-libs/gdbm/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX gdbm-1.8.3-build.patch 691 RMD160 dc3263c4d96121298353d5957dc71e351bb0e124 SHA1 ef3635a5f9b05fe32ad7e8b61308a60a350d1fd0 SHA256 be5b2a90e85bdfd1c2e24937510f303ed06def19ba074be502a9edc9c3eff4ca
AUX gdbm-1.8.3-compat-linking.patch 611 RMD160 f144f776f38acb1ea046009b2de0376b5149edb9 SHA1 b8fa52996a9eb24b818b427b5137397b091dcc07 SHA256 832cfffff5d1cb26cf3f2618014e8e1ff4d30153f34abda8db074788abef7dac
AUX gdbm-1.8.3-fix-install-ownership.patch 1567 RMD160 e058ffe36f57dd421ac70bdbb4ed64cd1e641aa6 SHA1 efdbd776a434ccfd885e2f505e8cb2f8e54f5887 SHA256 e08df8b252176475c47615fbe87e554fc7391b29192131aba03e91f687a8076c
DIST gdbm-1.8.3.tar.gz 228695 RMD160 0f5741ab32f95db721c5d9f4548447301171e938 SHA1 a0296b1986a99cb9ec0dc3b17ea99aec76e9b760 SHA256 cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
+DIST gdbm-1.9.1.tar.gz 554843 RMD160 512ad1b5c3a3fb7b17094d627b9d6da8215532f2 SHA1 0742a9ed8fc93fb5d5d3984d2acf99821134e2e9 SHA256 6025852637772b0699f2294b5f14fd4a084bca3c8161d29d64d1f30d6d1a9aed
EBUILD gdbm-1.8.3-r3.ebuild 1171 RMD160 79d544a5fa2691b944cebdad4d65bcc9f471bddf SHA1 d41239ddc97d54a7161813b212c60be33faa2687 SHA256 c9c4fb7821237ae2f6d9a45ebae1b07dd1864cbe8d8077f7690e9c5a5bb19ab0
EBUILD gdbm-1.8.3-r4.ebuild 1969 RMD160 7a239e0117be74edf3424be094228185f0e62246 SHA1 a41baf9b5c632f8cecea54b07f9a4bbea5b3aff2 SHA256 6a6b0dd702118bd9eb23074aa605f3e5a618a422570bde2d40bf1b6c37c66986
-MISC ChangeLog 6955 RMD160 f1f804bbd0b50dea632709863b7092d15babdd57 SHA1 7f34933ab5d296d32acfcb3556294c1a07217316 SHA256 650ed8ed303263f99fa34fd56112dc56c93db2d97fdd502879654546b2c528ac
-MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+EBUILD gdbm-1.9.1.ebuild 1670 RMD160 9329e556449f56b0a28577bf9d58d816c5cb0298 SHA1 3b9f24450261558ada6f8adff9d055d0d3774ea4 SHA256 3cf0223ce4f97366fd7f8a76b13aba97ec60cd2581f35487173f059f8abbfdb6
+MISC ChangeLog 7087 RMD160 84774862ec77f285242de7b0831d22f29848a480 SHA1 d3760c15d5df449f7f7455adb81c3367c2683f3f SHA256 3cd8976272c9ed1e6662faeb9793125bd2ceada82e474ccbe161c88ec3306d0b
+MISC metadata.xml 344 RMD160 8e398bea8e7123574e065df595904a4f68bc4beb SHA1 c90c3c7b781f3601dfb78430fdce5aa254475d87 SHA256 f8af8e7dd65943e64ef56c78c2afdc16ec7086590e859156aef6af473a94e7de
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk52xN4ACgkQaC/OocHi7JaUoAD/avsdYN2Z7d7FfaQV8DHDmEfC
+kxMljr8f9It3qp9aS6AA/R8KdTkJAB9EAtw/XKz7MDpKxF6JBmfloreTq3qHjO5H
+=kA1B
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/gdbm/gdbm-1.9.1.ebuild b/sys-libs/gdbm/gdbm-1.9.1.ebuild
new file mode 100644
index 000000000000..9d2ab463c4ee
--- /dev/null
+++ b/sys-libs/gdbm/gdbm-1.9.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.9.1.ebuild,v 1.1 2011/09/19 04:28:07 vapier Exp $
+
+EAPI="2"
+
+inherit eutils libtool flag-o-matic
+
+EX_P="${PN}-1.8.3"
+DESCRIPTION="Standard GNU database libraries"
+HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html"
+SRC_URI="mirror://gnu/gdbm/${P}.tar.gz
+ exporter? ( mirror://gnu/gdbm/${EX_P}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="berkdb compat exporter static-libs"
+
+DEPEND="berkdb? ( sys-libs/db )"
+RDEPEND="${DEPEND}"
+
+EX_S="${WORKDIR}"/${EX_P}
+
+src_prepare() {
+ elibtoolize
+}
+
+src_configure() {
+ use berkdb || export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
+
+ if use exporter ; then
+ pushd "${EX_S}" >/dev/null
+ append-lfs-flags
+ econf --disable-shared
+ popd >/dev/null
+ fi
+
+ econf \
+ --includedir=/usr/include/gdbm \
+ --with-gdbm183-libdir="${EX_S}/.libs" \
+ --with-gdbm183-includedir="${EX_S}" \
+ $(use_enable compat libgdbm-compat) \
+ $(use_enable exporter gdbm-export) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ if use exporter ; then
+ emake -C "${WORKDIR}"/${EX_P} libgdbm.la || die
+ fi
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ use static-libs || find "${D}" -name '*.la' -delete
+ mv "${D}"/usr/include/gdbm/gdbm.h "${D}"/usr/include/ || die
+ dodoc ChangeLog NEWS README
+}
+
+pkg_preinst() {
+ preserve_old_lib libgdbm{,_compat}.so.{2,3} #32510
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify libgdbm{,_compat}.so.{2,3} #32510
+}
diff --git a/sys-libs/gdbm/metadata.xml b/sys-libs/gdbm/metadata.xml
index 96a2d586367d..350132dacc06 100644
--- a/sys-libs/gdbm/metadata.xml
+++ b/sys-libs/gdbm/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
+<use>
+ <flag name='compat'>enable gdbm_compat library</flag>
+ <flag name='exporter'>enable gdbmexport binary for exporting data from gdbm-1.8 databases into gdbm-1.9</flag>
+</use>
</pkgmetadata>