summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-05-15 17:51:20 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-05-15 18:05:23 +0200
commit4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f (patch)
tree60e3e0357a10b5eedbca5179f56d25ec2d8f627c /sys-auth/sssd
parentsys-apps/inxi: version bump to 3.3.04.1 (diff)
downloadgentoo-4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f.tar.gz
gentoo-4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f.tar.bz2
gentoo-4ba2a3a242005962bd8f7ab51a60b5a1a13b3f4f.zip
sys-auth/sssd: fix style
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-auth/sssd')
-rw-r--r--sys-auth/sssd/sssd-2.5.0.ebuild23
1 files 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 5589ebcb8dfa..4242b9b973eb 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"