diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-08-22 15:45:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-08-22 15:45:27 +0000 |
commit | c02f09076c4726b04c96d8bdcfada43a752e0f29 (patch) | |
tree | e5d35dbacbeeb98d35d065410f08844df6259355 /sys-freebsd/freebsd-pam-modules | |
parent | bump to rc2 (diff) | |
download | gentoo-2-c02f09076c4726b04c96d8bdcfada43a752e0f29.tar.gz gentoo-2-c02f09076c4726b04c96d8bdcfada43a752e0f29.tar.bz2 gentoo-2-c02f09076c4726b04c96d8bdcfada43a752e0f29.zip |
bump to rc2
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/freebsd-pam-modules')
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/ChangeLog | 9 | ||||
-rw-r--r-- | sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc2.ebuild | 47 |
2 files changed, 54 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index 67b377868ccf..e5998772a2b3 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.43 2013/08/10 02:28:47 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.44 2013/08/22 15:45:27 aballier Exp $ + +*freebsd-pam-modules-9.2_rc2 (22 Aug 2013) + + 22 Aug 2013; Alexis Ballier <aballier@gentoo.org> + +freebsd-pam-modules-9.2_rc2.ebuild: + bump to rc2 *freebsd-pam-modules-9.2_rc1 (10 Aug 2013) @@ -264,4 +270,3 @@ -freebsd-pam-modules-5.4_rc3.ebuild, +freebsd-pam-modules-5.4_rc3-r1.ebuild: New revision which installs pam configuration files. - diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc2.ebuild new file mode 100644 index 000000000000..fde2b32ae5b6 --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.2_rc2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 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-9.2_rc2.ebuild,v 1.1 2013/08/22 15:45:27 aballier Exp $ + +inherit bsdmk freebsd multilib pam + +DESCRIPTION="FreeBSD's PAM authentication modules" +SLOT="0" + +IUSE="kerberos nis" + +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" + SRC_URI="mirror://gentoo/${LIB}.tar.bz2" +fi + +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 + +PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch ) + +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() { + freebsd_src_unpack + + for module in pam_deny pam_passwdqc pam_permit pam_krb5; do + sed -i -e "s:${module}::" "${S}"/modules.inc + done +} + +src_install() { + mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" + + dodoc "${FILESDIR}/README.pamd" +} |