diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-21 20:56:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-21 20:56:29 +0000 |
commit | 6c64a29190d193ad9a322ee502d1c047ccf7648d (patch) | |
tree | 0c9b4331d370bee943210fb686e094ddd6cb61b2 /sys-freebsd/freebsd-pam-modules | |
parent | Add 6.2_beta1 ebuilds. (diff) | |
download | gentoo-2-6c64a29190d193ad9a322ee502d1c047ccf7648d.tar.gz gentoo-2-6c64a29190d193ad9a322ee502d1c047ccf7648d.tar.bz2 gentoo-2-6c64a29190d193ad9a322ee502d1c047ccf7648d.zip |
Add 6.2_beta1 ebuilds.
(Portage version: 2.1.2_pre1)
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 6b09decb7bc3..95590e0765e5 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.8 2006/07/27 01:25:51 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.9 2006/09/21 20:56:29 flameeyes Exp $ + +*freebsd-pam-modules-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-pam-modules-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-pam-modules-6.0.ebuild: diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 new file mode 100644 index 000000000000..74f28031a9ca --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 @@ -0,0 +1,3 @@ +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.ebuild new file mode 100644 index 000000000000..a0882d3df79f --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.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_beta1.ebuild,v 1.1 2006/09/21 20:56: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/"* +} |