summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-12-07 04:38:49 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-12-07 04:38:49 +0000
commitaed62d48c606190f0628342159fcf63c702f293c (patch)
tree5c7523e1cb1bd1f2511dab49d55fffc7202d53de /sys-apps/shadow
parentmove -r3 to mips (diff)
downloadgentoo-2-aed62d48c606190f0628342159fcf63c702f293c.tar.gz
gentoo-2-aed62d48c606190f0628342159fcf63c702f293c.tar.bz2
gentoo-2-aed62d48c606190f0628342159fcf63c702f293c.zip
remove old crufty ebuilds
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/Manifest18
-rw-r--r--sys-apps/shadow/files/digest-shadow-4.0.3-r61
-rw-r--r--sys-apps/shadow/files/digest-shadow-4.0.3-r71
-rw-r--r--sys-apps/shadow/shadow-4.0.3-r6.ebuild180
-rw-r--r--sys-apps/shadow/shadow-4.0.3-r7.ebuild187
5 files changed, 7 insertions, 380 deletions
diff --git a/sys-apps/shadow/Manifest b/sys-apps/shadow/Manifest
index 21b5751378fb..3556d03bf14c 100644
--- a/sys-apps/shadow/Manifest
+++ b/sys-apps/shadow/Manifest
@@ -1,7 +1,13 @@
MD5 e9ed60d2436c4fbcffe0ded317781af9 shadow-4.0.3-r8.ebuild 5270
+MD5 0bceef40d45e4abe28e9296819fc40e3 ChangeLog 8034
+MD5 e6543624c262cae90cc830cde90ad3ae metadata.xml 165
MD5 13c8bec4c2cffb2d73c2f5aa01229d03 files/shadow-4.0.3-su-pam_open_session.patch-v2 4882
-MD5 6e0bc0211949c624da0ea08d994a7038 files/default/useradd 96
MD5 e70a5f61d37c3c67a4b860d8a6191dbc files/securetty 230
+MD5 94728414b91e556a211379f6acc9b52d files/shadow-4.0.3-selinux.diff 3940
+MD5 52fc2a150fc27350a5f9990e0007d064 files/digest-shadow-4.0.3-r8 65
+MD5 de1e23b4a7d38545475dffc3c9dc73a0 files/shadow-4.0.3-useradd-manpage-update.patch 804
+MD5 5be850b601aabd73a43b1a3bbb893386 files/shadow-4.0.3-nologin-run-sh.patch 972
+MD5 6e0bc0211949c624da0ea08d994a7038 files/default/useradd 96
MD5 0a8b62ed0426b607b92e275d63fa7cbf files/pam.d/su 1247
MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/pam.d/login 431
MD5 344d17a865edc40adebe07797853c839 files/pam.d/other 198
@@ -9,13 +15,3 @@ MD5 1baa646400c4a596290e9d4b9e1c09b2 files/pam.d/system-auth-1.1 491
MD5 a1c7fb84c2dc309db86ba7b8d3dfae76 files/pam.d/passwd 214
MD5 60d44a6f43aafcb9ca35858ab2534a49 files/pam.d/shadow 227
MD5 51b0337bd261f6ed5e53af5dc196431a files/pam.d/system-auth 499
-MD5 94728414b91e556a211379f6acc9b52d files/shadow-4.0.3-selinux.diff 3940
-MD5 52fc2a150fc27350a5f9990e0007d064 files/digest-shadow-4.0.3-r6 65
-MD5 52fc2a150fc27350a5f9990e0007d064 files/digest-shadow-4.0.3-r7 65
-MD5 52fc2a150fc27350a5f9990e0007d064 files/digest-shadow-4.0.3-r8 65
-MD5 de1e23b4a7d38545475dffc3c9dc73a0 files/shadow-4.0.3-useradd-manpage-update.patch 804
-MD5 5be850b601aabd73a43b1a3bbb893386 files/shadow-4.0.3-nologin-run-sh.patch 972
-MD5 e0603805089500860a529dc37add3fe9 shadow-4.0.3-r7.ebuild 5047
-MD5 0bceef40d45e4abe28e9296819fc40e3 ChangeLog 8034
-MD5 003bd580ea2d0ead2894f10331e7eef0 shadow-4.0.3-r6.ebuild 4858
-MD5 e6543624c262cae90cc830cde90ad3ae metadata.xml 165
diff --git a/sys-apps/shadow/files/digest-shadow-4.0.3-r6 b/sys-apps/shadow/files/digest-shadow-4.0.3-r6
deleted file mode 100644
index aee0733f80f7..000000000000
--- a/sys-apps/shadow/files/digest-shadow-4.0.3-r6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 873e49fcde0d665e916414722ecb0d72 shadow-4.0.3.tar.gz 1055089
diff --git a/sys-apps/shadow/files/digest-shadow-4.0.3-r7 b/sys-apps/shadow/files/digest-shadow-4.0.3-r7
deleted file mode 100644
index aee0733f80f7..000000000000
--- a/sys-apps/shadow/files/digest-shadow-4.0.3-r7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 873e49fcde0d665e916414722ecb0d72 shadow-4.0.3.tar.gz 1055089
diff --git a/sys-apps/shadow/shadow-4.0.3-r6.ebuild b/sys-apps/shadow/shadow-4.0.3-r6.ebuild
deleted file mode 100644
index e71924cf774a..000000000000
--- a/sys-apps/shadow/shadow-4.0.3-r6.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r6.ebuild,v 1.5 2003/09/25 18:43:00 mholzer Exp $
-
-IUSE=""
-
-inherit eutils libtool gnuconfig
-
-FORCE_SYSTEMAUTH_UPDATE="yes"
-
-S="${WORKDIR}/${P}"
-HOMEPAGE="http://shadow.pld.org.pl/"
-DESCRIPTION="Utilities to deal with user accounts"
-SRC_URI="ftp://ftp.pld.org.pl/software/shadow/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="x86 amd64 ppc sparc alpha mips hppa arm"
-
-DEPEND=">=sys-libs/pam-0.75-r4
- >=sys-libs/cracklib-2.7-r3
- nls? ( sys-devel/gettext )"
-
-RDEPEND=">=sys-libs/pam-0.75-r4
- >=sys-libs/cracklib-2.7-r3"
-
-
-pkg_preinst() {
- rm -f ${ROOT}/etc/pam.d/system-auth.new
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # Get su to call pam_open_session(), and also set DISPLAY and XAUTHORITY,
- # else the session entries in /etc/pam.d/su never get executed, and
- # pam_xauth for one, is then never used. This should close bug #8831.
- #
- # <azarah@gentoo.org> (19 Oct 2002)
- epatch ${FILESDIR}/${P}-su-pam_open_session.patch-v2
-
- # If su should not simulate a login shell, use '/bin/sh' as shell to enable
- # running of commands as user with /bin/false as shell, closing bug #15015.
- #
- # <azarah@gentoo.org> (23 Feb 2003)
-# This one could be a security hole ...
-# cd ${S}; epatch ${FILESDIR}/${P}-nologin-run-sh.patch
-
- # Patch the useradd manpage to be a bit more clear, closing bug #13203.
- # Thanks to Guy <guycad@mindspring.com>.
- epatch ${FILESDIR}/${P}-useradd-manpage-update.patch
-}
-
-src_compile() {
- # Allows shadow configure detect mips systems properly
- gnuconfig_update
-
- elibtoolize
-
- local myconf=""
- use nls || myconf="${myconf} --disable-nls"
-
- ./configure --disable-desrpc \
- --with-libcrypt \
- --with-libcrack \
- --with-libpam \
- --enable-shared=no \
- --enable-static=yes \
- --host=${CHOST} \
- ${myconf} || die "bad configure"
-
- # Parallel make fails sometimes
- make || die "compile problem"
-}
-
-src_install() {
- dodir /etc/default /etc/skel
-
- make prefix=${D}/usr \
- exec_prefix=${D} \
- mandir=${D}/usr/share/man \
- install || die "install problem"
-
- # Do not install this login, but rather the one from
- # pam-login, as this one have a serious root exploit
- # with pam_limits in use.
- rm ${D}/bin/login
-
- mv ${D}/lib ${D}/usr
- dosed "s:/lib':/usr/lib':g" /usr/lib/libshadow.la
- dosed "s:/lib/:/usr/lib/:g" /usr/lib/libshadow.la
- dosed "s:/lib':/usr/lib':g" /usr/lib/libmisc.la
- dosed "s:/lib/:/usr/lib/:g" /usr/lib/libmisc.la
- dosym /usr/bin/newgrp /usr/bin/sg
- dosym /usr/sbin/useradd /usr/sbin/adduser
- dosym /usr/sbin/vipw /usr/sbin/vigr
- # Remove dead links
- rm -f ${D}/bin/{sg,vipw}
-
- insinto /etc
- # Using a securetty with devfs device names added
- # (compat names kept for non-devfs compatibility)
- insopts -m0600 ; doins ${FILESDIR}/securetty
- insopts -m0600 ; doins ${S}/etc/login.access
- insopts -m0644 ; doins ${S}/etc/limits
-
- # needed for 'adduser -D'
- insinto /etc/default
- insopts -m0600
- doins ${FILESDIR}/default/useradd
-# From sys-apps/pam-login now
-# insopts -m0644 ; doins ${FILESDIR}/login.defs
-
- insinto /etc/pam.d ; insopts -m0644
- for x in ${FILESDIR}/pam.d/*
- do
- [ -f ${x} ] && doins ${x}
- done
-
- cd ${FILESDIR}/pam.d
- newins system-auth system-auth.new
- newins shadow chage
- newins shadow chsh
- newins shadow chfn
- newins shadow useradd
- newins shadow groupadd
-
- cd ${S}
- # The manpage install is beyond my comprehension, and
- # also broken. Just do it over.
- rm -rf ${D}/usr/share/man/*
- for x in man/*.[0-9]
- do
- [ -f ${x} ] && doman ${x}
- done
-
- # Dont install the manpage, since we dont use
- # login with shadow
- rm -f ${D}/usr/share/man/man1/login.*
- # We use pam, so this is not applicable.
- rm -f ${D}/usr/share/man/man5/suauth.*
-
- cd ${S}/doc
- dodoc ANNOUNCE INSTALL LICENSE README WISHLIST
- docinto txt
- dodoc HOWTO LSM README.* *.txt
-
- # Fix sparc serial console
- if [ "${ARCH}" = "sparc" -o "${ARCH}" = "" ]
- then
- # ttyS0 and its devfsd counterpart (Sparc serial port "A")
- dosed 's:\(vc/1\)$:tts/0\n\1:' /etc/securetty
- dosed 's:\(tty1\)$:ttyS0\n\1:' /etc/securetty
- fi
-}
-
-pkg_postinst() {
- local CHECK1="$(md5sum ${ROOT}/etc/pam.d/system-auth | cut -d ' ' -f 1)"
- local CHECK2="$(md5sum ${ROOT}/etc/pam.d/system-auth.new | cut -d ' ' -f 1)"
-
- if [ "${CHECK1}" != "${CHECK2}" -a "${FORCE_SYSTEMAUTH_UPDATE}" = "yes" ]
- then
- ewarn "Due to a security issue, ${ROOT}etc/pam.d/system-auth "
- ewarn "is being updated automatically. Your old "
- ewarn "system-auth will be backed up as:"
- ewarn
- ewarn " ${ROOT}etc/pam.d/system-auth.bak"
- echo
-
- cp -a ${ROOT}/etc/pam.d/system-auth \
- ${ROOT}/etc/pam.d/system-auth.bak;
- mv -f ${ROOT}/etc/pam.d/system-auth.new \
- ${ROOT}/etc/pam.d/system-auth
- rm -f ${ROOT}/etc/pam.d/._cfg????_system-auth
- else
- rm -f ${ROOT}/etc/pam.d/system-auth.new
- fi
-}
-
diff --git a/sys-apps/shadow/shadow-4.0.3-r7.ebuild b/sys-apps/shadow/shadow-4.0.3-r7.ebuild
deleted file mode 100644
index 4f4deb63f963..000000000000
--- a/sys-apps/shadow/shadow-4.0.3-r7.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r7.ebuild,v 1.6 2003/10/29 03:14:07 pebenito Exp $
-
-IUSE="selinux"
-
-inherit eutils libtool gnuconfig
-
-FORCE_SYSTEMAUTH_UPDATE="yes"
-
-SELINUX_PATCH="shadow-4.0.3-selinux.diff"
-
-S="${WORKDIR}/${P}"
-HOMEPAGE="http://shadow.pld.org.pl/"
-DESCRIPTION="Utilities to deal with user accounts"
-SRC_URI="ftp://ftp.pld.org.pl/software/shadow/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="x86 amd64 ppc sparc alpha mips hppa arm ia64"
-
-DEPEND=">=sys-libs/pam-0.75-r4
- >=sys-libs/cracklib-2.7-r3
- nls? ( sys-devel/gettext )
- selinux? ( sys-libs/libselinux )"
-
-RDEPEND=">=sys-libs/pam-0.75-r4
- >=sys-libs/cracklib-2.7-r3
- selinux? ( sys-libs/libselinux )"
-
-
-pkg_preinst() {
- rm -f ${ROOT}/etc/pam.d/system-auth.new
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
-
- # Get su to call pam_open_session(), and also set DISPLAY and XAUTHORITY,
- # else the session entries in /etc/pam.d/su never get executed, and
- # pam_xauth for one, is then never used. This should close bug #8831.
- #
- # <azarah@gentoo.org> (19 Oct 2002)
- epatch ${FILESDIR}/${P}-su-pam_open_session.patch-v2
-
- # If su should not simulate a login shell, use '/bin/sh' as shell to enable
- # running of commands as user with /bin/false as shell, closing bug #15015.
- #
- # <azarah@gentoo.org> (23 Feb 2003)
-# This one could be a security hole ...
-# cd ${S}; epatch ${FILESDIR}/${P}-nologin-run-sh.patch
-
- # Patch the useradd manpage to be a bit more clear, closing bug #13203.
- # Thanks to Guy <guycad@mindspring.com>.
- epatch ${FILESDIR}/${P}-useradd-manpage-update.patch
-}
-
-src_compile() {
- # Allows shadow configure detect mips systems properly
- gnuconfig_update
-
- elibtoolize
-
- local myconf=""
- use nls || myconf="${myconf} --disable-nls"
-
- ./configure --disable-desrpc \
- --with-libcrypt \
- --with-libcrack \
- --with-libpam \
- --enable-shared=no \
- --enable-static=yes \
- --host=${CHOST} \
- ${myconf} || die "bad configure"
-
- # Parallel make fails sometimes
- make || die "compile problem"
-}
-
-src_install() {
- dodir /etc/default /etc/skel
-
- make prefix=${D}/usr \
- exec_prefix=${D} \
- mandir=${D}/usr/share/man \
- install || die "install problem"
-
- # Do not install this login, but rather the one from
- # pam-login, as this one have a serious root exploit
- # with pam_limits in use.
- rm ${D}/bin/login
-
- mv ${D}/lib ${D}/usr
- dosed "s:/lib':/usr/lib':g" /usr/lib/libshadow.la
- dosed "s:/lib/:/usr/lib/:g" /usr/lib/libshadow.la
- dosed "s:/lib':/usr/lib':g" /usr/lib/libmisc.la
- dosed "s:/lib/:/usr/lib/:g" /usr/lib/libmisc.la
- dosym /usr/bin/newgrp /usr/bin/sg
- dosym /usr/sbin/useradd /usr/sbin/adduser
- dosym /usr/sbin/vipw /usr/sbin/vigr
- # Remove dead links
- rm -f ${D}/bin/{sg,vipw}
-
- insinto /etc
- # Using a securetty with devfs device names added
- # (compat names kept for non-devfs compatibility)
- insopts -m0600 ; doins ${FILESDIR}/securetty
- insopts -m0600 ; doins ${S}/etc/login.access
- insopts -m0644 ; doins ${S}/etc/limits
-
- # needed for 'adduser -D'
- insinto /etc/default
- insopts -m0600
- doins ${FILESDIR}/default/useradd
-# From sys-apps/pam-login now
-# insopts -m0644 ; doins ${FILESDIR}/login.defs
-
- insinto /etc/pam.d ; insopts -m0644
- for x in ${FILESDIR}/pam.d/*
- do
- [ -f ${x} ] && doins ${x}
- done
-
- cd ${FILESDIR}/pam.d
- newins system-auth-1.1 system-auth.new || die
- newins shadow chage
- newins shadow chsh
- newins shadow chfn
- newins shadow useradd
- newins shadow groupadd
-
- cd ${S}
- # The manpage install is beyond my comprehension, and
- # also broken. Just do it over.
- rm -rf ${D}/usr/share/man/*
- for x in man/*.[0-9]
- do
- [ -f ${x} ] && doman ${x}
- done
-
- # Dont install the manpage, since we dont use
- # login with shadow
- rm -f ${D}/usr/share/man/man1/login.*
- # We use pam, so this is not applicable.
- rm -f ${D}/usr/share/man/man5/suauth.*
-
- cd ${S}/doc
- dodoc ANNOUNCE INSTALL LICENSE README WISHLIST
- docinto txt
- dodoc HOWTO LSM README.* *.txt
-
- # Fix sparc serial console
- if [ "${ARCH}" = "sparc" -o "${ARCH}" = "" ]
- then
- # ttyS0 and its devfsd counterpart (Sparc serial port "A")
- dosed 's:\(vc/1\)$:tts/0\n\1:' /etc/securetty
- dosed 's:\(tty1\)$:ttyS0\n\1:' /etc/securetty
- fi
-}
-
-pkg_postinst() {
- local CHECK1="$(md5sum ${ROOT}/etc/pam.d/system-auth | cut -d ' ' -f 1)"
- local CHECK2="$(md5sum ${ROOT}/etc/pam.d/system-auth.new | cut -d ' ' -f 1)"
-
- if [ "${CHECK1}" != "${CHECK2}" -a "${FORCE_SYSTEMAUTH_UPDATE}" = "yes" ]
- then
- ewarn "Due to a security issue, ${ROOT}etc/pam.d/system-auth "
- ewarn "is being updated automatically. Your old "
- ewarn "system-auth will be backed up as:"
- ewarn
- ewarn " ${ROOT}etc/pam.d/system-auth.bak"
- echo
-
- cp -a ${ROOT}/etc/pam.d/system-auth \
- ${ROOT}/etc/pam.d/system-auth.bak;
- mv -f ${ROOT}/etc/pam.d/system-auth.new \
- ${ROOT}/etc/pam.d/system-auth
- rm -f ${ROOT}/etc/pam.d/._cfg????_system-auth
- else
- rm -f ${ROOT}/etc/pam.d/system-auth.new
- fi
-}
-