summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-19 22:27:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-19 22:27:28 +0000
commit8a6a5fa17ee2f0dea7ddd9c014721cf1962a9294 (patch)
tree2abcf2de69c8cd02536b2a98aff05859611eddba /app-admin/skey
parentremove shadow from DEPEND #103055 (diff)
downloadhistorical-8a6a5fa17ee2f0dea7ddd9c014721cf1962a9294.tar.gz
historical-8a6a5fa17ee2f0dea7ddd9c014721cf1962a9294.tar.bz2
historical-8a6a5fa17ee2f0dea7ddd9c014721cf1962a9294.zip
Remove shadow from DEPEND #103055 and clean up a bit.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-admin/skey')
-rw-r--r--app-admin/skey/ChangeLog8
-rw-r--r--app-admin/skey/Manifest15
-rw-r--r--app-admin/skey/files/skey-1.1.5-bind-now.patch15
-rw-r--r--app-admin/skey/skey-1.1.5-r5.ebuild41
4 files changed, 50 insertions, 29 deletions
diff --git a/app-admin/skey/ChangeLog b/app-admin/skey/ChangeLog
index 62aaa16bd5f4..f93cf35bdec6 100644
--- a/app-admin/skey/ChangeLog
+++ b/app-admin/skey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/skey
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.32 2005/04/08 10:26:39 corsair Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/ChangeLog,v 1.33 2005/08/19 22:27:28 vapier Exp $
+
+ 19 Aug 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/skey-1.1.5-bind-now.patch, skey-1.1.5-r5.ebuild:
+ Remove shadow from DEPEND #103055 and clean up a bit.
08 Apr 2005; Markus Rothe <corsair@gentoo.org> skey-1.1.5-r4.ebuild:
Stable on ppc64
diff --git a/app-admin/skey/Manifest b/app-admin/skey/Manifest
index 327d946226ce..3f8d7e87379f 100644
--- a/app-admin/skey/Manifest
+++ b/app-admin/skey/Manifest
@@ -2,10 +2,10 @@
Hash: SHA1
MD5 fb946a077c4e2ae03befc41f3a095b39 metadata.xml 1425
-MD5 98d156836d0d6187ae3c4c439a85dc81 skey-1.1.5-r4.ebuild 2867
-MD5 1584c7ca1816ec4b10ba8442ed6d04e2 skey-1.1.5-r5.ebuild 3083
+MD5 51af7d055d99ec024bc5b235922abfb3 skey-1.1.5-r4.ebuild 2850
+MD5 daacd36d4917edd685704e3ce80e1ac0 skey-1.1.5-r5.ebuild 3038
MD5 8839a8cf3f9f54680781d3a88fddd378 skey-1.1.5-r3.ebuild 2277
-MD5 32831c90c0d1f0fad577c37e72aa2800 ChangeLog 4423
+MD5 e055584c39cc0315d0679b9830946184 ChangeLog 4587
MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r4 62
MD5 f227550f3aee8a1988f3bbc6176cbaf8 files/skey-1.1.5-otp.diff 1437
MD5 2bc2fd632a13d33a3832ec3bf2449c1b files/skey-login_name_max.diff 386
@@ -13,10 +13,11 @@ MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r3 62
MD5 ab3f803b5ad68dc89dfb5b544342b403 files/skey-1.1.5-fPIC.patch 271
MD5 c402251257567c1f0321c9c426144ced files/digest-skey-1.1.5-r5 62
MD5 c862d14e1478ec91ed4c5b97f124ea08 files/skey-1.1.5-gentoo.diff.gz 37614
+MD5 a9bc02f7e56c25767809dc3d613f0413 files/skey-1.1.5-bind-now.patch 566
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC0AFFgIKl8Uu19MoRAjjVAJ4mckWxiNkD2o/nJmRXkvyYlSw/AACfRcYZ
-kjkB6w2CBhVBXHBrbUpYWFM=
-=LS9+
+iD8DBQFDBlzvgIKl8Uu19MoRAkG/AJ0UOijv7N97SZDISCk4ba1lqvRs4ACePrUJ
+GsfMlCvew2uY8L1zOS9W+dU=
+=6bTZ
-----END PGP SIGNATURE-----
diff --git a/app-admin/skey/files/skey-1.1.5-bind-now.patch b/app-admin/skey/files/skey-1.1.5-bind-now.patch
new file mode 100644
index 000000000000..a56f81e9fc30
--- /dev/null
+++ b/app-admin/skey/files/skey-1.1.5-bind-now.patch
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2005-08-19 18:14:48.000000000 -0400
++++ Makefile.in 2005-08-19 18:15:45.000000000 -0400
+@@ -67,10 +67,10 @@
+ ${CC} -o $@ ${SKEYOBJS} ${LDFLAGS} -lskey ${LIBS}
+
+ skeyinit: libskey.so ${SKEYINITOBJS}
+- ${CC} -o $@ ${SKEYINITOBJS} ${LDFLAGS} -lskey ${LIBS}
++ ${CC} -o $@ ${SKEYINITOBJS} ${LDFLAGS} -lskey ${LIBS} -Wl,-z,now
+
+ skeyinfo: libskey.so ${SKEYINFOOBJS}
+- ${CC} -o $@ ${SKEYINFOOBJS} ${LDFLAGS} -lskey ${LIBS}
++ ${CC} -o $@ ${SKEYINFOOBJS} ${LDFLAGS} -lskey ${LIBS} -Wl,-z,now
+
+ ${MANPAGES} ${SCRIPTS}::
+ ${FIXPATHSCMD} ${srcdir}/$@
diff --git a/app-admin/skey/skey-1.1.5-r5.ebuild b/app-admin/skey/skey-1.1.5-r5.ebuild
index 23bfc8532305..618df4a9336f 100644
--- a/app-admin/skey/skey-1.1.5-r5.ebuild
+++ b/app-admin/skey/skey-1.1.5-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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-r5.ebuild,v 1.3 2005/07/09 16:53:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/skey/skey-1.1.5-r5.ebuild,v 1.4 2005/08/19 22:27:28 vapier Exp $
inherit flag-o-matic ccc eutils
@@ -13,52 +13,53 @@ 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.
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}
+ sys-libs/cracklib"
src_unpack() {
- unpack ${A} ; cd ${S}
+ 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
+ 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}"/skey-login_name_max.diff
- epatch ${FILESDIR}/${P}-fPIC.patch
+ epatch "${FILESDIR}"/${P}-fPIC.patch
+ epatch "${FILESDIR}"/${P}-bind-now.patch
# allow invokation as otp-foo. #71015
# (03 Mar 2005) -taviso.
- epatch ${FILESDIR}/${P}-otp.diff
+ epatch "${FILESDIR}"/${P}-otp.diff
# 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
+ sed -i \
+ -e 's:/etc/skeykeys:/etc/skey/skeykeys:g' \
+ skeyprune.pl skeyprune.8 || die
# skeyprune uses a case sensitive regex to check for zeroed entries
- sed -i 's#\(if ( ! /.*/\)#\1i#g' skeyprune.pl
+ sed -i \
+ -e 's:\(if ( ! /.*/\):\1i:g' \
+ skeyprune.pl || die
# 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
+}
+src_compile() {
econf --sysconfdir=/etc/skey || die
emake || die
}
@@ -74,7 +75,7 @@ src_install() {
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
+ dolib.so libskey.so.1.1.5 libskey.so.1.1 libskey.so.1 libskey.so || die
insinto /usr/include
doins skey.h
@@ -88,7 +89,7 @@ src_install() {
# can generate their passwords.
fperms u+s,og-r /usr/bin/skeyinit /usr/bin/skeyinfo
- dodoc README CHANGES md4.copyright md5.copyright
+ dodoc README CHANGES
prepallman
}