summaryrefslogtreecommitdiff
path: root/net/tacacs
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
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')
-rw-r--r--net/tacacs/Makefile21
-rw-r--r--net/tacacs/files/md53
-rw-r--r--net/tacacs/files/patch-sum5
-rw-r--r--net/tacacs/patches/patch-aa51
-rw-r--r--net/tacacs/patches/patch-ab25
-rw-r--r--net/tacacs/patches/patch-ac22
-rw-r--r--net/tacacs/pkg/COMMENT1
-rw-r--r--net/tacacs/pkg/DESCR4
-rw-r--r--net/tacacs/pkg/PLIST5
9 files changed, 137 insertions, 0 deletions
diff --git a/net/tacacs/Makefile b/net/tacacs/Makefile
new file mode 100644
index 00000000000..447bd8984ca
--- /dev/null
+++ b/net/tacacs/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+#
+
+DISTNAME= tac_plus.F4.0.4.alpha
+PKGNAME= tacacs-4.0.4a
+CATEGORIES= net security
+MASTER_SITES= ftp://ftpeng.cisco.com/pub/tacacs/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.gazi.edu.tr/~devrim/tacacs/
+
+ALL_TARGET= tac_plus
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man8/tac_plus.8
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tacacs
+ ${INSTALL_DATA} ${WRKSRC}/users_guide ${PREFIX}/share/doc/tacacs
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/tacacs/files/md5 b/net/tacacs/files/md5
new file mode 100644
index 00000000000..c90e2dcbc7c
--- /dev/null
+++ b/net/tacacs/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+
+MD5 (tac_plus.F4.0.4.alpha.tar.Z) = 7acaa4a78c71c514cf67ca5a77e16c27
diff --git a/net/tacacs/files/patch-sum b/net/tacacs/files/patch-sum
new file mode 100644
index 00000000000..58ba7a3e982
--- /dev/null
+++ b/net/tacacs/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+
+MD5 (patch-aa) = 20af26a48eb962c960eddaa5c594eed9
+MD5 (patch-ab) = 5c771e53419c89db11a676815f2ffd4d
+MD5 (patch-ac) = a0ffff3542407c23f31bdf3fa8a7a8ec
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.
diff --git a/net/tacacs/pkg/COMMENT b/net/tacacs/pkg/COMMENT
new file mode 100644
index 00000000000..c689949a114
--- /dev/null
+++ b/net/tacacs/pkg/COMMENT
@@ -0,0 +1 @@
+Cisco authentication, authorization, and accounting protocol daemon
diff --git a/net/tacacs/pkg/DESCR b/net/tacacs/pkg/DESCR
new file mode 100644
index 00000000000..9ce457e758c
--- /dev/null
+++ b/net/tacacs/pkg/DESCR
@@ -0,0 +1,4 @@
+ Tacacs+ (or tac_plus) is a freely distributable daemon from Cisco Systems.
+It is used in conjunction with Cisco routers for authorization, authentication,
+and accounting services. Tac_plus is configured via a single configuration
+file.
diff --git a/net/tacacs/pkg/PLIST b/net/tacacs/pkg/PLIST
new file mode 100644
index 00000000000..6c3713c14d2
--- /dev/null
+++ b/net/tacacs/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+sbin/tac_plus
+man/man8/tac_plus.8
+share/doc/tacacs/users_guide
+@dirrm share/doc/tacacs