diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest index 1450a9f..c055f1d 100644 --- a/sys-auth/sssd/Manifest +++ b/sys-auth/sssd/Manifest @@ -1 +1 @@ -DIST sssd-2.2.3.tar.gz 6894302 BLAKE2B b72443ebd4f50581a0d9d2b7cf691fdda0dfe3cfb2ed82c383595aeca8d6198c7f44f1c49e56bdfeac23f9151897ac2df70d1afbbeceb2231daee71492884420 SHA512 b61d52a53e26e8efa9cb799fc6efc2314bf9d174d3cacfe591a4ca77530637591eacc0dc70c0555252e04a9617e8b134b1ab2d9b0f7351b4228e7b61499e6a10 +DIST sssd-2.3.0.tar.gz 6797766 BLAKE2B 0d741709ddf31961d7b962ca2630893509a882e718f3b8d2d6c9b075e351d9f1bfa959fd5668e4af5d455a60c18d3b790f8d81d2e2b81a38389038a660df06d1 SHA512 72fc69018c4b8a71198f4a82e89d49d7a5c513e9291deff2f8e0e132cbd67341a8fa89598d28fcc1d785497526c9eeffe9b261c751524ee0e553badf0f748d59 diff --git a/sys-auth/sssd/metadata.xml b/sys-auth/sssd/metadata.xml index 852be6f..5b5f4a6 100644 --- a/sys-auth/sssd/metadata.xml +++ b/sys-auth/sssd/metadata.xml @@ -1,10 +1,6 @@ - - zlogene@gentoo.org - Mikle Kolyada - alexxy@gentoo.org Alexey Shvetsov @@ -19,4 +15,7 @@ Build helper to let net-misc/openssh use sssd provided information Build helper to let app-admin/sudo use sssd provided information + + cpe:/a:fedorahosted:sssd + diff --git a/sys-auth/sssd/sssd-2.2.3.ebuild b/sys-auth/sssd/sssd-2.3.0.ebuild similarity index 92% rename from sys-auth/sssd/sssd-2.2.3.ebuild rename to sys-auth/sssd/sssd-2.3.0.ebuild index 92ec05c..de4aff3 100644 --- a/sys-auth/sssd/sssd-2.2.3.ebuild +++ b/sys-auth/sssd/sssd-2.3.0.ebuild @@ -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"