From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2ED551382C5 for ; Mon, 22 Mar 2021 04:02:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28D10E08C8; Mon, 22 Mar 2021 04:02:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89309E08C8 for ; Mon, 22 Mar 2021 04:02:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA033335CD2 for ; Mon, 22 Mar 2021 04:01:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 387A1478 for ; Mon, 22 Mar 2021 04:01:57 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616385628.8b5133c451fba89337cf87bea32a1aec61184b32.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/nss_ldap/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/nss_ldap/nss_ldap-265-r6.ebuild X-VCS-Directories: sys-auth/nss_ldap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8b5133c451fba89337cf87bea32a1aec61184b32 X-VCS-Branch: master Date: Mon, 22 Mar 2021 04:01:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8160cbe-eaef-4fbc-99d1-04ed8c8fbbd9 X-Archives-Hash: bf1141002be59e76b617fd05c1566c04 commit: 8b5133c451fba89337cf87bea32a1aec61184b32 Author: Sam James gentoo org> AuthorDate: Mon Mar 22 04:00:24 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 22 04:00:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5133c4 sys-auth/nss_ldap: update EAPI 5 -> 7 * Port to EAPI 7 * Drop unused inherits (multilib) * Use consistent ${EPREFIX}/usr/$(get_libdir) for both multilib native and non-native * Tidy src_configure logic using array * Sort inherits * Add missing || dies Signed-off-by: Sam James gentoo.org> sys-auth/nss_ldap/nss_ldap-265-r6.ebuild | 147 +++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/sys-auth/nss_ldap/nss_ldap-265-r6.ebuild b/sys-auth/nss_ldap/nss_ldap-265-r6.ebuild new file mode 100644 index 00000000000..b5c7180427c --- /dev/null +++ b/sys-auth/nss_ldap/nss_ldap-265-r6.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools fixheadtails multilib-minimal prefix + +DESCRIPTION="NSS LDAP Module" +HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html" +SRC_URI="http://www.padl.com/download/${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="debug ssl sasl kerberos" + +DEPEND=" + >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] + sasl? ( >=dev-libs/cyrus-sasl-2.1.26-r3[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + ssl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + ! /lib* symlinks gone wrong + rm -rf "${ED}"/usr/usr || die + + insinto /etc + doins ldap.conf + + # Append two blank lines and some skip entries + echo >>"${ED}"/etc/ldap.conf || die + echo >>"${ED}"/etc/ldap.conf || die + sed -i "${ED}"/etc/ldap.conf \ + -e '$inss_initgroups_ignoreusers ldap,openldap,mysql,syslog,root,postgres' \ + || die + + dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \ + CVSVersionInfo.txt README nsswitch.ldap certutil + + docinto docs + dodoc doc/* +} + +pkg_postinst() { + elog "If you use a ldaps:// string in the 'uri' setting of" + elog "your /etc/ldap.conf, you must set 'ssl on'!" +}