summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-10-26 09:17:53 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-10-26 09:17:53 +0000
commitba2c79f4895e9e10d3e8ad0b42d840c26fa04b4f (patch)
treee92f384f993306a7fd48401fc3424ee6530d2c1b /sys-libs/pwdb
parentinitial version (diff)
downloadgentoo-2-ba2c79f4895e9e10d3e8ad0b42d840c26fa04b4f.tar.gz
gentoo-2-ba2c79f4895e9e10d3e8ad0b42d840c26fa04b4f.tar.bz2
gentoo-2-ba2c79f4895e9e10d3e8ad0b42d840c26fa04b4f.zip
bug #4411
Diffstat (limited to 'sys-libs/pwdb')
-rw-r--r--sys-libs/pwdb/ChangeLog7
-rw-r--r--sys-libs/pwdb/files/digest-pwdb-0.61-r41
-rw-r--r--sys-libs/pwdb/pwdb-0.61-r4.ebuild54
3 files changed, 61 insertions, 1 deletions
diff --git a/sys-libs/pwdb/ChangeLog b/sys-libs/pwdb/ChangeLog
index 80833ad88b7a..48724352dbaa 100644
--- a/sys-libs/pwdb/ChangeLog
+++ b/sys-libs/pwdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/pwdb
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/ChangeLog,v 1.5 2002/09/21 04:06:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/ChangeLog,v 1.6 2002/10/26 09:17:53 azarah Exp $
+
+*pwdb-0.61-r4 (26 Oct 2002)
+
+ 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+ Fix pwdb for bug #4411.
*pwdb-0.61-r3 (1 Feb 2002)
diff --git a/sys-libs/pwdb/files/digest-pwdb-0.61-r4 b/sys-libs/pwdb/files/digest-pwdb-0.61-r4
new file mode 100644
index 000000000000..825ea69e2f09
--- /dev/null
+++ b/sys-libs/pwdb/files/digest-pwdb-0.61-r4
@@ -0,0 +1 @@
+MD5 47e2dc0d5590390fe7a3937961575b09 pwdb-0.61.tar.gz 136263
diff --git a/sys-libs/pwdb/pwdb-0.61-r4.ebuild b/sys-libs/pwdb/pwdb-0.61-r4.ebuild
new file mode 100644
index 000000000000..2ae732e3b0ae
--- /dev/null
+++ b/sys-libs/pwdb/pwdb-0.61-r4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r4.ebuild,v 1.1 2002/10/26 09:17:53 azarah Exp $
+
+inherit eutils
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Password database"
+SRC_URI="ftp://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/${P}.tar.gz"
+HOMEPAGE="http://www.firstlinux.com/cgi-bin/package/content.cgi?ID=6886"
+
+LICENSE="PWDB"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+
+src_unpack () {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+}
+
+src_compile() {
+ cp Makefile Makefile.orig
+ sed -e "s/^DIRS = .*/DIRS = libpwdb/" -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" \
+ Makefile.orig > Makefile
+
+ emake || die
+}
+
+src_install() {
+ dodir /lib /usr/include/pwdb
+ make INCLUDED=${D}/usr/include/pwdb \
+ LIBDIR=${D}/lib \
+ LDCONFIG="echo" \
+ install || die
+
+ preplib /
+ dodir /usr/lib
+ mv ${D}/lib/*.a ${D}/usr/lib
+
+ # See bug $4411 for more info
+ gen_usr_ldscript libpwdb.so
+
+ insinto /etc
+ doins conf/pwdb.conf
+
+ dodoc CHANGES Copyright CREDITS README
+ dohtml -r doc
+ docinto txt
+ dodoc doc/*.txt
+}
+