summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-26 20:43:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-26 20:43:44 +0000
commit7d93c185590d5de45bc45cb1ee9f85c04c49571d (patch)
tree39a5298fb8f727b3cf65ca0f07b31e9194d397ca
parentbump to rc3 (diff)
downloadgentoo-2-7d93c185590d5de45bc45cb1ee9f85c04c49571d.tar.gz
gentoo-2-7d93c185590d5de45bc45cb1ee9f85c04c49571d.tar.bz2
gentoo-2-7d93c185590d5de45bc45cb1ee9f85c04c49571d.zip
bump to rc3
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r--sys-freebsd/freebsd-pam-modules/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc3.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog
index e5998772a2b3..eb919ebe6294 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.44 2013/08/22 15:45:27 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.45 2013/08/26 20:43:44 aballier Exp $
+
+*freebsd-pam-modules-9.2_rc3 (26 Aug 2013)
+
+ 26 Aug 2013; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-pam-modules-9.2_rc3.ebuild:
+ bump to rc3
*freebsd-pam-modules-9.2_rc2 (22 Aug 2013)
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc3.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc3.ebuild
new file mode 100644
index 000000000000..0f4a71bafb18
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc3.ebuild
@@ -0,0 +1,47 @@
+# 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.2_rc3.ebuild,v 1.1 2013/08/26 20:43:44 aballier Exp $
+
+inherit bsdmk freebsd multilib pam
+
+DESCRIPTION="FreeBSD's PAM authentication modules"
+SLOT="0"
+
+IUSE="kerberos nis"
+
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+ SRC_URI="mirror://gentoo/${LIB}.tar.bz2"
+fi
+
+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 pam_krb5; do
+ sed -i -e "s:${module}::" "${S}"/modules.inc
+ done
+}
+
+src_install() {
+ mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed"
+
+ dodoc "${FILESDIR}/README.pamd"
+}