1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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)
This commit is contained in:
Fernando Apesteguía 2020-08-03 16:31:33 +00:00
parent 3e5e01164e
commit 21e16f48cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544081
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= sssd
PORTVERSION= 1.11.7
PORTREVISION= 20
PORTREVISION= 21
CATEGORIES= security
MASTER_SITES= https://releases.pagure.org/SSSD/${PORTNAME}/

View File

@ -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])
;;

View File

@ -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