aboutsummaryrefslogtreecommitdiff
path: root/security/sssd
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2023-07-13 09:43:49 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2023-07-13 09:43:49 +0000
commitae334add4bdb2a871fc604510b1d734ceeb30660 (patch)
treecaf2c63b17decc274ed26088b8f05dbc3c64eb87 /security/sssd
parent9b5538c590bbc0c88adea0c0bb8bf00d44a16b9b (diff)
downloadports-ae334add4bdb2a871fc604510b1d734ceeb30660.tar.gz
ports-ae334add4bdb2a871fc604510b1d734ceeb30660.zip
security/sssd: Fix pkg-plist and chase krb5 update
This patch fixes two issues. The first issue was presence of missing files of the SSSDConfig Python module: PKG-INFO, SOURCES.txt, dependency_links., and top_level.txt. It looks like those files are not installed anymore so let's just remove them from pkg-plist. The other issue was the build system not accepting the new version of secruity/krb5. The fix is to patch sssd's build system to accept the new version. This is how we fixed previous incarnations of this bug in the past. PR: 271939 Reported by: ddrinnon@cdor.net Fixes: 7228a09df016 security/krb5: krb5-121 is now default MFH: 2023Q3 Sponsored by: Klara Inc.
Diffstat (limited to 'security/sssd')
-rw-r--r--security/sssd/Makefile2
-rw-r--r--security/sssd/files/patch-src__external__pac_responder.m45
-rw-r--r--security/sssd/pkg-plist4
3 files changed, 4 insertions, 7 deletions
diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index d9327a78b1d8..b0064eda76ea 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sssd
PORTVERSION= 1.16.5
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= security
MASTER_SITES= https://releases.pagure.org/SSSD/${PORTNAME}/
diff --git a/security/sssd/files/patch-src__external__pac_responder.m4 b/security/sssd/files/patch-src__external__pac_responder.m4
index 832eb055bf45..94dfde4f335c 100644
--- a/security/sssd/files/patch-src__external__pac_responder.m4
+++ b/security/sssd/files/patch-src__external__pac_responder.m4
@@ -9,7 +9,7 @@
AC_MSG_CHECKING(for supported MIT krb5 version)
KRB5_VERSION="`$KRB5_CONFIG --version`"
case $KRB5_VERSION in
-@@ -19,7 +19,10 @@ then
+@@ -19,7 +19,11 @@ then
Kerberos\ 5\ release\ 1.14* | \
Kerberos\ 5\ release\ 1.15* | \
Kerberos\ 5\ release\ 1.16* | \
@@ -17,7 +17,8 @@
+ Kerberos\ 5\ release\ 1.17* | \
+ Kerberos\ 5\ release\ 1.18* | \
+ Kerberos\ 5\ release\ 1.19* | \
-+ Kerberos\ 5\ release\ 1.20*)
++ Kerberos\ 5\ release\ 1.20* | \
++ Kerberos\ 5\ release\ 1.21*)
krb5_version_ok=yes
AC_MSG_RESULT([yes])
;;
diff --git a/security/sssd/pkg-plist b/security/sssd/pkg-plist
index cc7179248ad9..8a2acfc8732a 100644
--- a/security/sssd/pkg-plist
+++ b/security/sssd/pkg-plist
@@ -34,10 +34,6 @@ lib/nss_sss.so.2
lib/nss_sss.so.2.0.0
lib/pam_sss.so
%%NO_SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info
-%%SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info/PKG-INFO
-%%SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info/SOURCES.txt
-%%SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info/dependency_links.txt
-%%SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/SSSDConfig/__init__.py
%%PYTHON_SITELIBDIR%%/SSSDConfig/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/SSSDConfig/__pycache__/ipachangeconf.cpython-%%PYTHON_SUFFIX%%.pyc