diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-05 09:11:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-05 09:11:29 +0000 |
commit | b59098b8b1b667240a15f2289806329e93746ae3 (patch) | |
tree | 78bec621a644e777ff7bba22f9127639aa450bfc /sys-freebsd/freebsd-pam-modules | |
parent | Version 6.2_beta2. (diff) | |
download | gentoo-2-b59098b8b1b667240a15f2289806329e93746ae3.tar.gz gentoo-2-b59098b8b1b667240a15f2289806329e93746ae3.tar.bz2 gentoo-2-b59098b8b1b667240a15f2289806329e93746ae3.zip |
Version 6.2_beta2.
(Portage version: 2.1.2_pre2-r3)
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 95590e0765e5..9875bdcf42b9 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.9 2006/09/21 20:56:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.10 2006/10/05 09:11:29 flameeyes Exp $ + +*freebsd-pam-modules-6.2_beta2 (05 Oct 2006) + + 05 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-pam-modules-6.2_beta2.ebuild: + Version 6.2_beta2. *freebsd-pam-modules-6.2_beta1 (21 Sep 2006) diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta2 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta2 new file mode 100644 index 000000000000..e1581ab1fd94 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta2 @@ -0,0 +1,3 @@ +MD5 280ec9cccb1e34dabc8344d682dcfa23 freebsd-lib-6.2_beta2.tar.bz2 2669048 +RMD160 dfb33df2c853bf226034843fdc319a5e0781fcf7 freebsd-lib-6.2_beta2.tar.bz2 2669048 +SHA256 ee3f7c41c0991b0196cbb550ed6a97093f220efd9caac52705ef4f49050c4f14 freebsd-lib-6.2_beta2.tar.bz2 2669048 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta2.ebuild new file mode 100644 index 000000000000..d360f982cf41 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta2.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.2_beta2.ebuild,v 1.1 2006/10/05 09:11:29 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/"* +} |