summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2011-05-14 20:27:42 +0000
committerMatt Turner <mattst88@gentoo.org>2011-05-14 20:27:42 +0000
commit0c46786d76b5a38716bcb1a0c06a727038a63866 (patch)
treed168839c14c1587e5605315e29111dc88079522d /sys-auth/pam_mount
parentsys-boot/plymouth: fixed Manifest (diff)
downloadgentoo-2-0c46786d76b5a38716bcb1a0c06a727038a63866.tar.gz
gentoo-2-0c46786d76b5a38716bcb1a0c06a727038a63866.tar.bz2
gentoo-2-0c46786d76b5a38716bcb1a0c06a727038a63866.zip
Fix crypt use flag, add ssl and selinux use flags. Thanks to Sander Sweers for the patch! (Bug 363149)
(Portage version: 2.1.9.41/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/pam_mount')
-rw-r--r--sys-auth/pam_mount/ChangeLog6
-rw-r--r--sys-auth/pam_mount/pam_mount-2.10.ebuild30
2 files changed, 21 insertions, 15 deletions
diff --git a/sys-auth/pam_mount/ChangeLog b/sys-auth/pam_mount/ChangeLog
index 07aa369921db..3676f785261a 100644
--- a/sys-auth/pam_mount/ChangeLog
+++ b/sys-auth/pam_mount/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/pam_mount
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mount/ChangeLog,v 1.51 2011/04/17 00:58:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mount/ChangeLog,v 1.52 2011/05/14 20:27:42 mattst88 Exp $
+
+ 14 May 2011; Matt Turner <mattst88@gentoo.org> pam_mount-2.10.ebuild:
+ Fix crypt use flag, add ssl and selinux use flags. Thanks to Sander Sweers
+ for the patch! (Bug 363149)
*pam_mount-2.10 (17 Apr 2011)
diff --git a/sys-auth/pam_mount/pam_mount-2.10.ebuild b/sys-auth/pam_mount/pam_mount-2.10.ebuild
index e04ab878cc7e..b1341d89b0bf 100644
--- a/sys-auth/pam_mount/pam_mount-2.10.ebuild
+++ b/sys-auth/pam_mount/pam_mount-2.10.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mount/pam_mount-2.10.ebuild,v 1.1 2011/04/17 00:58:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mount/pam_mount-2.10.ebuild,v 1.2 2011/05/14 20:27:42 mattst88 Exp $
-EAPI=3
+EAPI=4
inherit multilib
@@ -14,26 +14,28 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="crypt"
-DEPEND=">=sys-libs/pam-0.99
- dev-libs/openssl
+IUSE="crypt ssl selinux"
+
+COMMON_DEPEND=">=sys-libs/pam-0.99
>=sys-libs/libhx-3.10.1
dev-libs/libxml2
- >=sys-fs/cryptsetup-1.1.0
+ crypt? ( >=sys-fs/cryptsetup-1.1.0 )
+ ssl? ( dev-libs/openssl )
+ selinux? ( sys-libs/libselinux )"
+DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig
app-arch/xz-utils"
-RDEPEND=">=sys-libs/pam-0.99
- dev-libs/openssl
- >=sys-libs/libhx-3.10.1
- dev-libs/libxml2
- >=sys-fs/cryptsetup-1.1.0
+RDEPEND="${COMMON_DEPEND}
sys-process/lsof"
src_configure() {
- econf --with-slibdir="/$(get_libdir)" || die "econf failed"
+ econf --with-slibdir="/$(get_libdir)" \
+ $(use_with crypt cryptsetup) \
+ $(use_with ssl crypto) \
+ $(use_with selinux)
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc doc/*.txt || die "dodoc failed"
+ emake DESTDIR="${D}" install
+ dodoc doc/*.txt
}