diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-06-27 20:54:01 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-06-27 20:54:01 +0000 |
commit | 579eb82bbf1ef810b06c1c888d1e06b7f6be1286 (patch) | |
tree | 1c8c5390dc16bbdb60be145ee1e6e5d43af0fcb2 | |
parent | keyword ~amd64-fbsd thanks to henning.f@swipnet.se, bug #473368 (diff) | |
download | gentoo-2-579eb82bbf1ef810b06c1c888d1e06b7f6be1286.tar.gz gentoo-2-579eb82bbf1ef810b06c1c888d1e06b7f6be1286.tar.bz2 gentoo-2-579eb82bbf1ef810b06c1c888d1e06b7f6be1286.zip |
do not build pam_krb5 as it has its own ebuild, bug #473368 by henning.f@swipnet.se
(Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/ChangeLog | 9 | ||||
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1-r1.ebuild | 45 |
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index a1a7d916e534..3bd3e8bb279f 100644 --- a/sys-freebsd/freebsd-pam-modules/ChangeLog +++ b/sys-freebsd/freebsd-pam-modules/ChangeLog @@ -1,6 +1,13 @@ # 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.40 2013/06/18 23:37:16 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.41 2013/06/27 20:54:01 aballier Exp $ + +*freebsd-pam-modules-9.1-r1 (27 Jun 2013) + + 27 Jun 2013; Alexis Ballier <aballier@gentoo.org> + +freebsd-pam-modules-9.1-r1.ebuild: + do not build pam_krb5 as it has its own ebuild, bug #473368 by + henning.f@swipnet.se 18 Jun 2013; Alexis Ballier <aballier@gentoo.org> -freebsd-pam-modules-7.2.ebuild, -freebsd-pam-modules-8.0.ebuild: diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1-r1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1-r1.ebuild new file mode 100644 index 000000000000..2d87e909a9e6 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.1-r1.ebuild @@ -0,0 +1,45 @@ +# 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.1-r1.ebuild,v 1.1 2013/06/27 20:54:01 aballier Exp $ + +inherit bsdmk freebsd multilib pam + +DESCRIPTION="FreeBSD's PAM authentication modules" +SLOT="0" +KEYWORDS="~amd64-fbsd ~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 + +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" +} |