summaryrefslogtreecommitdiff
path: root/net/tacacs/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-15 17:26:42 +0000
committerrh <rh@pkgsrc.org>2000-10-15 17:26:42 +0000
commit88520330e209902a8858bb834e8e989797f23f7a (patch)
treee285acbb583361e969578021ed698797bb561587 /net/tacacs/patches
parentd1a6a6be0f0545a5553db2f3f9bbf8955f55aaef (diff)
downloadpkgsrc-88520330e209902a8858bb834e8e989797f23f7a.tar.gz
Initial import of tacacs-4.0.4a, the Cisco authentication, authorization,
and accounting protocol daemon
Diffstat (limited to 'net/tacacs/patches')
-rw-r--r--net/tacacs/patches/patch-aa51
-rw-r--r--net/tacacs/patches/patch-ab25
-rw-r--r--net/tacacs/patches/patch-ac22
3 files changed, 98 insertions, 0 deletions
diff --git a/net/tacacs/patches/patch-aa b/net/tacacs/patches/patch-aa
new file mode 100644
index 00000000000..d4eed86cb79
--- /dev/null
+++ b/net/tacacs/patches/patch-aa
@@ -0,0 +1,51 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+
+--- Makefile.orig Sun Jun 18 19:26:54 2000
++++ Makefile
+@@ -19,7 +19,7 @@
+ # LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ # FOR A PARTICULAR PURPOSE.
+
+-CC = gcc
++# CC = gcc
+
+ # For AIX
+ # See /usr/lpp/bos/bsdport on your system for details of how to define bsdcc
+@@ -33,8 +33,12 @@
+ # OS=-DMIPS
+
+ # For Solaris (SUNOS 5.3, 5.4, 5.5, 5.6) uncomment the following two lines
+-OS=-DSOLARIS
+-OSLIBS=-lsocket -lnsl
++#OS=-DSOLARIS
++#OSLIBS=-lsocket -lnsl
++
++# For NetBSD
++OS=-DNETBSD
++OSLIBS=-lcrypt
+
+ # For FreeBSD
+ # OS=-DFREEBSD
+@@ -65,11 +69,11 @@
+
+ # Definitions for SKEY functionality
+ # DEFINES = -DSKEY
+-# LIBS = ../crimelab/skey/src/libskey.a
++# LIBS = -lskey
+ # INCLUDES = -I../crimelab/skey/src
+
+ # Debugging flags
+-DEBUG = -g
++DEBUG =
+
+ # Enforce a limit on maximum sessions per user. See the user's guide
+ # for more information.
+@@ -85,7 +89,7 @@
+ # possible), containing its process id. Uncomment and modify the
+ # following line to change this filename
+
+-# PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
++PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
+
+ #
+ # End of customisable section of Makefile
diff --git a/net/tacacs/patches/patch-ab b/net/tacacs/patches/patch-ab
new file mode 100644
index 00000000000..1c853d30f06
--- /dev/null
+++ b/net/tacacs/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+
+--- tac_plus.h.orig Tue Oct 3 17:11:45 2000
++++ tac_plus.h
+@@ -79,6 +79,7 @@
+ #define STDLIB_MALLOC
+ #define NO_PWAGE
+ #define CONST_SYSERRLIST
++#define HAVE_SYSERR_PROTO
+ #define VOIDSIG
+ #endif
+
+@@ -689,10 +690,12 @@
+ extern void set_expiration_status();
+
+ /* miscellaneous */
++#ifndef HAVE_SYSERR_PROTO
+ #ifdef CONST_SYSERRLIST
+ extern const char *const sys_errlist[];
+ #else
+ extern char *sys_errlist[];
++#endif
+ #endif
+ extern int errno;
+ extern int sendauth_fn();
diff --git a/net/tacacs/patches/patch-ac b/net/tacacs/patches/patch-ac
new file mode 100644
index 00000000000..69e0f48eacb
--- /dev/null
+++ b/net/tacacs/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+
+--- tac_plus.1.orig Tue Oct 3 17:20:17 2000
++++ tac_plus.1
+@@ -32,7 +32,7 @@
+ authorisation and accounting.
+ .LP
+ On startup, tac_plus creates the file
+-.B /etc/tac_plus.pid ,
++.B /var/run/tac_plus.pid ,
+ if possible, containing its process id.
+ .LP
+ .SH ARGUMENTS and OPTIONS
+@@ -212,7 +212,7 @@
+ .B /var/tmp/tac_plus.log
+ Contains debugging output when -d is in effect.
+ .TP
+-.B /etc/tac_plus.pid or /etc/tac_plus.pid.port
++.B /var/run/tac_plus.pid or /var/run/tac_plus.pid.port
+ contains the process id of the currently running daemon. The port
+ number is appended to the filename only if the port being used is not
+ the default one of 49.