summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-11-09 09:17:13 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-11-09 09:17:13 +0000
commit61f5bd334ff23f5fc04f8d648d195dccd96f1a00 (patch)
treeb268042b7f37c22286c6538a8b93443f77caae80 /sys-freebsd
parentbump to 9.2 (diff)
downloadgentoo-2-61f5bd334ff23f5fc04f8d648d195dccd96f1a00.tar.gz
gentoo-2-61f5bd334ff23f5fc04f8d648d195dccd96f1a00.tar.bz2
gentoo-2-61f5bd334ff23f5fc04f8d648d195dccd96f1a00.zip
bump to 9.2
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-pam-modules/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2.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 eb919ebe6294..72e595e94aad 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.45 2013/08/26 20:43:44 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.46 2013/11/09 09:17:13 aballier Exp $
+
+*freebsd-pam-modules-9.2 (09 Nov 2013)
+
+ 09 Nov 2013; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-pam-modules-9.2.ebuild:
+ bump to 9.2
*freebsd-pam-modules-9.2_rc3 (26 Aug 2013)
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2.ebuild
new file mode 100644
index 000000000000..891b46525a5c
--- /dev/null
+++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2.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.ebuild,v 1.1 2013/11/09 09:17:13 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"
+}