diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-08-22 21:18:13 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-08-22 21:18:13 +0000 |
commit | 0b468e06e76cd55659cdd48f23554d8f9aae9887 (patch) | |
tree | cb76c7c9f7df0a66dd07b322ab3f463b09d84a52 /sys-libs | |
parent | formatting fixes, mainly (diff) | |
download | historical-0b468e06e76cd55659cdd48f23554d8f9aae9887.tar.gz historical-0b468e06e76cd55659cdd48f23554d8f9aae9887.tar.bz2 historical-0b468e06e76cd55659cdd48f23554d8f9aae9887.zip |
lots 'o stuff
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pwdb/files/passwd | 1 | ||||
-rw-r--r-- | sys-libs/pwdb/pwdb-0.61-r3.ebuild | 80 |
2 files changed, 31 insertions, 50 deletions
diff --git a/sys-libs/pwdb/files/passwd b/sys-libs/pwdb/files/passwd index cbdbd67eb961..f77e9968ca6a 100644 --- a/sys-libs/pwdb/files/passwd +++ b/sys-libs/pwdb/files/passwd @@ -2,4 +2,3 @@ auth required pam_pwdb.so nullok account required pam_pwdb.so password required pam_pwdb.so md5 session required pam_pwdb.so - diff --git a/sys-libs/pwdb/pwdb-0.61-r3.ebuild b/sys-libs/pwdb/pwdb-0.61-r3.ebuild index 070e36aa8346..4d837d25ef9f 100644 --- a/sys-libs/pwdb/pwdb-0.61-r3.ebuild +++ b/sys-libs/pwdb/pwdb-0.61-r3.ebuild @@ -1,61 +1,43 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r3.ebuild,v 1.1 2001/02/07 16:10:52 achim Exp $ +# Maintainer: System Team <system@gentoo.org> +# Author: Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r3.ebuild,v 1.2 2001/08/22 21:18:13 drobbins Exp $ -P=pwdb-0.61 -A=${P}.tar.gz S=${WORKDIR}/${P} -DESCRIPTION="Password Database" -SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/${A}" - +DESCRIPTION="Password database" +SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/${P}.tar.gz" DEPEND="virtual/glibc" - -RDEPEND=$DEPEND +RDEPEND="virtual/glibc >=sys-libs/pam-0.75-r1" src_unpack () { - - mkdir ${S} - cd ${S} - unpack ${A} - + 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 - try make ${MAKEOPTS} +src_compile() { + cp Makefile Makefile.orig + sed -e "s/^DIRS = .*/DIRS = libpwdb/" -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" Makefile.orig > Makefile + make ${MAKEOPTS} || die } src_install() { - - into /usr - dodir /usr/include/pwdb - dodir /lib - - try make INCLUDED=${D}/usr/include/pwdb LIBDIR=${D}/lib LDCONFIG="echo" install - preplib / - - dodir /usr/lib - mv ${D}/lib/*.a ${D}/usr/lib - - dodoc CHANGES Copyright CREDITS README - docinto html - dodoc doc/html/* - docinto txt - dodoc doc/*.txt - - insinto /etc - doins conf/pwdb.conf - - - cd ${O}/files - insinto /etc/pam.d - doins passwd + into /usr + dodir /usr/include/pwdb + dodir /lib + make INCLUDED=${D}/usr/include/pwdb LIBDIR=${D}/lib LDCONFIG="echo" install || die + preplib / + dodir /usr/lib + mv ${D}/lib/*.a ${D}/usr/lib + dodoc CHANGES Copyright CREDITS README + docinto html + dodoc doc/html/* + docinto txt + dodoc doc/*.txt + insinto /etc + doins conf/pwdb.conf + cd ${FILESDIR} + insinto /etc/pam.d + doins passwd } - - - - |