Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_ssh: ChangeLog pam_ssh-1.97-r3.ebuild
Date: Sun, 31 Oct 2010 17:54:10
Message-Id: 20101031175405.DE6BE20054@flycatcher.gentoo.org
1 flameeyes 10/10/31 17:54:05
2
3 Modified: ChangeLog
4 Added: pam_ssh-1.97-r3.ebuild
5 Log:
6 Finally fix bug #266603; thanks to Kevin Lyles for reporting, and the anonymous user for the patch.
7
8 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.44 sys-auth/pam_ssh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 25 Oct 2010 03:03:28 -0000 1.43
24 +++ ChangeLog 31 Oct 2010 17:54:05 -0000 1.44
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-auth/pam_ssh
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v 1.43 2010/10/25 03:03:28 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v 1.44 2010/10/31 17:54:05 flameeyes Exp $
30 +
31 +*pam_ssh-1.97-r3 (31 Oct 2010)
32 +
33 + 31 Oct 2010; Diego E. Pettenò <flameeyes@g.o>
34 + +pam_ssh-1.97-r3.ebuild, +files/pam_ssh-1.97-EOF.patch:
35 + Finally fix bug #266603; thanks to Kevin Lyles for reporting, and the
36 + anonymous user for the patch.
37
38 25 Oct 2010; Jeroen Roovers <jer@g.o> pam_ssh-1.97-r2.ebuild:
39 Stable for HPPA (bug #339176).
40
41
42
43 1.1 sys-auth/pam_ssh/pam_ssh-1.97-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pam_ssh-1.97-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r3.ebuild,v 1.1 2010/10/31 17:54:05 flameeyes Exp $
53
54 EAPI=2
55
56 inherit pam autotools flag-o-matic
57
58 DESCRIPTION="Uses ssh-agent to provide single sign-on"
59 HOMEPAGE="http://pam-ssh.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2"
61
62 LICENSE="BSD as-is"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
65 IUSE=""
66
67 # Doesn't work on OpenPAM; looks for OpenSSH at build time (bug
68 # #282993) and won't work with other implementations either
69 RDEPEND="sys-libs/pam
70 net-misc/openssh"
71
72 DEPEND="${RDEPEND}
73 sys-devel/libtool"
74
75 src_prepare() {
76 epatch "${FILESDIR}/${P}-doublefree.patch"
77 epatch "${FILESDIR}/${P}-EOF.patch"
78 eautoreconf
79 }
80
81 src_configure() {
82 # hide all the otherwise-exported symbols that may clash with
83 # other software loading the PAM modules (see bug #274924 as an
84 # example).
85 append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver
86
87 econf \
88 "--with-pam-dir=$(getpam_mod_dir)" \
89 || die "econf failed"
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "install failed"
94 dodoc AUTHORS ChangeLog NEWS README TODO || die
95
96 find "${D}" -name '*.la' -delete || die "Unable to remove libtool archives."
97 }
98
99 pkg_postinst() {
100 elog "You can enable pam_ssh for system authentication by enabling"
101 elog "the ssh USE flag on sys-auth/pambase."
102 }