Skip to content

Commit

Permalink
security/sssd: Fix pkg-plist and chase krb5 update
Browse files Browse the repository at this point in the history
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:	7228a09 security/krb5: krb5-121 is now default
MFH:		2023Q3
Sponsored by:	Klara Inc.
  • Loading branch information
0mp committed Jul 13, 2023
1 parent 9b5538c commit ae334ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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}/

Expand Down
5 changes: 3 additions & 2 deletions security/sssd/files/patch-src__external__pac_responder.m4
Expand Up @@ -9,15 +9,16 @@
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* | \
- Kerberos\ 5\ release\ 1.17*)
+ 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])
;;
4 changes: 0 additions & 4 deletions security/sssd/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit ae334ad

Please sign in to comment.