summaryrefslogtreecommitdiff
path: root/net/tac_plus4/Makefile
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-06-23 15:39:59 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-06-23 15:39:59 +0000
commite632592b39264f52973805107fcc9de1dc585a47 (patch)
tree6cb459f4f719a9eab6775a9036a2bd811933e974 /net/tac_plus4/Makefile
parentActivate prn. (diff)
New port, tac_plus:
tac_plus provides Cisco systems routers and access servers with authentication, authorisation and accounting services. A configuration file controls the details of authentication, authorisation and accounting. PR: 2869 Submitted by: Igor Vinokurov<igor@zynaps.ru> Note: Although there is no terms and conditions on redistribution found, the author says there is no restriction. (This is stated in more recent alpha version.) The only concern is the U.S. Export restriction, but Cisco has been granted with the right to export their software, according to the author. And also I haven't been able to find any implementation that may violate the export control in the source code, either. So, I import this without any RESTRICTED or NO_CDROM defined.
Notes
Notes: svn path=/head/; revision=7052
Diffstat (limited to 'net/tac_plus4/Makefile')
-rw-r--r--net/tac_plus4/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile
new file mode 100644
index 000000000000..ecb051ca9631
--- /dev/null
+++ b/net/tac_plus4/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: tac_plus
+# Version required: 2.1
+# Date created: 4 Mar 1997
+# Whom: Igor Vinokurov <igor@zynaps.ru>
+#
+# $Id$
+#
+
+DISTNAME= tac_plus.2.1
+PKGNAME= tac_plus-2.1
+CATEGORIES= net
+MASTER_SITES= ftp://ftpeng.cisco.com/pub/tacacs/
+EXTRACT_SUFX= .tar
+
+MAINTAINER= igor@zynaps.ru
+
+EXTRACT_BEFORE_ARGS= -C ${WRKDIR} -xf
+ALL_TARGET= tac_plus
+MAN8= tac_plus.8
+
+post-patch:
+ @${MV} -f ${WRKSRC}/tac_plus.1 ${WRKSRC}/tac_plus.8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/tac_plus.8 ${PREFIX}/man/man8
+ ${INSTALL_DATA} ${FILESDIR}/tacacs.conf.example ${PREFIX}/etc/
+ @if [ ! -f ${PREFIX}/etc/rc.d/tac_plus.sh ]; then \
+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/tac_plus.sh startup file."; \
+ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/tac_plus.sh; \
+ echo "[ -x ${PREFIX}/sbin/tac_plus -a -f ${PREFIX}/etc/tac_plus.conf ] && ${PREFIX}/sbin/tac_plus -C ${PREFIX}/etc/tacacs.conf && echo -n ' tac_plus'" >> ${PREFIX}/etc/rc.d/tac_plus.sh; \
+ chmod 751 ${PREFIX}/etc/rc.d/tac_plus.sh; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/tac_plus
+ ${INSTALL_DATA} ${WRKSRC}/users_guide ${PREFIX}/share/doc/tac_plus
+.endif
+
+.include <bsd.port.mk>