summaryrefslogtreecommitdiff
path: root/security/slush/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/slush/files')
-rw-r--r--security/slush/files/patch-ab32
-rw-r--r--security/slush/files/patch-ac23
2 files changed, 23 insertions, 32 deletions
diff --git a/security/slush/files/patch-ab b/security/slush/files/patch-ab
index 2a72fc630570..35bdb47ece44 100644
--- a/security/slush/files/patch-ab
+++ b/security/slush/files/patch-ab
@@ -1,19 +1,13 @@
-*** slush.c- Fri May 7 03:31:04 1999
---- slush.c Fri May 7 03:31:14 1999
-***************
-*** 34,40 ****
- #include <signal.h>
- #include <string.h>
- #include <stdlib.h>
-! #include <getopt.h>
- #include <termios.h>
- #include <pwd.h>
- #include <sys/ioctl.h>
---- 34,40 ----
- #include <signal.h>
- #include <string.h>
- #include <stdlib.h>
-! /* #include <getopt.h> */
- #include <termios.h>
- #include <pwd.h>
- #include <sys/ioctl.h>
+--- slush.c- Mon Oct 27 06:19:50 2003
++++ slush.c Mon Oct 27 06:21:46 2003
+@@ -34,7 +34,10 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <sys/param.h>
++#if __FreeBSD_version >= 500000
+ #include <getopt.h>
++#endif
+ #include <termios.h>
+ #include <pwd.h>
+ #include <sys/ioctl.h>
diff --git a/security/slush/files/patch-ac b/security/slush/files/patch-ac
index 8ee3c7fe9268..9ebcb844f771 100644
--- a/security/slush/files/patch-ac
+++ b/security/slush/files/patch-ac
@@ -1,25 +1,22 @@
-*** slushd.c.orig Tue Apr 6 05:14:04 1999
---- slushd.c Sat May 8 23:53:40 1999
+*** slushd.c- Mon Oct 27 06:19:54 2003
+--- slushd.c Mon Oct 27 06:22:02 2003
***************
*** 40,46 ****
+--- 40,50 ----
#include <ctype.h>
#include <stdlib.h>
#include <netdb.h>
-! #include <getopt.h>
- #include <pwd.h>
- #include <grp.h>
- #include <fcntl.h>
---- 40,46 ----
- #include <ctype.h>
- #include <stdlib.h>
- #include <netdb.h>
-! #include <libutil.h>
++ #include <sys/param.h>
++ #if __FreeBSD_version >= 500000
+ #include <getopt.h>
++ #endif
++ #include <libutil.h>
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
***************
*** 51,56 ****
---- 51,57 ----
+--- 55,61 ----
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/file.h>
@@ -87,7 +84,7 @@
}
/* Retrieve client X509 certificate and test authentication */
---- 655,684 ----
+--- 659,688 ----
void log_uwtmp(struct passwd *pw, struct in_addr *i, char *tty, int is_logout)
{
struct utmp ut;