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-r1.ebuild
Date: Sat, 01 Aug 2009 22:45:40
Message-Id: E1MXNKc-0004AM-Ss@stork.gentoo.org
1 flameeyes 09/08/01 22:45:38
2
3 Modified: ChangeLog
4 Added: pam_ssh-1.97-r1.ebuild
5 Log:
6 Add patch to avoid doublefree, thanks to TGL in bug #279538.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.30 sys-auth/pam_ssh/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_ssh/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_ssh/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_ssh/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 29 Jul 2009 21:16:06 -0000 1.29
23 +++ ChangeLog 1 Aug 2009 22:45:38 -0000 1.30
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-auth/pam_ssh
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v 1.29 2009/07/29 21:16:06 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v 1.30 2009/08/01 22:45:38 flameeyes Exp $
29 +
30 +*pam_ssh-1.97-r1 (01 Aug 2009)
31 +
32 + 01 Aug 2009; Diego E. Pettenò <flameeyes@g.o>
33 + +pam_ssh-1.97-r1.ebuild, +files/pam_ssh-1.97-doublefree.patch:
34 + Add patch to avoid doublefree, thanks to TGL in bug #279538.
35
36 29 Jul 2009; Markus Meier <maekke@g.o> pam_ssh-1.97.ebuild:
37 amd64/x86 stable, bug #263579
38
39
40
41 1.1 sys-auth/pam_ssh/pam_ssh-1.97-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pam_ssh-1.97-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r1.ebuild,v 1.1 2009/08/01 22:45:38 flameeyes Exp $
51
52 EAPI=2
53
54 inherit pam autotools
55
56 DESCRIPTION="Uses ssh-agent to provide single sign-on"
57 HOMEPAGE="http://pam-ssh.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2"
59
60 LICENSE="BSD as-is"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE=""
64
65 # Doesn't work on OpenPAM.
66 DEPEND="sys-libs/pam
67 sys-devel/libtool"
68
69 RDEPEND="sys-libs/pam
70 virtual/ssh"
71
72 src_prepare() {
73 epatch "${FILESDIR}/${P}-doublefree.patch"
74 eautoreconf
75 }
76
77 src_configure() {
78 econf \
79 "--with-pam-dir=$(getpam_mod_dir)" \
80 || die "econf failed"
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install || die "install failed"
85 dodoc AUTHORS ChangeLog NEWS README TODO || die
86
87 find "${D}" -name '*.la' -delete || die "Unable to remove libtool archives."
88 }
89
90 pkg_postinst() {
91 elog "You can enable pam_ssh for system authentication by enabling"
92 elog "the ssh USE flag on sys-auth/pambase."
93 }