sssd: update to 2.3.1; drop sssd-python

This commit is contained in:
Andrew J. Hesford 2020-09-18 10:35:36 -04:00 committed by Andrew J. Hesford
parent 32d631a318
commit d7d4544c0e
5 changed files with 30 additions and 20 deletions

View file

@ -2792,11 +2792,10 @@ libbasicobjects.so.0 ding-libs-0.5.0_1
libini_config.so.5 ding-libs-0.5.0_1
libipa_hbac.so.0 sssd-1.13.4_1
libsss_idmap.so.0 sssd-1.13.4_1
libsss_sudo.so sssd-1.13.4_1
libnss_sss.so.2 sssd-1.13.4_1
libwbclient.so.0 sssd-1.13.4_1
libsss_nss_idmap.so.0 sssd-1.13.4_1
libsss_simpleifp.so.0 sssd-1.13.4_1
libsss_certmap.so.0 sssd-2.2.3_1
libsss_util.so sssd-2.0.0_1
libsss_crypt.so sssd-2.0.0_1
libsss_debug.so sssd-2.0.0_1

View file

@ -1 +0,0 @@
sssd

View file

@ -0,0 +1,18 @@
diff -Naurp0 a/lib/certmap/sss_cert_content_crypto.c b/lib/certmap/sss_cert_content_crypto.c
--- src/lib/certmap/sss_cert_content_crypto.c 2020-09-06 16:39:47.669132066 +0200
+++ src/lib/certmap/sss_cert_content_crypto.c 2020-09-06 16:39:51.923060279 +0200
@@ -774,2 +774,2 @@ int sss_cert_get_content(TALLOC_CTX *mem
- if ((X509_get_extension_flags(cert) & EXFLAG_KUSAGE)) {
- cont->key_usage = X509_get_key_usage(cert);
+ if (cert->ex_flags & EXFLAG_KUSAGE) {
+ cont->key_usage = cert->ex_kusage;
diff -Naurp0 a/p11_child/p11_child_openssl.c b/p11_child/p11_child_openssl.c
--- src/p11_child/p11_child_openssl.c 2020-09-06 16:39:47.663132167 +0200
+++ src/p11_child/p11_child_openssl.c 2020-09-06 16:39:51.887060887 +0200
@@ -33,0 +34 @@
+#include <limits.h>
diff -Naurp0 a/util/crypto/libcrypto/crypto_hmac_sha1.c b/util/crypto/libcrypto/crypto_hmac_sha1.c
--- src/util/crypto/libcrypto/crypto_hmac_sha1.c 2020-09-06 16:39:47.705131458 +0200
+++ src/util/crypto/libcrypto/crypto_hmac_sha1.c 2020-09-06 16:39:51.870061174 +0200
@@ -19,0 +20 @@
+#include <limits.h>

View file

@ -1,16 +1,16 @@
# Template file for 'sssd'
pkgname=sssd
version=2.0.0
revision=4
version=2.3.1
revision=1
build_style=gnu-configure
configure_args="--without-selinux --without-semanage
configure_args="--without-selinux --without-semanage --without-libwbclient
--disable-cifs-idmap-plugin --without-samba --with-os=fedora
--with-test-dir=/dev/shm --with-python2-bindings --with-python3-bindings
--with-pid-path=/run"
--with-test-dir=/dev/shm --with-python3-bindings --with-pid-path=/run
--with-sudo-lib-path=/usr/lib/sssd --without-python2-bindings"
hostmakedepends="pkg-config nscd bind xmlcatmgr docbook-xsl"
makedepends="pam-devel popt-devel talloc-devel tdb-devel tevent-devel ldb-devel
ding-libs-devel libldap-devel mit-krb5-devel c-ares-devel glib-devel
libxslt-devel python-devel nss-devel libnfsidmap-devel http-parser-devel
libxslt-devel nss-devel libnfsidmap-devel http-parser-devel p11-kit-devel
jansson-devel python3-devel libcurl-devel cmocka-devel check-devel"
make_dirs="/var/lib/sss/db 0700 root root
/var/lib/sss/secrets 0700 root root
@ -25,9 +25,9 @@ make_dirs="/var/lib/sss/db 0700 root root
short_desc="System Security Services Daemon"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="GPL-3.0-or-later"
homepage="https://pagure.io/SSSD/sssd/"
distfiles="https://releases.pagure.org/SSSD/sssd/sssd-${version}.tar.gz"
checksum=77569d00dd516e7eba1bfcc2ae562647068d7d16e283e8b3fc4f1e03fc899586
homepage="https://sssd.io"
distfiles="https://github.com/SSSD/sssd/releases/download/${pkgname}-${version//./_}/${pkgname}-${version}.tar.gz"
checksum=ef8b047e6d0452a585862dffd16db725ac828e0d3fb594a8dea6d2f24a61ad17
python_version=3
do_check() {
@ -46,19 +46,12 @@ sssd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}
sssd-python_package() {
depends="sssd"
short_desc+=" - Python bindings"
pkg_install() {
vmove /usr/lib/python2.7
}
}
sssd-python3_package() {
depends="sssd"
short_desc+=" - Python3 bindings"

1
srcpkgs/sssd/update Normal file
View file

@ -0,0 +1 @@
pattern="${pkgname}-\K[0-9_.]+(?=tar.gz)"