summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2005-09-24 11:01:07 +0000
committerBryan Østergaard <kloeri@gentoo.org>2005-09-24 11:01:07 +0000
commit4f4ccd6a136f4f83056eaa8712433696477ac181 (patch)
treecd8a896d6ebb888e00234c3d544c3cb61f19cd39 /sys-libs
parentPass --with-akode to configure. (diff)
downloadhistorical-4f4ccd6a136f4f83056eaa8712433696477ac181.tar.gz
historical-4f4ccd6a136f4f83056eaa8712433696477ac181.tar.bz2
historical-4f4ccd6a136f4f83056eaa8712433696477ac181.zip
Revert changes to src_compile and src_install fixing installation of
/usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@wills-online.de>. Package-Manager: portage-2.0.52-r1
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/files/digest-gdbm-1.8.3-r21
-rw-r--r--sys-libs/gdbm/gdbm-1.8.3-r2.ebuild55
4 files changed, 72 insertions, 8 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog
index 697b358c3344..d77d61b6e25d 100644
--- a/sys-libs/gdbm/ChangeLog
+++ b/sys-libs/gdbm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/gdbm
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.35 2005/09/21 23:15:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.36 2005/09/24 11:01:07 kloeri Exp $
+
+*gdbm-1.8.3-r2 (24 Sep 2005)
+
+ 24 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> +gdbm-1.8.3-r2.ebuild:
+ Revert changes to src_compile and src_install fixing installation of
+ /usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@wills-online.de>.
21 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/gdbm-1.8.3-fix-install-ownership.patch, gdbm-1.8.3-r1.ebuild:
diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest
index 72aea3cea324..c3c891f06ee6 100644
--- a/sys-libs/gdbm/Manifest
+++ b/sys-libs/gdbm/Manifest
@@ -1,17 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 22314eff7a4f923601e6dba3863baf3d gdbm-1.8.0-r5.ebuild 1232
MD5 e77dfc3f70817b0d79d6de1ef72a9262 gdbm-1.8.3-r1.ebuild 1371
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 22314eff7a4f923601e6dba3863baf3d gdbm-1.8.0-r5.ebuild 1232
-MD5 71105d688b424414cf6701315d17d75e ChangeLog 4589
-MD5 9ed34cb95efec19c95fbf28a2e7e0986 files/gdbm-1.8.3-fix-install-ownership.patch 1567
-MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r1 62
+MD5 6792927bc0b3a3ffec98cfc3dc6a8a38 gdbm-1.8.3-r2.ebuild 1412
+MD5 893b34bd914ab4b81e0df07da6818acf ChangeLog 4848
MD5 017b1a2d0ae227d89ee16480e3129a3b files/digest-gdbm-1.8.0-r5 62
+MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r1 62
+MD5 9ed34cb95efec19c95fbf28a2e7e0986 files/gdbm-1.8.3-fix-install-ownership.patch 1567
+MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r2 62
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDMemngIKl8Uu19MoRApnrAJ9u+YoRcBoBdYot/FrIWsZaVAzaKwCcCFio
-tF9nIRcbcuPmsH7KJ5f2y7A=
-=DpBn
+iD8DBQFDNTILKf2g/qXtneoRAsheAKCRsPRquytuW2RTgQA5np5FRHg1wwCfUq/k
+QLkZjH0PM4yCAjQcrxV9+Vw=
+=q5lE
-----END PGP SIGNATURE-----
diff --git a/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 b/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2
new file mode 100644
index 000000000000..1e924487734e
--- /dev/null
+++ b/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2
@@ -0,0 +1 @@
+MD5 1d1b1d5c0245b1c00aff92da751e9aa1 gdbm-1.8.3.tar.gz 228695
diff --git a/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild b/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild
new file mode 100644
index 000000000000..b4c3b70331d9
--- /dev/null
+++ b/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild,v 1.1 2005/09/24 11:01:07 kloeri Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="Standard GNU database libraries included for compatibility with Perl"
+HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html"
+SRC_URI="mirror://gnu/gdbm/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ppc-macos"
+IUSE="berkdb"
+
+DEPEND="berkdb? ( sys-libs/db )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-fix-install-ownership.patch #24178
+ elibtoolize
+}
+
+src_compile() {
+ use berkdb || export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make INSTALL_ROOT="${D}" install || die
+
+ make \
+ includedir=/usr/include/gdbm \
+ INSTALL_ROOT="${D}" \
+ install-compat || die
+
+ dodoc ChangeLog NEWS README
+}
+
+pkg_preinst() {
+ # temp backwards support #32510
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ]] ; then
+ touch "${D}"/usr/$(get_libdir)/libgdbm.so.2
+ fi
+}
+
+pkg_postinst() {
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ]] ; then
+ ewarn "Please run revdep-rebuild --soname libgdbm.so.2"
+ ewarn "After that completes, it will be safe to remove the old"
+ ewarn "library (${ROOT}usr/$(get_libdir)/libgdbm.so.2)."
+ fi
+}