diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-09 07:45:23 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-09 07:45:23 +0000 |
commit | 60d3953b5bbcb71fd758e45e83b8399584a7ea41 (patch) | |
tree | dec820338fd6aaf083b5e2c0d316e52eb9fdefa9 /sys-freebsd/freebsd-pam-modules | |
parent | Update to 6.1-RELEASE and patch to skip unloadable libraries. (diff) | |
download | historical-60d3953b5bbcb71fd758e45e83b8399584a7ea41.tar.gz historical-60d3953b5bbcb71fd758e45e83b8399584a7ea41.tar.bz2 historical-60d3953b5bbcb71fd758e45e83b8399584a7ea41.zip |
Update to 6.1-RELEASE.
Package-Manager: portage-2.1_pre10-r5
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 550586a15223..19a5b595db71 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.6 2006/05/02 21:56:40 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.7 2006/05/09 07:38:36 flameeyes Exp $ + +*freebsd-pam-modules-6.1 (09 May 2006) + + 09 May 2006; Diego Pettenò <flameeyes@gentoo.org> + -freebsd-pam-modules-6.1_rc2.ebuild, +freebsd-pam-modules-6.1.ebuild: + Update to 6.1-RELEASE. *freebsd-pam-modules-6.1_rc2 (02 May 2006) diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1 new file mode 100644 index 000000000000..26df127ad223 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.1 @@ -0,0 +1,3 @@ +MD5 f33af43501169d9167c71c3a48a033c2 freebsd-lib-6.1.tar.bz2 2613584 +RMD160 f71aad95ef2bac094bdab9e317a99fb866fba042 freebsd-lib-6.1.tar.bz2 2613584 +SHA256 6ecb49695dc135e64cea949cb7e9b9998b15cb962797cdafc735a7e244744c37 freebsd-lib-6.1.tar.bz2 2613584 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1.ebuild new file mode 100644 index 000000000000..21da961c45ca --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.1.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.ebuild,v 1.1 2006/05/09 07:38:36 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/"* +} |