summaryrefslogtreecommitdiff
path: root/net/tacshell
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-13 22:50:50 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-13 22:50:50 +0000
commit5663215378aae9ef6c4d67b47c1ed43d078e10ad (patch)
treeff0a3884eb2c2c30e0480b2657607e23ceb1bd89 /net/tacshell
parentBe more careful with string buffers and temporary files. Bump PORTREVISION. (diff)
New port: Shell authentication for TACACS+ protocol
Submitted by: Kirill Ponomarew <ponomarew@oberon.net> PR: 53296 Approved by: fjoe (implicit)
Notes
Notes: svn path=/head/; revision=82957
Diffstat (limited to 'net/tacshell')
-rw-r--r--net/tacshell/Makefile29
-rw-r--r--net/tacshell/distinfo1
-rw-r--r--net/tacshell/files/patch-Makefile.in11
-rw-r--r--net/tacshell/files/patch-tacshell.conf-example7
-rw-r--r--net/tacshell/pkg-descr5
-rw-r--r--net/tacshell/pkg-plist6
6 files changed, 59 insertions, 0 deletions
diff --git a/net/tacshell/Makefile b/net/tacshell/Makefile
new file mode 100644
index 000000000000..347cf868850c
--- /dev/null
+++ b/net/tacshell/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: tacshell
+# Date created: 13.06.2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tacshell
+PORTVERSION= 0.8
+CATEGORIES= net
+MASTER_SITES= http://www.rezrov.net/software/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Shell authentication for TACACS+ protocol
+
+GNU_CONFIGURE= yes
+
+post-install:
+.for i in ${PORTNAME}
+ ${STRIP_CMD} ${PREFIX}/bin/${i}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in README WHATSNEW ChangeLog
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/tacshell/distinfo b/net/tacshell/distinfo
new file mode 100644
index 000000000000..db6d99270ed7
--- /dev/null
+++ b/net/tacshell/distinfo
@@ -0,0 +1 @@
+MD5 (tacshell-0.8.tar.gz) = b1b7c25aa3f4751d9b08b7ba9df72f4f
diff --git a/net/tacshell/files/patch-Makefile.in b/net/tacshell/files/patch-Makefile.in
new file mode 100644
index 000000000000..5d1cb3072aa0
--- /dev/null
+++ b/net/tacshell/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Jun 13 22:24:04 2003
++++ Makefile.in Fri Jun 13 22:24:17 2003
+@@ -22,7 +22,7 @@
+ install: all
+ $(INSTALL) -o root -m 555 tacshell $(PREFIX)/bin/tacshell
+ mkdir -p -m 755 /usr/local/etc
+- $(INSTALL_DATA) -o root tacshell.conf-example $(PREFIX)/etc/tacshell.conf-example
++ $(INSTALL_DATA) -o root tacshell.conf-example $(PREFIX)/etc/tacshell.conf.sample
+
+ pam_tacplus.so.1: pam.o $(SHARED_OBJS)
+ $(CC) $(LDFLAGS) -shared -o pam_tacplus.so.1 pam.o $(SHARED_OBJS) $(LIBS)
diff --git a/net/tacshell/files/patch-tacshell.conf-example b/net/tacshell/files/patch-tacshell.conf-example
new file mode 100644
index 000000000000..33f1f9c8b079
--- /dev/null
+++ b/net/tacshell/files/patch-tacshell.conf-example
@@ -0,0 +1,7 @@
+--- tacshell.conf-example.orig Fri Jun 13 22:32:39 2003
++++ tacshell.conf-example Fri Jun 13 22:32:54 2003
+@@ -1,3 +1,3 @@
+ server tacacs-server.domain.com
+ secret vewyvewyqwiet
+-shell /usr/pkg/bin/bash --login
++shell /usr/local/bin/bash --login
diff --git a/net/tacshell/pkg-descr b/net/tacshell/pkg-descr
new file mode 100644
index 000000000000..f9e4013c5c2c
--- /dev/null
+++ b/net/tacshell/pkg-descr
@@ -0,0 +1,5 @@
+tacshell is a drop-in replacement for the RSA ACE/Server
+sdshell program, which allows Un*x shell authentication via a
+SecurID token.
+
+WWW: http://www.rezrov.net/software/tacshell.html
diff --git a/net/tacshell/pkg-plist b/net/tacshell/pkg-plist
new file mode 100644
index 000000000000..272a8d056c90
--- /dev/null
+++ b/net/tacshell/pkg-plist
@@ -0,0 +1,6 @@
+bin/tacshell
+etc/tacshell.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%