From owner-cvs-all Wed Jan 24 0: 7:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5544B37B402; Wed, 24 Jan 2001 00:06:57 -0800 (PST) Received: (from andreas@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0O86vX89333; Wed, 24 Jan 2001 00:06:57 -0800 (PST) (envelope-from andreas) Message-Id: <200101240806.f0O86vX89333@freefall.freebsd.org> From: Andreas Klemm Date: Wed, 24 Jan 2001 00:06:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/tac_plus4 Makefile ports/net/tac_plus4/files patch-maxsess.c patch-aa X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG andreas 2001/01/24 00:06:57 PST Modified files: net/tac_plus4 Makefile net/tac_plus4/files patch-aa Added files: net/tac_plus4/files patch-maxsess.c Log: From Sergey: "Using tacacs I found that ckfinger() function from maxsess.c module returns wrong count of current sessions for users with "maxsess" parameter established in tac_plus.conf. It happens if Cisco access server works with IOS v 12.x. On the other hand ckfinger() works well with IOS v 11.x Here are patches for both maxsess.c and port's Makefile to fix this problem (but it is just workaround, ckfinger() should be fully rewritten)." From me: changed variable name by prepending string "TAC_", so that tacacs+ ports variables follow an unique scheme. Please note: this doesn't compile with the new TAC_IOS_VERSION variable if you have CFLAGS redefined in /etc/make.conf as: CFLAGS=-pipe -O (or whatever) You have to use CFLAGS+=-pipe -O (or whatever) Mailed to -developers. Am really not sure, what's the culprit here. Fact is, that a part of CFLAGS get lost when compiling the port, if you redefine CFLAGS in /etc/make.conf without the "+" sign ... I personally removed my CFLAGS define in /etc/make.conf as it defaults to -pipe -O, which is fine for me. Submitted by: Sergey E. Levov (serg@informika.ru) Revision Changes Path 1.18 +11 -1 ports/net/tac_plus4/Makefile 1.5 +15 -6 ports/net/tac_plus4/files/patch-aa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message