summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-09-14 14:50:43 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-09-14 14:50:43 +0000
commit232dc9aa25264bcbe19f35b3febffb3b1b4d9146 (patch)
treea01e68f92c7be1aba8bf0dd58d47f7e17fd7c7ae /app-admin
parentgnome 2.8 release (Manifest recommit) (diff)
downloadgentoo-2-232dc9aa25264bcbe19f35b3febffb3b1b4d9146.tar.gz
gentoo-2-232dc9aa25264bcbe19f35b3febffb3b1b4d9146.tar.bz2
gentoo-2-232dc9aa25264bcbe19f35b3febffb3b1b4d9146.zip
change the default algorithm to md5
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/skey/ChangeLog7
-rw-r--r--app-admin/skey/Manifest14
-rw-r--r--app-admin/skey/files/digest-skey-1.1.5-r31
-rw-r--r--app-admin/skey/skey-1.1.5-r3.ebuild82
4 files changed, 97 insertions, 7 deletions
diff --git a/app-admin/skey/ChangeLog b/app-admin/skey/ChangeLog
index af1aea8dbef7..088a1fa46af8 100644
--- a/app-admin/skey/ChangeLog
+++ b/app-admin/skey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/skey
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.16 2004/09/08 03:06:07 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.17 2004/09/14 14:50:43 taviso Exp $
+
+*skey-1.1.5-r3 (14 Sep 2004)
+
+ 14 Sep 2004; Tavis Ormandy <taviso@gentoo.org> +skey-1.1.5-r3.ebuild:
+ the default algorithm should be md5.
07 Sep 2004; Tom Gall <tgall@gentoo.org> skey-1.1.5-r2.ebuild:
stable on ppc64
diff --git a/app-admin/skey/Manifest b/app-admin/skey/Manifest
index 8df13218eb2a..417eb8c20e9b 100644
--- a/app-admin/skey/Manifest
+++ b/app-admin/skey/Manifest
@@ -1,11 +1,13 @@
-MD5 dc2d5800a24e967b15bae9f2353ba621 ChangeLog 2345
-MD5 fb946a077c4e2ae03befc41f3a095b39 metadata.xml 1425
MD5 72cc897e65fb378c9fb62b35c2c3a95a skey-1.1.5-r1.ebuild 2479
-MD5 1568707a67391a179d5fc0f76b06fd80 skey-1.1.5-r2.ebuild 2099
+MD5 bf0d6faf79031103c6e1b916c850caf1 skey-1.1.5-r3.ebuild 2210
MD5 f0da1a5ab53e7a824dcdd7ec8c477a17 skey-1.1.5.ebuild 1861
-MD5 bc72b21ce3e5fcbcb1e728c0cc55702a files/digest-skey-1.1.5 117
-MD5 b643729f459d2fd7dba814e88bab8f92 files/digest-skey-1.1.5-r1 117
-MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r2 62
+MD5 1568707a67391a179d5fc0f76b06fd80 skey-1.1.5-r2.ebuild 2099
+MD5 dc2d5800a24e967b15bae9f2353ba621 ChangeLog 2345
+MD5 fb946a077c4e2ae03befc41f3a095b39 metadata.xml 1425
MD5 ab3f803b5ad68dc89dfb5b544342b403 files/skey-1.1.5-fPIC.patch 271
MD5 391bb645d15da426828492d5add5dc9b files/skey-1.1.5-gentoo.diff.gz 37615
+MD5 b643729f459d2fd7dba814e88bab8f92 files/digest-skey-1.1.5-r1 117
+MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r2 62
+MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r3 62
+MD5 bc72b21ce3e5fcbcb1e728c0cc55702a files/digest-skey-1.1.5 117
MD5 2bc2fd632a13d33a3832ec3bf2449c1b files/skey-login_name_max.diff 386
diff --git a/app-admin/skey/files/digest-skey-1.1.5-r3 b/app-admin/skey/files/digest-skey-1.1.5-r3
new file mode 100644
index 000000000000..2c986e527d5d
--- /dev/null
+++ b/app-admin/skey/files/digest-skey-1.1.5-r3
@@ -0,0 +1 @@
+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
new file mode 100644
index 000000000000..f26779185b64
--- /dev/null
+++ b/app-admin/skey/skey-1.1.5-r3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 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.1 2004/09/14 14:50:43 taviso 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"
+
+LICENSE="BSD X11"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ppc64"
+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 ${FILESDIR}/skey-1.1.5-gentoo.diff.gz
+
+ # 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."
+}