diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 21:32:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 21:32:23 +0000 |
commit | 08ec76e17deb0bcb952877d714029241f9dae766 (patch) | |
tree | ed38b7dbc140fde6a9f268528d819274a7fbf26c | |
parent | fb0eaf4989c86439ed3142042d29e4a3ca75a55e (diff) | |
download | fetchmail-08ec76e17deb0bcb952877d714029241f9dae766.tar.gz fetchmail-08ec76e17deb0bcb952877d714029241f9dae766.tar.bz2 fetchmail-08ec76e17deb0bcb952877d714029241f9dae766.zip |
FreeBSD port changes.
svn path=/trunk/; revision=1288
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | daemon.c | 2 | ||||
-rw-r--r-- | driver.c | 10 | ||||
-rw-r--r-- | imap.c | 3 |
4 files changed, 17 insertions, 1 deletions
@@ -22,6 +22,9 @@ fetchmail-4.1.2 () * Prevent buffer spamming in SockOpen by a broken DNS. * Al Youngwerth's fix to prevent segfaults when Return-Path has no address. * Phillippe De Muyter's port changes for sysV68 R3V7.1. +* Port changes for Kerberos under FreeBSD, thanks to Benjamin Greenwald. + +There are 285 people on the fetchmail-friends list. fetchmail-4.1.1 (Fri Aug 15 21:02:50 EDT 1997) * Fix an obvious bug in some snprintf calls (non-Linux systems only) @@ -54,7 +54,7 @@ sigchld_handler (int sig) { pid_t pid; -#if defined(HAVE_UNION_WAIT) +#if defined(HAVE_UNION_WAIT) && !defined(__FreeBSD__) union wait status; #else int status; @@ -46,8 +46,14 @@ #include <krb.h> #define krb_get_err_text(e) (krb_err_txt[e]) #else +#if defined(__FreeBSD__) +#define krb_get_err_text(e) (krb_err_txt[e]) +#include <krb.h> +#include <des.h> +#else #include <krb.h> #include <des.h> +#endif /* ! defined (__FreeBSD__) */ #endif /* ! defined (__bsdi__) */ #include <netinet/in.h> #include <netdb.h> @@ -1219,7 +1225,11 @@ int kerberos_auth (socket, canonical) /* authenticate to the server host using Kerberos V4 */ int socket; /* socket to server host */ +#ifdef __FreeBSD__ +char *canonical; /* server name */ +#else const char *canonical; /* server name */ +#endif { char * host_primary; KTEXT ticket; @@ -20,6 +20,9 @@ #include <des.h> #define krb_get_err_text(e) (krb_err_txt[e]) #endif +#if defined (__FreeBSD__) +#define krb_get_err_text(e) (krb_err_txt[e]) +#endif #include <krb.h> #endif /* KERBEROS_V4 */ |