summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-01-27 21:26:27 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-01-27 21:26:27 +0000
commit344d82474d84838bc12c1e495a0cd2c0d918d3a9 (patch)
treeefacc2c80b6e1bb6e898990a2339b8a134815cfd /sys-freebsd/freebsd-pam-modules
parentBump to 9.1 (diff)
downloadgentoo-2-344d82474d84838bc12c1e495a0cd2c0d918d3a9.tar.gz
gentoo-2-344d82474d84838bc12c1e495a0cd2c0d918d3a9.tar.bz2
gentoo-2-344d82474d84838bc12c1e495a0cd2c0d918d3a9.zip
Bump to 9.1
(Portage version: 2.2.0_alpha161/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/ChangeLog10
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1.ebuild45
2 files changed, 53 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog
index 0244b2284176..80fdbf76c257 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.37 2012/11/24 11:26:01 aballier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.38 2013/01/27 21:26:27 aballier Exp $
+
+*freebsd-pam-modules-9.1 (27 Jan 2013)
+
+ 27 Jan 2013; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-pam-modules-9.1.ebuild:
+ Bump to 9.1
24 Nov 2012; Alexis Ballier <aballier@gentoo.org>
freebsd-pam-modules-9.1_rc3.ebuild:
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1.ebuild
new file mode 100644
index 000000000000..69d77d93ba52
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 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.ebuild,v 1.1 2013/01/27 21:26:27 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
+
+PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch )
+
+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() {
+ freebsd_src_unpack
+
+ for module in pam_deny pam_passwdqc pam_permit; do
+ sed -i -e "s:${module}::" "${S}"/modules.inc
+ done
+}
+
+src_install() {
+ mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed"
+
+ dodoc "${FILESDIR}/README.pamd"
+}