aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-01 18:43:53 +0800
committerwg <wg@FreeBSD.org>2013-11-01 18:43:53 +0800
commitf68e4a198330826d6a250911a1029bd3cb9ae458 (patch)
treee1fa6b8b62837690c78ede6edaafc2fd1951f4d2 /security
parent202c126bd67466de4774a47a703602d55b71cef6 (diff)
downloadfreebsd-ports-gnome-f68e4a198330826d6a250911a1029bd3cb9ae458.tar.gz
freebsd-ports-gnome-f68e4a198330826d6a250911a1029bd3cb9ae458.tar.zst
freebsd-ports-gnome-f68e4a198330826d6a250911a1029bd3cb9ae458.zip
security/sssd: fix krb5 detection on 8.3
PR: ports/183504 Submitted by: Lukas Slebodnik <lukas.slebodnik intrak.sk> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/sssd/files/patch-src__external__krb5.m425
-rw-r--r--security/sssd/files/patch-src__external__pac_responder.m425
-rw-r--r--security/sssd/files/patch-src__responder__pac__pacsrv_utils.c23
3 files changed, 73 insertions, 0 deletions
diff --git a/security/sssd/files/patch-src__external__krb5.m4 b/security/sssd/files/patch-src__external__krb5.m4
new file mode 100644
index 000000000000..06deb9b8b150
--- /dev/null
+++ b/security/sssd/files/patch-src__external__krb5.m4
@@ -0,0 +1,25 @@
+From b7947258702e250dbf569bb9cd74f1e73f0c94bb Mon Sep 17 00:00:00 2001
+From: Lukas Slebodnik <lukas.slebodnik@intrak.sk>
+Date: Wed, 30 Oct 2013 08:53:42 +0100
+Subject: [PATCH 1/4] patch-src__external__krb5.m4
+
+---
+ src/external/krb5.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git src/external/krb5.m4 src/external/krb5.m4
+index 71239c9..63c8ece 100644
+--- src/external/krb5.m4
++++ src/external/krb5.m4
+@@ -9,7 +9,7 @@ if test x$KRB5_CFLAGS != x; then
+ KRB5_PASSED_CFLAGS=$KRB5_CFLAGS
+ fi
+
+-AC_PATH_PROG(KRB5_CONFIG, krb5-config)
++AC_PATH_PROG(KRB5_CONFIG, krb5-config, [], [/usr/local/bin:$PATH])
+ AC_MSG_CHECKING(for working krb5-config)
+ if test -x "$KRB5_CONFIG"; then
+ KRB5_CFLAGS="`$KRB5_CONFIG --cflags`"
+--
+1.8.0
+
diff --git a/security/sssd/files/patch-src__external__pac_responder.m4 b/security/sssd/files/patch-src__external__pac_responder.m4
new file mode 100644
index 000000000000..fd9fc107e5fa
--- /dev/null
+++ b/security/sssd/files/patch-src__external__pac_responder.m4
@@ -0,0 +1,25 @@
+From b52128bc333fd4717a96950ef8fb4171f25fabcf Mon Sep 17 00:00:00 2001
+From: Lukas Slebodnik <lukas.slebodnik@intrak.sk>
+Date: Wed, 30 Oct 2013 08:54:41 +0100
+Subject: [PATCH 2/4] patch-src__external__pac_responder.m4
+
+---
+ src/external/pac_responder.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git src/external/pac_responder.m4 src/external/pac_responder.m4
+index 49d5cbb..2b4ca5c 100644
+--- src/external/pac_responder.m4
++++ src/external/pac_responder.m4
+@@ -14,7 +14,7 @@ then
+ PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac, ndr_krb5pac_ok=yes,
+ AC_MSG_WARN([Cannot build pac responder without libndr_krb5pac]))
+
+- AC_PATH_PROG(KRB5_CONFIG, krb5-config)
++ AC_PATH_PROG(KRB5_CONFIG, krb5-config, [], [/usr/local/bin:$PATH])
+ AC_MSG_CHECKING(for supported MIT krb5 version)
+ KRB5_VERSION="`$KRB5_CONFIG --version`"
+ case $KRB5_VERSION in
+--
+1.8.0
+
diff --git a/security/sssd/files/patch-src__responder__pac__pacsrv_utils.c b/security/sssd/files/patch-src__responder__pac__pacsrv_utils.c
new file mode 100644
index 000000000000..531aa14cc6d8
--- /dev/null
+++ b/security/sssd/files/patch-src__responder__pac__pacsrv_utils.c
@@ -0,0 +1,23 @@
+From 93a41acb0f1434d1638cc796c4529a135d61409d Mon Sep 17 00:00:00 2001
+From: Lukas Slebodnik <lukas.slebodnik@intrak.sk>
+Date: Wed, 30 Oct 2013 10:49:27 +0100
+Subject: [PATCH 4/4] patch-src__responder__pac__pacsrv_utils.c
+
+---
+ src/responder/pac/pacsrv_utils.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git src/responder/pac/pacsrv_utils.c src/responder/pac/pacsrv_utils.c
+index 3ac7b84..6052432 100644
+--- src/responder/pac/pacsrv_utils.c
++++ src/responder/pac/pacsrv_utils.c
+@@ -18,6 +18,7 @@
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
++#include <sys/types.h>
+ #include <stdbool.h>
+ #include <util/data_blob.h>
+ #include <gen_ndr/security.h>
+--
+1.8.0