From 2df1684739ab9c7c684b5e0829f8fe45b414f809 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 29 Sep 2010 21:20:13 +0000 Subject: Fix dependencies over OpenSSH (bug #282993; thanks to Csaba Tóth for reporting and Constanze Hausner for the solution). Also cleanup old versions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.2_rc88/cvs/Linux x86_64 --- sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild') diff --git a/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild b/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild index cce4a58da572..1908a50b642e 100644 --- a/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild +++ b/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild,v 1.2 2010/08/07 12:45:27 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.97-r2.ebuild,v 1.3 2010/09/29 21:20:13 flameeyes Exp $ EAPI=2 @@ -15,12 +15,13 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" IUSE="" -# Doesn't work on OpenPAM. -DEPEND="sys-libs/pam - sys-devel/libtool" - +# Doesn't work on OpenPAM; looks for OpenSSH at build time (bug +# #282993) and won't work with other implementations either RDEPEND="sys-libs/pam - virtual/ssh" + net-misc/openssh" + +DEPEND="${RDEPEND} + sys-devel/libtool" src_prepare() { epatch "${FILESDIR}/${P}-doublefree.patch" -- cgit v1.2.3-65-gdbad