diff options
-rw-r--r-- | sys-auth/nss-pam-ldapd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/nss-pam-ldapd/Manifest | 30 | ||||
-rw-r--r-- | sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild | 121 |
3 files changed, 143 insertions, 15 deletions
diff --git a/sys-auth/nss-pam-ldapd/ChangeLog b/sys-auth/nss-pam-ldapd/ChangeLog index c84fde277e52..d18a84e7cee8 100644 --- a/sys-auth/nss-pam-ldapd/ChangeLog +++ b/sys-auth/nss-pam-ldapd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-auth/nss-pam-ldapd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-pam-ldapd/ChangeLog,v 1.23 2015/05/15 18:12:17 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-pam-ldapd/ChangeLog,v 1.24 2015/06/15 18:27:15 chutzpah Exp $ + +*nss-pam-ldapd-0.9.6 (15 Jun 2015) + + 15 Jun 2015; Patrick McLean <chutzpah@gentoo.org> +nss-pam-ldapd-0.9.6.ebuild: + Version bump. *nss-pam-ldapd-0.8.14-r2 (15 May 2015) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 30ebe11d2974..d5afac7c0565 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -9,24 +9,26 @@ AUX nslcd.service 324 SHA256 9a194c0cc0f43fac5de3ac974cf8efef1911e233c05d7cdef22 AUX nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch 403 SHA256 d47afa040e8c282bf7f294583ae2c11a66c12cc702082c138eebaf972afcfa68 SHA512 c8cccb044a641f673f12db9717bda4c0c4d91bd1933342595d8f3f540449459c5cf14263133487195b223670d450873f608e3ce5b6f1ca775ca7fe0180a9f962 WHIRLPOOL 916c2b506e9133864c4063bc6ab420b6c6a7759b8b7adc6f6964b9b33bbcd5966b89135bf37eb3a511646806a11073210a68be9ea379fb214539f4a41934cc22 DIST nss-pam-ldapd-0.8.14.tar.gz 508949 SHA256 a29ceb9b7eda386ca38f16115ffec61425462cca6b5e560c44c3d51edc03a63f SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 WHIRLPOOL 5d30088d73e464bf380dd5e7d34f8c5200680712693c97ee1f1df1880b4680236d9168ac7ec08b161ae463236c0feddc2171442a956c872113caa6e2b07a6bb8 DIST nss-pam-ldapd-0.9.5.tar.gz 750988 SHA256 49080058d85f60213c1b661a899ffe44e30770b5034e5a6ce48486a8d92bee6c SHA512 78df39c7db10b8787ad4e3b4ccc4c764f390db85c1ef3da1de5344cca668fc54945537425e1c89c7899c66c6246652475386009b8fcd3f4d3144b790b1fc4015 WHIRLPOOL c6bbae2c174df83fd27ba90ec3c7a9cbbb20ef1e1b048c8b730735897d356bd2087289c8e5e669f3681f615cc466c540ddc78893edcf487f796e3a5396a30ccf +DIST nss-pam-ldapd-0.9.6.tar.gz 754681 SHA256 101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 SHA512 213bc55554290042623ef4cce071045bab569a824aef7d960e3aa9c2f64f0c4928c5c28a4b5d9225fd35ea5026bb11f710d9c620f790e9d82c73d89b272e972a WHIRLPOOL 8902d48a6e889e697f7ddf9bd7d481493a0e2e302223317647f24fd3cd10b176cf66287553b8eafc2b996d0c073055afeb42b4f29d93e8f05f3967bb0aeaee16 EBUILD nss-pam-ldapd-0.8.14-r2.ebuild 2144 SHA256 f36b6e4138dc6346f8440fc530f2be42dd4856243faec07058079f9d55f7b562 SHA512 ca6749205a478d4d7f526c46164fa8ce0c22b8ad8d18af6e3c0dfc9f41ca37f1bfeb29e428bc3836a94aae4a810a954851842aa527f424a7aa4bf4fad3307756 WHIRLPOOL 0755f53e9f56e745c37753d62747ac8efc01404e778648b353076d1ee43815411f6db60b404faa600602299f819decdad9b7d364442b76e9cc43f91c1d162ed4 EBUILD nss-pam-ldapd-0.9.5-r1.ebuild 3121 SHA256 786ecef074556bcf3dfbca459f5cacde6c5d8dc30cec2d634b964b8ddc769dda SHA512 a1dcb24faead16545afb073d97753c030cb0e8401238a0d36907fcffdda73052e4b2eee8aef1cd6203ba414bdbd25a8b09a2b0c0d278472539b08ddcba2bfb09 WHIRLPOOL 6469669f168a15c8fefb0cac2b3cefde8ff1147f79f771a111dfec25604c1deade7665cf2695ebbcb7f829c399abdf302c9c6717f645265cdf6e813eeb631520 -MISC ChangeLog 5986 SHA256 18b13dfd5d05b0c4a99c9b2653046ad7aadf8d7f19a7cdee6ce6ddefe6511eaa SHA512 1b29b5c8be9c92307942a7cf6b187e5d4155c5a6f9af6b99f1361734f5ccde73e74eadce46cde684638dcca9bbf47d8cc4e3a09a77dc3b814513a6e08d662ce0 WHIRLPOOL 05a78c34895373fd19ca709d99b6cd4f06971b0567bd5ddd2f039ac2ef00d970ca71e814b7a3b63b45ff09efee5b4609ca045ad7fe76d057fa2ad7338258d1ee +EBUILD nss-pam-ldapd-0.9.6.ebuild 3112 SHA256 acd4855af7c46613900863d024bb753649591f23239298e5b3db9dc5aa6ea36c SHA512 8f8ddaf4c2b5cb451c14617e45187992908e2c18a9cd3dd2b22f6867d9fd6d53a5c7ea90d75e87900a64ec0059eb483078cf649617683bbc3eae2aab9b058025 WHIRLPOOL 1a509a239f8a4f42ca27b1305cbad81dc77aa22fcda3dd84f4d5acdb676b19854b98c46fd707adee559b2c0ec7456b4ab7872a9a69aa5a7dfbcf216bd8118be8 +MISC ChangeLog 6114 SHA256 dde425227ef41a84e6dad2c97c7e45509656dae51e92c00bbb4fbbeb0d386e83 SHA512 68d0f535c038401ea91af26decaebda7989f561c134ae00aced88a3829d901662f7f63468a91ad5d91e17368ed572c870064d3dc9c4a980169d38cef512aff25 WHIRLPOOL 79942a37020eba544b992e8510d110c33dbfc611a7cee7323e3876434edb0f8b69bf5cd05c640f15a93095218a40e7695bca68c9297a8ec3ec9982f57c826a62 MISC metadata.xml 1036 SHA256 81bb1d41ad1502e088be7041ee4ab827d770bf21c5eb4617553d45fa27356218 SHA512 532558a294e12659b86691c324fe9d4e90530aa56d985a450057363e3c966bb1a18d354be536106b83c24b7bff54c4a8d3852ba8be7a1e5e270921c7828507bf WHIRLPOOL 7a73016266565c39cf732006384ea266ce00f8119786cebd7fb39e40408b07bad864601a96d747f7488c92acb39e1c96e3f170dc4d708d8dc5b61f12fc8a26b2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVVjckAAoJEGSje+quGaTorq0P/2OGl6TYV3oz9bc0FAeo5L2v -/I3TuQJ0ISZNhqhbiEvTLPOo3tMM9dECfRc1XMldPjdxyTaSHC8/IwLKKs1GhcA+ -7L3JmaPdkE556Myb+1/jFo5ClpTMJcGiT6RKRmRYBeySdEFZoox5QWlecEiDNmj7 -XjBT9FscuymWRLqqjk6Kwfi0NPwGdgGM7kSLvvKfDumhut/v24O2LlN3pycZLFFx -i8yUSaEHV7Ytr7q2Q4s65HzjG06lSCNaBgcsHsRbpu3VEJmgP0EeyCgKbQrWhBAM -pAItMW+3fm0LbKLQzHSb5BMCV+B5zMYrMWVjXdbt6G2kcIPGfZp2G5yIqxODeskd -50L1ZBaX98W3rQ5FpEGem9hvhiYumuLOME+alNQJqki/hncfrM6Te3uMNJKSs/NL -MYnKOIaMQYb27Hq2gir8oIRsZNyvogBifeXZ7Un59dudC4O7AFGPOPeynUtn7bNn -IEMra1I8TVAQX3Mt8HxRMAiotXOy9WGX0kiGzNrMKPn7qhsJ3KSSqqwJnbTFxmvH -ByaN629ijdcK3mtJnLv57NKZ+nWa/cmWlOc6cL1OjFGc7/3pZYrrR3j55EZ1LpXz -Mkgd9EO2UZvj6SCHVWphNXDNvnqZ0Ga4+IzGoYekOelyLZyco//YyiozLsQT3R/t -RYXvcquFH5gXw2yNUX8R -=ejAs +iQIcBAEBCAAGBQJVfxkLAAoJEHy/RO9cNQiD7UUQAJDRH6yJPECrJ2Cyw44UPNh5 +rYQWfOPU+Wu7n1Jfn4oupxwdsJffyTo7JMg2QyBWF8gRGwDv2514A/xLn6YZdRXM +SD1VRABSxAPSyc4d0YbLcwgYZ6o8mAzenv2BLY+T+NQ2fQqONnIFCPm/X2GCzHAV +XsYt6NJ6hoqmA3oCZYj6ZyBZcsJjFl3o0vbJcwsiusbYWKG2Fvmw9cHpjyRcQj91 +6IaymVO2jQKL1EEQxAO0CwwU0ElvktqMnwy+kun7Cx2/vdkQ0Sq6KVx0Cz1AHYh0 +Emz4bkytiRp+U+8irD0Z8opE9nyWVpmJ4Ab5S5uhtIQAq+YJ6l5ZZh50JIgzSy5M +PPxOc6UedsG/Dy6UYgV6sg0Q6fCjtRMGdNfR3Xu5u1zBl65dHPrrA7byhn335bVL +4FvoRZR6nN4nIQbxBeMIXGGPykbqX4Ij8eaUUoIpBA/ys3nmYbr89GZU4Pn77r/p +niPN/FxxLPBMSKr+Y0fUtMBnBwNQGvIzmIpMbBOMQnmUPGJBYhNsWeMz0G450oN7 +zhvvWq8P3HYasAilR+2dC4GeVOZ2YasDKAUiw01Uemf6EaLVsIuhM+nUw0wRAaOA +03PvQ+TomYBWUDszuM2BngrO2CcvngZ2jSubKs1QMHeCQjCzbYHfF6Y1PYfejAES +AQKy35zsto4dlzH6u7wF +=70c5 -----END PGP SIGNATURE----- diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild new file mode 100644 index 000000000000..103dd3282704 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild,v 1.1 2015/06/15 18:27:15 chutzpah Exp $ + +EAPI=5 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/" +SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="debug kerberos +pam sasl test +utils" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + pam? ( virtual/pam[${MULTILIB_USEDEP}] ) + utils? ( ${PYTHON_DEPS} ) + !sys-auth/nss_ldap + !sys-auth/pam_ldap" +RDEPEND="${COMMON_DEP}" +DEPEND="${COMMON_DEP} + test? ( + ${PYTHON_DEPS} + dev-python/pylint[${PYTHON_USEDEP}] + ) + sys-devel/automake" + +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + epatch_user + use utils && python_setup +} + +multilib_src_configure() { + local -a myconf + + myconf=( + --disable-utils + --enable-warnings + --with-ldap-lib=openldap + --with-ldap-conf-file=/etc/nslcd.conf + --with-nslcd-pidfile=/run/nslcd/nslcd.pid + --with-nslcd-socket=/run/nslcd/socket + $(usex x86-fbsd '--with-nss-flavour=' '--with-nss-flavour=' 'freebsd' 'glibc') + $(use_enable debug) + $(use_enable kerberos) + $(use_enable pam) + $(use_enable sasl) + ) + + # nss libraries always go in /lib on Gentoo + if multilib_is_native_abi ; then + myconf+=("--with-pam-seclib-dir=${EPREFIX}/$(get_libdir)/security") + myconf+=("--libdir=${EPREFIX}/$(get_libdir)") + else + myconf+=("--with-pam-seclib-dir=/$(get_libdir)/security") + myconf+=("--libdir=/$(get_libdir)") + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install_all() { + local script + + newinitd "${FILESDIR}"/nslcd-init-r1 nslcd + + insinto /usr/share/nss-pam-ldapd + doins "${WORKDIR}/${P}/nslcd.conf" + + fperms o-r /etc/nslcd.conf + + if use utils; then + python_moduleinto nslcd + python_foreach_impl && python_domodule utils/*.py + + for script in chsh getent; do + python_foreach_impl python_newscript utils/${script}.py ${script}.ldap + done + fi + + systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf + systemd_dounit "${FILESDIR}"/nslcd.service +} + +multilib_src_test() { + python_foreach_impl emake check +} + +pkg_postinst() { + echo + elog "For this to work you must configure /etc/nslcd.conf" + elog "This configuration is similar to pam_ldap's /etc/ldap.conf" + echo + elog "In order to use nss-pam-ldapd, nslcd needs to be running. You can" + elog "start it like this:" + elog " # /etc/init.d/nslcd start" + echo + elog "You can add it to the default runlevel like so:" + elog " # rc-update add nslcd default" + elog + elog "If you are upgrading, keep in mind that /etc/nss-ldapd.conf" + elog " is now named /etc/nslcd.conf" + echo +} |