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: ChangeLog skey-1.1.5-r9.ebuild
Date: Thu, 25 Jun 2015 21:41:14
Message-Id: 20150625214009.43CDDA52@oystercatcher.gentoo.org
1 ulm 15/06/25 21:40:09
2
3 Modified: ChangeLog
4 Added: skey-1.1.5-r9.ebuild
5 Log:
6 Fix compile failure with perl-5.22.0, bug 553148. Fix issue with missing timelocal.pl in skeyprune script.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
9
10 Revision Changes Path
11 1.28 sys-auth/skey/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 19 Jan 2014 20:08:26 -0000 1.27
24 +++ ChangeLog 25 Jun 2015 21:40:09 -0000 1.28
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/skey
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v 1.27 2014/01/19 20:08:26 vapier Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/ChangeLog,v 1.28 2015/06/25 21:40:09 ulm Exp $
31 +
32 +*skey-1.1.5-r9 (25 Jun 2015)
33 +
34 + 25 Jun 2015; Ulrich Müller <ulm@g.o> +skey-1.1.5-r9.ebuild:
35 + Fix compile failure with perl-5.22.0, bug 553148. Fix issue with missing
36 + timelocal.pl in skeyprune script.
37
38 19 Jan 2014; Mike Frysinger <vapier@g.o> skey-1.1.5-r8.ebuild:
39 Add arm64 love.
40
41
42
43 1.1 sys-auth/skey/skey-1.1.5-r9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/skey-1.1.5-r9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/skey/skey-1.1.5-r9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: skey-1.1.5-r9.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-auth/skey/skey-1.1.5-r9.ebuild,v 1.1 2015/06/25 21:40:09 ulm Exp $
53
54 EAPI=5
55
56 inherit flag-o-matic eutils toolchain-funcs
57
58 DESCRIPTION="Linux Port of OpenBSD Single-key Password System"
59 HOMEPAGE="http://www.openbsd.org/faq/faq8.html#SKey"
60 SRC_URI="mirror://gentoo/${P}.tar.bz2
61 http://dev.gentoo.org/~ulm/distfiles/${P}-patches-3.tar.xz"
62
63 LICENSE="BSD MIT RSA BEER-WARE"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
66 IUSE="static-libs"
67
68 DEPEND="dev-lang/perl
69 app-arch/xz-utils"
70 RDEPEND="dev-lang/perl
71 sys-libs/cracklib"
72
73 src_prepare() {
74 EPATCH_SUFFIX=patch epatch
75 }
76
77 src_configure() {
78 tc-export CC
79 econf --sysconfdir=/etc/skey
80 }
81
82 src_install() {
83 into /
84 dolib.so libskey.so{.${PV},.${PV%.*},.${PV%%.*},}
85
86 into /usr
87 dobin skey skeyinit skeyinfo
88 newbin skeyaudit.sh skeyaudit
89 newsbin skeyprune.pl skeyprune
90
91 dosym skey /usr/bin/otp-md4
92 dosym skey /usr/bin/otp-md5
93 dosym skey /usr/bin/otp-sha1
94
95 if use static-libs; then
96 dolib.a libskey.a
97 gen_usr_ldscript libskey.so
98 fi
99
100 doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skey.3 skeyprune.8
101
102 insinto /usr/include
103 doins skey.h
104
105 keepdir /etc/skey
106
107 # only root needs to have access to these files.
108 fperms go-rx /etc/skey
109
110 # skeyinit and skeyinfo must be suid root so users
111 # can generate their passwords.
112 fperms u+s,go-r /usr/bin/skeyinit /usr/bin/skeyinfo
113
114 dodoc README CHANGES
115 }
116
117 pkg_postinst() {
118 # do not include /etc/skey/skeykeys in the package, as quickpkg
119 # may package sensitive information.
120 # This also fixes the etc-update issue with #64974.
121
122 # skeyinit will not function if this file is not present.
123 touch /etc/skey/skeykeys
124
125 # these permissions are applied by the skey system if missing.
126 chmod 0600 /etc/skey/skeykeys
127
128 elog "For an introduction into using s/key authentication, take"
129 elog "a look at the EXAMPLES section from the skey(1) manpage."
130 }