summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-16 21:50:42 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-16 21:50:42 +0000
commitbeaa6611f2836b278b9c4a050f5e68fef098d0b1 (patch)
tree4556fa3256a4244e5ff2dfe3446ae17890dea3d4 /app-admin
parentRemove prepallman. (diff)
downloadgentoo-2-beaa6611f2836b278b9c4a050f5e68fef098d0b1.tar.gz
gentoo-2-beaa6611f2836b278b9c4a050f5e68fef098d0b1.tar.bz2
gentoo-2-beaa6611f2836b278b9c4a050f5e68fef098d0b1.zip
old
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/skey/files/digest-skey-1.1.5-r32
-rw-r--r--app-admin/skey/files/digest-skey-1.1.5-r42
-rw-r--r--app-admin/skey/skey-1.1.5-r3.ebuild83
-rw-r--r--app-admin/skey/skey-1.1.5-r4.ebuild98
4 files changed, 0 insertions, 185 deletions
diff --git a/app-admin/skey/files/digest-skey-1.1.5-r3 b/app-admin/skey/files/digest-skey-1.1.5-r3
deleted file mode 100644
index d4ad0ad2b798..000000000000
--- a/app-admin/skey/files/digest-skey-1.1.5-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c862d14e1478ec91ed4c5b97f124ea08 skey-1.1.5-gentoo.diff.gz 37614
-MD5 af816298e3a0bc722380d0fe480189d9 skey-1.1.5.tar.bz2 61911
diff --git a/app-admin/skey/files/digest-skey-1.1.5-r4 b/app-admin/skey/files/digest-skey-1.1.5-r4
deleted file mode 100644
index d4ad0ad2b798..000000000000
--- a/app-admin/skey/files/digest-skey-1.1.5-r4
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c862d14e1478ec91ed4c5b97f124ea08 skey-1.1.5-gentoo.diff.gz 37614
-MD5 af816298e3a0bc722380d0fe480189d9 skey-1.1.5.tar.bz2 61911
diff --git a/app-admin/skey/skey-1.1.5-r3.ebuild b/app-admin/skey/skey-1.1.5-r3.ebuild
deleted file mode 100644
index 5aecccd90e80..000000000000
--- a/app-admin/skey/skey-1.1.5-r3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/skey-1.1.5-r3.ebuild,v 1.14 2006/01/31 09:46:20 sbriesen Exp $
-
-inherit flag-o-matic ccc eutils
-
-DESCRIPTION="Linux Port of OpenBSD Single-key Password System"
-HOMEPAGE="http://www.sparc.spb.su/solaris/skey/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/${P}-gentoo.diff.gz"
-
-LICENSE="BSD X11"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="sys-libs/cracklib
- sys-apps/shadow
- dev-lang/perl
- virtual/libc"
-# XXX: skeyaudit requires mailx.
-
-src_unpack() {
- unpack ${A} ; cd ${S}
-
- # porting some updates to this skey implementation from the
- # NetBSD project, some other updates and fixes, and the addition
- # of some new features like shadow password and cracklib support.
- # (05 Nov 2003) -taviso@gentoo.org
- epatch ${WORKDIR}/skey-1.1.5-gentoo.diff
-
- # glibc 2.2.x does not define LOGIN_NAME_MAX #33315
- # (12 Nov 2003) -taviso@gentoo.org
- epatch ${FILESDIR}/skey-login_name_max.diff
-
- epatch ${FILESDIR}/${P}-fPIC.patch
-
- # set the default hash function to md5, #63995
- # (14 Sep 2004) -taviso
- append-flags -DSKEY_HASH_DEFAULT=1
-
- # avoid suid related security issues.
- append-ldflags -Wl,-z,now
-}
-
-src_compile() {
- # skeyprune wont honour @sysconfdir@
- sed -i 's#/etc/skeykeys#/etc/skey/skeykeys#g' skeyprune.pl skeyprune.8
-
- econf --sysconfdir=/etc/skey || die
- emake || die
-}
-
-src_install() {
- doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skeyprune.8
- dobin skey skeyinit skeyinfo || die
- newbin skeyprune.pl skeyprune
- newbin skeyaudit.sh skeyaudit
- dolib.a libskey.a
- dolib.so libskey.so.1.1.5 libskey.so.1.1 libskey.so.1 libskey.so
-
- insinto /usr/include
- doins skey.h
-
- insinto /etc/skey
- newins /dev/null skeykeys
-
- # only root needs to have access to these files.
- fperms g-rx,o-rx /etc/skey/skeykeys /etc/skey
-
- # skeyinit and skeyinfo must be suid root so users
- # can generate their passwords.
- fperms u+s,o-r,g-r /usr/bin/skeyinit /usr/bin/skeyinfo
-
- dodoc README CHANGES md4.copyright md5.copyright
-
- prepallman
-}
-
-pkg_postinst() {
- einfo "For an instroduction into using s/key authentication, take"
- einfo "a look at the EXAMPLES section from the skey(1) manpage."
-}
diff --git a/app-admin/skey/skey-1.1.5-r4.ebuild b/app-admin/skey/skey-1.1.5-r4.ebuild
deleted file mode 100644
index 2a743457cc66..000000000000
--- a/app-admin/skey/skey-1.1.5-r4.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/skey-1.1.5-r4.ebuild,v 1.16 2006/01/31 09:46:20 sbriesen Exp $
-
-inherit flag-o-matic ccc eutils
-
-DESCRIPTION="Linux Port of OpenBSD Single-key Password System"
-HOMEPAGE="http://www.sparc.spb.su/solaris/skey/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/skey-1.1.5-gentoo.diff.gz"
-
-LICENSE="BSD X11"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="sys-libs/cracklib
- dev-lang/perl
- virtual/libc"
-# XXX: skeyaudit requires mailx.
-
-src_unpack() {
- unpack ${A} ; cd ${S}
-
- # porting some updates to this skey implementation from the
- # NetBSD project, some other updates and fixes, and the addition
- # of some new features like shadow password and cracklib support.
- # (05 Nov 2003) -taviso@gentoo.org
- epatch ${WORKDIR}/skey-1.1.5-gentoo.diff
-
- # glibc 2.2.x does not define LOGIN_NAME_MAX #33315
- # (12 Nov 2003) -taviso@gentoo.org
- epatch ${FILESDIR}/skey-login_name_max.diff
-
- epatch ${FILESDIR}/${P}-fPIC.patch
-
- # set the default hash function to md5, #63995
- # (14 Sep 2004) -taviso
- append-flags -DSKEY_HASH_DEFAULT=1
-
- # avoid suid related security issues.
- append-ldflags -Wl,-z,now
-}
-
-src_compile() {
- # skeyprune wont honour @sysconfdir@
- sed -i 's#/etc/skeykeys#/etc/skey/skeykeys#g' skeyprune.pl skeyprune.8
-
- # skeyprune uses a case sensitive regex to check for zeroed entries
- sed -i 's#\(if ( ! /.*/\)#\1i#g' skeyprune.pl
-
- # skeyinit(1) describes md4 as the default hash algorithm, which
- # is no longer the case. #64971
- sed -i 's#\(md4\) \((the default)\), \(md5\) or \(sha1.\)#\1, \3 \2 or \4#g' skeyinit.1
-
- econf --sysconfdir=/etc/skey || die
- emake || die
-}
-
-src_install() {
- doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skeyprune.8
- dobin skey skeyinit skeyinfo || die
- newsbin skeyprune.pl skeyprune
- newbin skeyaudit.sh skeyaudit
- dolib.a libskey.a
- dolib.so libskey.so.1.1.5 libskey.so.1.1 libskey.so.1 libskey.so
-
- insinto /usr/include
- doins skey.h
-
- dodir /etc/skey
-
- # only root needs to have access to these files.
- fperms g-rx,o-rx /etc/skey
-
- # skeyinit and skeyinfo must be suid root so users
- # can generate their passwords.
- fperms u+s,og-r /usr/bin/skeyinit /usr/bin/skeyinfo
-
- dodoc README CHANGES md4.copyright md5.copyright
-
- prepallman
-}
-
-pkg_postinst() {
- # do not include /etc/skey/skeykeys in the package, as quickpkg
- # may package personal files.
- # This also fixes the etc-update issue with #64974.
-
- # skeyinit will not function if this file is not present.
- touch /etc/skey/skeykeys
-
- # these permissions are applied by the skey system if missing.
- chmod 0600 /etc/skey/skeykeys
-
- einfo "For an instroduction into using s/key authentication, take"
- einfo "a look at the EXAMPLES section from the skey(1) manpage."
-}