Revert changes to src_compile and src_install fixing installation of
authorBryan Østergaard <kloeri@gentoo.org>
Sat, 24 Sep 2005 11:01:07 +0000 (11:01 +0000)
committerBryan Østergaard <kloeri@gentoo.org>
Sat, 24 Sep 2005 11:01:07 +0000 (11:01 +0000)
/usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@wills-online.de>.
Package-Manager: portage-2.0.52-r1

sys-libs/gdbm/ChangeLog
sys-libs/gdbm/Manifest
sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 [new file with mode: 0644]
sys-libs/gdbm/gdbm-1.8.3-r2.ebuild [new file with mode: 0644]

index 697b358c33446d23e76833acdeb34dfce2a52769..d77d61b6e25de84e0ea9f7f6ceff94607ed7ac86 100644 (file)
@@ -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:
index 72aea3cea324ca1c36157a1b5138148f811fe45a..c3c891f06ee660fb3b53dded602541685b1bd026 100644 (file)
@@ -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 (file)
index 0000000..1e92448
--- /dev/null
@@ -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 (file)
index 0000000..b4c3b70
--- /dev/null
@@ -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
+}