Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/skey: skey-1.1.5-r8.ebuild ChangeLog
Date: Wed, 04 Jan 2012 23:12:13
Message-Id: 20120104231202.031892004B@flycatcher.gentoo.org
1 ulm 12/01/04 23:12:01
2
3 Modified: ChangeLog
4 Added: skey-1.1.5-r8.ebuild
5 Log:
6 Install static library only with USE=static-libs.
7 Move all patches into patchset on Gentoo mirrors.
8 Update ebuild to EAPI 4.
9
10 (Portage version: 2.1.10.44/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.15 sys-auth/skey/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?rev=1.15&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?rev=1.15&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?r1=1.14&r2=1.15
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v
22 retrieving revision 1.14
23 retrieving revision 1.15
24 diff -u -r1.14 -r1.15
25 --- ChangeLog 30 Jan 2011 18:17:44 -0000 1.14
26 +++ ChangeLog 4 Jan 2012 23:12:01 -0000 1.15
27 @@ -1,6 +1,12 @@
28 # ChangeLog for sys-auth/skey
29 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v 1.14 2011/01/30 18:17:44 ulm Exp $
31 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v 1.15 2012/01/04 23:12:01 ulm Exp $
33 +
34 +*skey-1.1.5-r8 (04 Jan 2012)
35 +
36 + 04 Jan 2012; Ulrich Mueller <ulm@g.o> +skey-1.1.5-r8.ebuild:
37 + Install static library only with USE=static-libs. Move all patches into
38 + patchset on Gentoo mirrors. Update ebuild to EAPI 4.
39
40 30 Jan 2011; Ulrich Mueller <ulm@g.o> skey-1.1.5-r7.ebuild:
41 Add die statements throughout.
42 @@ -160,7 +166,7 @@
43 *skey-1.1.5-r4 (23 Sep 2004)
44
45 23 Sep 2004; Tavis Ormandy <taviso@g.o> +skey-1.1.5-r4.ebuild:
46 - do not include /etc/skey/skeykeys in the package, as quickpkg may package
47 + do not include /etc/skey/skeykeys in the package, as quickpkg may package
48 personal files. This also fixes the etc-update issue with #64974.
49
50 18 Sep 2004; Joshua Kinard <kumba@g.o> skey-1.1.5-r3.ebuild:
51 @@ -241,6 +247,6 @@
52 *skey-1.1.5 (05 Sep 2003)
53
54 05 Sep 2003; Tavis Ormandy <taviso@g.o> skey-1.1.5.ebuild:
55 - Initial import, Thanks to Jeb Campbell <jebc@×××××××××××.net> for
56 + Initial import, Thanks to Jeb Campbell <jebc@×××××××××××.net> for
57 submitting the ebuild in #11478
58
59
60
61
62 1.1 sys-auth/skey/skey-1.1.5-r8.ebuild
63
64 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/skey-1.1.5-r8.ebuild?rev=1.1&view=markup
65 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/skey-1.1.5-r8.ebuild?rev=1.1&content-type=text/plain
66
67 Index: skey-1.1.5-r8.ebuild
68 ===================================================================
69 # Copyright 1999-2012 Gentoo Foundation
70 # Distributed under the terms of the GNU General Public License v2
71 # $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/skey-1.1.5-r8.ebuild,v 1.1 2012/01/04 23:12:01 ulm Exp $
72
73 EAPI=4
74
75 inherit flag-o-matic eutils toolchain-funcs
76
77 DESCRIPTION="Linux Port of OpenBSD Single-key Password System"
78 HOMEPAGE="http://www.openbsd.org/faq/faq8.html#SKey"
79 SRC_URI="mirror://gentoo/${P}.tar.bz2
80 mirror://gentoo/skey-1.1.5-patches-1.tar.xz"
81
82 LICENSE="BSD MIT RSA-MD4 RSA-MD5 BEER-WARE"
83 SLOT="0"
84 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
85 IUSE="static-libs"
86
87 DEPEND="dev-lang/perl
88 app-arch/xz-utils"
89 RDEPEND="dev-lang/perl
90 sys-libs/cracklib"
91
92 src_prepare() {
93 EPATCH_SUFFIX=patch epatch
94 }
95
96 src_configure() {
97 tc-export CC
98 econf --sysconfdir=/etc/skey
99 }
100
101 src_install() {
102 dobin skey skeyinit skeyinfo
103 newbin skeyaudit.sh skeyaudit
104 newsbin skeyprune.pl skeyprune
105
106 dosym skey /usr/bin/otp-md4
107 dosym skey /usr/bin/otp-md5
108 dosym skey /usr/bin/otp-sha1
109
110 use static-libs && dolib.a libskey.a
111
112 doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skey.3 skeyprune.8
113
114 into /
115 dolib.so libskey.so.1.1.5 libskey.so.1.1 libskey.so.1 libskey.so
116 gen_usr_ldscript libskey.so
117
118 insinto /usr/include
119 doins skey.h
120
121 keepdir /etc/skey
122
123 # only root needs to have access to these files.
124 fperms g-rx,o-rx /etc/skey
125
126 # skeyinit and skeyinfo must be suid root so users
127 # can generate their passwords.
128 fperms u+s,og-r /usr/bin/skeyinit /usr/bin/skeyinfo
129
130 dodoc README CHANGES
131 }
132
133 pkg_postinst() {
134 # do not include /etc/skey/skeykeys in the package, as quickpkg
135 # may package sensitive information.
136 # This also fixes the etc-update issue with #64974.
137
138 # skeyinit will not function if this file is not present.
139 touch /etc/skey/skeykeys
140
141 # these permissions are applied by the skey system if missing.
142 chmod 0600 /etc/skey/skeykeys
143
144 elog "For an introduction into using s/key authentication, take"
145 elog "a look at the EXAMPLES section from the skey(1) manpage."
146 }