summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-11-05 16:03:10 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-11-05 16:03:10 +0000
commit478a7ac48b48c8677b54c33910a04f108d3d3d3f (patch)
tree7875deb3dfe9d97aed0b3e62b7626f9733c86887 /app-admin
parentlots of updates (diff)
downloadgentoo-2-478a7ac48b48c8677b54c33910a04f108d3d3d3f.tar.gz
gentoo-2-478a7ac48b48c8677b54c33910a04f108d3d3d3f.tar.bz2
gentoo-2-478a7ac48b48c8677b54c33910a04f108d3d3d3f.zip
lots of updates
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/skey/ChangeLog10
-rw-r--r--app-admin/skey/Manifest6
-rw-r--r--app-admin/skey/files/digest-skey-1.1.5-r12
-rw-r--r--app-admin/skey/files/skey-1.1.5-gentoo.diff.gzbin0 -> 30914 bytes
-rw-r--r--app-admin/skey/skey-1.1.5-r1.ebuild100
5 files changed, 114 insertions, 4 deletions
diff --git a/app-admin/skey/ChangeLog b/app-admin/skey/ChangeLog
index bba499acaea9..6f3629d6d83f 100644
--- a/app-admin/skey/ChangeLog
+++ b/app-admin/skey/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/skey
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.3 2003/09/14 17:10:21 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.4 2003/11/05 16:03:00 taviso Exp $
+
+*skey-1.1.5-r1 (05 Nov 2003)
+
+ 05 Nov 2003; Tavis Ormandy <taviso@gentoo.org> skey-1.1.5-r1.ebuild,
+ files/skey-1.1.5-gentoo.diff.gz:
+ _Lots_ of updates, this thing hasnt been maintained in a while.
+ I've ported some updates from NetBSD to Linux, fixed some bugs,
+ provided the missing files, and various other things.
14 Sep 2003; Tavis Ormandy <taviso@gentoo.org> skey-1.1.5.ebuild:
download location is unreliable, moving it to mirror://
diff --git a/app-admin/skey/Manifest b/app-admin/skey/Manifest
index c68aa55a9962..52a180a03570 100644
--- a/app-admin/skey/Manifest
+++ b/app-admin/skey/Manifest
@@ -1,7 +1,7 @@
-MD5 a2c7fd56a5f4605445ae17c0682bc198 skey-1.1.5-r1.ebuild 2559
+MD5 90d1d532e4cd5a7708e02cf8cd1ddfae skey-1.1.5-r1.ebuild 2981
MD5 ad1d53a17715de477a11dca0e341128d skey-1.1.5.ebuild 1922
-MD5 56be961549a63baee55b9bfccc27e623 ChangeLog 644
+MD5 69b65922abf0ca2cdffbb7913629a9a1 ChangeLog 969
MD5 fb946a077c4e2ae03befc41f3a095b39 metadata.xml 1425
-MD5 13c00d8512b673543a4a19a7599b59d7 files/skey-1.1.5-gentoo.diff.gz 29980
+MD5 b3c2f0348f2d209ffe3cb416acb98acc files/skey-1.1.5-gentoo.diff.gz 30914
MD5 b643729f459d2fd7dba814e88bab8f92 files/digest-skey-1.1.5-r1 117
MD5 bc72b21ce3e5fcbcb1e728c0cc55702a files/digest-skey-1.1.5 117
diff --git a/app-admin/skey/files/digest-skey-1.1.5-r1 b/app-admin/skey/files/digest-skey-1.1.5-r1
new file mode 100644
index 000000000000..66f4c938593c
--- /dev/null
+++ b/app-admin/skey/files/digest-skey-1.1.5-r1
@@ -0,0 +1,2 @@
+MD5 af816298e3a0bc722380d0fe480189d9 skey-1.1.5.tar.bz2 61911
+MD5 1609513cb50fb153d6adc14e82d4d366 rfc2289.txt 56495
diff --git a/app-admin/skey/files/skey-1.1.5-gentoo.diff.gz b/app-admin/skey/files/skey-1.1.5-gentoo.diff.gz
new file mode 100644
index 000000000000..497d0a931744
--- /dev/null
+++ b/app-admin/skey/files/skey-1.1.5-gentoo.diff.gz
Binary files differ
diff --git a/app-admin/skey/skey-1.1.5-r1.ebuild b/app-admin/skey/skey-1.1.5-r1.ebuild
new file mode 100644
index 000000000000..0cfe8a01a9aa
--- /dev/null
+++ b/app-admin/skey/skey-1.1.5-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/skey-1.1.5-r1.ebuild,v 1.1 2003/11/05 16:03:00 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
+ doc? ( http://www.ietf.org/rfc/rfc2289.txt )"
+
+LICENSE="BSD X11"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~amd64"
+
+IUSE="doc"
+RDEPEND=">=dev-lang/perl-5.8.0
+ virtual/mta
+ net-mail/mailx
+ virtual/glibc"
+DEPEND=">=dev-lang/perl-5.8.0
+ virtual/mta
+ virtual/glibc"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+ # ive ported some updates to this s/key implementation from NetBSD to Linux.
+ # some other changes i've made include
+ # - replaced many of the uses of strcat/strcpy to strncat/strncpy.
+ # - removed a lot of multi-line string literals in preparation of gcc3.3.
+ # - removed some of the crazier syntax, like casting all function calls to
+ # void, whats up with that? :)
+ # - killing rmd160 support
+ # - removed skeyaudit and replaced it with a simple shell script
+ # - providing a shared library, so dynamic linking should be possible.
+ # - using manpages from NetBSD, which are of better quality.
+ # - be a little bit more reasonable about password security..do we really have
+ # to force people to have digits in there?
+ # - some other misc. stuff.
+ # (05 Nov 2003) -taviso@gentoo.org
+ unpack ${A}
+ cd ${S}; epatch ${FILESDIR}/skey-1.1.5-gentoo.diff.gz
+}
+
+src_compile() {
+
+ if use alpha; then
+ append-flags -fPIC
+ append-ldflags -fPIC
+ fi
+
+ # skeyprune wont honour @sysconfdir@
+ sed -i 's#/etc/skeykeys#/etc/skey/skeyskeys#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
+ 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.
+ #
+ # probably a good idea to remove read permission to
+ # suid binaries.
+ fperms u+s,o-r,g-r /usr/bin/skeyinit /usr/bin/skeyinfo
+
+ dodoc README CHANGES md4.copyright md5.copyright
+ use doc && dodoc ${DISTDIR}/rfc2289.txt
+
+ 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."
+ einfo
+ einfo "This version of skey contains numerous updates, and is not totally"
+ einfo "syntax or source compatible with the previous version."
+ einfo "Please report any issues with skey using http://bugs.gentoo.org/"
+}
+