diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-03-19 11:51:07 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-03-19 11:51:07 +0000 |
commit | bbf334e5c06d8676968eb2327d560d97c76a4523 (patch) | |
tree | e2be7c9800aa6fed357f9dda0d7c5f9d20357b13 /sys-freebsd/freebsd-pam-modules | |
parent | Fix bug 293374 and sync with fedora to solve other issues (diff) | |
download | gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.tar.gz gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.tar.bz2 gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.zip |
bump to 8.0 from the bsd overlay
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-pam-modules')
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-8.0.ebuild | 48 |
2 files changed, 55 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index b8367cd7a312..10dd20fd4f51 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.25 2010/03/11 11:31:46 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.26 2010/03/19 11:51:02 aballier Exp $ + +*freebsd-pam-modules-8.0 (19 Mar 2010) + + 19 Mar 2010; Alexis Ballier <aballier@gentoo.org> + +freebsd-pam-modules-8.0.ebuild: + bump to 8.0 from the bsd overlay 11 Mar 2010; Alexis Ballier <aballier@gentoo.org> -files/5.4/README.pamd, -files/5.4/convert.pl, -files/5.4/pam.d/other, -files/5.4/pam.d/system, diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-8.0.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-8.0.ebuild new file mode 100644 index 000000000000..413817c0b57c --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-8.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 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-8.0.ebuild,v 1.1 2010/03/19 11:51:02 aballier Exp $ + +inherit bsdmk freebsd multilib pam + +DESCRIPTION="FreeBSD's PAM authentication modules" +SLOT="0" +KEYWORDS="~x86-fbsd ~sparc-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}/README.pamd" +} |