- Update tac_plus4 to 4.0.4.28

- Regenerate patches to make portlint happy
- Other minor changes to Makefile for portlint happiness
- Updates the description to reflect a bit more the current state:
- The original FTP site from Cisco isn't reachable anymore, nor
  is 2.x in the ports tree these days.
- Update/add the URL, though the one from Cisco still works, but
  this is the version from Shrubbery Networks. (there are others around)
- Add a pkg-message

PR:		204683
Submitted by:	Mathieu Simon <freebsd@simweb.ch>
This commit is contained in:
Joe Marcus Clarke 2015-11-22 23:56:02 +00:00
parent 8bf524c289
commit c05e892f22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402250
12 changed files with 40 additions and 36 deletions

View file

@ -2,13 +2,13 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= tac_plus PORTNAME= tac_plus
PORTVERSION= F4.0.4.27a PORTVERSION= F4.0.4.28
CATEGORIES= net security CATEGORIES= net security
MASTER_SITES= ftp://ftp.shrubbery.net/pub/tac_plus/ MASTER_SITES= ftp://ftp.shrubbery.net/pub/${PORTNAME}/
DISTNAME= tacacs+-F4.0.4.27a DISTNAME= tacacs-${PORTVERSION}
MAINTAINER= marcus@FreeBSD.org MAINTAINER= marcus@FreeBSD.org
COMMENT= The Cisco remote authentication/authorization/accounting server COMMENT= Cisco remote authentication/authorization/accounting server
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= bison perl5 libtool USES= bison perl5 libtool

View file

@ -1,2 +1,2 @@
SHA256 (tacacs+-F4.0.4.27a.tar.gz) = 512e1c30389b102d4af25d7e9bc3bdcd9d39d70e5e7d8a98c8f785733df8d9a1 SHA256 (tacacs-F4.0.4.28.tar.gz) = 147f2dc98d26d2f93f0aba76c988ced196ffe1c001dc2e91f788a1a2c747219e
SIZE (tacacs+-F4.0.4.27a.tar.gz) = 504395 SIZE (tacacs-F4.0.4.28.tar.gz) = 530049

View file

@ -1,6 +1,6 @@
--- Makefile.in.orig 2012-04-17 02:56:54.000000000 +0400 --- Makefile.in.orig 2012-04-16 22:56:21 UTC
+++ Makefile.in 2013-04-13 13:43:18.000000000 +0400 +++ Makefile.in
@@ -98,7 +98,7 @@ @@ -162,7 +162,7 @@ am__tac_plus_SOURCES_DIST = acct.c authe
config.c default_fn.c default_v0_fn.c do_acct.c do_author.c \ config.c default_fn.c default_v0_fn.c do_acct.c do_author.c \
dump.c enable.c encrypt.c expire.c hash.c maxsessint.c parse.c \ dump.c enable.c encrypt.c expire.c hash.c maxsessint.c parse.c \
programs.c pw.c pwlib.c report.c sendauth.c sendpass.c \ programs.c pw.c pwlib.c report.c sendauth.c sendpass.c \
@ -9,7 +9,7 @@
@TACSKEY_TRUE@am__objects_1 = skey_fn.$(OBJEXT) @TACSKEY_TRUE@am__objects_1 = skey_fn.$(OBJEXT)
@TACACECLNT_TRUE@am__objects_2 = aceclnt_fn.$(OBJEXT) @TACACECLNT_TRUE@am__objects_2 = aceclnt_fn.$(OBJEXT)
am_tac_plus_OBJECTS = acct.$(OBJEXT) authen.$(OBJEXT) author.$(OBJEXT) \ am_tac_plus_OBJECTS = acct.$(OBJEXT) authen.$(OBJEXT) author.$(OBJEXT) \
@@ -109,7 +109,7 @@ @@ -173,7 +173,7 @@ am_tac_plus_OBJECTS = acct.$(OBJEXT) aut
parse.$(OBJEXT) programs.$(OBJEXT) pw.$(OBJEXT) \ parse.$(OBJEXT) programs.$(OBJEXT) pw.$(OBJEXT) \
pwlib.$(OBJEXT) report.$(OBJEXT) sendauth.$(OBJEXT) \ pwlib.$(OBJEXT) report.$(OBJEXT) sendauth.$(OBJEXT) \
sendpass.$(OBJEXT) tac_plus.$(OBJEXT) utils.$(OBJEXT) \ sendpass.$(OBJEXT) tac_plus.$(OBJEXT) utils.$(OBJEXT) \
@ -18,7 +18,7 @@
tac_plus_OBJECTS = $(am_tac_plus_OBJECTS) tac_plus_OBJECTS = $(am_tac_plus_OBJECTS)
am__DEPENDENCIES_1 = am__DEPENDENCIES_1 =
tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1) tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1)
@@ -592,6 +592,7 @@ @@ -770,6 +770,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendauth.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendauth.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendpass.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendpass.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skey_fn.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skey_fn.Po@am__quote@
@ -26,7 +26,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tac_plus.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tac_plus.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tac_pwd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tac_pwd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@
@@ -1049,8 +1050,7 @@ @@ -1256,8 +1257,7 @@ info: info-am
info-am: info-am:

View file

@ -1,6 +1,6 @@
--- choose_authen.c.orig 2012-04-17 01:42:55.000000000 +0400 --- choose_authen.c.orig 2012-04-16 21:42:55 UTC
+++ choose_authen.c 2013-04-13 13:55:20.000000000 +0400 +++ choose_authen.c
@@ -130,12 +130,29 @@ @@ -130,12 +130,29 @@ choose_login(struct authen_data *data, s
#else /* SKEY */ #else /* SKEY */
report(LOG_ERR, report(LOG_ERR,
"%s %s: user %s s/key support has not been compiled in", "%s %s: user %s s/key support has not been compiled in",

View file

@ -1,5 +1,5 @@
--- opie_fn.c.orig Sun Dec 8 15:26:20 2002 --- opie_fn.c.orig 2002-12-08 11:26:20 UTC
+++ opie_fn.c Sun Dec 8 15:27:01 2002 +++ opie_fn.c
@@ -0,0 +1,239 @@ @@ -0,0 +1,239 @@
+/* +/*
+ Copyright (c) 1995-2000 by Cisco systems, Inc. + Copyright (c) 1995-2000 by Cisco systems, Inc.

View file

@ -1,5 +1,5 @@
--- parse.h.orig 2012-04-10 22:34:40.000000000 +0400 --- parse.h.orig 2012-04-10 18:34:40 UTC
+++ parse.h 2013-04-13 14:02:27.000000000 +0400 +++ parse.h
@@ -74,6 +74,7 @@ @@ -74,6 +74,7 @@
#ifdef MSCHAP #ifdef MSCHAP
#define S_mschap 42 #define S_mschap 42

View file

@ -1,6 +1,6 @@
--- skey_fn.c.orig 2012-06-06 22:34:55.000000000 +0400 --- skey_fn.c.orig 2012-06-06 18:34:55 UTC
+++ skey_fn.c 2013-04-13 14:08:31.000000000 +0400 +++ skey_fn.c
@@ -164,7 +164,7 @@ @@ -164,7 +164,7 @@ skey_fn(struct authen_data *data)
return(1); return(1);
} }

View file

@ -1,6 +1,6 @@
--- tac_plus.h.orig 2013-04-13 13:45:20.000000000 +0400 --- tac_plus.h.orig 2012-04-10 19:38:45 UTC
+++ tac_plus.h 2013-04-13 13:50:14.000000000 +0400 +++ tac_plus.h
@@ -452,6 +452,7 @@ @@ -452,6 +452,7 @@ int enable_fn(struct authen_data *data);
int sendauth_fn(struct authen_data *data); int sendauth_fn(struct authen_data *data);
int sendpass_fn(struct authen_data *data); int sendpass_fn(struct authen_data *data);
int skey_fn(struct authen_data *data); int skey_fn(struct authen_data *data);

View file

@ -1,6 +1,6 @@
--- users_guide.in.orig 2011-05-28 02:11:57.000000000 +0400 --- users_guide.in.orig 2011-05-27 22:11:57 UTC
+++ users_guide.in 2013-04-13 14:16:37.000000000 +0400 +++ users_guide.in
@@ -164,7 +164,10 @@ @@ -164,7 +164,10 @@ for S/KEY in the Makefile. I got my S/K
crimelab.com but now it appears the only source is ftp.bellcore.com. I crimelab.com but now it appears the only source is ftp.bellcore.com. I
suggest you try a web search for s/key source code. suggest you try a web search for s/key source code.
@ -12,7 +12,7 @@
Should you need them, there are routines for accessing password files Should you need them, there are routines for accessing password files
(getpwnam,setpwent,endpwent,setpwfile) in pw.c. (getpwnam,setpwent,endpwent,setpwfile) in pw.c.
@@ -414,7 +417,16 @@ @@ -414,7 +417,16 @@ be authenticated via s/key, as follows:
login = skey login = skey
} }

View file

@ -23,7 +23,7 @@
name=tac_plus name=tac_plus
rcvar=tac_plus_enable rcvar=tac_plus_enable
command="%%PREFIX%%/bin/tac_plus" command="%%PREFIX%%/sbin/tac_plus"
pidfile="/var/run/${name}.pid" pidfile="/var/run/${name}.pid"
tac_plus_enable=${tac_plus_enable:-"NO"} tac_plus_enable=${tac_plus_enable:-"NO"}
tac_plus_flags=${tac_plus_flags:-} tac_plus_flags=${tac_plus_flags:-}

View file

@ -1,12 +1,16 @@
TACACS+ program that allow authorization and authentication via net on A TACACS+ server that allows authorization and authentication via net
remote access servers. Authenticate users, authorize commands and log on remote access servers: Authenticate users, authorize commands and log
accounting information. accounting information.
This new version 4 has improved features and bugfixes over the older 2.x Version 4 has improved features and bugfixes over the older 2.x versions.
version, which is still available, since this source is still marked ALPHA.
Improved features among others and bugfixes: Microsoft CHAP support. Improved features among others and bugfixes: Microsoft CHAP support.
To enable MSCHAP you need to optain a key from Microsoft, see the FAQ To enable MSCHAP you need to optain a key from Microsoft, see the FAQ
section in the users guide. Therefore this isn't enabled by default. section in the users guide. Therefore this isn't enabled by default.
Cisco, the original developers, have stopped tac_plus development around
F4.0.4. There are different versions based on Cisco tac_plus, this is the
version from Shrubbery Networks.
WWW: http://www.shrubbery.net/tac_plus
WWW: http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800946a3.shtml WWW: http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800946a3.shtml

View file

@ -1,6 +1,5 @@
bin/tac_plus
bin/tac_pwd bin/tac_pwd
etc/tac_plus.conf.example %%ETCDIR%%.conf.example
include/tacacs.h include/tacacs.h
lib/libtacacs.a lib/libtacacs.a
lib/libtacacs.so lib/libtacacs.so
@ -9,5 +8,6 @@ lib/libtacacs.so.1.0.0
man/man5/tac_plus.conf.5.gz man/man5/tac_plus.conf.5.gz
man/man8/tac_plus.8.gz man/man8/tac_plus.8.gz
man/man8/tac_pwd.8.gz man/man8/tac_pwd.8.gz
sbin/tac_plus
%%PORTDOCS%%%%DOCSDIR%%/tac_convert %%PORTDOCS%%%%DOCSDIR%%/tac_convert
%%PORTDOCS%%%%DOCSDIR%%/users_guide %%PORTDOCS%%%%DOCSDIR%%/users_guide