summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-pam-modules/ChangeLog9
-rw-r--r--sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc23
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc2.ebuild49
3 files changed, 60 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog
index 3b7d6d900308..03aa15bb480d 100644
--- a/sys-freebsd/freebsd-pam-modules/ChangeLog
+++ b/sys-freebsd/freebsd-pam-modules/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-freebsd/freebsd-pam-modules
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.16 2006/11/19 01:39:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.17 2006/12/29 15:18:33 flameeyes Exp $
+
+*freebsd-pam-modules-6.2_rc2 (29 Dec 2006)
+
+ 29 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -freebsd-pam-modules-6.2_beta3.ebuild,
+ -freebsd-pam-modules-6.2_rc1.ebuild, +freebsd-pam-modules-6.2_rc2.ebuild:
+ Bump to rc2 and remove older versions.
*freebsd-pam-modules-6.2_rc1 (19 Nov 2006)
diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc2 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc2
new file mode 100644
index 000000000000..9f0fa777ee88
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc2
@@ -0,0 +1,3 @@
+MD5 f2c0ffe3aa4a618e3738a11dda1e3feb freebsd-lib-6.2_rc2.tar.bz2 2670872
+RMD160 bd8b9837acfde404bed998ba3ef5450bb380b779 freebsd-lib-6.2_rc2.tar.bz2 2670872
+SHA256 b805264da9f1826d2edb9f5b946ebaae5371fcce146623e4ed695a187c1a4993 freebsd-lib-6.2_rc2.tar.bz2 2670872
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc2.ebuild
new file mode 100644
index 000000000000..72acd15154eb
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 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-6.2_rc2.ebuild,v 1.1 2006/12/29 15:18:33 flameeyes Exp $
+
+inherit bsdmk freebsd multilib pam
+
+DESCRIPTION="FreeBSD's PAM authentication modules"
+SLOT="0"
+KEYWORDS="~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}-6.0-gentoo.patch
+}
+
+src_install() {
+ mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed"
+
+ dodoc "${FILESDIR}/5.4/README.pamd"
+ dopamd "${FILESDIR}/5.4/pam.d/"*
+}