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/pam_skey: ChangeLog pam_skey-1.1.5-r4.ebuild
Date: Mon, 26 Aug 2013 16:32:49
Message-Id: 20130826163246.373B32004C@flycatcher.gentoo.org
1 ulm 13/08/26 16:32:46
2
3 Modified: ChangeLog
4 Added: pam_skey-1.1.5-r4.ebuild
5 Log:
6 Fix handling of status returned from skey_haskey. File access errors for the skeykeys file will now cause the module to return with status "authinfo_unavail" instead of "ignore".
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
9
10 Revision Changes Path
11 1.23 sys-auth/pam_skey/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 24 Mar 2012 17:34:17 -0000 1.22
24 +++ ChangeLog 26 Aug 2013 16:32:46 -0000 1.23
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-auth/pam_skey
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v 1.22 2012/03/24 17:34:17 ulm Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v 1.23 2013/08/26 16:32:46 ulm Exp $
31 +
32 +*pam_skey-1.1.5-r4 (26 Aug 2013)
33 +
34 + 26 Aug 2013; Ulrich Müller <ulm@g.o> +pam_skey-1.1.5-r4.ebuild:
35 + Fix handling of status returned from skey_haskey. File access errors for
36 + the skeykeys file will now cause the module to return with status
37 + "authinfo_unavail" instead of "ignore".
38
39 24 Mar 2012; Ulrich Müller <ulm@g.o> -pam_skey-1.1.5-r2.ebuild:
40 Remove old.
41
42
43
44 1.1 sys-auth/pam_skey/pam_skey-1.1.5-r4.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pam_skey-1.1.5-r4.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r4.ebuild,v 1.1 2013/08/26 16:32:46 ulm Exp $
54
55 EAPI=5
56
57 inherit eutils pam autotools multilib readme.gentoo
58
59 DESCRIPTION="PAM interface for the S/Key authentication system"
60 HOMEPAGE="http://freshmeat.net/projects/pam_skey/"
61 SRC_URI="http://dkorunic.net/tarballs/${P}.tar.gz
62 mirror://gentoo/${P}-patches-5.tar.xz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67
68 RDEPEND=">=sys-libs/pam-0.78-r3
69 >=sys-auth/skey-1.1.5-r4"
70 DEPEND="${RDEPEND}
71 app-arch/xz-utils"
72
73 DOCS="README INSTALL"
74 DOC_CONTENTS="To use the pam_skey module, you need to configure PAM
75 by adding a line like:
76 \n\nauth [success=done ignore=ignore auth_err=die default=bad] pam_skey.so\n
77 \nto an appropriate place in the /etc/pam.d/system-auth file.
78 Consult the README and INSTALL files in /usr/share/doc/${PF}
79 for detailed instructions.
80 \n\nPlease note that calling this module from unprivileged
81 applications, e.g. screensavers, is not supported.
82 \n\nError checking has become stricter in pam_skey-1.1.5-r4;
83 errors returned from the underlying skey library when accessing
84 the S/Key data base will no longer be ignored.
85 Make sure that your PAM configuration is correct."
86
87 src_prepare() {
88 EPATCH_SUFFIX=patch epatch
89 epatch_user
90
91 cd autoconf
92 eautoconf
93 eautoheader
94 mv configure defs.h.in .. || die "mv failed"
95 }
96
97 src_configure() {
98 econf --libdir="/$(get_libdir)" CFLAGS="${CFLAGS} -fPIC"
99 }
100
101 pkg_postinst() {
102 case ${REPLACING_VERSIONS} in
103 1.1.[45]|1.1.5-r[123]) FORCE_PRINT_ELOG=1 ;;
104 esac
105 readme.gentoo_print_elog
106 }