diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-02 21:56:40 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-02 21:56:40 +0000 |
commit | 97a2c603df8bbe2d869e24c47b62fa3428c3d453 (patch) | |
tree | 4472e737d0b68d6084b5d6c45c404c5d9b9ba235 /sys-freebsd/freebsd-pam-modules | |
parent | Update to 6.1_rc2. (diff) | |
download | gentoo-2-97a2c603df8bbe2d869e24c47b62fa3428c3d453.tar.gz gentoo-2-97a2c603df8bbe2d869e24c47b62fa3428c3d453.tar.bz2 gentoo-2-97a2c603df8bbe2d869e24c47b62fa3428c3d453.zip |
Update to 6.1_rc2.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'sys-freebsd/freebsd-pam-modules')
3 files changed, 59 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index 477850fe1c64..550586a15223 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.5 2006/05/01 01:24:09 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.6 2006/05/02 21:56:40 flameeyes Exp $ + +*freebsd-pam-modules-6.1_rc2 (02 May 2006) + + 02 May 2006; Diego Pettenò <flameeyes@gentoo.org> + -freebsd-pam-modules-6.1_rc1.ebuild, +freebsd-pam-modules-6.1_rc2.ebuild: + Update to 6.1_rc2. *freebsd-pam-modules-6.1_rc1 (01 May 2006) diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1_rc2 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1_rc2 new file mode 100644 index 000000000000..1b25ae0e5a49 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1_rc2 @@ -0,0 +1,3 @@ +MD5 0b01eb3e71750e54a6e1ae346a15311a freebsd-lib-6.1_rc2.tar.bz2 2613579 +RMD160 ed3f9dc5afe9896ee685934978f888c816562574 freebsd-lib-6.1_rc2.tar.bz2 2613579 +SHA256 0a12857f45472fc8c825b088d05c77ce1c8725b0c4615f1a670924911b4a5108 freebsd-lib-6.1_rc2.tar.bz2 2613579 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1_rc2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1_rc2.ebuild new file mode 100644 index 000000000000..b11da47fac8f --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1_rc2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 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-6.1_rc2.ebuild,v 1.1 2006/05/02 21:56:40 flameeyes Exp $ + +inherit bsdmk freebsd multilib pam + +DESCRIPTION="FreeBSD's PAM authentication modules" +SLOT="0" +KEYWORDS="~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 + +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}/5.4/README.pamd" + dopamd "${FILESDIR}/5.4/pam.d/"* +} |