diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-05 09:17:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-05 09:17:39 +0000 |
commit | 9a6daa8ba6013b23b6ebab181ae9aa24ee6dec55 (patch) | |
tree | 006b597b3256105ba2c4791e7ce587b9dec2dacf /sys-freebsd/freebsd-pam-modules | |
parent | stable on amd64 (diff) | |
download | historical-9a6daa8ba6013b23b6ebab181ae9aa24ee6dec55.tar.gz historical-9a6daa8ba6013b23b6ebab181ae9aa24ee6dec55.tar.bz2 historical-9a6daa8ba6013b23b6ebab181ae9aa24ee6dec55.zip |
Version 6.2_beta2.
Package-Manager: portage-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/"* +} |