This commit is contained in:
2024-05-17 16:23:06 +02:00
parent ebc1fc94b8
commit c2ac356ba8
71 changed files with 32 additions and 12 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= sssd PORTNAME= sssd
PORTVERSION= 2.9.4 PORTVERSION= 2.9.4
PORTREVISION= 7 PORTREVISION= 9
CATEGORIES= security CATEGORIES= security
PKGNAMESUFFIX= 2 PKGNAMESUFFIX= 2
@ -34,20 +34,13 @@ LIB_DEPENDS= libcares.so:dns/c-ares \
libjansson.so:devel/jansson \ libjansson.so:devel/jansson \
libjose.so:net/jose \ libjose.so:net/jose \
libkrb5.so:security/krb5 \ libkrb5.so:security/krb5 \
libldb.so:databases/ldb25 \
libndr-krb5pac.so:net/samba416 \
libndr-nbt.so:net/samba416 \
libndr-standard.so:net/samba416 \
libndr.so:net/samba416 \
libnfs.so:net/libnfs \ libnfs.so:net/libnfs \
libnss3.so:security/nss \ libnss3.so:security/nss \
libp11-kit.so:security/p11-kit \ libp11-kit.so:security/p11-kit \
libpcre2-posix.so:devel/pcre2 \ libpcre2-posix.so:devel/pcre2 \
libplds4.so:devel/nspr \ libplds4.so:devel/nspr \
libpopt.so:devel/popt \ libpopt.so:devel/popt \
libsamba-util.so:net/samba416 \
libsasl2.so:security/cyrus-sasl2 \ libsasl2.so:security/cyrus-sasl2 \
libsmbclient.so:net/samba416 \
libtalloc.so:devel/talloc \ libtalloc.so:devel/talloc \
libtdb.so:databases/tdb \ libtdb.so:databases/tdb \
libtevent.so:devel/tevent \ libtevent.so:devel/tevent \
@ -57,7 +50,8 @@ LIB_DEPENDS= libcares.so:dns/c-ares \
RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
USES= autoreconf cpe gettext gmake gssapi:bootstrap,flags,mit iconv ldap \ USES= autoreconf cpe gettext gmake gssapi:bootstrap,flags,mit iconv ldap \
libtool localbase:ldflags pathfix pkgconfig python:3.9+ shebangfix ssl libtool localbase:ldflags pathfix pkgconfig python:3.9+ shebangfix ssl \
samba
USE_LDCONFIG= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes

View File

@ -0,0 +1,20 @@
diff --git src/providers/krb5/krb5_delayed_online_authentication.c src/providers/krb5/krb5_delayed_online_authentication.c
index 1cb7eade0..4aaeb84b2 100644
--- src/providers/krb5/krb5_delayed_online_authentication.c
+++ src/providers/krb5/krb5_delayed_online_authentication.c
@@ -328,6 +328,7 @@ errno_t init_delayed_online_authentication(struct krb5_ctx *krb5_ctx,
struct tevent_context *ev)
{
int ret;
+#ifdef __linux__
hash_table_t *tmp_table;
ret = get_uid_table(krb5_ctx, &tmp_table);
@@ -347,6 +348,7 @@ errno_t init_delayed_online_authentication(struct krb5_ctx *krb5_ctx,
"hash_destroy failed [%s].\n", hash_error_string(ret));
return EFAULT;
}
+#endif /* __linux__ */
krb5_ctx->deferred_auth_ctx = talloc_zero(krb5_ctx,
struct deferred_auth_ctx);

View File

@ -1,6 +1,6 @@
PORTNAME= sssd PORTNAME= sssd
PORTVERSION= 2.9.4 PORTVERSION= 2.9.4
PORTREVISION= 9 PORTREVISION= 7
CATEGORIES= security CATEGORIES= security
PKGNAMESUFFIX= 2 PKGNAMESUFFIX= 2
@ -34,13 +34,20 @@ LIB_DEPENDS= libcares.so:dns/c-ares \
libjansson.so:devel/jansson \ libjansson.so:devel/jansson \
libjose.so:net/jose \ libjose.so:net/jose \
libkrb5.so:security/krb5 \ libkrb5.so:security/krb5 \
libldb.so:databases/ldb25 \
libndr-krb5pac.so:net/samba416 \
libndr-nbt.so:net/samba416 \
libndr-standard.so:net/samba416 \
libndr.so:net/samba416 \
libnfs.so:net/libnfs \ libnfs.so:net/libnfs \
libnss3.so:security/nss \ libnss3.so:security/nss \
libp11-kit.so:security/p11-kit \ libp11-kit.so:security/p11-kit \
libpcre2-posix.so:devel/pcre2 \ libpcre2-posix.so:devel/pcre2 \
libplds4.so:devel/nspr \ libplds4.so:devel/nspr \
libpopt.so:devel/popt \ libpopt.so:devel/popt \
libsamba-util.so:net/samba416 \
libsasl2.so:security/cyrus-sasl2 \ libsasl2.so:security/cyrus-sasl2 \
libsmbclient.so:net/samba416 \
libtalloc.so:devel/talloc \ libtalloc.so:devel/talloc \
libtdb.so:databases/tdb \ libtdb.so:databases/tdb \
libtevent.so:devel/tevent \ libtevent.so:devel/tevent \
@ -50,8 +57,7 @@ LIB_DEPENDS= libcares.so:dns/c-ares \
RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
USES= autoreconf cpe gettext gmake gssapi:bootstrap,flags,mit iconv ldap \ USES= autoreconf cpe gettext gmake gssapi:bootstrap,flags,mit iconv ldap \
libtool localbase:ldflags pathfix pkgconfig python:3.9+ shebangfix ssl \ libtool localbase:ldflags pathfix pkgconfig python:3.9+ shebangfix ssl
samba
USE_LDCONFIG= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes