FreeBSD Bugzilla – Attachment 15548 Details for
Bug 28796
New port: russian/tac+ia
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.53 KB, created by
anton
on 2001-07-07 22:10:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
anton
Created:
2001-07-07 22:10:00 UTC
Size:
6.53 KB
patch
obsolete
># 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: ># ># tac+ia ># tac+ia/distinfo ># tac+ia/files ># tac+ia/files/patch-aa ># tac+ia/files/tac_plus.sh ># tac+ia/files/patch-maxsess ># tac+ia/pkg-plist ># tac+ia/pkg-descr ># tac+ia/pkg-comment ># tac+ia/Makefile ># >echo c - tac+ia >mkdir -p tac+ia > /dev/null 2>&1 >echo x - tac+ia/distinfo >sed 's/^X//' >tac+ia/distinfo << 'END-of-tac+ia/distinfo' >XMD5 (tac+ia-0.96pre9.3.tar.gz) = be29256121479cc7e4a576684aa2ff42 >END-of-tac+ia/distinfo >echo c - tac+ia/files >mkdir -p tac+ia/files > /dev/null 2>&1 >echo x - tac+ia/files/patch-aa >sed 's/^X//' >tac+ia/files/patch-aa << 'END-of-tac+ia/files/patch-aa' >X--- tac_plus/Makefile.in.orig Tue Sep 5 16:39:12 2000 >X+++ tac_plus/Makefile.in Fri Apr 13 12:41:54 2001 >X@@ -42,7 +42,7 @@ >X OBJS = $(SRC:.c=.o) >X SRCS = $(SRC:%=$(srcdir)/%) >X >X-all: tac_plus generate_passwd tdb @DYN@dynipd >X+all: tac_plus generate_passwd @DYN@tdb dynipd >X >X dynipd: dynipd.o sockread.o allow.o >X $(CC) -o dynipd $(LDFLAGS) dynipd.o sockread.o allow.o @LIBDB@ @LIBNSL@ @LIBSOCKET@ @LIBBIND@ >X@@ -81,8 +81,8 @@ >X >X install: >X $(INSTALL_PROGRAM) tac_plus $(sbindir) >X- $(INSTALL_DATA) $(srcdir)/tac_plus.1 $(mandir)/man1 >X- $(INSTALL_PROGRAM) tdb $(sbindir) >X+ $(INSTALL_DATA) $(srcdir)/tac_plus.8 $(mandir)/man8 >X+@DYN@ $(INSTALL_PROGRAM) tdb $(sbindir) >X @DYN@ $(INSTALL_PROGRAM) dynipd $(sbindir) >X >X depend-gcc: >END-of-tac+ia/files/patch-aa >echo x - tac+ia/files/tac_plus.sh >sed 's/^X//' >tac+ia/files/tac_plus.sh << 'END-of-tac+ia/files/tac_plus.sh' >X#!/bin/sh >X >Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then >X echo "$0: Cannot determine the PREFIX" >&2 >X exit 1 >Xfi >X >Xcase "$1" in >Xstart) >X [ -x ${PREFIX}/sbin/tac_plus -a -f ${PREFIX}/etc/tac_plus/tac_plus.conf ] && ${PREFIX}/sbin/tac_plus -L \ >X && [ -x ${PREFIX}/sbin/acctd ] && ${PREFIX}/sbin/acctd \ >X && echo -n ' tac_plus' >X ;; >Xstop) >X killall tac_plus acctd && echo -n ' tac_plus' >X echo >X ;; >X*) >X echo "Usage: `basename $0` {start|stop}" >&2 >X ;; >Xesac >X >Xexit 0 >END-of-tac+ia/files/tac_plus.sh >echo x - tac+ia/files/patch-maxsess >sed 's/^X//' >tac+ia/files/patch-maxsess << 'END-of-tac+ia/files/patch-maxsess' >X--- tac_plus/maxsess.c.orig Mon Sep 25 16:41:35 2000 >X+++ tac_plus/maxsess.c Tue Apr 17 01:29:41 2001 >X@@ -741,7 +741,8 @@ >X } >X >X /* If it's really too high, don't authorize more services */ >X- if (sess >= maxsess) { >X+/* if (sess >= maxsess) { */ >X+ if (sess > maxsess) { /* NAS reports the current attempt as an opened session too */ >X char buf[80]; >X >X sprintf(buf, >END-of-tac+ia/files/patch-maxsess >echo x - tac+ia/pkg-plist >sed 's/^X//' >tac+ia/pkg-plist << 'END-of-tac+ia/pkg-plist' >Xetc/rc.d/tac_plus.sh >Xetc/tac_plus/tac_plus.conf.example >Xetc/tac_plus/ttys.example >Xetc/tac_plus/aliases.example >Xsbin/acctd >Xsbin/killuser >Xsbin/lasttac >Xsbin/logtac >Xsbin/macct >Xsbin/tac_plus >Xsbin/unlogtac >Xsbin/whotac >Xshare/doc/tac_plus/README >Xshare/doc/tac_plus/users_guide >X@dirrm etc/tac_plus >X@dirrm share/doc/tac_plus >X@cwd /var/adm >X@exec mkdir /var/adm/tac_plus >X@exec mkdir /var/adm/tac_plus/deny >X@exec mkdir /var/adm/tac_plus/allow >X@exec mkdir /var/adm/tac_plus/parrot >X@dirrm tac_plus/deny >X@dirrm tac_plus/allow >X@dirrm tac_plus/parrot >X@dirrm tac_plus >X@cwd /var/log >X@dirrm tac_plus >END-of-tac+ia/pkg-plist >echo x - tac+ia/pkg-descr >sed 's/^X//' >tac+ia/pkg-descr << 'END-of-tac+ia/pkg-descr' >Xtacacs+ is program that allow authorization and authentication via net on >Xremote access servers. Authnticate users, authorize commands and log >Xaccounting information. >X >Xtac+ia is improved tacacs server based on tac_plus package. >X >XAdditional features: >X- improved configuration syntax >X- acls >X- time limits >X- more variable substitutions in configuration file and messages >X- allow/deny lists >X- tty lists >X- host and port aliasing >X- time intervals >X- dynamic ip-address assignment >X- passing uucp connections to uucico without rlogind authentication >Xand many other... >END-of-tac+ia/pkg-descr >echo x - tac+ia/pkg-comment >sed 's/^X//' >tac+ia/pkg-comment << 'END-of-tac+ia/pkg-comment' >XThe Cisco remote aaa server (inet-admins edition) >END-of-tac+ia/pkg-comment >echo x - tac+ia/Makefile >sed 's/^X//' >tac+ia/Makefile << 'END-of-tac+ia/Makefile' >X# New ports collection makefile for: tas >X# Date created: 11 Jan 2001 >X# Whom: Anton Voronin <anton@urc.ac.ru> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= tac+ia >XPORTVERSION= 0.96p9.3 >XCATEGORIES= russian net >XMASTER_SITES= ftp://ftp.vsu.ru/pub/hardware/cisco/tacacs/ >XDISTNAME= tac+ia-0.96pre9.3 >X >XMAINTAINER= anton@urc.ac.ru >X >XWRKSRC= ${WRKDIR}/tac+ia-${PORTVERSION} >X >XMANCOMPRESSED= no >XMAN1= macct.1 parrot.1 >XMAN8= tac_plus.8 >X >XHAS_CONFIGURE= yes >X >X# Default prefix for config files >XCONFIGURE_ARGS+= --enable-confpath=${PREFIX}/etc/tac_plus >X# Default prefix for pid files >XCONFIGURE_ARGS+= --enable-runpath=/var/run >X# Default prefix for log files >XCONFIGURE_ARGS+= --enable-logpath=/var/log/tac_plus >X# >XCONFIGURE_ARGS+= --enable-ttysfile=${PREFIX}/etc/tac_plus/ttys >X# This file tac+ will use for accounting records. >X# Can be redefined in config file ('accounting file' directive) >XCONFIGURE_ARGS+= --enable-acctfile=/var/log/tac_plus/tac_plus.acct >X# If you want to block access for users, which not exist in base >XCONFIGURE_ARGS+= --enable-db-strict >X# >XCONFIGURE_ARGS+= --enable-aliasesfile=${PREFIX}/etc/tac_plus/aliases >X# register NAS users on SIGUSR1 >XCONFIGURE_ARGS+= --enable-regnas >X# Support for ACL >XCONFIGURE_ARGS+= --enable-acl >X# >XCONFIGURE_ARGS+= --disable-deny >XCONFIGURE_ARGS+= --disable-cron >X >Xpost-build: >X @mv ${WRKSRC}/tac_plus/tac_plus.1 ${WRKSRC}/tac_plus/tac_plus.8 >X >Xpost-install: >X @if [ ! -f ${PREFIX}/etc/rc.d/tac_plus.sh ]; then \ >X ${ECHO} "Installing ${PREFIX}/etc/rc.d/tac_plus.sh startup file."; \ >X ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/tac_plus.sh ${PREFIX}/etc/rc.d/tac_plus.sh; \ >X fi >X ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/lib/libutil/ttys ${PREFIX}/etc/tac_plus/ttys.example >X ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/tac_plus/aliases ${PREFIX}/etc/tac_plus/aliases.example >X ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/tac_plus/tac_plus.conf ${PREFIX}/etc/tac_plus/tac_plus.conf.example >X -@mkdir -p ${PREFIX}/share/doc/tac_plus >X ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/tac_plus/users_guide ${PREFIX}/share/doc/tac_plus/users_guide >X ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/README ${PREFIX}/share/doc/tac_plus/README >X >X.include <bsd.port.mk> >END-of-tac+ia/Makefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 28796
: 15548