Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 22:36:53 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53296: New port: net/tacshell
Message-ID:  <E19QvI5-000Dip-Sp@voodoo.oberon.net>
Resent-Message-ID: <200306132040.h5DKeCiD007050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53296
>Category:       ports
>Synopsis:       New port: net/tacshell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 13 13:40:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: net/tacshell

Shell authentication for TACACS+ protocol

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/tacshell
#	net/tacshell/Makefile
#	net/tacshell/distinfo
#	net/tacshell/files
#	net/tacshell/files/patch-Makefile.in
#	net/tacshell/files/patch-tacshell.conf-example
#	net/tacshell/pkg-descr
#	net/tacshell/pkg-plist
#
echo c - net/tacshell
mkdir -p net/tacshell > /dev/null 2>&1
echo x - net/tacshell/Makefile
sed 's/^X//' >net/tacshell/Makefile << 'END-of-net/tacshell/Makefile'
X# New ports collection makefile for:	tacshell
X# Date created:				13.06.2003
X# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tacshell
XPORTVERSION=	0.8
XCATEGORIES=	net
XMASTER_SITES=	http://www.rezrov.net/software/
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	Shell authentication for TACACS+ protocol
X
XGNU_CONFIGURE=	yes
X
Xpost-install:
X.for i in ${PORTNAME}
X	${STRIP_CMD} ${PREFIX}/bin/${i}
X.endfor
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for i in README WHATSNEW ChangeLog
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-net/tacshell/Makefile
echo x - net/tacshell/distinfo
sed 's/^X//' >net/tacshell/distinfo << 'END-of-net/tacshell/distinfo'
XMD5 (tacshell-0.8.tar.gz) = b1b7c25aa3f4751d9b08b7ba9df72f4f
END-of-net/tacshell/distinfo
echo c - net/tacshell/files
mkdir -p net/tacshell/files > /dev/null 2>&1
echo x - net/tacshell/files/patch-Makefile.in
sed 's/^X//' >net/tacshell/files/patch-Makefile.in << 'END-of-net/tacshell/files/patch-Makefile.in'
X--- Makefile.in.orig	Fri Jun 13 22:24:04 2003
X+++ Makefile.in	Fri Jun 13 22:24:17 2003
X@@ -22,7 +22,7 @@
X install: all
X 	$(INSTALL) -o root -m 555 tacshell $(PREFIX)/bin/tacshell
X 	mkdir -p -m 755 /usr/local/etc
X-	$(INSTALL_DATA) -o root tacshell.conf-example $(PREFIX)/etc/tacshell.conf-example
X+	$(INSTALL_DATA) -o root tacshell.conf-example $(PREFIX)/etc/tacshell.conf.sample
X 
X pam_tacplus.so.1: pam.o $(SHARED_OBJS)
X 	$(CC) $(LDFLAGS) -shared -o pam_tacplus.so.1 pam.o $(SHARED_OBJS) $(LIBS)
END-of-net/tacshell/files/patch-Makefile.in
echo x - net/tacshell/files/patch-tacshell.conf-example
sed 's/^X//' >net/tacshell/files/patch-tacshell.conf-example << 'END-of-net/tacshell/files/patch-tacshell.conf-example'
X--- tacshell.conf-example.orig	Fri Jun 13 22:32:39 2003
X+++ tacshell.conf-example	Fri Jun 13 22:32:54 2003
X@@ -1,3 +1,3 @@
X server tacacs-server.domain.com
X secret vewyvewyqwiet
X-shell /usr/pkg/bin/bash --login
X+shell /usr/local/bin/bash --login
END-of-net/tacshell/files/patch-tacshell.conf-example
echo x - net/tacshell/pkg-descr
sed 's/^X//' >net/tacshell/pkg-descr << 'END-of-net/tacshell/pkg-descr'
Xtacshell is a drop-in replacement for the RSA ACE/Server
Xsdshell program, which allows Un*x shell authentication via a
XSecurID token.
X
XWWW: http://www.rezrov.net/software/tacshell.html
END-of-net/tacshell/pkg-descr
echo x - net/tacshell/pkg-plist
sed 's/^X//' >net/tacshell/pkg-plist << 'END-of-net/tacshell/pkg-plist'
Xbin/tacshell
Xetc/tacshell.conf.sample
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-net/tacshell/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19QvI5-000Dip-Sp>