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 7094C1382C5 for ; Sat, 15 May 2021 16:13:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 775D7E0837; Sat, 15 May 2021 16:13:39 +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 45931E0837 for ; Sat, 15 May 2021 16:13:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 330FF3406C2 for ; Sat, 15 May 2021 16:13:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 839364C3 for ; Sat, 15 May 2021 16:13:36 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1621094723.4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/sssd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/sssd/sssd-2.5.0.ebuild X-VCS-Directories: sys-auth/sssd/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f X-VCS-Branch: master Date: Sat, 15 May 2021 16:13:36 +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: 229a0d20-be39-49ee-906d-0e99babe4476 X-Archives-Hash: 82721d16785bb675f4f30aabbdfcdeaf commit: 4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f Author: Thomas Deutschmann gentoo org> AuthorDate: Sat May 15 15:51:20 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat May 15 16:05:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba2a3a2 sys-auth/sssd: fix style Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann gentoo.org> sys-auth/sssd/sssd-2.5.0.ebuild | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/sys-auth/sssd/sssd-2.5.0.ebuild b/sys-auth/sssd/sssd-2.5.0.ebuild index 5589ebcb8df..4242b9b973e 100644 --- a/sys-auth/sssd/sssd-2.5.0.ebuild +++ b/sys-auth/sssd/sssd-2.5.0.ebuild @@ -104,12 +104,17 @@ pkg_setup() { } src_prepare() { - sed -i 's:/var/run:/run:' \ - "${S}"/src/examples/logrotate || die - default + + sed -i \ + -e 's:/var/run:/run:' \ + "${S}"/src/examples/logrotate \ + || die + eautoreconf + multilib_copy_sources + if use python && multilib_is_native_abi; then python_setup fi @@ -142,6 +147,7 @@ multilib_src_configure() { --with-nscd="${EPREFIX}"/usr/sbin/nscd --with-unicode-lib="glib2" --disable-rpath + --disable-static --sbindir=/usr/sbin --enable-local-provider $(multilib_native_use_with systemd kcm) @@ -212,6 +218,10 @@ multilib_src_compile() { fi } +multilib_src_test() { + multilib_is_native_abi && emake check +} + multilib_src_install() { if multilib_is_native_abi; then emake -j1 DESTDIR="${D}" "${_at_args[@]}" install @@ -219,7 +229,6 @@ multilib_src_install() { python_optimize python_fix_shebang "${ED}" fi - else # easier than playing with automake... dopammod .libs/pam_sss.so @@ -264,7 +273,7 @@ multilib_src_install_all() { keepdir /var/log/sssd # strip empty dirs - if ! use doc ; then + if ! use doc; then rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap,sss_simpleifp}_doc || die fi @@ -272,10 +281,6 @@ multilib_src_install_all() { rm -r "${ED}"/run || die } -multilib_src_test() { - multilib_is_native_abi && emake check -} - pkg_postinst() { elog "You must set up sssd.conf (default installed into /etc/sssd)" elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"