|
|
|
@ -1,16 +1,16 @@ |
|
|
|
|
# Copyright 1999-2019 Gentoo Authors |
|
|
|
|
# Copyright 1999-2020 Gentoo Authors |
|
|
|
|
# Distributed under the terms of the GNU General Public License v2 |
|
|
|
|
|
|
|
|
|
EAPI=7 |
|
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python3_{6,7,8} ) |
|
|
|
|
PYTHON_COMPAT=( python3_{7,8} ) |
|
|
|
|
|
|
|
|
|
inherit autotools flag-o-matic linux-info multilib-minimal pam python-r1 systemd toolchain-funcs |
|
|
|
|
inherit autotools flag-o-matic linux-info multilib-minimal python-r1 pam systemd toolchain-funcs |
|
|
|
|
|
|
|
|
|
DESCRIPTION="System Security Services Daemon provides access to identity and authentication" |
|
|
|
|
HOMEPAGE="https://pagure.io/SSSD/sssd" |
|
|
|
|
SRC_URI="http://releases.pagure.org/SSSD/${PN}/${P}.tar.gz" |
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
|
|
|
|
SRC_URI="https://github.com/SSSD/sssd/releases/download/${PN}-$(ver_rs 1-2 _)/${P}.tar.gz" |
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
|
|
|
|
|
|
|
|
|
LICENSE="GPL-3" |
|
|
|
|
SLOT="0" |
|
|
|
@ -38,7 +38,7 @@ COMMON_DEP=" |
|
|
|
|
) |
|
|
|
|
>=sys-apps/keyutils-1.5:= |
|
|
|
|
>=net-dns/c-ares-1.7.4 |
|
|
|
|
>=dev-libs/nss-3.12.9 |
|
|
|
|
dev-libs/openssl |
|
|
|
|
selinux? ( |
|
|
|
|
>=sys-libs/libselinux-2.1.9 |
|
|
|
|
>=sys-libs/libsemanage-2.1 |
|
|
|
@ -80,7 +80,7 @@ MULTILIB_WRAPPED_HEADERS=( |
|
|
|
|
/usr/include/sss_certmap.h |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
pkg_setup(){ |
|
|
|
|
pkg_setup() { |
|
|
|
|
linux-info_pkg_setup |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -88,9 +88,6 @@ src_prepare() { |
|
|
|
|
sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' \ |
|
|
|
|
"${S}"/src/sysv/gentoo/sssd.in || die "sed sssd.in" |
|
|
|
|
|
|
|
|
|
sed -i 's:PYTHON_EXEC=$PYTHON2:PYTHON_EXEC=$PYTHON3:' \ |
|
|
|
|
"${S}"/configure.ac || die "sed configure.ac" |
|
|
|
|
|
|
|
|
|
default |
|
|
|
|
eautoreconf |
|
|
|
|
multilib_copy_sources |
|
|
|
@ -119,7 +116,6 @@ multilib_src_configure() { |
|
|
|
|
|
|
|
|
|
myconf+=( |
|
|
|
|
--localstatedir="${EPREFIX}"/var |
|
|
|
|
--enable-nsslibdir="${EPREFIX}"/$(get_libdir) |
|
|
|
|
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd |
|
|
|
|
--enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir) |
|
|
|
|
--with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb |
|
|
|
@ -127,7 +123,6 @@ multilib_src_configure() { |
|
|
|
|
--with-nscd |
|
|
|
|
--with-unicode-lib="glib2" |
|
|
|
|
--disable-rpath |
|
|
|
|
--disable-silent-rules |
|
|
|
|
--sbindir=/usr/sbin |
|
|
|
|
--without-kcm |
|
|
|
|
$(use_with samba libwbclient) |
|
|
|
@ -144,7 +139,7 @@ multilib_src_configure() { |
|
|
|
|
$(multilib_native_use_with sudo) |
|
|
|
|
$(multilib_native_use_with autofs) |
|
|
|
|
$(multilib_native_use_with ssh) |
|
|
|
|
--with-crypto="nss" |
|
|
|
|
--with-crypto="libcrypto" |
|
|
|
|
--with-initscript="sysv" |
|
|
|
|
--without-python2-bindings |
|
|
|
|
${python3_configure} |
|
|
|
@ -242,7 +237,7 @@ multilib_src_test() { |
|
|
|
|
default |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pkg_postinst(){ |
|
|
|
|
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" |
|
|
|
|
elog "features. Please see howto in https://docs.pagure.org/SSSD.sssd/design_pages/smartcard_authentication_require.html" |