1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/tac_plus4/files/patch-ab
Masafumi Max NAKANE e632592b39 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.
1997-06-23 15:39:59 +00:00

29 lines
761 B
Plaintext

*** skey_fn.c.orig Sat Jul 29 02:49:18 1995
--- skey_fn.c Mon Mar 3 17:33:57 1997
***************
*** 153,158 ****
--- 153,163 ----
char buf[256];
sprintf(buf, "%s\nPassword: ", skeyprompt);
data->server_msg = tac_strdup(buf);
+
+ /* We try to make it in accordance of standard FreeBSD
+ * behaviour in order to avoid surprises for user */
+ data->flags = TAC_PLUS_AUTHEN_FLAG_NOECHO;
+
data->status = TAC_PLUS_AUTHEN_STATUS_GETPASS;
p->state = STATE_AUTHEN_GETPASS;
return (0);
*** tac_plus.h.orig Sat Jul 29 02:49:19 1995
--- tac_plus.h Mon Mar 3 17:35:51 1997
***************
*** 91,96 ****
--- 91,97 ----
#ifdef FREEBSD
#define CONST_SYSERRLIST
#define STDLIB_MALLOC
+ #define NO_PWAGE
#define VOIDSIG
#endif