summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-09-11 17:10:11 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-09-11 17:10:11 +0000
commit18db42e8049bcef682206fb48d519fc90fd945ec (patch)
tree57f5829de3c04568bfa2ba5b892caf6ff44604a5 /sys-freebsd/freebsd-pam-modules
parentVersion bump. (diff)
downloadhistorical-18db42e8049bcef682206fb48d519fc90fd945ec.tar.gz
historical-18db42e8049bcef682206fb48d519fc90fd945ec.tar.bz2
historical-18db42e8049bcef682206fb48d519fc90fd945ec.zip
bump to 9.1_rc1 from bsd overlay by Yuta SATOH, bug #426838
Package-Manager: portage-2.2.0_alpha125/cvs/Linux x86_64
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_rc1.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 f487b3109f9e..3d91a4a4a6a9 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.33 2012/04/26 13:46:44 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.34 2012/09/11 16:55:30 aballier Exp $
+
+*freebsd-pam-modules-9.1_rc1 (11 Sep 2012)
+
+ 11 Sep 2012; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-pam-modules-9.1_rc1.ebuild:
+ bump to 9.1_rc1 from bsd overlay by Yuta SATOH, bug #426838
26 Apr 2012; Alexis Ballier <aballier@gentoo.org>
freebsd-pam-modules-9.0.ebuild:
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc1.ebuild
new file mode 100644
index 000000000000..86b644bf2228
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1_rc1.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_rc1.ebuild,v 1.1 2012/09/11 16:55:30 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"
+}