From 8e482872cbe38cea5e59fff76af8b8795810b3f3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 5 Nov 2004 04:21:45 +0000 Subject: [PATCH] old --- sys-libs/pam/Manifest | 30 ++-- sys-libs/pam/files/digest-pam-0.75-r10 | 2 - sys-libs/pam/files/digest-pam-0.75-r11 | 2 - sys-libs/pam/files/digest-pam-0.75-r8 | 2 - sys-libs/pam/files/digest-pam-0.75-r9 | 2 - sys-libs/pam/pam-0.75-r10.ebuild | 181 ----------------------- sys-libs/pam/pam-0.75-r11.ebuild | 192 ------------------------- sys-libs/pam/pam-0.75-r8.ebuild | 166 --------------------- sys-libs/pam/pam-0.75-r9.ebuild | 175 ---------------------- 9 files changed, 16 insertions(+), 736 deletions(-) delete mode 100644 sys-libs/pam/files/digest-pam-0.75-r10 delete mode 100644 sys-libs/pam/files/digest-pam-0.75-r11 delete mode 100644 sys-libs/pam/files/digest-pam-0.75-r8 delete mode 100644 sys-libs/pam/files/digest-pam-0.75-r9 delete mode 100644 sys-libs/pam/pam-0.75-r10.ebuild delete mode 100644 sys-libs/pam/pam-0.75-r11.ebuild delete mode 100644 sys-libs/pam/pam-0.75-r8.ebuild delete mode 100644 sys-libs/pam/pam-0.75-r9.ebuild diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest index 65cc50c5b18c..a58d555b2f9b 100644 --- a/sys-libs/pam/Manifest +++ b/sys-libs/pam/Manifest @@ -1,21 +1,23 @@ -MD5 86597ce418e8c6d6fbec7199a19f9890 pam-0.75-r9.ebuild 4086 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 1fb1663f841e5afe50da00cdbd22e439 ChangeLog 8330 -MD5 d9e4ca42b79c105aa47283786d511446 pam-0.77.ebuild 7422 -MD5 7c9c2ce7d8d8b448fc924e89237a58e4 pam-0.75-r8.ebuild 3632 -MD5 0eba14b31db02fe0e0341ef5f834965a pam-0.75-r11.ebuild 4602 -MD5 e74a2d91ed5495cbc1be4316e3cf2f13 pam-0.75-r10.ebuild 4212 MD5 1d05f0436f1c273d7862099f309afe4d metadata.xml 156 +MD5 d9e4ca42b79c105aa47283786d511446 pam-0.77.ebuild 7422 MD5 301cd084cd567f57a9679687e7691491 pam-0.77-r2.ebuild 7762 -MD5 6a4d8c09b6a1825f28cbd1127a2fe582 files/pam-0.75-pam_userdb-use-db3.patch 1157 -MD5 c8500e98a74c35c4c2007b2bc9ea7589 files/digest-pam-0.75-r11 135 -MD5 4a38d68124955388013f9ad6ead0b9fa files/pam-0.75-pam_group-confile.patch 478 MD5 028c285db4076f549774c258d0eddcfc files/digest-pam-0.77 201 -MD5 e23ff84c5fee1855b966271fd61b8f44 files/pam-0.75-pam_console-bison.fixes.patch 534 -MD5 1974ad520e0b3f8b7a0a7feea28f7fda files/pam-0.75-selinux.diff.bz2 1523 MD5 7d46eb9ff97b13f9f6fcd1b44736adf1 files/pam-0.75-configure-db4.patch 504 -MD5 d7ac33a4d3bc266bf5d36862b40c76e5 files/digest-pam-0.75-r10 135 +MD5 e23ff84c5fee1855b966271fd61b8f44 files/pam-0.75-pam_console-bison.fixes.patch 534 +MD5 4a38d68124955388013f9ad6ead0b9fa files/pam-0.75-pam_group-confile.patch 478 +MD5 6a4d8c09b6a1825f28cbd1127a2fe582 files/pam-0.75-pam_userdb-use-db3.patch 1157 MD5 83fe40b0072c25238cb0918e9aee8652 files/pam-0.75-pam_wheel-segfault.patch 949 -MD5 31d4fe7f6f41d6523aaef448ac68e10c files/digest-pam-0.75-r9 134 -MD5 3fb178824771809622dba0425d744143 files/digest-pam-0.75-r8 136 -MD5 69f8cfad7f241eb669085eaa753cd9dd files/pam-0.77-console-reset.patch 1826 +MD5 1974ad520e0b3f8b7a0a7feea28f7fda files/pam-0.75-selinux.diff.bz2 1523 MD5 7abfe66b5996b628696d244d462e47b0 files/digest-pam-0.77-r2 201 +MD5 69f8cfad7f241eb669085eaa753cd9dd files/pam-0.77-console-reset.patch 1826 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFBiwAIHTu7gpaalycRAhP5AJ97c96jB8exMkAoJCHuzQXvajIL7ACdGj8n +fgbliC8oWBVq+iimIgVZ91Q= +=kj/c +-----END PGP SIGNATURE----- diff --git a/sys-libs/pam/files/digest-pam-0.75-r10 b/sys-libs/pam/files/digest-pam-0.75-r10 deleted file mode 100644 index 9340702b1bd5..000000000000 --- a/sys-libs/pam/files/digest-pam-0.75-r10 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 513088e0374c235e3b109119862e6bd4 Linux-PAM-0.75.tar.gz 874549 -MD5 8912eb2013c7b13fe14d9d4677919e5f pam-0.75-r10-gentoo.tbz2 125043 diff --git a/sys-libs/pam/files/digest-pam-0.75-r11 b/sys-libs/pam/files/digest-pam-0.75-r11 deleted file mode 100644 index a09d3f0182cd..000000000000 --- a/sys-libs/pam/files/digest-pam-0.75-r11 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 513088e0374c235e3b109119862e6bd4 Linux-PAM-0.75.tar.gz 874549 -MD5 9b4378e2faa78cfb73555594c2caff4a pam-0.75-r11-gentoo.tbz2 126645 diff --git a/sys-libs/pam/files/digest-pam-0.75-r8 b/sys-libs/pam/files/digest-pam-0.75-r8 deleted file mode 100644 index 6a1a3638053b..000000000000 --- a/sys-libs/pam/files/digest-pam-0.75-r8 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 513088e0374c235e3b109119862e6bd4 Linux-PAM-0.75.tar.gz 874549 -MD5 8912eb2013c7b13fe14d9d4677919e5f pam-0.75-r8.1-gentoo.tbz2 125043 diff --git a/sys-libs/pam/files/digest-pam-0.75-r9 b/sys-libs/pam/files/digest-pam-0.75-r9 deleted file mode 100644 index 08a44f51a912..000000000000 --- a/sys-libs/pam/files/digest-pam-0.75-r9 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 513088e0374c235e3b109119862e6bd4 Linux-PAM-0.75.tar.gz 874549 -MD5 8912eb2013c7b13fe14d9d4677919e5f pam-0.75-r9-gentoo.tbz2 125043 diff --git a/sys-libs/pam/pam-0.75-r10.ebuild b/sys-libs/pam/pam-0.75-r10.ebuild deleted file mode 100644 index 1793d4a1f160..000000000000 --- a/sys-libs/pam/pam-0.75-r10.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r10.ebuild,v 1.17 2004/10/31 16:08:21 azarah Exp $ - -IUSE="berkdb" - -inherit gcc eutils - -PATCH_LEVEL="" - -S="${WORKDIR}/Linux-PAM-${PV}" -S2="${WORKDIR}/pam" -DESCRIPTION="Pluggable Authentication Modules" -SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz - mirror://gentoo/pam-${PVR}${PATCH_LEVEL}-gentoo.tbz2" -HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" - -LICENSE="PAM" -KEYWORDS="x86 ppc sparc alpha" -SLOT="0" - -RDEPEND=">=sys-libs/cracklib-2.7-r3 - =dev-libs/glib-1.2* - >=sys-libs/pwdb-0.61-r4 - berkdb? ( >=sys-libs/db-3.2.9 )" - -DEPEND="$RDEPEND - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.6 - >=sys-devel/flex-2.5.4a-r5" - -src_unpack() { - unpack ${A} - - cd ${S} - tar -jxf ${S2}/pam-redhat-0.75-41.1.tar.bz2 || \ - die "Failed to unpack pam-redhat-0.75-41.1.tar.bz2" - - cp /usr/share/automake/install-sh . || die - ln -sf defs/redhat.defs default.defs - - einfo "Applying various patches (bugfixes/updates)..." - for x in $(cat ${S2}/patch.list ${S2}/patch.list.gentoo) - do - if [ -f ${S2}/patchdir/${x} ] - then - einfo " ${x##*/}..." - bzip2 -dc ${S2}/patchdir/${x} | patch -p1 > /dev/null || \ - die "Failed Patch: ${x##*/}!" -# pam-0.75-userdb.patch.bz2 patch userdb.c twice, which causes --dry-run -# in epatch to fail ... -# epatch ${S2}/patchdir/${x} - fi - done - - # Get pam_userdb to link to db3 or db4 if they exist - # (3 Nov 2002) - cd ${S}; epatch ${FILESDIR}/${P}-pam_userdb-use-db3.patch - - # Fix bison syntax for bison-1.50 or later, thanks to Redhat - cd ${S}; epatch ${FILESDIR}/${P}-pam_console-bison.fixes.patch - - cd ${S}/doc - einfo "Unpacking docs..." - tar -xvzf Linux-PAM-0.75-docs.tar.gz > /dev/null || \ - die "Failed to unpack docs!" - - cd ${S}; einfo "Installing module docs..." - for readme in modules/pam_*/README - do - cp -f ${readme} doc/txts/README.$(dirname ${readme} | sed -e 's|^modules/||') - done - - einfo "Generating configure..." - export WANT_AUTOCONF=2.5 - cd ${S}; autoconf || : -} - -src_compile() { - export CFLAGS="${CFLAGS} -fPIC" - - ./configure --host=${CHOST} \ - --prefix=/ \ - --sbindir=/usr/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-securedir=/lib/security \ - --enable-fakeroot=${D} \ - --enable-static-libpam \ - || die "Failed to configure" - - # Python stuff in docs gives sandbox problems - cp Makefile Makefile.orig - sed -e "s:libpam_misc doc examples:libpam_misc:" \ - Makefile.orig > Makefile - - # Fix warnings for gcc-2.95.3 - if [ "$(gcc-version)" = "2.95" ] - then - cp Make.Rules Make.Rules.orig - sed -e "s:-Wpointer-arith::" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - if ! use berkdb - then - cp Make.Rules Make.Rules.orig - sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - make || die "Failed to build" -} - -src_install() { - make FAKEROOT=${D} \ - LDCONFIG="" \ - install || die - - # Make sure every module built. - # Do not remove this, as some module can fail to build - # and effectively lock the user out of his system. - einfo "Checking if all modules was build..." - for x in ${S}/modules/pam_* - do - if [ -d ${x} ] - then - if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null - then - if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ] - then - continue - fi - eerror "ERROR: $(basename ${x}) module did not build." - exit 1 - fi - fi - done - - cd ${S} - dodoc CHANGELOG Copyright README - docinto modules - dodoc modules/README - dodoc doc/txts/README.* - docinto txt - dodoc doc/txts/*.txt doc/specs/*.txt - docinto print - dodoc doc/ps/*.ps - - doman doc/man/*.[38] - - docinto html - dohtml -r doc/html/ - - dodir /usr/lib - cd ${D}/lib - for x in pam pamc pam_misc - do - rm lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so.0 - mv lib${x}.a ${D}/usr/lib - # See bug #4411 - gen_usr_ldscript lib${x}.so - done - - # need this for pam_console - keepdir /var/run/console - - insinto /etc/pam.d - for x in ${FILESDIR}/${PVR}/pam.d/* - do - if [ -f ${x} ] - then - doins ${x} - fi - done -} - diff --git a/sys-libs/pam/pam-0.75-r11.ebuild b/sys-libs/pam/pam-0.75-r11.ebuild deleted file mode 100644 index 32d5401273c1..000000000000 --- a/sys-libs/pam/pam-0.75-r11.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.29 2004/10/31 16:08:21 azarah Exp $ - -inherit gcc eutils flag-o-matic - -IUSE="berkdb selinux" - -PATCH_LEVEL="" - -SELINUX_PATCH="pam-0.75-selinux.diff.bz2" - -S="${WORKDIR}/Linux-PAM-${PV}" -S2="${WORKDIR}/pam" -DESCRIPTION="Pluggable Authentication Modules" -SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz - mirror://gentoo/pam-${PVR}${PATCH_LEVEL}-gentoo.tbz2" -HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" - -LICENSE="PAM" -KEYWORDS="amd64 x86 ppc sparc alpha hppa mips" -SLOT="0" - -RDEPEND=">=sys-libs/cracklib-2.7-r3 - =dev-libs/glib-1.2* - >=sys-libs/pwdb-0.61-r4 - berkdb? ( >=sys-libs/db-3.2.9 ) - selinux? ( sys-libs/libselinux )" - -DEPEND="$RDEPEND - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.6 - >=sys-devel/flex-2.5.4a-r5" - -src_unpack() { - unpack ${A} - - cd ${S} - tar -jxf ${S2}/pam-redhat-0.75-41.1.tar.bz2 || \ - die "Failed to unpack pam-redhat-0.75-41.1.tar.bz2" - - cp /usr/share/automake/install-sh . || die - ln -sf defs/redhat.defs default.defs - - for x in $(cat ${S2}/patch.list ${S2}/patch.list.gentoo) - do - if [ -f ${S2}/patchdir/${x} ] - then - epatch ${S2}/patchdir/${x} - fi - done - - use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} - - cd ${S}/doc - einfo "Unpacking docs..." - tar -xvzf Linux-PAM-0.75-docs.tar.gz > /dev/null || \ - die "Failed to unpack docs!" - - cd ${S}; einfo "Installing module docs..." - for readme in modules/pam_*/README - do - cp -f ${readme} doc/txts/README.$(dirname ${readme} | sed -e 's|^modules/||') - done - - epatch ${FILESDIR}/pam-0.75-configure-db4.patch - - einfo "Generating configure..." - export WANT_AUTOCONF=2.5 - cd ${S}; autoconf || : -} - -src_compile() { - export CFLAGS="${CFLAGS} -fPIC" - if [ "${ARCH}" = "alpha" ]; then - if [ ! -z "`strings -a /usr/lib/libglib.a | grep -i 'Compaq Computer Corp.'`" ] ; then - # should be LDFLAGS, but this configure is screwy. - einfo "It looks like you compiled glib with ccc, this is okay, but" - einfo "I'll need to force gcc to link with libots...." - append-flags -lots - cp ${S}/modules/pam_pwdb/Makefile ${S}/modules/pam_pwdb/Makefile.orig - sed -e 's/$(CC) -o/$(CC) -lots -o/g' ${S}/modules/pam_pwdb/Makefile.orig > \ - ${S}/modules/pam_pwdb/Makefile - fi - fi - - ./configure --host=${CHOST} \ - --prefix=/ \ - --sbindir=/usr/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-securedir=/lib/security \ - --enable-fakeroot=${D} \ - --enable-static-libpam \ - || die "Failed to configure" - - # Python stuff in docs gives sandbox problems - cp Makefile Makefile.orig - sed -e "s:libpam_misc doc examples:libpam_misc:" \ - Makefile.orig > Makefile - - # Fix warnings for gcc-2.95.3 - if [ "$(gcc-version)" = "2.95" ] - then - cp Make.Rules Make.Rules.orig - sed -e "s:-Wpointer-arith::" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - if ! use berkdb - then - cp Make.Rules Make.Rules.orig - sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - # work/Linux-PAM-0.75/modules/pam_pwdb/Makefile: $(CC) -o $(CHKPWD) $^ -lpwdb - if use hardened - then - sed -i "s:-lpwdb:-lpwdb -lcrypt:g" ${WORKDIR}/Linux-PAM-0.75/modules/pam_pwdb/Makefile - fi - - make || die "Failed to build" -} - -src_install() { - make FAKEROOT=${D} \ - LDCONFIG="" \ - install || die - - # Make sure every module built. - # Do not remove this, as some module can fail to build - # and effectively lock the user out of his system. - einfo "Checking if all modules were built..." - for x in ${S}/modules/pam_* - do - if [ -d ${x} ] - then - if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null - then - if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ] - then - continue - fi - eerror "ERROR: $(basename ${x}) module did not build." - exit 1 - fi - fi - done - - cd ${S} - dodoc CHANGELOG Copyright README - docinto modules - dodoc modules/README - dodoc doc/txts/README.* - docinto txt - dodoc doc/txts/*.txt doc/specs/*.txt - docinto print - dodoc doc/ps/*.ps - - doman doc/man/*.[38] - - docinto html - dohtml -r doc/html/ - - dodir /usr/lib - cd ${D}/lib - for x in pam pamc pam_misc - do - rm lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so.0 - mv lib${x}.a ${D}/usr/lib - # See bug #4411 - gen_usr_ldscript lib${x}.so - done - - # need this for pam_console - keepdir /var/run/console - - insinto /etc/pam.d - for x in ${FILESDIR}/${PVR}/pam.d/* - do - if [ -f ${x} ] - then - doins ${x} - fi - done -} - diff --git a/sys-libs/pam/pam-0.75-r8.ebuild b/sys-libs/pam/pam-0.75-r8.ebuild deleted file mode 100644 index 27fbab592ecb..000000000000 --- a/sys-libs/pam/pam-0.75-r8.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r8.ebuild,v 1.16 2004/10/31 16:08:21 azarah Exp $ - -IUSE="berkdb" - -inherit gcc - -PATCH_LEVEL=".1" - -S="${WORKDIR}/Linux-PAM-${PV}" -S2="${WORKDIR}/pam" -DESCRIPTION="Pluggable Authentication Modules" -SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz - mirror://gentoo/pam-${PVR}${PATCH_LEVEL}-gentoo.tbz2" -HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" - -LICENSE="PAM" -KEYWORDS="x86 ppc sparc alpha" -SLOT="0" - -RDEPEND=">=sys-libs/cracklib-2.7-r3 - =dev-libs/glib-1.2* - >=sys-libs/pwdb-0.61-r3 - berkdb? ( ~sys-libs/db-1.85 ~sys-libs/db-3.2.9 )" - -DEPEND="$RDEPEND - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.6 - >=sys-devel/flex-2.5.4a-r5" - -src_unpack() { - unpack ${A} - - cd ${S} - tar -jxf ${S2}/pam-redhat-0.75-41.1.tar.bz2 || \ - die "Failed to unpack pam-redhat-0.75-41.1.tar.bz2" - - cp /usr/share/automake/install-sh . || die - ln -sf defs/redhat.defs default.defs - - einfo "Applying various patches (bugfixes/updates)..." - for x in $(cat ${S2}/patch.list ${S2}/patch.list.gentoo) - do - if [ -f ${S2}/patchdir/${x} ] - then - einfo " ${x##*/}..." - bzip2 -dc ${S2}/patchdir/${x} | patch -p1 > /dev/null || \ - die "Failed Patch: ${x##*/}!" - fi - done - - for readme in modules/pam_*/README - do - cp -f ${readme} doc/txts/README.$(dirname ${readme} | sed -e 's|^modules/||') - done - - export WANT_AUTOCONF=2.5 - autoconf - - cd ${S}/doc - einfo "Unpacking docs..." - tar -xvzf Linux-PAM-0.75-docs.tar.gz > /dev/null || \ - die "Failed to unpack docs" -} - -src_compile() { - export CFLAGS="${CFLAGS} -fPIC" - - ./configure --host=${CHOST} \ - --prefix=/ \ - --sbindir=/usr/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-securedir=/lib/security \ - --enable-fakeroot=${D} \ - --enable-static-libpam \ - || die "Failed to configure" - - # Python stuff in docs gives sandbox problems - cp Makefile Makefile.orig - sed -e "s:libpam_misc doc examples:libpam_misc:" \ - Makefile.orig > Makefile - - # Fix warnings for gcc-2.95.3 - if [ "$(gcc-version)" = "2.95" ] - then - cp Make.Rules Make.Rules.orig - sed -e "s:-Wpointer-arith::" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - if ! use berkdb - then - cp Make.Rules Make.Rules.orig - sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - make || die "Failed to build" -} - -src_install() { - make FAKEROOT=${D} \ - LDCONFIG="" \ - install || die - - # Make sure every module built. - # Do not remove this, as some module can fail to build - # and effectively lock the user out of his system. - for x in ${S}/modules/pam_* - do - if [ -d ${x} ] - then - if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null - then - if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ] - then - continue - fi - eerror "ERROR: $(basename ${x}) module did not build." - exit 1 - fi - fi - done - - cd ${S} - dodoc CHANGELOG Copyright README - docinto modules - dodoc modules/README - dodoc doc/txts/README.* - docinto txt - dodoc doc/txts/*.txt doc/specs/*.txt - docinto print - dodoc doc/ps/*.ps - - doman doc/man/*.[38] - - docinto html - dohtml -r doc/html/ - - dodir /usr/lib - cd ${D}/lib - for x in pam pamc pam_misc - do - rm lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so.0 - mv lib${x}.a ${D}/usr/lib - done - - # need this for pam_console - keepdir /var/run/console - - insinto /etc/pam.d - for x in ${FILESDIR}/${PVR}/pam.d/* - do - if [ -f ${x} ] - then - doins ${x} - fi - done -} - diff --git a/sys-libs/pam/pam-0.75-r9.ebuild b/sys-libs/pam/pam-0.75-r9.ebuild deleted file mode 100644 index 32e5c3215711..000000000000 --- a/sys-libs/pam/pam-0.75-r9.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r9.ebuild,v 1.16 2004/10/31 16:08:21 azarah Exp $ - -IUSE="berkdb" - -inherit gcc - -PATCH_LEVEL="" - -S="${WORKDIR}/Linux-PAM-${PV}" -S2="${WORKDIR}/pam" -DESCRIPTION="Pluggable Authentication Modules" -SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz - mirror://gentoo/pam-${PVR}${PATCH_LEVEL}-gentoo.tbz2" -HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" - -LICENSE="PAM" -KEYWORDS="x86 ppc sparc alpha mips ia64" -SLOT="0" - -RDEPEND=">=sys-libs/cracklib-2.7-r3 - =dev-libs/glib-1.2* - >=sys-libs/pwdb-0.61-r3 - berkdb? ( ~sys-libs/db-1.85 ~sys-libs/db-3.2.9 )" - -DEPEND="$RDEPEND - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.6 - >=sys-devel/flex-2.5.4a-r5" - -src_unpack() { - unpack ${A} - - cd ${S} - tar -jxf ${S2}/pam-redhat-0.75-41.1.tar.bz2 || \ - die "Failed to unpack pam-redhat-0.75-41.1.tar.bz2" - - cp /usr/share/automake/install-sh . || die - ln -sf defs/redhat.defs default.defs - - einfo "Applying various patches (bugfixes/updates)..." - for x in $(cat ${S2}/patch.list ${S2}/patch.list.gentoo) - do - if [ -f ${S2}/patchdir/${x} ] - then - einfo " ${x##*/}..." - bzip2 -dc ${S2}/patchdir/${x} | patch -p1 > /dev/null || \ - die "Failed Patch: ${x##*/}!" - fi - done - - for readme in modules/pam_*/README - do - cp -f ${readme} doc/txts/README.$(dirname ${readme} | sed -e 's|^modules/||') - done - - export WANT_AUTOCONF=2.5 - autoconf - - cd ${S}/doc - einfo "Unpacking docs..." - tar -xvzf Linux-PAM-0.75-docs.tar.gz > /dev/null || \ - die "Failed to unpack docs" -} - -src_compile() { - export CFLAGS="${CFLAGS} -fPIC" - - ./configure --host=${CHOST} \ - --prefix=/ \ - --sbindir=/usr/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-securedir=/lib/security \ - --enable-fakeroot=${D} \ - --enable-static-libpam \ - || die "Failed to configure" - - # Python stuff in docs gives sandbox problems - cp Makefile Makefile.orig - sed -e "s:libpam_misc doc examples:libpam_misc:" \ - Makefile.orig > Makefile - - # Fix warnings for gcc-2.95.3 - if [ "$(gcc-version)" = "2.95" ] - then - cp Make.Rules Make.Rules.orig - sed -e "s:-Wpointer-arith::" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - if ! use berkdb - then - cp Make.Rules Make.Rules.orig - sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ - Make.Rules.orig > Make.Rules - rm -f Make.Rules.orig - fi - - make || die "Failed to build" -} - -src_install() { - make FAKEROOT=${D} \ - LDCONFIG="" \ - install || die - - # Make sure every module built. - # Do not remove this, as some module can fail to build - # and effectively lock the user out of his system. - for x in ${S}/modules/pam_* - do - if [ -d ${x} ] - then - if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null - then - if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ] - then - continue - fi - eerror "ERROR: $(basename ${x}) module did not build." - exit 1 - fi - fi - done - - cd ${S} - dodoc CHANGELOG Copyright README - docinto modules - dodoc modules/README - dodoc doc/txts/README.* - docinto txt - dodoc doc/txts/*.txt doc/specs/*.txt - docinto print - dodoc doc/ps/*.ps - - doman doc/man/*.[38] - - docinto html - dohtml -r doc/html/ - - dodir /usr/lib - cd ${D}/lib - for x in pam pamc pam_misc - do - rm lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so - ln -s lib${x}.so.${PV} lib${x}.so.0 - # Another snag in the problem with gcc3 linking static - # libs in /usr/lib before dynamic ones in /lib (bug #4411). - # Seems like c++ stuff do not link properly with libpam.so, - # but rather with libpam.a, and as pam must be dynamic to - # load its modules, it breaks auth for a few critical things - # (like gdm and kdm). This is not tested, but the urgency - # demands a solution. - # (24 Oct 2002) - #mv lib${x}.a ${D}/usr/lib - rm -f lib${x}.a - done - - # need this for pam_console - keepdir /var/run/console - - insinto /etc/pam.d - for x in ${FILESDIR}/${PVR}/pam.d/* - do - if [ -f ${x} ] - then - doins ${x} - fi - done -} - -- 2.26.2