Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2020 16:31:34 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544081 - in head/security/sssd: . files
Message-ID:  <202008031631.073GVYBh091112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon Aug  3 16:31:33 2020
New Revision: 544081
URL: https://svnweb.freebsd.org/changeset/ports/544081

Log:
  security/sssd: Fix pkg-plist to include PAC files
  
  In PR 244778 this port was reported to fail during package. sssd_pac and others
  were not generated by the build process. They were removed from the pkg-plist
  and the issue closed (maintainer timed out).
  
  Recently joerg@ reported sssd_pac should be included. It turns out,
  files/patch-src_external_pac__responder.m4 needs to be updated whenever a
  version bump of security/krb5 occurs[1]. This is kind of obscure since building
  security/sssd with default options does not reproduce the problem (SMB=on is
  needed).
  
  [1] https://svnweb.freebsd.org/changeset/ports/526479
  
  PR:	244778
  Reported by:	joerg@
  Approved by:	maintainer (timeout)
  MFH:	2020Q3 (plist fix)

Modified:
  head/security/sssd/Makefile
  head/security/sssd/files/patch-src_external_pac__responder.m4
  head/security/sssd/pkg-plist

Modified: head/security/sssd/Makefile
==============================================================================
--- head/security/sssd/Makefile	Mon Aug  3 16:09:27 2020	(r544080)
+++ head/security/sssd/Makefile	Mon Aug  3 16:31:33 2020	(r544081)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sssd
 PORTVERSION=	1.11.7
-PORTREVISION=	20
+PORTREVISION=	21
 CATEGORIES=	security
 MASTER_SITES=	https://releases.pagure.org/SSSD/${PORTNAME}/
 

Modified: head/security/sssd/files/patch-src_external_pac__responder.m4
==============================================================================
--- head/security/sssd/files/patch-src_external_pac__responder.m4	Mon Aug  3 16:09:27 2020	(r544080)
+++ head/security/sssd/files/patch-src_external_pac__responder.m4	Mon Aug  3 16:31:33 2020	(r544081)
@@ -1,6 +1,6 @@
 --- src/external/pac_responder.m4.orig	2014-09-17 13:01:37 UTC
 +++ src/external/pac_responder.m4
-@@ -14,14 +14,19 @@ then
+@@ -14,14 +14,20 @@ then
      PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac, ndr_krb5pac_ok=yes,
          AC_MSG_WARN([Cannot build pac responder without libndr_krb5pac]))
  
@@ -18,7 +18,8 @@
 +        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*)
              krb5_version_ok=yes
              AC_MSG_RESULT([yes])
              ;;

Modified: head/security/sssd/pkg-plist
==============================================================================
--- head/security/sssd/pkg-plist	Mon Aug  3 16:09:27 2020	(r544080)
+++ head/security/sssd/pkg-plist	Mon Aug  3 16:31:33 2020	(r544081)
@@ -5,6 +5,7 @@ etc/dbus-1/system.d/org.freedesktop.sssd.infopipe.conf
 include/ipa_hbac.h
 include/sss_idmap.h
 include/sss_nss_idmap.h
+%%SMB%%lib/krb5/plugins/authdata/sssd_pac_plugin.so
 lib/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so
 lib/libipa_hbac.so
 lib/libipa_hbac.so.0
@@ -55,6 +56,7 @@ libexec/sssd/sss_signal
 libexec/sssd/sssd_be
 libexec/sssd/sssd_ifp
 libexec/sssd/sssd_nss
+%%SMB%%libexec/sssd/sssd_pac
 libexec/sssd/sssd_pam
 libexec/sssd/sssd_ssh
 libexec/sssd/sssd_sudo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008031631.073GVYBh091112>