summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 01:39:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 01:39:15 +0000
commit17114580ed52ab2f8ea90f355ada7a1b438e05fa (patch)
treef6fd5bb597bf462287e1406dfca9b34178a346a1 /sys-freebsd/freebsd-pam-modules
parentVersion bump to 6.2-RC1. (diff)
downloadgentoo-2-17114580ed52ab2f8ea90f355ada7a1b438e05fa.tar.gz
gentoo-2-17114580ed52ab2f8ea90f355ada7a1b438e05fa.tar.bz2
gentoo-2-17114580ed52ab2f8ea90f355ada7a1b438e05fa.zip
Version bump to 6.2-RC1.
(Portage version: 2.1.2_rc2)
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_rc13
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc1.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 bb5840325211..3b7d6d900308 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.15 2006/11/18 14:49:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.16 2006/11/19 01:39:15 flameeyes Exp $
+
+*freebsd-pam-modules-6.2_rc1 (19 Nov 2006)
+
+ 19 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +freebsd-pam-modules-6.2_rc1.ebuild:
+ Version bump to 6.2-RC1.
18 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
-freebsd-pam-modules-6.2_beta2.ebuild:
diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc1 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc1
new file mode 100644
index 000000000000..3c78948dba70
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_rc1
@@ -0,0 +1,3 @@
+MD5 da12553353b5d1c57b7e9e4ad879bdcd freebsd-lib-6.2_rc1.tar.bz2 2669033
+RMD160 4faa7e29fbc0ee9b1e086a4bbafc42ecd6de597a freebsd-lib-6.2_rc1.tar.bz2 2669033
+SHA256 518154f455e0edf665796fde2801d35f50af24ca525d0dd9d4a78a79471fd1dc freebsd-lib-6.2_rc1.tar.bz2 2669033
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc1.ebuild
new file mode 100644
index 000000000000..0270fba89812
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_rc1.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_rc1.ebuild,v 1.1 2006/11/19 01:39:15 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/"*
+}