summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-01 16:12:36 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-01 16:12:36 +0000
commit190fbf924a128494712f9bf25293388cd6d5034f (patch)
tree648c6ae42fa6b5004f8dcb300e711d624ba472c2 /sys-freebsd/freebsd-pam-modules
parentBump to 6.2_beta3. (diff)
downloadgentoo-2-190fbf924a128494712f9bf25293388cd6d5034f.tar.gz
gentoo-2-190fbf924a128494712f9bf25293388cd6d5034f.tar.bz2
gentoo-2-190fbf924a128494712f9bf25293388cd6d5034f.zip
Bump to 6.2_beta3.
(Portage version: 2.1.2_rc1-r1)
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/files/digest-freebsd-pam-modules-6.2_beta33
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta3.ebuild49
3 files changed, 59 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog
index 29f709b0a071..999328f67de4 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.13 2006/10/19 04:32:38 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.14 2006/11/01 16:12:36 flameeyes Exp $
+
+*freebsd-pam-modules-6.2_beta3 (01 Nov 2006)
+
+ 01 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +freebsd-pam-modules-6.2_beta3.ebuild:
+ Bump to 6.2_beta3.
19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Remove 6.2_beta1 ebuild.
diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta3 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta3
new file mode 100644
index 000000000000..0e7342e473af
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta3
@@ -0,0 +1,3 @@
+MD5 035e7b7d5f8dddcbe9e3c2d44428574b freebsd-lib-6.2_beta3.tar.bz2 2668544
+RMD160 9b21ec424b2b86c0dfa252322e9784ebddce3e53 freebsd-lib-6.2_beta3.tar.bz2 2668544
+SHA256 7aed09b38fedeb174bfd91caa8c2f38240c2f5a0c21d4c50e7eaef5a42daba09 freebsd-lib-6.2_beta3.tar.bz2 2668544
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta3.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta3.ebuild
new file mode 100644
index 000000000000..043c564d4c3e
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta3.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_beta3.ebuild,v 1.1 2006/11/01 16:12:36 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/"*
+}