Files
ports/security/gssproxy/files/patch-src_client_gpm__common.c
Jochen Neumeister 59c3b1a0f7 security/gssproxy: Add new Port
GSS Proxy allows processes to perform GSSAPI operations, such as
Kerberos authentication, through a privileged daemon. This separates
credential handling from the application and lets services access
keytabs and credential caches without holding the privileges directly.

WWW: https://github.com/gssapi/gssproxy

Sponsored by:	Netzkommune GmbH

Required for: FreeIPA server port
2026-07-22 00:48:24 +02:00

22 lines
414 B
C

--- src/client/gpm_common.c.orig 2022-07-26 10:17:29 UTC
+++ src/client/gpm_common.c
@@ -2,6 +2,7 @@
#include "gssapi_gpm.h"
#include <sys/types.h>
+#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <stdlib.h>
@@ -11,6 +12,10 @@
#include <fcntl.h>
#include <sys/random.h>
#include <sys/timerfd.h>
+
+#ifndef EBADFD
+#define EBADFD EBADF
+#endif
#define FRAGMENT_BIT (1 << 31)