summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-10-08 12:50:35 +0000
committerSimon Stelling <blubb@gentoo.org>2005-10-08 12:50:35 +0000
commit58133a4176680874f68017d25388817dfc70f529 (patch)
tree4f4acab46066c1b02f509498508a5878abe4c591 /sys-libs/pwdb
parentRemoving 1.9* versions (diff)
downloadgentoo-2-58133a4176680874f68017d25388817dfc70f529.tar.gz
gentoo-2-58133a4176680874f68017d25388817dfc70f529.tar.bz2
gentoo-2-58133a4176680874f68017d25388817dfc70f529.zip
backport -r1 changes to 0.62, no need to do a revision bump for multilib-strict fixes
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sys-libs/pwdb')
-rw-r--r--sys-libs/pwdb/ChangeLog7
-rw-r--r--sys-libs/pwdb/files/digest-pwdb-0.62-r11
-rw-r--r--sys-libs/pwdb/pwdb-0.62-r1.ebuild69
-rw-r--r--sys-libs/pwdb/pwdb-0.62.ebuild16
4 files changed, 14 insertions, 79 deletions
diff --git a/sys-libs/pwdb/ChangeLog b/sys-libs/pwdb/ChangeLog
index 117b71df8e5a..89670dca4cf8 100644
--- a/sys-libs/pwdb/ChangeLog
+++ b/sys-libs/pwdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/pwdb
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/ChangeLog,v 1.31 2005/02/03 21:47:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/ChangeLog,v 1.32 2005/10/08 12:50:35 blubb Exp $
+
+ 08 Oct 2005; Simon Stelling <blubb@gentoo.org> pwdb-0.62.ebuild,
+ -pwdb-0.62-r1.ebuild:
+ backport -r1 changes to 0.62, no need to do a revision bump for
+ multilib-strict fixes
*pwdb-0.62-r1 (03 Feb 2005)
diff --git a/sys-libs/pwdb/files/digest-pwdb-0.62-r1 b/sys-libs/pwdb/files/digest-pwdb-0.62-r1
deleted file mode 100644
index fdf881196ce6..000000000000
--- a/sys-libs/pwdb/files/digest-pwdb-0.62-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1a1fd0312040ef37aa741d09465774b4 pwdb-0.62.tar.gz 133183
diff --git a/sys-libs/pwdb/pwdb-0.62-r1.ebuild b/sys-libs/pwdb/pwdb-0.62-r1.ebuild
deleted file mode 100644
index fbdf2e87d663..000000000000
--- a/sys-libs/pwdb/pwdb-0.62-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.62-r1.ebuild,v 1.1 2005/02/03 21:47:57 eradicator Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Password database"
-HOMEPAGE="http://packages.gentoo.org/ebuilds/?pwdb-${PVR}"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-#KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-# -r1 just has some multilib cleanups
-KEYWORDS="~amd64"
-IUSE="selinux"
-
-DEPEND="virtual/libc
- selinux? ( sys-libs/libselinux )"
-
-src_unpack () {
- unpack ${A}
-
- cd ${S}
- # Uses gcc as linker needed for hppa, but good idea in general.
- epatch ${FILESDIR}/${P}-use-gcc-as-linker.patch
-
- use selinux && epatch ${FILESDIR}/${P}-selinux.patch
-
- sed -i \
- -e "s/^DIRS = .*/DIRS = libpwdb/" \
- -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" \
- Makefile
- sed -i -e "s/=gcc/=$(tc-getCC)/g" default.defs
-}
-
-src_compile() {
- filter-flags -fstack-protector
-
- # author has specified application to be compiled with `-g`
- # no problem, but with ccc `-g` disables optimisation to make
- # debugging easier, `-g3` enables debugging and optimisation
- [ "${ARCH}" = "alpha" -a "${CC}" = "ccc" ] && append-flags -g3
-
- emake || die
-}
-
-src_install() {
- dodir /$(get_libdir) /usr/$(get_libdir) /usr/include/pwdb
- make \
- INCLUDED=${D}/usr/include/pwdb \
- LIBDIR=${D}/$(get_libdir) \
- LDCONFIG="echo" \
- install || die
-
- preplib /
- mv ${D}/$(get_libdir)/*.a ${D}/usr/$(get_libdir)
-
- # See bug #4411 for more info
- gen_usr_ldscript libpwdb.so
-
- insinto /etc
- doins conf/pwdb.conf
-
- dodoc CHANGES CREDITS README
- dohtml -r doc
- docinto txt
- dodoc doc/*.txt
-}
diff --git a/sys-libs/pwdb/pwdb-0.62.ebuild b/sys-libs/pwdb/pwdb-0.62.ebuild
index 7f22b0d9225e..25973cd01f67 100644
--- a/sys-libs/pwdb/pwdb-0.62.ebuild
+++ b/sys-libs/pwdb/pwdb-0.62.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.62.ebuild,v 1.20 2005/05/22 02:01:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.62.ebuild,v 1.21 2005/10/08 12:50:35 blubb Exp $
inherit eutils flag-o-matic
@@ -10,10 +10,11 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="selinux"
-DEPEND="selinux? ( sys-libs/libselinux )"
+DEPEND="virtual/libc
+ selinux? ( sys-libs/libselinux )"
src_unpack () {
unpack ${A}
@@ -43,18 +44,17 @@ src_compile() {
}
src_install() {
- dodir /lib /usr/include/pwdb
+ dodir /$(get_libdir) /usr/$(get_libdir) /usr/include/pwdb
make \
INCLUDED=${D}/usr/include/pwdb \
- LIBDIR=${D}/lib \
+ LIBDIR=${D}/$(get_libdir) \
LDCONFIG="echo" \
install || die
preplib /
- dodir /usr/lib
- mv ${D}/lib/*.a ${D}/usr/lib
+ mv ${D}/$(get_libdir)/*.a ${D}/usr/$(get_libdir)
- # See bug $4411 for more info
+ # See bug #4411 for more info
gen_usr_ldscript libpwdb.so
insinto /etc