[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: d517de23c2621246d5f9d3fc13a08c11e1dcc391 Author: Matthew Thode gentoo org> AuthorDate: Sat Apr 13 15:37:53 2024 + Commit: Matthew Thode gentoo org> CommitDate: Sat Apr 13 15:37:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d517de23 sys-auth/nss-pam-ldapd: enable py3.12 Closes: https://bugs.gentoo.org/929824 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index 0f8f3074c0d5..e84c116ffdc6 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal DESCRIPTION="NSS module for name lookups using LDAP" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index dea33acdbfbb..ea0d0a14c8e4 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal DESCRIPTION="NSS module for name lookups using LDAP"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: fee661594e46acd2a877d815a2f735babd1ec3ee Author: Matoro Mahri matoro tk> AuthorDate: Fri Jan 19 17:01:15 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Fri Jan 19 23:08:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee66159 sys-auth/nss-pam-ldapd: Keyword 0.9.12-r3 ppc, #902219 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ionen Wolkens gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index bb818b9c0a9e..dea33acdbfbb 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" ${PYTHON_REQUIRED_USE}
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: de0837b34ba8597fde66f5385c694ddb4a24982e Author: Sam James gentoo org> AuthorDate: Sun Jan 14 04:18:41 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 14 04:18:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0837b3 sys-auth/nss-pam-ldapd: disable py3.9 Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index be8cf405f24b..0f8f3074c0d5 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal DESCRIPTION="NSS module for name lookups using LDAP" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index 45bec6750bfa..bb818b9c0a9e 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal DESCRIPTION="NSS module for name lookups using LDAP"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: a8e57b37d64f0846e166836533c7e0a0cfb37628 Author: Sam James gentoo org> AuthorDate: Sun Jan 14 04:17:21 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 14 04:17:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e57b37 sys-auth/nss-pam-ldapd: fix Python REQUIRED_USE The package appears to need Python at build-time too so fix REQUIRED_USE accordingly per https://projects.gentoo.org/python/guide/multi.html#additional-build-time-python-use. Note that I've not investigated if it really does use Python at build-time, just making things consistent here. Bug: https://bugs.gentoo.org/891745 Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 3 ++- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index 474304460092..be8cf405f24b 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,6 +15,7 @@ SLOT="0" KEYWORDS="amd64 arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} utils? ( ${PYTHON_REQUIRED_USE} ) test? ( ${PYTHON_REQUIRED_USE} pynslcd ) " diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index ad51ea51a204..45bec6750bfa 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -15,6 +15,7 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} utils? ( ${PYTHON_REQUIRED_USE} ) test? ( ${PYTHON_REQUIRED_USE} pynslcd ) "
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 3a4a567fa9e13bbd4c3a16f053444377dcfc76c9 Author: Matoro Mahri matoro tk> AuthorDate: Sat Jan 13 19:33:00 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 14 04:13:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4a567f sys-auth/nss-pam-ldapd: Keyword 0.9.12-r3 arm, #902219 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index cd1a50ce5be8..ad51ea51a204 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 0fe8ceba6427e70207fd19a196a853731c01021f Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 23 19:59:19 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 23 19:59:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe8ceba sys-auth/nss-pam-ldapd: Stabilize 0.9.12-r3 amd64, #920084 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index df2aa6b4554c..cd1a50ce5be8 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: b24b2383f5819b015b20186052a8de67d334c3bd Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 16 07:09:28 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 16 07:09:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24b2383 sys-auth/nss-pam-ldapd: Stabilize 0.9.12-r3 x86, #920084 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index cac6c0e7ae00..002896040d73 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 21a5ce836183418861ac5d6f5bd2fff54273a5ae Author: Sam James gentoo org> AuthorDate: Wed Jun 28 07:44:35 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jun 28 07:50:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a5ce83 sys-auth/nss-pam-ldapd: add missing selinux policy dep Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild index 2f0098518878..b151900c2b92 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86" -IUSE="debug kerberos +pam pynslcd sasl test +utils" +IUSE="debug kerberos +pam pynslcd sasl selinux test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} ) test? ( ${PYTHON_REQUIRED_USE} pynslcd ) @@ -41,6 +41,7 @@ BDEPEND=" ${PYTHON_DEPS} test? ( dev-python/pylint[${PYTHON_USEDEP}] ) " +RDEPEND+=" selinux? ( sec-policy/selinux-nslcd )" PATCHES=( "${FILESDIR}"/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: 090dc863c60b149b5942951fb2326472c6e70281 Author: Cristian Othón Martínez Vera cfuga mx> AuthorDate: Thu Mar 16 22:42:35 2023 + Commit: Sam James gentoo org> CommitDate: Mon Mar 20 05:29:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090dc863 sys-auth/nss-pam-ldapd: fix musl build * add sys-libs/musl-nscd as dependency for musl, to fix ```unknown type name nss_status_t``` error * patch for missing NETDB_INTERNAL Closes: https://bugs.gentoo.org/713612 Closes: https://bugs.gentoo.org/716272 Signed-off-by: Cristian Othón Martínez Vera cfuga.mx> Signed-off-by: Sam James gentoo.org> .../files/nss-pam-ldapd-0.9.12-netdb-defines.patch | 26 .../nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 163 + 2 files changed, 189 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch new file mode 100644 index ..2036da4fd7b1 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch @@ -0,0 +1,26 @@ +Bug: https://bugs.gentoo.org/716272 + +--- a/nss/hosts.c b/nss/hosts.c +@@ -49,6 +49,9 @@ + *h_errnop = NO_RECOVERY; \ + return NSS_STATUS_UNAVAIL; + ++#ifndef NETDB_INTERNAL ++#define NETDB_INTERNAL -1 ++#endif + #undef ERROR_OUT_BUFERROR + #define ERROR_OUT_BUFERROR(fp) \ + *errnop = ERANGE; \ +--- a/nss/networks.c b/nss/networks.c +@@ -49,6 +49,9 @@ + *h_errnop = NO_RECOVERY; \ + return NSS_STATUS_UNAVAIL; + ++#ifndef NETDB_INTERNAL ++#define NETDB_INTERNAL -1 ++#endif + #undef ERROR_OUT_BUFERROR + #define ERROR_OUT_BUFERROR(fp) \ + *errnop = ERANGE; \ diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild new file mode 100644 index ..2f0098518878 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} pynslcd ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-group/nslcd + acct-user/nslcd + net-nds/openldap:=[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + sys-libs/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + elibc_musl? ( sys-libs/musl-nscd ) + !sys-auth/nss_ldap + !sys-auth/pam_ldap +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + test? ( dev-python/pylint[${PYTHON_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}"/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-use-mkstemp.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-relative-imports.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests-py39.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.12-netdb-defines.patch +) + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && python_setup +} + +src_prepare() { + default + + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" + mv pynslcd/pynslcd.py pynslcd/main.py || die + + eautoreconf +} + +multilib_src_configure() { + local myconf=( + --disable-utils + --enable-warnings + --with-ldap-lib=openldap + --with-ldap-conf-file="${EPREFIX}"/etc/nslcd.conf + --with-nslcd-pidfile=/run/nslcd/nslcd.pid + --with-nslcd-socket=/run/nslcd/socket + --with-nss-flavour=glibc + $(use_enable pynslcd) + $(use_enable debug) + $(use_enable kerberos) + $(use_enable pam) + $(use_enable sasl) + + # nss libraries always go in /lib on Gentoo + --with-pam-seclib-dir="${EPREFIX}"/$(get_libdir)/security +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 01eb142be1a74a0ea2a4727a082844df7cd02658 Author: Matoro Mahri users noreply github com> AuthorDate: Thu Mar 2 01:11:54 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri Mar 3 06:25:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01eb142b sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 sparc, #889292 Signed-off-by: Matoro Mahri users.noreply.github.com> Signed-off-by: Viorel Munteanu gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index ccf1c56b1085..0dc9f747f3cf 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 69754653e402188fa6d8156de187365d8d66c076 Author: Matoro Mahri users noreply github com> AuthorDate: Mon Feb 27 03:01:20 2023 + Commit: Sam James gentoo org> CommitDate: Tue Feb 28 01:30:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69754653 sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 hppa, #889292 Signed-off-by: Matoro Mahri users.noreply.github.com> Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index a45bd318eadf..ccf1c56b1085 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: cbab9307256eff27b91344ca8fc9f82a9f381b12 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Feb 26 18:22:02 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Feb 26 18:22:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbab9307 sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 arm, #889292 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index d2f3384c35e7..a45bd318eadf 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: c543ecc8608bdfceb04f7b8b1b092675803918eb Author: Matoro Mahri users noreply github com> AuthorDate: Fri Feb 24 19:41:29 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Feb 26 18:15:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c543ecc8 sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 ia64, #889292 Signed-off-by: Matoro Mahri users.noreply.github.com> Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index bfb9799aa94f..d2f3384c35e7 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 961cbd3b93efd25214306643f5eb250c9fd62924 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 13 12:39:30 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 13 12:39:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=961cbd3b sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 ppc64, #889292 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index 1737750faf6b..e56efddc2329 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: b8e78ec8bb18e0520857f0d128cc6a27cd890ef6 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 13 12:39:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 13 12:39:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e78ec8 sys-auth/nss-pam-ldapd: Keyword 0.9.12-r2 ppc, #889292 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index 187613b5f998..1737750faf6b 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~ppc x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 2a32fc2c682df44bea4cb0661c719765ee081a40 Author: David Seifert gentoo org> AuthorDate: Sun Jan 1 18:24:47 2023 + Commit: David Seifert gentoo org> CommitDate: Sun Jan 1 18:24:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a32fc2c sys-auth/nss-pam-ldapd: update EAPI 7 -> 8 Signed-off-by: David Seifert gentoo.org> ...12-r1.ebuild => nss-pam-ldapd-0.9.12-r2.ebuild} | 100 ++--- 1 file changed, 45 insertions(+), 55 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild similarity index 72% rename from sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild rename to sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild index 88f0e013b023..187613b5f998 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) -inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles +PYTHON_COMPAT=( python3_{8..11} ) +inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal DESCRIPTION="NSS module for name lookups using LDAP" HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; @@ -14,9 +14,13 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} pynslcd ) +" RESTRICT="!test? ( test )" -COMMON_DEP=" +RDEPEND=" acct-group/nslcd acct-user/nslcd net-nds/openldap:=[${MULTILIB_USEDEP}] @@ -31,34 +35,27 @@ COMMON_DEP=" !sys-auth/nss_ldap !sys-auth/pam_ldap " -RDEPEND="${COMMON_DEP}" -DEPEND="${COMMON_DEP} - test? ( - ${PYTHON_DEPS} - dev-python/pylint[${PYTHON_USEDEP}] - ) -" +DEPEND="${RDEPEND}" BDEPEND=" ${PYTHON_DEPS} - sys-devel/automake -" - -REQUIRED_USE=" - utils? ( ${PYTHON_REQUIRED_USE} ) - test? ( ${PYTHON_REQUIRED_USE} pynslcd ) + test? ( dev-python/pylint[${PYTHON_USEDEP}] ) " PATCHES=( - "${FILESDIR}/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-use-mkstemp.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-relative-imports.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-tests.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-tests-py39.patch" + "${FILESDIR}"/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-use-mkstemp.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-relative-imports.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests.patch + "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests-py39.patch ) +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && python_setup +} + src_prepare() { default - use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" mv pynslcd/pynslcd.py pynslcd/main.py || die @@ -66,11 +63,11 @@ src_prepare() { } multilib_src_configure() { - local -a myconf=( + local myconf=( --disable-utils --enable-warnings --with-ldap-lib=openldap - --with-ldap-conf-file=/etc/nslcd.conf + --with-ldap-conf-file="${EPREFIX}"/etc/nslcd.conf --with-nslcd-pidfile=/run/nslcd/nslcd.pid --with-nslcd-socket=/run/nslcd/socket --with-nss-flavour=glibc @@ -79,40 +76,43 @@ multilib_src_configure() { $(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 + # nss libraries always go in /lib on Gentoo + --with-pam-seclib-dir="${EPREFIX}"/$(get_libdir)/security + --libdir="${EPREFIX}"/$(get_libdir) + ) ECONF_SOURCE="${S}" econf "${myconf[@]}" } multilib_src_test() { + python_test() { + cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy python files for tests" + nonfatal emake check || die "tests failed with ${EPYTHON}" + } + pushd "${BUILD_DIR}" >/dev/null || die ln -s ../pynslcd/constants.py utils/constants.py || die python_foreach_impl python_test popd >/dev/null || die }
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 659fdfb4de723fd0aabd22eed5053c1fcce5cb8b Author: Sam James gentoo org> AuthorDate: Wed Mar 23 00:04:11 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 23 00:04:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659fdfb4 sys-auth/nss-pam-ldapd: add subslot dep on OpenLDAP New OpenLDAP breaks ABI (changes SONAME) Signed-off-by: Sam James gentoo.org> .../{nss-pam-ldapd-0.9.12.ebuild => nss-pam-ldapd-0.9.12-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild similarity index 99% rename from sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild rename to sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild index ec02a5427df5..88f0e013b023 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r1.ebuild @@ -19,7 +19,7 @@ RESTRICT="!test? ( test )" COMMON_DEP=" acct-group/nslcd acct-user/nslcd - net-nds/openldap[${MULTILIB_USEDEP}] + net-nds/openldap:=[${MULTILIB_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) sys-libs/pam[${MULTILIB_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: a1927f42d255ff1f3d8e7ffef8711a51b8363bbd Author: Matthew Thode gentoo org> AuthorDate: Sat Jan 22 03:12:24 2022 + Commit: Matthew Thode gentoo org> CommitDate: Sat Jan 22 03:13:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1927f42 sys-auth/nss-pam-ldapd: 0.9.11 cleanup Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/Manifest| 1 - .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 171 - 2 files changed, 172 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 1719a7b91843..7c743cefa992 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,2 +1 @@ -DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 DIST nss-pam-ldapd-0.9.12.tar.gz 791983 BLAKE2B af580d400230db709f7ac09720edd6127b3b26c6987d1e8f6d6535ad8e68fd8cb5cf2a3319e4456fb2af28aba6528f7a5cdc28463ccfee747dbbf6abc35eee87 SHA512 5eca4851a9bcb2779548d193a363a143d6106bfc6463b8d3f0c2d5d7d227ec1e680861383d4813f40b44d1be2ce5f7ed019d838f7f6796e15f96f7411d3bb8f6 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild deleted file mode 100644 index ec02a5427df5.. --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles - -DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug kerberos +pam pynslcd sasl test +utils" -RESTRICT="!test? ( test )" - -COMMON_DEP=" - acct-group/nslcd - acct-user/nslcd - net-nds/openldap[${MULTILIB_USEDEP}] - sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - sys-libs/pam[${MULTILIB_USEDEP}] - utils? ( ${PYTHON_DEPS} ) - pynslcd? ( - dev-python/python-ldap[${PYTHON_USEDEP}] - dev-python/python-daemon[${PYTHON_USEDEP}] - ) - !sys-auth/nss_ldap - !sys-auth/pam_ldap -" -RDEPEND="${COMMON_DEP}" -DEPEND="${COMMON_DEP} - test? ( - ${PYTHON_DEPS} - dev-python/pylint[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - ${PYTHON_DEPS} - sys-devel/automake -" - -REQUIRED_USE=" - utils? ( ${PYTHON_REQUIRED_USE} ) - test? ( ${PYTHON_REQUIRED_USE} pynslcd ) -" - -PATCHES=( - "${FILESDIR}/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-use-mkstemp.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-relative-imports.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-tests.patch" - "${FILESDIR}/nss-pam-ldapd-0.9.11-tests-py39.patch" -) - -src_prepare() { - default - use utils && python_setup - touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" - mv pynslcd/pynslcd.py pynslcd/main.py || die - - eautoreconf -} - -multilib_src_configure() { - local -a 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 - --with-nss-flavour=glibc - $(use_enable pynslcd) - $(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_test() { - pushd "${BUILD_DIR}" >/dev/null || die - ln -s ../pynslcd/constants.py utils/constants.py || die - python_foreach_impl python_test - popd >/dev/null || die -} - -python_test() { - cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy python files for tests" - nonfatal
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 1db500547022d26d045ec67d54405f8174ad151d Author: David Seifert gentoo org> AuthorDate: Wed Jan 5 10:01:30 2022 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 5 10:01:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db50054 sys-auth/nss-pam-ldapd: remove x86-fbsd Signed-off-by: David Seifert gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 4 ++-- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index d6abaedaf53b..ec02a5427df5 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -73,7 +73,7 @@ multilib_src_configure() { --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') + --with-nss-flavour=glibc $(use_enable pynslcd) $(use_enable debug) $(use_enable kerberos) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild index d6abaedaf53b..ec02a5427df5 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -73,7 +73,7 @@ multilib_src_configure() { --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') + --with-nss-flavour=glibc $(use_enable pynslcd) $(use_enable debug) $(use_enable kerberos)
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 996436e62884b0a4c563391e3137f0c180859f26 Author: Matthew Thode gentoo org> AuthorDate: Tue Dec 21 18:52:18 2021 + Commit: Matthew Thode gentoo org> CommitDate: Tue Dec 21 18:52:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996436e6 sys-auth/nss-pam-ldapd: 0.9.12 stable amd64/x86 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild index 945fc4c4e681..d6abaedaf53b 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: f209c7f55779241119483f7f4b8144601bd135c5 Author: Matthew Thode gentoo org> AuthorDate: Sun Nov 21 23:05:10 2021 + Commit: Matthew Thode gentoo org> CommitDate: Sun Nov 21 23:05:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f209c7f5 sys-auth/nss-pam-ldapd: 0.9.12 bump Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/Manifest| 1 + sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild | 171 + 2 files changed, 172 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 50faf9e717fc..1719a7b91843 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1 +1,2 @@ DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 +DIST nss-pam-ldapd-0.9.12.tar.gz 791983 BLAKE2B af580d400230db709f7ac09720edd6127b3b26c6987d1e8f6d6535ad8e68fd8cb5cf2a3319e4456fb2af28aba6528f7a5cdc28463ccfee747dbbf6abc35eee87 SHA512 5eca4851a9bcb2779548d193a363a143d6106bfc6463b8d3f0c2d5d7d227ec1e680861383d4813f40b44d1be2ce5f7ed019d838f7f6796e15f96f7411d3bb8f6 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild new file mode 100644 index ..945fc4c4e681 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" +RESTRICT="!test? ( test )" + +COMMON_DEP=" + acct-group/nslcd + acct-user/nslcd + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + sys-libs/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !sys-auth/nss_ldap + !sys-auth/pam_ldap +" +RDEPEND="${COMMON_DEP}" +DEPEND="${COMMON_DEP} + test? ( + ${PYTHON_DEPS} + dev-python/pylint[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + ${PYTHON_DEPS} + sys-devel/automake +" + +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} pynslcd ) +" + +PATCHES=( + "${FILESDIR}/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch" + "${FILESDIR}/nss-pam-ldapd-0.9.11-use-mkstemp.patch" + "${FILESDIR}/nss-pam-ldapd-0.9.11-relative-imports.patch" + "${FILESDIR}/nss-pam-ldapd-0.9.11-tests.patch" + "${FILESDIR}/nss-pam-ldapd-0.9.11-tests-py39.patch" +) + +src_prepare() { + default + use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" + mv pynslcd/pynslcd.py pynslcd/main.py || die + + eautoreconf +} + +multilib_src_configure() { + local -a 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 pynslcd) + $(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_test() { + pushd "${BUILD_DIR}" >/dev/null || die + ln -s ../pynslcd/constants.py utils/constants.py || die + python_foreach_impl python_test + popd >/dev/null || die +} + +python_test() { + cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 1550ece2430a799933364f96c7137e462bfd2737 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 6 19:51:17 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 6 19:59:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1550ece2 sys-auth/nss-pam-ldapd: enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index e5b27e992d0..d6abaedaf53 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=(python3_{7..9}) +PYTHON_COMPAT=( python3_{8..10} ) inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles DESCRIPTION="NSS module for name lookups using LDAP"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: c454e2bfdc50be6a1bbb0ce99ef1774669e6f991 Author: Sam James gentoo org> AuthorDate: Fri Jul 30 22:58:35 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jul 30 23:30:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c454e2bf sys-auth/nss-pam-ldapd: [QA] call tmpfiles_process in pkg_postinst This is needed to actually apply the tmpfiles configuration we've installed in the ebuild. See tmpfiles.eclass documentation. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sam James gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index 3f748952208..e5b27e992d0 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -147,6 +147,8 @@ multilib_src_install() { } pkg_postinst() { + tmpfiles_process nslcd.conf + echo elog "For this to work you must configure /etc/nslcd.conf" elog "This configuration is similar to pam_ldap's /etc/ldap.conf"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/files/, sys-auth/nss-pam-ldapd/
commit: 9e08547fd71306256ba4ab5518c5067b12ef8040 Author: Michał Górny gentoo org> AuthorDate: Mon May 31 20:59:34 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon May 31 20:59:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e08547f sys-auth/nss-pam-ldapd: Remove old Signed-off-by: Michał Górny gentoo.org> ...nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch | 25 .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 163 - 2 files changed, 188 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch deleted file mode 100644 index 75ad1015afc..000 --- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py -index 0691b61..df2ca4a 100755 a/pynslcd/pynslcd.py -+++ b/pynslcd/pynslcd.py -@@ -30,13 +30,13 @@ import threading - import daemon - import ldap - --import cfg --import common --import constants --import invalidator --import mypidfile --import search --from tio import TIOStream -+import pynslcd.cfg -+import pynslcd.common -+import pynslcd.constants -+import pynslcd.invalidator -+import pynslcd.mypidfile -+import pynslcd.search -+from pynslcd.tio import TIOStream - - - # the name of the program diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild deleted file mode 100644 index 58c7e24d630..000 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=(python3_7) -inherit prefix user python-r1 multilib multilib-minimal systemd s6 tmpfiles - -DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug kerberos +pam pynslcd sasl test +utils" -RESTRICT="!test? ( test )" - -COMMON_DEP=" - net-nds/openldap[${MULTILIB_USEDEP}] - sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - sys-libs/pam[${MULTILIB_USEDEP}] - utils? ( ${PYTHON_DEPS} ) - pynslcd? ( - dev-python/python-ldap[${PYTHON_USEDEP}] - dev-python/python-daemon[${PYTHON_USEDEP}] - ) - !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} pynslcd )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch - "${FILESDIR}"/${PN}-0.9.11-pynslcd-module-paths.patch -) - -pkg_setup() { - enewgroup nslcd - enewuser nslcd -1 -1 -1 nslcd -} - -src_prepare() { - cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" - - default - use utils && python_setup - touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" -} - -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 pynslcd) - $(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 nslcd - s6_install_service nslcd "${FILESDIR}"/nslcd.s6 - - 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 -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: 0fc950fe84f88ef9d72d705f067f534546423225 Author: Patrick McLean gentoo org> AuthorDate: Mon May 24 21:03:12 2021 + Commit: Patrick McLean gentoo org> CommitDate: Mon May 24 21:03:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc950fe sys-auth/nss-pam-ldapd-0.9.11-r3: Add py39 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Patrick McLean gentoo.org> .../files/nss-pam-ldapd-0.9.11-tests-py39.patch| 26 ++ .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 6 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch new file mode 100644 index 000..6761de73d6c --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch @@ -0,0 +1,26 @@ +diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh +index 5b3a13d..82749a2 100755 +--- a/tests/test_doctest.sh b/tests/test_doctest.sh +@@ -53,7 +53,7 @@ do + if ${python} -c 'import ldap' + then + echo "Running pynslcd doctests with $python..." +-PYTHONPATH="${top_builddir}/pynslcd" ${python} -m doctest -v "${top_srcdir}/pynslcd"/*.py ++PYTHONPATH="${top_builddir}/pynslcd:${top_builddir}" ${python} -m doctest -v "${top_srcdir}/pynslcd"/*.py + fi + echo "Running pynslcd doctests with $python..." + PYTHONPATH="${top_builddir}/utils" ${python} -m doctest -v "${top_srcdir}/utils"/*.py +diff --git a/tests/test_pynslcd_cache.py b/tests/test_pynslcd_cache.py +index 8d3d02a..e7b19c0 100755 +--- a/tests/test_pynslcd_cache.py b/tests/test_pynslcd_cache.py +@@ -27,6 +27,8 @@ import unittest + # fix the Python path + sys.path.insert(1, os.path.abspath(os.path.join(sys.path[0], '..', 'pynslcd'))) + sys.path.insert(2, os.path.abspath(os.path.join('..', 'pynslcd'))) ++sys.path.insert(3, os.path.abspath(os.path.join('..'))) ++print(sys.path) + + + # TODO: think about case-sensitivity of cache searches (have tests for that) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index 3d6590078bc..3f748952208 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=(python3_{7..8}) +PYTHON_COMPAT=(python3_{7..9}) inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles DESCRIPTION="NSS module for name lookups using LDAP" @@ -53,6 +53,7 @@ PATCHES=( "${FILESDIR}/nss-pam-ldapd-0.9.11-use-mkstemp.patch" "${FILESDIR}/nss-pam-ldapd-0.9.11-relative-imports.patch" "${FILESDIR}/nss-pam-ldapd-0.9.11-tests.patch" + "${FILESDIR}/nss-pam-ldapd-0.9.11-tests-py39.patch" ) src_prepare() { @@ -100,7 +101,8 @@ multilib_src_test() { } python_test() { - emake check + cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy python files for tests" + nonfatal emake check || die "tests failed with ${EPYTHON}" } multilib_src_install_all() {
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: f85abc0d513d23d216f2c58675111ff98e4b0e74 Author: Theo Anderson posteo de> AuthorDate: Sun Mar 7 11:57:37 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Mar 7 11:57:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85abc0d sys-auth/nss-pam-ldapd: migrate to tmpfiles.eclass Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> Signed-off-by: David Seifert gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 6 +++--- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild index b66a86d7030..f87a21058aa 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=(python3_7) -inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 tmpfiles DESCRIPTION="NSS module for name lookups using LDAP" HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; @@ -116,7 +116,7 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/pynslcd.init pynslcd fi - systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf + newtmpfiles "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf systemd_newunit "${FILESDIR}"/nslcd.service nslcd.service } diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index f5fdd529a7d..f2b7b143da3 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=(python3_{7..8}) -inherit eutils prefix python-r1 autotools multilib multilib-minimal systemd s6 +inherit eutils prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles DESCRIPTION="NSS module for name lookups using LDAP" HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; @@ -131,7 +131,7 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/pynslcd.init pynslcd fi - systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf + newtmpfiles "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf systemd_newunit "${FILESDIR}"/nslcd.service nslcd.service }
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: aeb279c682f974c30df3ecedfed9a372461d3a30 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Dec 2 17:03:59 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Dec 2 17:03:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb279c6 sys-auth/nss-pam-ldapd: merge stable keywords (py3.8) Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild index bc76968a718..ccdbf3ac438 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: 8f75b8e5458a93664ab8993bc95e769aae0e0b7f Author: Patrick McLean sony com> AuthorDate: Sat Sep 5 00:04:46 2020 + Commit: Patrick McLean gentoo org> CommitDate: Sat Sep 5 00:07:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f75b8e5 sys-auth/nss-pam-ldapd-0.9.11-r3: EAPI=7, py38 (bug #718520) Closes: https://bugs.gentoo.org/718520 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Patrick McLean sony.com> Signed-off-by: Patrick McLean gentoo.org> .../nss-pam-ldapd-0.9.11-relative-imports.patch| 452 + .../files/nss-pam-ldapd-0.9.11-tests.patch | 34 ++ .../files/nss-pam-ldapd-0.9.11-use-mkstemp.patch | 25 ++ .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild | 167 4 files changed, 678 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch new file mode 100644 index 000..101d0c77450 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch @@ -0,0 +1,452 @@ +diff --git a/pynslcd/Makefile.am b/pynslcd/Makefile.am +index 383dd3c..39a3bfb 100644 +--- a/pynslcd/Makefile.am b/pynslcd/Makefile.am +@@ -19,7 +19,7 @@ + + pynslcddir = $(datadir)/pynslcd + +-pynslcd_PYTHON = pynslcd.py attmap.py cache.py cfg.py common.py expr.py \ ++pynslcd_PYTHON = main.py attmap.py cache.py cfg.py common.py expr.py \ + mypidfile.py invalidator.py search.py tio.py \ + config.py alias.py ether.py group.py host.py netgroup.py \ + network.py passwd.py protocol.py rpc.py service.py \ +@@ -38,6 +38,6 @@ constants.py: constants.py.in $(top_srcdir)/nslcd.h + # create a symbolic link for the pynslcd daemon and fix permissions + install-data-hook: + $(MKDIR_P) $(DESTDIR)$(sbindir) +- [ -L $(DESTDIR)$(sbindir)/pynslcd ] || $(LN_S) $(pynslcddir)/pynslcd.py $(DESTDIR)$(sbindir)/pynslcd +- chmod a+rx $(DESTDIR)$(pynslcddir)/pynslcd.py +- sed -i -e '1 s|^#!.*|#! $(PYTHON)|;1 s|^#! \([^/].*\)|#! /usr/bin/env \1|' $(DESTDIR)$(pynslcddir)/pynslcd.py ++ [ -L $(DESTDIR)$(sbindir)/pynslcd ] || $(LN_S) $(pynslcddir)/main.py $(DESTDIR)$(sbindir)/pynslcd ++ chmod a+rx $(DESTDIR)$(pynslcddir)/main.py ++ sed -i -e '1 s|^#!.*|#! $(PYTHON)|;1 s|^#! \([^/].*\)|#! /usr/bin/env \1|' $(DESTDIR)$(pynslcddir)/main.py +diff --git a/pynslcd/alias.py b/pynslcd/alias.py +index 8096309..614dd53 100644 +--- a/pynslcd/alias.py b/pynslcd/alias.py +@@ -18,10 +18,10 @@ + # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + # 02110-1301 USA + +-import cache +-import common +-import constants +-import search ++from pynslcd import cache ++from pynslcd import common ++from pynslcd import constants ++from pynslcd import search + + + attmap = common.Attributes( +diff --git a/pynslcd/attmap.py b/pynslcd/attmap.py +index 61862df..4d450f6 100644 +--- a/pynslcd/attmap.py b/pynslcd/attmap.py +@@ -45,7 +45,7 @@ import re + import ldap.dn + from ldap.filter import escape_filter_chars + +-from expr import Expression ++from pynslcd.expr import Expression + + + # exported names +diff --git a/pynslcd/cfg.py b/pynslcd/cfg.py +index 877d442..14ae850 100644 +--- a/pynslcd/cfg.py b/pynslcd/cfg.py +@@ -133,8 +133,8 @@ _tls_reqcert_options = {'never': ldap.OPT_X_TLS_NEVER, + + def _get_maps(): + # separate function as not to pollute the namespace and avoid import loops +-import alias, ether, group, host, netgroup, network, passwd # noqa: E401 +-import protocol, rpc, service, shadow # noqa: E401 ++from pynslcd import alias, ether, group, host, netgroup, network, passwd # noqa: E401 ++from pynslcd import protocol, rpc, service, shadow # noqa: E401 + import sys + return dict( + alias=alias, aliases=alias, +@@ -293,7 +293,7 @@ def read(filename): # noqa: C901 (many simple branches) + # pam_authz_search + m = re.match(r'pam_authz_search\s+(?P\S.*)', line, re.IGNORECASE) + if m: +-from expr import Expression ++from pynslcd.expr import Expression + pam_authz_searches.append(Expression(m.group('value'))) + # TODO: check pam_authz_search expression to only contain + # username, service, ruser, rhost, tty, hostname, fqdn, dn or +diff --git a/pynslcd/common.py b/pynslcd/common.py +index a5b168d..568ac2f 100644 +--- a/pynslcd/common.py b/pynslcd/common.py +@@ -23,9 +23,9 @@ import sys + + import ldap + +-from attmap import Attributes # noqa: F401 (used by other modules) +-import cfg +-import constants ++from pynslcd.attmap import Attributes # noqa: F401 (used by other modules) ++from pynslcd import cfg ++from pynslcd import constants + + + def is_valid_name(name): +diff --git a/pynslcd/config.py
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: c310862dd0e6066c8bc874a0308276ffe094bcde Author: Matthew Thode gentoo org> AuthorDate: Tue May 26 16:14:11 2020 + Commit: Matthew Thode gentoo org> CommitDate: Tue May 26 16:14:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c310862d sys-auth/nss-pam-ldapd: add py37 support Bug: https://bugs.gentoo.org/718520 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild index a08dc110279..9fb273d5f3c 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=(python3_6) +PYTHON_COMPAT=(python3_6 python3_7) inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 DESCRIPTION="NSS module for name lookups using LDAP"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 560f2c73d8a32cc105d345681b0478709ef864aa Author: Michał Górny gentoo org> AuthorDate: Tue Mar 17 09:55:40 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 17 09:56:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560f2c73 sys-auth/nss-pam-ldapd: Drop py2 Signed-off-by: Michał Górny gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild index f581f1f2fe4..a08dc110279 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=(python2_7 python3_6) +PYTHON_COMPAT=(python3_6) inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 DESCRIPTION="NSS module for name lookups using LDAP"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: 8e84b8928036da30a91c2682d7910a23efb29132 Author: Matthew Thode gentoo org> AuthorDate: Mon Mar 16 17:57:54 2020 + Commit: Matthew Thode gentoo org> CommitDate: Mon Mar 16 17:58:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e84b892 sys-auth/nss-pam-ldapd: moved some files around (no intalled changes) Closes: https://bugs.gentoo.org/712806 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/files/{nslcd-init-r3 => nslcd.init} | 2 +- sys-auth/nss-pam-ldapd/files/{nslcd-run-s6 => nslcd.s6} | 0 sys-auth/nss-pam-ldapd/files/{nslcd-2.service => nslcd.service} | 0 sys-auth/nss-pam-ldapd/files/{pynslcd.initd-r2 => pynslcd.init} | 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 8 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init-r3 b/sys-auth/nss-pam-ldapd/files/nslcd.init similarity index 92% rename from sys-auth/nss-pam-ldapd/files/nslcd-init-r3 rename to sys-auth/nss-pam-ldapd/files/nslcd.init index 513ad9af3fe..959fb601f60 100644 --- a/sys-auth/nss-pam-ldapd/files/nslcd-init-r3 +++ b/sys-auth/nss-pam-ldapd/files/nslcd.init @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command=/usr/sbin/nslcd diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-run-s6 b/sys-auth/nss-pam-ldapd/files/nslcd.s6 similarity index 100% rename from sys-auth/nss-pam-ldapd/files/nslcd-run-s6 rename to sys-auth/nss-pam-ldapd/files/nslcd.s6 diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-2.service b/sys-auth/nss-pam-ldapd/files/nslcd.service similarity index 100% rename from sys-auth/nss-pam-ldapd/files/nslcd-2.service rename to sys-auth/nss-pam-ldapd/files/nslcd.service diff --git a/sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 b/sys-auth/nss-pam-ldapd/files/pynslcd.init similarity index 92% rename from sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 rename to sys-auth/nss-pam-ldapd/files/pynslcd.init index 21762ae5fd2..3165b02843f 100644 --- a/sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 +++ b/sys-auth/nss-pam-ldapd/files/pynslcd.init @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command=/usr/sbin/pynslcd diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild index f93312d95f0..f581f1f2fe4 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -91,8 +91,8 @@ multilib_src_configure() { multilib_src_install_all() { local script - newinitd "${FILESDIR}"/nslcd-init-r3 nslcd - s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 + newinitd "${FILESDIR}"/nslcd.init nslcd + s6_install_service nslcd "${FILESDIR}"/nslcd.s6 insinto /usr/share/nss-pam-ldapd doins "${WORKDIR}/${P}/nslcd.conf" @@ -113,11 +113,11 @@ multilib_src_install_all() { python_foreach_impl python_domodule pynslcd/*.py python_scriptinto /usr/sbin python_newscript pynslcd.py pynslcd - newinitd "${FILESDIR}"/pynslcd.initd-r2 pynslcd + newinitd "${FILESDIR}"/pynslcd.init pynslcd fi systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf - systemd_newunit "${FILESDIR}"/nslcd-2.service nslcd.service + systemd_newunit "${FILESDIR}"/nslcd.service nslcd.service } multilib_src_install() {
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/files/, sys-auth/nss-pam-ldapd/
commit: 056d51d2c8cff5c9bac5cae69e142eea8e14f678 Author: Matthew Thode gentoo org> AuthorDate: Mon Mar 16 17:53:28 2020 + Commit: Matthew Thode gentoo org> CommitDate: Mon Mar 16 17:58:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056d51d2 sys-auth/nss-pam-ldapd: cleanup Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/Manifest| 1 - sys-auth/nss-pam-ldapd/files/nslcd-init-r1 | 36 - sys-auth/nss-pam-ldapd/files/nslcd-init-r2 | 28 sys-auth/nss-pam-ldapd/files/nslcd.service | 14 -- .../nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch | 25 sys-auth/nss-pam-ldapd/files/pynslcd.initd | 28 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild | 164 - .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r1.ebuild | 164 - sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild | 164 - 9 files changed, 624 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index f6ad466265f..50faf9e717f 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,2 +1 @@ -DIST nss-pam-ldapd-0.9.10.tar.gz 749302 BLAKE2B 38cdc0e2a5b971d18412d7a583a265cdc87249342139dd4af9cddc61d17bc3d4d19b43c6705fdabc9dccc5ad4f7dad5ea473f75cde2915e485252fdf9116a1c6 SHA512 be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init-r1 b/sys-auth/nss-pam-ldapd/files/nslcd-init-r1 deleted file mode 100644 index 776a7b3009e..000 --- a/sys-auth/nss-pam-ldapd/files/nslcd-init-r1 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_commands="checkconfig" -cfg="/etc/nslcd.conf" - -depend() { - need net - use dns logger -} - -checkconfig() { - if [ ! -f "$cfg" ] ; then - eerror "Please create $cfg" - eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" - return 1 - fi - return 0 -} - -start() { -checkpath -q -d /run/nslcd -o nslcd:nslcd - checkconfig || return $? - - ebegin "Starting nslcd" - start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \ - --exec /usr/sbin/nslcd - eend $? "Failed to start nslcd" -} - -stop() { - ebegin "Stopping nslcd" - start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid - eend $? "Failed to stop nslcd" -} diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init-r2 b/sys-auth/nss-pam-ldapd/files/nslcd-init-r2 deleted file mode 100644 index 55ef9a53774..000 --- a/sys-auth/nss-pam-ldapd/files/nslcd-init-r2 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command=/usr/sbin/nslcd -pidfile=/var/run/nslcd/nslcd.pid -extra_commands="checkconfig" -cfg="/etc/nslcd.conf" - -depend() { - need net - use dns logger -} - -checkconfig() { - if [ ! -f "$cfg" ] ; then - eerror "Please create $cfg" - eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" - return 1 - fi - return 0 -} - -start_pre() { - checkpath -q -d /run/nslcd -o nslcd:nslcd - checkconfig - return $? -} diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.service b/sys-auth/nss-pam-ldapd/files/nslcd.service deleted file mode 100644 index 030cc2c90eb..000 --- a/sys-auth/nss-pam-ldapd/files/nslcd.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=NSS and PAM LDAP client daemon -After=network-online.target -Wants=network-online.target nss-lookup.target syslog.service -Before=nss-user-lookup.target - -[Service] -Type=forking -PIDFile=/var/run/nslcd/nslcd.pid -ExecStart=/usr/sbin/nslcd - -[Install] -WantedBy=multi-user.target -RequiredBy=nss-user-lookup.target diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch deleted file mode 100644 index 11c86eff2e2..000 --- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py -index d367a8c..9a52120 100755 a/pynslcd.py -+++ b/pynslcd.py -@@ -30,13 +30,13 @@
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: e05c1b9c4c920491e9a73ccceb0012018055a09f Author: Matthew Thode gentoo org> AuthorDate: Mon Mar 16 17:50:51 2020 + Commit: Matthew Thode gentoo org> CommitDate: Mon Mar 16 17:58:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e05c1b9c sys-auth/nss-pam-ldapd: 0.9.11-r2 stable amd64/x86 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild index 53e23ca1d64..f93312d95f0 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: 83d109e72915e161c21be0d9abd28447ab0fa97c Author: Matthew Thode gentoo org> AuthorDate: Thu Jan 16 17:09:10 2020 + Commit: Matthew Thode gentoo org> CommitDate: Thu Jan 16 17:13:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d109e7 sys-auth/nss-pam-ldapd: fix /var/run path for systemd service Fixes: https://bugs.gentoo.org/705380 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/files/nslcd-2.service | 14 ++ sys-auth/nss-pam-ldapd/files/nslcd-init-r3 | 28 sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 | 28 .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 163 + 4 files changed, 233 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-2.service b/sys-auth/nss-pam-ldapd/files/nslcd-2.service new file mode 100644 index 000..b6b167aaed9 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nslcd-2.service @@ -0,0 +1,14 @@ +[Unit] +Description=NSS and PAM LDAP client daemon +After=network-online.target +Wants=network-online.target nss-lookup.target syslog.service +Before=nss-user-lookup.target + +[Service] +Type=forking +PIDFile=/run/nslcd/nslcd.pid +ExecStart=/usr/sbin/nslcd + +[Install] +WantedBy=multi-user.target +RequiredBy=nss-user-lookup.target diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init-r3 b/sys-auth/nss-pam-ldapd/files/nslcd-init-r3 new file mode 100644 index 000..513ad9af3fe --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nslcd-init-r3 @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/sbin/nslcd +pidfile=/run/nslcd/nslcd.pid +extra_commands="checkconfig" +cfg="/etc/nslcd.conf" + +depend() { + need net + use dns logger +} + +checkconfig() { + if [ ! -f "$cfg" ] ; then + eerror "Please create $cfg" + eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" + return 1 + fi + return 0 +} + +start_pre() { + checkpath -q -d /run/nslcd -o nslcd:nslcd + checkconfig + return $? +} diff --git a/sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 b/sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 new file mode 100644 index 000..21762ae5fd2 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/pynslcd.initd-r2 @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/sbin/pynslcd +pidfile=/run/nslcd/nslcd.pid +extra_commands="checkconfig" +cfg="/etc/nslcd.conf" + +depend() { + need net + use dns logger +} + +checkconfig() { + if [ ! -f "$cfg" ] ; then + eerror "Please create $cfg" + eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" + return 1 + fi + return 0 +} + +start_pre() { + checkpath -q -d /run/nslcd -o nslcd:nslcd + checkconfig + return $? +} diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild new file mode 100644 index 000..53e23ca1d64 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python2_7 python3_6) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" +RESTRICT="!test? ( test )" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + sys-libs/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !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} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.11-pynslcd-module-paths.patch +) + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 12b86043ec8d5eb62baab25a8207da93f69cc694 Author: Matthew Thode gentoo org> AuthorDate: Wed Dec 18 21:06:39 2019 + Commit: Matthew Thode gentoo org> CommitDate: Wed Dec 18 21:06:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b86043 sys-auth/nss-pam-ldapd: add py3 support Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r1.ebuild | 164 + 1 file changed, 164 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r1.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r1.ebuild new file mode 100644 index 000..de0c03ccfe4 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python2_7 python3_5 python3_6) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" +RESTRICT="!test? ( test )" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + sys-libs/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !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} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.11-pynslcd-module-paths.patch +) + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default + use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" +} + +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 pynslcd) + $(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 + newinitd "${FILESDIR}"/nslcd-init-r2 nslcd + s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 + + 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 + if use pynslcd; then + rm -rf "${D}"/usr/share/pynslcd + python_moduleinto pynslcd + python_foreach_impl python_domodule pynslcd/*.py + python_scriptinto /usr/sbin + python_newscript pynslcd.py pynslcd + newinitd "${FILESDIR}"/pynslcd.initd pynslcd + fi + + systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf + systemd_dounit "${FILESDIR}"/nslcd.service +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if use pynslcd; then + python_moduleinto pynslcd + python_foreach_impl python_domodule pynslcd/*.py + fi +} + +python_test() { +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: befce93d29468887b23c87fb606f544d4cdd638b Author: Matthew Thode gentoo org> AuthorDate: Wed Nov 6 19:17:40 2019 + Commit: Matthew Thode gentoo org> CommitDate: Wed Nov 6 19:49:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befce93d sys-auth/nss-pam-ldapd: 0.9.11 stable amd64 / x86 with cleakup Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/Manifest| 2 - .../nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild | 86 --- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild | 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild | 163 - 4 files changed, 1 insertion(+), 252 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 9c3c0f5fcec..f6ad466265f 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,4 +1,2 @@ -DIST nss-pam-ldapd-0.8.14.tar.gz 508949 BLAKE2B ad8532bf86ef93c62394b91b7c3c035dc1090a70b60ab190ed8af012d533e61fe067b4383388af0d3a53142dbc96da3468d2aa09c2a30f92b9cf56434160c6d6 SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 DIST nss-pam-ldapd-0.9.10.tar.gz 749302 BLAKE2B 38cdc0e2a5b971d18412d7a583a265cdc87249342139dd4af9cddc61d17bc3d4d19b43c6705fdabc9dccc5ad4f7dad5ea473f75cde2915e485252fdf9116a1c6 SHA512 be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 -DIST nss-pam-ldapd-0.9.9.tar.gz 772059 BLAKE2B 0c1da79d58f19f0c310c0589ca9f286a73ada025028d1a00df938d40dd1211f4dd5ba694de94a37a3596b64b5f8a511127c359a86a60271eb091082dec69e6bb SHA512 8148467523003da397d03b70bb01e52dbc63b0528540aea1d85f6af2ee8af69300e107617b69608397b210e825a2351cfd61b88c4fa146d2e8e9fb9c5cd358e3 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild deleted file mode 100644 index cc75900588e..000 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib-minimal user - -DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="https://arthurdejong.org/nss-pam-ldapd/${P}.tar.gz; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug kerberos sasl +pam" - -DEPEND=" - net-nds/openldap - sasl? ( dev-libs/cyrus-sasl ) - kerberos? ( virtual/krb5 ) - sys-libs/pam - !sys-auth/nss_ldap - !sys-auth/pam_ldap" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup nslcd - enewuser nslcd -1 -1 -1 nslcd -} - -multilib_src_configure() { - # nss libraries always go in /lib on Gentoo - myconf=" - --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 - --with-pam-seclib-dir=/$(get_libdir)/security - --libdir=/$(get_libdir) - $(use_enable debug) - $(use_enable kerberos) - $(use_enable pam) - $(use_enable sasl)" - - if use x86-fbsd; then - myconf+=" --with-nss-flavour=freebsd" - else - myconf+=" --with-nss-flavour=glibc" - fi - - ECONF_SOURCE="${S}" econf ${myconf} -} - -multilib_src_install() { - default - - # for socket and pid file (not needed bug 452992) - #keepdir /run/nslcd - - # init script - newinitd "${FILESDIR}"/nslcd-init-r1 nslcd - - # make an example copy - insinto /usr/share/nss-pam-ldapd - doins "${WORKDIR}/${P}/nslcd.conf" - - fperms o-r /etc/nslcd.conf -} - -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 -}
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 8fbd00e6d31e4b2ce26d990d4103e400580412d5 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Oct 12 19:36:21 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Oct 12 19:36:21 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbd00e6 sys-auth/nss-pam-ldapd: migrate to sys-libs/pam Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild | 4 ++-- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild| 4 ++-- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild| 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild index 4fc22ea3385..cc75900588e 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -18,7 +18,7 @@ DEPEND=" net-nds/openldap sasl? ( dev-libs/cyrus-sasl ) kerberos? ( virtual/krb5 ) - virtual/pam + sys-libs/pam !sys-auth/nss_ldap !sys-auth/pam_ldap" RDEPEND="${DEPEND}" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild index 485ff3752e9..d228d7658e4 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,7 @@ COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - virtual/pam[${MULTILIB_USEDEP}] + sys-libs/pam[${MULTILIB_USEDEP}] utils? ( ${PYTHON_DEPS} ) pynslcd? ( dev-python/python-ldap[${PYTHON_USEDEP}] diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild index 2a5d6c9a68b..022bcfde57b 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild @@ -19,7 +19,7 @@ COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - virtual/pam[${MULTILIB_USEDEP}] + sys-libs/pam[${MULTILIB_USEDEP}] utils? ( ${PYTHON_DEPS} ) pynslcd? ( dev-python/python-ldap[${PYTHON_USEDEP}] diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild index 2ebd0f700a5..d228d7658e4 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,7 @@ COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - virtual/pam[${MULTILIB_USEDEP}] + sys-libs/pam[${MULTILIB_USEDEP}] utils? ( ${PYTHON_DEPS} ) pynslcd? ( dev-python/python-ldap[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/, sys-auth/nss-pam-ldapd/files/
commit: ca4b1a57178c2a3acbc8eaaf67f0082a11996bc2 Author: Patrick McLean sony com> AuthorDate: Tue Oct 8 00:35:38 2019 + Commit: Patrick McLean gentoo org> CommitDate: Tue Oct 8 00:35:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4b1a57 sys-auth/nss-pam-ldapd: Fix pynslcd module path patch in 0.9.11 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Patrick McLean gentoo.org> ...nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch | 25 ++ sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch new file mode 100644 index 000..75ad1015afc --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch @@ -0,0 +1,25 @@ +diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py +index 0691b61..df2ca4a 100755 +--- a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py +@@ -30,13 +30,13 @@ import threading + import daemon + import ldap + +-import cfg +-import common +-import constants +-import invalidator +-import mypidfile +-import search +-from tio import TIOStream ++import pynslcd.cfg ++import pynslcd.common ++import pynslcd.constants ++import pynslcd.invalidator ++import pynslcd.mypidfile ++import pynslcd.search ++from pynslcd.tio import TIOStream + + + # the name of the program diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild index 0b63e2b3f24..2a5d6c9a68b 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild @@ -41,7 +41,7 @@ REQUIRED_USE=" PATCHES=( "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch - "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch + "${FILESDIR}"/${PN}-0.9.11-pynslcd-module-paths.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 3588b411b7db6e1419ea62b9bf1cafa9221c2dd4 Author: Matthew Thode gentoo org> AuthorDate: Mon Oct 7 15:34:01 2019 + Commit: Matthew Thode gentoo org> CommitDate: Mon Oct 7 15:34:24 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3588b411 sys-auth/nss-pam-ldapd: 0.9.11 bump Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/Manifest| 1 + sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild | 163 + 2 files changed, 164 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 8d59483dae9..9c3c0f5fcec 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,3 +1,4 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 BLAKE2B ad8532bf86ef93c62394b91b7c3c035dc1090a70b60ab190ed8af012d533e61fe067b4383388af0d3a53142dbc96da3468d2aa09c2a30f92b9cf56434160c6d6 SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 DIST nss-pam-ldapd-0.9.10.tar.gz 749302 BLAKE2B 38cdc0e2a5b971d18412d7a583a265cdc87249342139dd4af9cddc61d17bc3d4d19b43c6705fdabc9dccc5ad4f7dad5ea473f75cde2915e485252fdf9116a1c6 SHA512 be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 +DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 DIST nss-pam-ldapd-0.9.9.tar.gz 772059 BLAKE2B 0c1da79d58f19f0c310c0589ca9f286a73ada025028d1a00df938d40dd1211f4dd5ba694de94a37a3596b64b5f8a511127c359a86a60271eb091082dec69e6bb SHA512 8148467523003da397d03b70bb01e52dbc63b0528540aea1d85f6af2ee8af69300e107617b69608397b210e825a2351cfd61b88c4fa146d2e8e9fb9c5cd358e3 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild new file mode 100644 index 000..0b63e2b3f24 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + virtual/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !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} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch +) + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default + use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" +} + +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 pynslcd) + $(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") +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 25198d476d3a61d3376ba0b0c49de7d426601583 Author: Matthew Thode gentoo org> AuthorDate: Fri Sep 28 20:35:00 2018 + Commit: Matt Thode gentoo org> CommitDate: Fri Sep 28 20:35:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25198d47 sys-auth/nss-pam-ldapd: 0.9.10 stable amd64 and x86 with cleanup Package-Manager: Portage-2.3.49, Repoman-2.3.11 sys-auth/nss-pam-ldapd/Manifest| 1 - sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild | 4 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild | 128 - 3 files changed, 2 insertions(+), 131 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index a46c9a22370..8d59483dae9 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,4 +1,3 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 BLAKE2B ad8532bf86ef93c62394b91b7c3c035dc1090a70b60ab190ed8af012d533e61fe067b4383388af0d3a53142dbc96da3468d2aa09c2a30f92b9cf56434160c6d6 SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 DIST nss-pam-ldapd-0.9.10.tar.gz 749302 BLAKE2B 38cdc0e2a5b971d18412d7a583a265cdc87249342139dd4af9cddc61d17bc3d4d19b43c6705fdabc9dccc5ad4f7dad5ea473f75cde2915e485252fdf9116a1c6 SHA512 be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 -DIST nss-pam-ldapd-0.9.8.tar.gz 771247 BLAKE2B bef3e5ede2b4747277ee400dfa8be620281e4e2a596acff236008e1f0bf6b79d6e309a4ca4bad852f6b0a8f79888cffcfffe09ddea8fde8e53b8450a894598eb SHA512 f0d24afd4cb5cea8155aa719b598448d3d81a896f7bc431f7d73e0617a7b2aa7e0ceb6de0b50163848c5554d96a3c415226e32a92e64ed91772fec4c64ad135b DIST nss-pam-ldapd-0.9.9.tar.gz 772059 BLAKE2B 0c1da79d58f19f0c310c0589ca9f286a73ada025028d1a00df938d40dd1211f4dd5ba694de94a37a3596b64b5f8a511127c359a86a60271eb091082dec69e6bb SHA512 8148467523003da397d03b70bb01e52dbc63b0528540aea1d85f6af2ee8af69300e107617b69608397b210e825a2351cfd61b88c4fa146d2e8e9fb9c5cd358e3 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild index 397ac40543d..485ff3752e9 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug kerberos +pam pynslcd sasl test +utils" COMMON_DEP=" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild deleted file mode 100644 index c57719dcc88..000 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=(python2_7) -inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 - -DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug kerberos +pam sasl test +utils" - -COMMON_DEP=" - net-nds/openldap[${MULTILIB_USEDEP}] - dev-python/python-ldap[${PYTHON_USEDEP}] - sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - 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) -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: e09ca15e3fabaaa5b07781b466ef06dcfdd6bb46 Author: Matthew Thode gentoo org> AuthorDate: Sat Sep 1 17:46:02 2018 + Commit: Matt Thode gentoo org> CommitDate: Sat Sep 1 17:46:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09ca15e sys-auth/nss-pam-ldapd: 0.9.10 bump Package-Manager: Portage-2.3.48, Repoman-2.3.10 sys-auth/nss-pam-ldapd/Manifest| 1 + sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild | 163 + 2 files changed, 164 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 245b9264ea5..a46c9a22370 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,3 +1,4 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 BLAKE2B ad8532bf86ef93c62394b91b7c3c035dc1090a70b60ab190ed8af012d533e61fe067b4383388af0d3a53142dbc96da3468d2aa09c2a30f92b9cf56434160c6d6 SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 +DIST nss-pam-ldapd-0.9.10.tar.gz 749302 BLAKE2B 38cdc0e2a5b971d18412d7a583a265cdc87249342139dd4af9cddc61d17bc3d4d19b43c6705fdabc9dccc5ad4f7dad5ea473f75cde2915e485252fdf9116a1c6 SHA512 be559bc0d60bcf25af94919d456922bee4abb2c0417a8d2daf954d9aa9af2d41cb06a20cef04d9afd61c1316a744331753ee1cb25ef4a9c5411c508193231218 DIST nss-pam-ldapd-0.9.8.tar.gz 771247 BLAKE2B bef3e5ede2b4747277ee400dfa8be620281e4e2a596acff236008e1f0bf6b79d6e309a4ca4bad852f6b0a8f79888cffcfffe09ddea8fde8e53b8450a894598eb SHA512 f0d24afd4cb5cea8155aa719b598448d3d81a896f7bc431f7d73e0617a7b2aa7e0ceb6de0b50163848c5554d96a3c415226e32a92e64ed91772fec4c64ad135b DIST nss-pam-ldapd-0.9.9.tar.gz 772059 BLAKE2B 0c1da79d58f19f0c310c0589ca9f286a73ada025028d1a00df938d40dd1211f4dd5ba694de94a37a3596b64b5f8a511127c359a86a60271eb091082dec69e6bb SHA512 8148467523003da397d03b70bb01e52dbc63b0528540aea1d85f6af2ee8af69300e107617b69608397b210e825a2351cfd61b88c4fa146d2e8e9fb9c5cd358e3 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild new file mode 100644 index 000..397ac40543d --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.10.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +DESCRIPTION="NSS module for name lookups using LDAP" +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + virtual/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !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} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch +) + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default + use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" +} + +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 pynslcd) + $(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)") +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: d3ee6df9b08fd0b2d221fc9fe7f235cc8d23aac2 Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Apr 9 13:16:37 2018 + Commit: Matt Thode gentoo org> CommitDate: Thu Apr 12 04:24:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3ee6df9 sys-auth/nss-pam-ldapd: use HTTPS Signed-off-by: Matthew Thode gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild | 6 +++--- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild | 6 +++--- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild index e25cca2ef61..4fc22ea3385 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -6,8 +6,8 @@ EAPI=5 inherit multilib-minimal user DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="http://arthurdejong.org/nss-pam-ldapd/${P}.tar.gz; +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/nss-pam-ldapd/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild index edce3791910..c57719dcc88 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -7,8 +7,8 @@ PYTHON_COMPAT=(python2_7) inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild index bdec7ea6e24..2ebd0f700a5 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild @@ -7,8 +7,8 @@ PYTHON_COMPAT=(python2_7) inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/; -SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; +HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/; +SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: ce67098bd64381d23f0dd403a4672b9b416a99ac Author: Matthew Thode gentoo org> AuthorDate: Sun Mar 18 19:14:46 2018 + Commit: Matt Thode gentoo org> CommitDate: Sun Mar 18 19:15:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce67098b sys-auth/nss-pam-ldapd: 0.9.9 stable amd64 and x86 with cleanup Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild| 163 - sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild | 2 +- 2 files changed, 1 insertion(+), 164 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild deleted file mode 100644 index d286f5f9a46..000 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=(python2_7) -inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 - -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="~amd64 ~x86" -IUSE="debug kerberos +pam pynslcd sasl test +utils" - -COMMON_DEP=" - net-nds/openldap[${MULTILIB_USEDEP}] - sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - virtual/pam[${MULTILIB_USEDEP}] - utils? ( ${PYTHON_DEPS} ) - pynslcd? ( - dev-python/python-ldap[${PYTHON_USEDEP}] - dev-python/python-daemon[${PYTHON_USEDEP}] - ) - !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} pynslcd )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch - "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch -) - -pkg_setup() { - enewgroup nslcd - enewuser nslcd -1 -1 -1 nslcd -} - -src_prepare() { - cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" - - default - use utils && python_setup - touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" -} - -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 pynslcd) - $(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 - newinitd "${FILESDIR}"/nslcd-init-r2 nslcd - s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 - - 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 - if use pynslcd; then - rm -rf "${D}"/usr/share/pynslcd - python_moduleinto pynslcd - python_foreach_impl python_domodule pynslcd/*.py - python_scriptinto /usr/sbin - python_newscript pynslcd.py pynslcd - newinitd "${FILESDIR}"/pynslcd.initd pynslcd - fi - - systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf - systemd_dounit "${FILESDIR}"/nslcd.service -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - if use pynslcd; then - python_moduleinto pynslcd - python_foreach_impl python_domodule pynslcd/*.py - fi -} - -python_test() {
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: bf1d06c93a409672033199f839bc1606ab69f43f Author: Matthew Thode gentoo org> AuthorDate: Sun Feb 18 23:31:20 2018 + Commit: Matt Thode gentoo org> CommitDate: Sun Feb 18 23:36:36 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1d06c9 sys-auth/nss-pam-ldapd: 0.9.9 bup Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-auth/nss-pam-ldapd/Manifest| 2 +- ...apd-0.9.7.ebuild => nss-pam-ldapd-0.9.9.ebuild} | 54 ++ 2 files changed, 46 insertions(+), 10 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index a1c61609131..245b9264ea5 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,3 +1,3 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 BLAKE2B ad8532bf86ef93c62394b91b7c3c035dc1090a70b60ab190ed8af012d533e61fe067b4383388af0d3a53142dbc96da3468d2aa09c2a30f92b9cf56434160c6d6 SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 -DIST nss-pam-ldapd-0.9.7.tar.gz 762743 BLAKE2B 7e0266dc7f1f3086ea52175c2389dc55adff932153990347bfcfc511321aa04c76d873eea048ac4be1d574b9e50bfbb882ddadaf2a6b3be43d6689a1ccef88cd SHA512 2117262f41c4fc54987f9f663ed71126100420ecff391cc280e98d7864094db201a81a4ebf7e5634436982092be3c751971d8aee53e39c42a8572ab57b561284 DIST nss-pam-ldapd-0.9.8.tar.gz 771247 BLAKE2B bef3e5ede2b4747277ee400dfa8be620281e4e2a596acff236008e1f0bf6b79d6e309a4ca4bad852f6b0a8f79888cffcfffe09ddea8fde8e53b8450a894598eb SHA512 f0d24afd4cb5cea8155aa719b598448d3d81a896f7bc431f7d73e0617a7b2aa7e0ceb6de0b50163848c5554d96a3c415226e32a92e64ed91772fec4c64ad135b +DIST nss-pam-ldapd-0.9.9.tar.gz 772059 BLAKE2B 0c1da79d58f19f0c310c0589ca9f286a73ada025028d1a00df938d40dd1211f4dd5ba694de94a37a3596b64b5f8a511127c359a86a60271eb091082dec69e6bb SHA512 8148467523003da397d03b70bb01e52dbc63b0528540aea1d85f6af2ee8af69300e107617b69608397b210e825a2351cfd61b88c4fa146d2e8e9fb9c5cd358e3 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild similarity index 71% rename from sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild rename to sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild index 22abd70bba2..7b25079038a 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.9.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=(python2_7) inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 @@ -12,8 +12,8 @@ SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug kerberos +pam sasl test +utils" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] @@ -21,6 +21,10 @@ COMMON_DEP=" kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) virtual/pam[${MULTILIB_USEDEP}] utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) !sys-auth/nss_ldap !sys-auth/pam_ldap" RDEPEND="${COMMON_DEP}" @@ -33,7 +37,12 @@ DEPEND="${COMMON_DEP} REQUIRED_USE=" utils? ( ${PYTHON_REQUIRED_USE} ) - test? ( ${PYTHON_REQUIRED_USE} )" + test? ( ${PYTHON_REQUIRED_USE} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch +) pkg_setup() { enewgroup nslcd @@ -41,9 +50,11 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch - epatch_user + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" } multilib_src_configure() { @@ -57,6 +68,7 @@ multilib_src_configure() { --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 pynslcd) $(use_enable debug) $(use_enable kerberos) $(use_enable pam) @@ -89,19 +101,43 @@ multilib_src_install_all() { if use utils; then python_moduleinto nslcd - python_foreach_impl && python_domodule utils/*.py + python_foreach_impl python_domodule utils/*.py for script in chsh getent; do python_foreach_impl python_newscript utils/${script}.py ${script}.ldap
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 57d8f9156591dc15473cfea013a9b39ddced6177 Author: Patrick McLean gentoo org> AuthorDate: Tue Aug 1 17:44:17 2017 + Commit: Patrick McLean gentoo org> CommitDate: Tue Aug 1 17:44:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d8f915 sys-auth/nss-pam-ldapd: Revision bump, actually drop python-ldap dep The -r1 ebuild was refactored to make python-ldap no longer needed in DEPEND, but I forgot to actually drop the dep. Package-Manager: Portage-2.3.6, Repoman-2.3.3 .../{nss-pam-ldapd-0.9.8-r1.ebuild => nss-pam-ldapd-0.9.8-r2.ebuild} | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild similarity index 99% rename from sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild rename to sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild index f8ec1cb488f..d286f5f9a46 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r2.ebuild @@ -17,7 +17,6 @@ IUSE="debug kerberos +pam pynslcd sasl test +utils" COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] - dev-python/python-ldap[${PYTHON_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) virtual/pam[${MULTILIB_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/files/, sys-auth/nss-pam-ldapd/
commit: 8a051c99a81d14bcf8003868a59c2fe682717fae Author: Patrick McLean gentoo org> AuthorDate: Mon Jul 31 23:01:02 2017 + Commit: Patrick McLean gentoo org> CommitDate: Mon Jul 31 23:01:24 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a051c99 sys-auth/nss-pam-ldapd: Remove empty s6 init script Gentoo-Bug: 622416 Package-Manager: Portage-2.3.6, Repoman-2.3.3 sys-auth/nss-pam-ldapd/files/nslcd-init-s6| 0 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 3 +-- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init-s6 b/sys-auth/nss-pam-ldapd/files/nslcd-init-s6 deleted file mode 100644 index e69de29bb2d..000 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild index ddcc9dbe69f..22abd70bba2 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -80,7 +80,6 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/nslcd-init-r1 nslcd newinitd "${FILESDIR}"/nslcd-init-r2 nslcd - newinitd "${FILESDIR}"/nslcd-init-s6 nslcd-s6 s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 insinto /usr/share/nss-pam-ldapd diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild index 760ed21c4fe..edce3791910 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild @@ -81,7 +81,6 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/nslcd-init-r1 nslcd newinitd "${FILESDIR}"/nslcd-init-r2 nslcd - newinitd "${FILESDIR}"/nslcd-init-s6 nslcd-s6 s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 insinto /usr/share/nss-pam-ldapd
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/files/, sys-auth/nss-pam-ldapd/
commit: 1756fc0f53d40072e7b634ed3baf8a87152fd6af Author: Patrick McLean gentoo org> AuthorDate: Mon Jul 31 22:58:54 2017 + Commit: Patrick McLean gentoo org> CommitDate: Mon Jul 31 23:01:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1756fc0f sys-auth/nss-pam-ldapd: Revision bump, make python deps optional .../nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch | 25 sys-auth/nss-pam-ldapd/files/pynslcd.initd | 28 sys-auth/nss-pam-ldapd/metadata.xml| 1 + .../nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild| 164 + 4 files changed, 218 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch new file mode 100644 index 000..11c86eff2e2 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.8-pynslcd-module-paths.patch @@ -0,0 +1,25 @@ +diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py +index d367a8c..9a52120 100755 +--- a/pynslcd.py b/pynslcd.py +@@ -30,13 +30,13 @@ import threading + import daemon + import ldap + +-from tio import TIOStream +-import cfg +-import common +-import constants +-import invalidator +-import mypidfile +-import search ++from pynslcd.tio import TIOStream ++import pynslcd.cfg as cfg ++import pynslcd.common as common ++import pynslcd.constants as constants ++import pynslcd.invalidator as invalidator ++import pynslcd.mypidfile as mypidfile ++import pynslcd.search as search + + + # the name of the program diff --git a/sys-auth/nss-pam-ldapd/files/pynslcd.initd b/sys-auth/nss-pam-ldapd/files/pynslcd.initd new file mode 100644 index 000..7b6540810ae --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/pynslcd.initd @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/sbin/pynslcd +pidfile=/var/run/nslcd/nslcd.pid +extra_commands="checkconfig" +cfg="/etc/nslcd.conf" + +depend() { + need net + use dns logger +} + +checkconfig() { + if [ ! -f "$cfg" ] ; then + eerror "Please create $cfg" + eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" + return 1 + fi + return 0 +} + +start_pre() { + checkpath -q -d /run/nslcd -o nslcd:nslcd + checkconfig + return $? +} diff --git a/sys-auth/nss-pam-ldapd/metadata.xml b/sys-auth/nss-pam-ldapd/metadata.xml index f76306794b1..ad8b010a0a0 100644 --- a/sys-auth/nss-pam-ldapd/metadata.xml +++ b/sys-auth/nss-pam-ldapd/metadata.xml @@ -11,6 +11,7 @@ Install the command-line utilities +Install the python implementation along with the standard implementation Provides a Name Service Switch (NSS) module that allows your LDAP diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild new file mode 100644 index 000..f8ec1cb488f --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8-r1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +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="~amd64 ~x86" +IUSE="debug kerberos +pam pynslcd sasl test +utils" + +COMMON_DEP=" + net-nds/openldap[${MULTILIB_USEDEP}] + dev-python/python-ldap[${PYTHON_USEDEP}] + sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + virtual/pam[${MULTILIB_USEDEP}] + utils? ( ${PYTHON_DEPS} ) + pynslcd? ( + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + ) + !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} pynslcd )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch + "${FILESDIR}"/${PN}-0.9.8-pynslcd-module-paths.patch +) + +pkg_setup() { + enewgroup nslcd + enewuser nslcd -1 -1 -1 nslcd +} + +src_prepare() { + cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" + + default + use utils && python_setup + touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" +} + +multilib_src_configure() { + local -a myconf + +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: e1f41e75517723a71fe686b71abfac082fa6dccc Author: Matthew Thode gentoo org> AuthorDate: Sun Jul 23 02:32:07 2017 + Commit: Matt Thode gentoo org> CommitDate: Sun Jul 23 02:32:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f41e75 sys-auth/nss-pam-ldapd: add missing dep for bug 624608 Package-Manager: Portage-2.3.6, Repoman-2.3.3 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild index 1a5796dd7ea..a81e8746561 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild @@ -17,6 +17,7 @@ IUSE="debug kerberos +pam sasl test +utils" COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] + dev-python/python-ldap[${PYTHON_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) virtual/pam[${MULTILIB_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: f2c3c764326f2483b44361b21a5cbf9087d11084 Author: Matthew Thode gentoo org> AuthorDate: Mon Jun 26 15:18:42 2017 + Commit: Matt Thode gentoo org> CommitDate: Mon Jun 26 15:19:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c3c764 sys-auth/nss-pam-ldapd: 0.9.8 bup Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-auth/nss-pam-ldapd/Manifest | 1 + sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild | 128 ++ 2 files changed, 129 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 7e9f8ca3e4e..d8824478c28 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,2 +1,3 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 SHA256 a29ceb9b7eda386ca38f16115ffec61425462cca6b5e560c44c3d51edc03a63f SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 WHIRLPOOL 5d30088d73e464bf380dd5e7d34f8c5200680712693c97ee1f1df1880b4680236d9168ac7ec08b161ae463236c0feddc2171442a956c872113caa6e2b07a6bb8 DIST nss-pam-ldapd-0.9.7.tar.gz 762743 SHA256 0db88d6518bf7ffb01b44f8f8841ece5162906982ce2c9e45e6afff90d3783eb SHA512 2117262f41c4fc54987f9f663ed71126100420ecff391cc280e98d7864094db201a81a4ebf7e5634436982092be3c751971d8aee53e39c42a8572ab57b561284 WHIRLPOOL be1a3a1a5a2eec6fe1e75f5fd40e741fd5dd013534c05898c0498090983632a17931bcf6d3f9e53f583a584d7e02b74c6844343e05617c61e03c0c92b792e044 +DIST nss-pam-ldapd-0.9.8.tar.gz 771247 SHA256 ef7362e7f2003da8c7beb7bcc03c30494acf712625aaac8badc6e7eb16f3453f SHA512 f0d24afd4cb5cea8155aa719b598448d3d81a896f7bc431f7d73e0617a7b2aa7e0ceb6de0b50163848c5554d96a3c415226e32a92e64ed91772fec4c64ad135b WHIRLPOOL 59452c03795d334210fda4b5fbdc23f02e2dfa39e464b6507a8d5f1b8a9caf4033117446d1416de436445f8dc0272252220b1d3cd6f132cbdbba4e3950727fe1 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild new file mode 100644 index 000..1a5796dd7ea --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.8.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +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="~amd64 ~x86" +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}] ) + 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 + newinitd "${FILESDIR}"/nslcd-init-r2 nslcd + newinitd "${FILESDIR}"/nslcd-init-s6 nslcd-s6 + s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 + + insinto /usr/share/nss-pam-ldapd + doins "${WORKDIR}/${P}/nslcd.conf" + + fperms o-r /etc/nslcd.conf + + if use utils; then + python_moduleinto nslcd
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/files/
commit: 2614dda33e678fb9b969ac7a3ee604596d1a29b2 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Feb 7 16:42:42 2017 + Commit: David Seifert gentoo org> CommitDate: Thu Feb 9 22:37:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2614dda3 sys-auth/nss-pam-ldapd: remove unused files Closes: https://github.com/gentoo/gentoo/pull/3870 sys-auth/nss-pam-ldapd/files/nslcd-init | 37 - sys-auth/nss-pam-ldapd/files/nslcd.rc | 35 --- 2 files changed, 72 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init b/sys-auth/nss-pam-ldapd/files/nslcd-init deleted file mode 100644 index 77d8497edc..00 --- a/sys-auth/nss-pam-ldapd/files/nslcd-init +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_commands="checkconfig" -cfg="/etc/nslcd.conf" - -depend() { - need net - use dns logger -} - -checkconfig() { - if [ ! -f "$cfg" ] ; then - eerror "Please create $cfg" - eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" - return 1 - fi - return 0 -} - -start() { -checkpath -q -d /var/run/nslcd -o nslcd:nslcd - checkconfig || return $? - - ebegin "Starting nslcd" - start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \ - --exec /usr/sbin/nslcd - eend $? "Failed to start nslcd" -} - -stop() { - ebegin "Stopping nslcd" - start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid - eend $? "Failed to stop nslcd" -} diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.rc b/sys-auth/nss-pam-ldapd/files/nslcd.rc deleted file mode 100644 index 6225b0ce27..00 --- a/sys-auth/nss-pam-ldapd/files/nslcd.rc +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -opts="checkconfig" - -depend() { - need net - use dns logger -} - -checkconfig() { - if [ ! -f /etc/nss-ldapd.conf ] ; then - eerror "Please create /etc/nss-ldapd.conf" - eerror "Example config: /usr/share/nss-ldapd/nss-ldapd.conf" - return 1 - fi - return 0 -} - -start() { - checkconfig || return $? - - ebegin "Starting nslcd" - start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \ - --exec /usr/sbin/nslcd - eend $? "Failed to start nslcd" -} - -stop() { - ebegin "Stopping nslcd" - start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid - eend $? "Failed to stop nslcd" -}
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 0811203803fa8023d22ccde6a37932596dfda6bb Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Dec 29 10:41:38 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Dec 29 10:44:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08112038 sys-auth/nss-pam-ldapd: x86 stable wrt bug #595374 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild index c4bcf87..a0f2b3a 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug kerberos +pam sasl test +utils" COMMON_DEP="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 70434595dc039ef3933cb945bb8d5b7c83cccef5 Author: Aaron Bauman gentoo org> AuthorDate: Sat Dec 17 01:10:24 2016 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Dec 17 01:10:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70434595 sys-auth/nss-pam-ldapd: stable for amd64 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild index 10b5796..c4bcf87 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="debug kerberos +pam sasl test +utils" COMMON_DEP="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 507f46eea831bdde420d9d39698ea521a3b34e8d Author: Matthew Thode gentoo org> AuthorDate: Mon Oct 17 01:18:32 2016 + Commit: Matt Thode gentoo org> CommitDate: Mon Oct 17 01:18:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507f46ee we actually need pam now sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild | 2 +- sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild index 16a99df..71d3091 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.8.14-r2.ebuild @@ -19,7 +19,7 @@ DEPEND=" net-nds/openldap sasl? ( dev-libs/cyrus-sasl ) kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) + virtual/pam !sys-auth/nss_ldap !sys-auth/pam_ldap" RDEPEND="${DEPEND}" diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild index f5da094..10b5796 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -20,7 +20,7 @@ COMMON_DEP=" net-nds/openldap[${MULTILIB_USEDEP}] sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) - pam? ( virtual/pam[${MULTILIB_USEDEP}] ) + virtual/pam[${MULTILIB_USEDEP}] utils? ( ${PYTHON_DEPS} ) !sys-auth/nss_ldap !sys-auth/pam_ldap"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 0aaa500eb0b7f9f8a719739d1f57c28966a38000 Author: Matthew Thode gentoo org> AuthorDate: Wed Sep 14 13:23:48 2016 + Commit: Matt Thode gentoo org> CommitDate: Wed Sep 14 13:24:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aaa500e sys-auth/nss-pam-ldapd: cleanup Package-Manager: portage-2.2.28 sys-auth/nss-pam-ldapd/Manifest | 1 - sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild | 129 -- 2 files changed, 130 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 6a6ae0c..7e9f8ca 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,3 +1,2 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 SHA256 a29ceb9b7eda386ca38f16115ffec61425462cca6b5e560c44c3d51edc03a63f SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 WHIRLPOOL 5d30088d73e464bf380dd5e7d34f8c5200680712693c97ee1f1df1880b4680236d9168ac7ec08b161ae463236c0feddc2171442a956c872113caa6e2b07a6bb8 -DIST nss-pam-ldapd-0.9.6.tar.gz 754681 SHA256 101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 SHA512 213bc4290042623ef4cce071045bab569a824aef7d960e3aa9c2f64f0c4928c5c28a4b5d9225fd35ea5026bb11f710d9c620f790e9d82c73d89b272e972a WHIRLPOOL 8902d48a6e889e697f7ddf9bd7d481493a0e2e302223317647f24fd3cd10b176cf66287553b8eafc2b996d0c073055afeb42b4f29d93e8f05f3967bb0aeaee16 DIST nss-pam-ldapd-0.9.7.tar.gz 762743 SHA256 0db88d6518bf7ffb01b44f8f8841ece5162906982ce2c9e45e6afff90d3783eb SHA512 2117262f41c4fc54987f9f663ed71126100420ecff391cc280e98d7864094db201a81a4ebf7e5634436982092be3c751971d8aee53e39c42a8572ab57b561284 WHIRLPOOL be1a3a1a5a2eec6fe1e75f5fd40e741fd5dd013534c05898c0498090983632a17931bcf6d3f9e53f583a584d7e02b74c6844343e05617c61e03c0c92b792e044 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 deleted file mode 100644 index 3c530e4.. --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.6.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=(python2_7) -inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 - -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 - newinitd "${FILESDIR}"/nslcd-init-r2 nslcd - newinitd "${FILESDIR}"/nslcd-init-s6 nslcd-s6 - s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 - - insinto /usr/share/nss-pam-ldapd - doins "${WORKDIR}/${P}/nslcd.conf" - - fperms o-r /etc/nslcd.conf - - if use utils; then - python_moduleinto nslcd -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 02c477a7378c9fe796021e47a87217671be2117f Author: Matthew Thode gentoo org> AuthorDate: Wed Sep 14 13:23:12 2016 + Commit: Matt Thode gentoo org> CommitDate: Wed Sep 14 13:24:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c477a7 sys-auth/nss-pam-ldapd: add keywords to 0.9 series Package-Manager: portage-2.2.28 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild index 86a7857..f5da094 100644 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://arthurdejong.org/${PN}/${P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="debug kerberos +pam sasl test +utils" COMMON_DEP="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/nss-pam-ldapd/
commit: 57c9d84577f2a4953bd0289dc3032c3b4d67a10b Author: Matthew Thode gentoo org> AuthorDate: Mon Aug 15 14:39:47 2016 + Commit: Matt Thode gentoo org> CommitDate: Mon Aug 15 14:39:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c9d845 sys-auth/nss-pam-ldapd: bup Package-Manager: portage-2.2.28 sys-auth/nss-pam-ldapd/Manifest | 1 + sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild | 129 ++ 2 files changed, 130 insertions(+) diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 97885bb..6a6ae0c 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -1,2 +1,3 @@ DIST nss-pam-ldapd-0.8.14.tar.gz 508949 SHA256 a29ceb9b7eda386ca38f16115ffec61425462cca6b5e560c44c3d51edc03a63f SHA512 70abb1836b5b3304e583fd3b71f11fee7586e181b26f4630779ec1d90b856da6e4fcc76327c51b20a158aa36708dd12ceb5f543a33c826881f2ad3e092f542c9 WHIRLPOOL 5d30088d73e464bf380dd5e7d34f8c5200680712693c97ee1f1df1880b4680236d9168ac7ec08b161ae463236c0feddc2171442a956c872113caa6e2b07a6bb8 DIST nss-pam-ldapd-0.9.6.tar.gz 754681 SHA256 101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 SHA512 213bc4290042623ef4cce071045bab569a824aef7d960e3aa9c2f64f0c4928c5c28a4b5d9225fd35ea5026bb11f710d9c620f790e9d82c73d89b272e972a WHIRLPOOL 8902d48a6e889e697f7ddf9bd7d481493a0e2e302223317647f24fd3cd10b176cf66287553b8eafc2b996d0c073055afeb42b4f29d93e8f05f3967bb0aeaee16 +DIST nss-pam-ldapd-0.9.7.tar.gz 762743 SHA256 0db88d6518bf7ffb01b44f8f8841ece5162906982ce2c9e45e6afff90d3783eb SHA512 2117262f41c4fc54987f9f663ed71126100420ecff391cc280e98d7864094db201a81a4ebf7e5634436982092be3c751971d8aee53e39c42a8572ab57b561284 WHIRLPOOL be1a3a1a5a2eec6fe1e75f5fd40e741fd5dd013534c05898c0498090983632a17931bcf6d3f9e53f583a584d7e02b74c6844343e05617c61e03c0c92b792e044 diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild new file mode 100644 index 000..86a7857 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.7.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=(python2_7) +inherit eutils prefix user python-r1 multilib multilib-minimal systemd s6 + +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 + newinitd "${FILESDIR}"/nslcd-init-r2 nslcd + newinitd "${FILESDIR}"/nslcd-init-s6 nslcd-s6 + s6_install_service nslcd "${FILESDIR}"/nslcd-run-s6 + + insinto /usr/share/nss-pam-ldapd + doins "${WORKDIR}/${P}/nslcd.conf" + + fperms o-r /etc/nslcd.conf + + if use utils; then + python_moduleinto nslcd +