diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-08-10 02:28:47 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-08-10 02:28:47 +0000 |
commit | f4f6edee03db3e47cb70e92f61ceb8a5ddc6d4c0 (patch) | |
tree | 593736044b98a7d979bacbeb0ee840e75737f7ce /sys-freebsd | |
parent | Version bump, based on work of Yuta SATOH in bug #476646 (diff) | |
download | gentoo-2-f4f6edee03db3e47cb70e92f61ceb8a5ddc6d4c0.tar.gz gentoo-2-f4f6edee03db3e47cb70e92f61ceb8a5ddc6d4c0.tar.bz2 gentoo-2-f4f6edee03db3e47cb70e92f61ceb8a5ddc6d4c0.zip |
Version bump, based on work of Yuta SATOH in bug #476646
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc1.ebuild | 47 |
2 files changed, 54 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index 564e7af84925..67b377868ccf 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.42 2013/08/09 15:03:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.43 2013/08/10 02:28:47 aballier Exp $ + +*freebsd-pam-modules-9.2_rc1 (10 Aug 2013) + + 10 Aug 2013; Alexis Ballier <aballier@gentoo.org> + +freebsd-pam-modules-9.2_rc1.ebuild: + Version bump, based on work of Yuta SATOH in bug #476646 09 Aug 2013; Alexis Ballier <aballier@gentoo.org> -freebsd-pam-modules-9.0.ebuild, -freebsd-pam-modules-9.1.ebuild: diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc1.ebuild new file mode 100644 index 000000000000..d87a86e1bf9e --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc1.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_rc1.ebuild,v 1.1 2013/08/10 02:28:47 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" +} |