summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-11-06 12:55:48 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-11-06 12:55:48 +0000
commit00d6b85018679d305edab5a46c3be87448e0a6e0 (patch)
tree16ac226c16f782d6c32230b989ec6b201b899f7c /sys-freebsd/freebsd-pam-modules
parentbump to rc3 (diff)
downloadgentoo-2-00d6b85018679d305edab5a46c3be87448e0a6e0.tar.gz
gentoo-2-00d6b85018679d305edab5a46c3be87448e0a6e0.tar.bz2
gentoo-2-00d6b85018679d305edab5a46c3be87448e0a6e0.zip
bump to rc3
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/freebsd-pam-modules')
-rw-r--r--sys-freebsd/freebsd-pam-modules/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc3.ebuild48
2 files changed, 55 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog
index 8a82c8b1d4bf..02c0000605aa 100644
--- a/sys-freebsd/freebsd-pam-modules/ChangeLog
+++ b/sys-freebsd/freebsd-pam-modules/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-freebsd/freebsd-pam-modules
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.35 2012/10/14 15:25:16 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.36 2012/11/06 12:55:48 aballier Exp $
+
+*freebsd-pam-modules-9.1_rc3 (06 Nov 2012)
+
+ 06 Nov 2012; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-pam-modules-9.1_rc3.ebuild:
+ bump to rc3
*freebsd-pam-modules-9.1_rc2 (14 Oct 2012)
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc3.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc3.ebuild
new file mode 100644
index 000000000000..c605c0c70315
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc3.ebuild,v 1.1 2012/11/06 12:55:48 aballier Exp $
+
+inherit bsdmk freebsd multilib pam
+
+DESCRIPTION="FreeBSD's PAM authentication modules"
+SLOT="0"
+KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+
+IUSE="kerberos nis"
+
+SRC_URI="mirror://gentoo/${LIB}.tar.bz2"
+
+RDEPEND=">=sys-auth/openpam-20050201-r1
+ kerberos? ( dev-libs/openssl
+ virtual/krb5 )"
+DEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ =sys-freebsd/freebsd-sources-${RV}*"
+
+S=${WORKDIR}/lib/libpam/modules
+
+pkg_setup() {
+ # Avoid installing pam_ssh as that has its own ebuild.
+ mymakeopts="${mymakeopts} NO_OPENSSH= "
+ use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
+ use nis || mymakeopts="${mymakeopts} NO_NIS= "
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${WORKDIR}"/lib
+
+ for module in pam_deny pam_passwdqc pam_permit; do
+ sed -i -e "s:${module}::" "${S}"/modules.inc
+ done
+
+ # Avoid using static versions; use gentoo /lib/security dir
+ epatch "${FILESDIR}"/${PN}-9.0-gentoo.patch
+}
+
+src_install() {
+ mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed"
+
+ dodoc "${FILESDIR}/README.pamd"
+}