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-r2.ebuild |
Date: | Wed, 08 Sep 2010 19:39:02 |
Message-Id: | 20100908193859.7179620051@flycatcher.gentoo.org |
1 | ulm 10/09/08 19:38:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pam_skey-1.1.5-r2.ebuild |
5 | Log: |
6 | New module option "require_skey" for mandatory authentication, bug 336449. |
7 | |
8 | (Portage version: 2.2_rc71/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.13 sys-auth/pam_skey/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?rev=1.13&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?rev=1.13&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/ChangeLog?r1=1.12&r2=1.13 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v |
20 | retrieving revision 1.12 |
21 | retrieving revision 1.13 |
22 | diff -u -r1.12 -r1.13 |
23 | --- ChangeLog 23 May 2010 19:58:27 -0000 1.12 |
24 | +++ ChangeLog 8 Sep 2010 19:38:59 -0000 1.13 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-auth/pam_skey |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v 1.12 2010/05/23 19:58:27 ulm Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/ChangeLog,v 1.13 2010/09/08 19:38:59 ulm Exp $ |
30 | + |
31 | +*pam_skey-1.1.5-r2 (08 Sep 2010) |
32 | + |
33 | + 08 Sep 2010; Ulrich Mueller <ulm@g.o> +pam_skey-1.1.5-r2.ebuild: |
34 | + New module option "require_skey" that makes S/Key authentication mandatory. |
35 | + Patch contributed by Jan Sembera <fis@××××.cz> in bug 336449. |
36 | |
37 | 23 May 2010; Ulrich Mueller <ulm@g.o> -pam_skey-1.1.5.ebuild: |
38 | Remove old. |
39 | |
40 | |
41 | |
42 | 1.1 sys-auth/pam_skey/pam_skey-1.1.5-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pam_skey-1.1.5-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_skey/pam_skey-1.1.5-r2.ebuild,v 1.1 2010/09/08 19:38:59 ulm Exp $ |
52 | |
53 | inherit eutils pam autotools multilib |
54 | |
55 | DESCRIPTION="PAM interface for the S/Key authentication system" |
56 | HOMEPAGE="http://freshmeat.net/projects/pam_skey/" |
57 | SRC_URI="http://dkorunic.net/tarballs/${P}.tar.gz |
58 | mirror://gentoo/${P}-patches-2.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="" |
64 | |
65 | DEPEND=">=sys-libs/pam-0.78-r3 |
66 | >=sys-auth/skey-1.1.5-r4" |
67 | RDEPEND="${DEPEND}" |
68 | |
69 | src_unpack() { |
70 | unpack ${A} |
71 | cd "${S}" |
72 | EPATCH_SUFFIX=patch epatch |
73 | |
74 | cd autoconf |
75 | eautoconf |
76 | eautoheader |
77 | mv configure defs.h.in .. || die "mv failed" |
78 | } |
79 | |
80 | src_compile() { |
81 | econf --libdir="/$(get_libdir)" CFLAGS="${CFLAGS} -fPIC" \ |
82 | || die "econf failed" |
83 | emake || die "emake failed" |
84 | } |
85 | |
86 | src_install() { |
87 | emake DESTDIR="${D}" install || die "install failed" |
88 | dodoc README INSTALL |
89 | } |
90 | |
91 | pkg_postinst() { |
92 | elog "To use this, you need to add something like" |
93 | elog |
94 | elog "auth [success=done ignore=ignore auth_err=die default=bad] pam_skey.so" |
95 | elog "auth sufficient pam_unix.so likeauth nullok try_first_pass" |
96 | elog |
97 | elog "to an appropriate place in /etc/pam.d/system-auth" |
98 | elog "Consult the documentation for instructions." |
99 | } |