git: 0e77feee4d1b - main - security/sssd2: update to version 2.9.6

From: John Hixson <jhixson_at_FreeBSD.org>
Date: Sat, 07 Dec 2024 16:59:10 UTC
The branch main has been updated by jhixson:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e77feee4d1b3605b2e3aa994a800dcbd004d8f3

commit 0e77feee4d1b3605b2e3aa994a800dcbd004d8f3
Author:     John Hixson <jhixson@FreeBSD.org>
AuthorDate: 2024-12-07 16:58:13 +0000
Commit:     John Hixson <jhixson@FreeBSD.org>
CommitDate: 2024-12-07 16:59:03 +0000

    security/sssd2: update to version 2.9.6
---
 security/sssd2/Makefile                            |  3 +-
 security/sssd2/distinfo                            |  6 +--
 .../sssd2/files/patch-src__external__platform.m4   | 46 ++++++++++++----------
 security/sssd2/pkg-plist                           |  8 ++--
 4 files changed, 34 insertions(+), 29 deletions(-)

diff --git a/security/sssd2/Makefile b/security/sssd2/Makefile
index 736e79634b66..3a73e0260ec4 100644
--- a/security/sssd2/Makefile
+++ b/security/sssd2/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	sssd
-PORTVERSION=	2.9.5
-PORTREVISION=	4
+PORTVERSION=	2.9.6
 CATEGORIES=	security
 PKGNAMESUFFIX=	2
 
diff --git a/security/sssd2/distinfo b/security/sssd2/distinfo
index 2d4cce561829..d2efe5d67d1d 100644
--- a/security/sssd2/distinfo
+++ b/security/sssd2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719240176
-SHA256 (sssd-sssd-2.9.5_GH0.tar.gz) = e63a66da95e62a97466f9e04ec6dd9b0c50d82452e6fb031b333c5125172ffbd
-SIZE (sssd-sssd-2.9.5_GH0.tar.gz) = 6764418
+TIMESTAMP = 1733536931
+SHA256 (sssd-sssd-2.9.6_GH0.tar.gz) = 8fc927fe9d627fdbe84b701c94a6b7e739127f48289bd466e18260a567f62244
+SIZE (sssd-sssd-2.9.6_GH0.tar.gz) = 6801499
diff --git a/security/sssd2/files/patch-src__external__platform.m4 b/security/sssd2/files/patch-src__external__platform.m4
index 30caaaaf51ae..2267fcf28b6e 100644
--- a/security/sssd2/files/patch-src__external__platform.m4
+++ b/security/sssd2/files/patch-src__external__platform.m4
@@ -1,9 +1,9 @@
---- src/external/platform.m4.orig	2023-05-05 08:11:07 UTC
-+++ src/external/platform.m4
-@@ -1,9 +1,10 @@ AC_ARG_WITH([os],
+--- src/external/platform.m4.orig	2024-12-07 08:35:28.095610000 -0800
++++ src/external/platform.m4	2024-12-07 08:39:28.615868000 -0800
+@@ -1,9 +1,10 @@
  AC_ARG_WITH([os],
 -            [AC_HELP_STRING([--with-os=OS_TYPE], [Type of your operation system (fedora|redhat|suse|gentoo)])]
-+            [AC_HELP_STRING([--with-os=OS_TYPE], [Type of your operation system (fedora|redhat|suse|gentoo|freebsd)])]
++            [AC_HELP_STRING([--with-os=OS_TYPE], [Type of your operation system (fedora|freebsd|redhat|suse|gentoo)])]
             )
  osname=""
  if test x"$with_os" != x ; then
@@ -12,40 +12,46 @@
         test x"$with_os" = xredhat || \
         test x"$with_os" = xsuse || \
         test x"$with_os" = xgentoo || \
-@@ -25,6 +26,8 @@ if test x"$osname" = x ; then
-         osname="debian"
-     elif test -f /etc/gentoo-release ; then
-         osname="gentoo"
-+    elif test -f /etc/os-release ; then
-+        osname="freebsd"
+@@ -29,6 +30,8 @@
+         . /etc/os-release
+         if ([[ "${ID}" = "suse" ]]) || ([[ "${ID_LIKE#*suse*}" != "${ID_LIKE}" ]]); then
+             osname="suse"
++        elif ([[ "${ID}" = "freebsd" ]]) || ([[ "${ID_LIKE#*freebsd*}" != "${ID_LIKE}" ]]); then
++            osname="freebsd"
+         fi
      fi
  
-     AC_MSG_NOTICE([Detected operating system type: $osname])
-@@ -35,6 +38,7 @@ AM_CONDITIONAL([HAVE_GENTOO], [test x"$osname" = xgent
+@@ -36,6 +39,7 @@
+ fi
+ 
+ AM_CONDITIONAL([HAVE_FEDORA], [test x"$osname" = xfedora])
++AM_CONDITIONAL([HAVE_FREEBSD], [test x"$osname" = xfreebsd])
+ AM_CONDITIONAL([HAVE_REDHAT], [test x"$osname" = xredhat])
  AM_CONDITIONAL([HAVE_SUSE], [test x"$osname" = xsuse])
  AM_CONDITIONAL([HAVE_DEBIAN], [test x"$osname" = xdebian])
- AM_CONDITIONAL([HAVE_GENTOO], [test x"$osname" = xgentoo])
-+AM_CONDITIONAL([HAVE_FREEBSD], [test x"$osname" = xfreebsd])
- 
+@@ -44,14 +48,23 @@
  AS_CASE([$osname],
          [redhat], [AC_DEFINE_UNQUOTED([HAVE_REDHAT], 1, [Build with redhat config])],
-@@ -42,10 +46,18 @@ AS_CASE([$osname],
+         [fedora], [AC_DEFINE_UNQUOTED([HAVE_FEDORA], 1, [Build with fedora config])],
++        [freebsd], [AC_DEFINE_UNQUOTED([HAVE_FREEBSD], 1, [Build with freebsd config])],
          [suse], [AC_DEFINE_UNQUOTED([HAVE_SUSE], 1, [Build with suse config])],
          [gentoo], [AC_DEFINE_UNQUOTED([HAVE_GENTOO], 1, [Build with gentoo config])],
          [debian], [AC_DEFINE_UNQUOTED([HAVE_DEBIAN], 1, [Build with debian config])],
-+        [freebsd], [AC_DEFINE_UNQUOTED([HAVE_FREEBSD], 1, [Build with freebsd config])],
          [AC_MSG_NOTICE([Build with $osname config])])
  
 -AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , ,
+-                 [[#include <sys/socket.h>]])
 +if test x"$osname" = x"freebsd"; then
-+	AC_CHECK_MEMBERS([struct xucred.cr_pid, struct xucred.cr_uid, struct xucred.cr_gid], , , [[
++       AC_CHECK_MEMBERS([struct xucred.cr_pid, struct xucred.cr_uid, struct xucred.cr_gid], , , [[
 +#include <sys/param.h>
 +#include <sys/ucred.h>
 +]])
 +else
-+	AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , ,
-                  [[#include <sys/socket.h>]])
++       AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , ,
++                  [[#include <sys/socket.h>]])
 +fi
  
++
  if test x"$ac_cv_member_struct_ucred_pid" = xyes -a \
          x"$ac_cv_member_struct_ucred_uid" = xyes -a \
+         x"$ac_cv_member_struct_ucred_gid" = xyes ; then
diff --git a/security/sssd2/pkg-plist b/security/sssd2/pkg-plist
index 0c68fe94adc4..a4ddee106ba8 100644
--- a/security/sssd2/pkg-plist
+++ b/security/sssd2/pkg-plist
@@ -25,10 +25,10 @@ lib/libsss_sudo.so
 lib/nss_sss.so.1
 lib/pam_sss.so
 lib/pam_sss_gss.so
-%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.5-py%%PYTHON_VER%%.egg-info/PKG-INFO
-%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.5-py%%PYTHON_VER%%.egg-info/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.5-py%%PYTHON_VER%%.egg-info/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.5-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.6-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.6-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.6-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/SSSDConfig-2.9.6-py%%PYTHON_VER%%.egg-info/top_level.txt
 %%PYTHON_SITELIBDIR%%/SSSDConfig/__init__.py
 %%PYTHON_SITELIBDIR%%/SSSDConfig/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/SSSDConfig/__pycache__/ipachangeconf%%PYTHON_EXT_SUFFIX%%.pyc