From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 27 21:10:04 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C6F16A420 for ; Sat, 27 Oct 2007 21:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA3313C4A8 for ; Sat, 27 Oct 2007 21:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9RLA4p2032564 for ; Sat, 27 Oct 2007 21:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9RLA4GI032563; Sat, 27 Oct 2007 21:10:04 GMT (envelope-from gnats) Resent-Date: Sat, 27 Oct 2007 21:10:04 GMT Resent-Message-Id: <200710272110.l9RLA4GI032563@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Juergen Lock Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ECEA16A419 for ; Sat, 27 Oct 2007 21:07:40 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 0ABD213C4A3 for ; Sat, 27 Oct 2007 21:07:39 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 28095235CDD; Sat, 27 Oct 2007 23:07:38 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id l9RL69Q6072256 for ; Sat, 27 Oct 2007 23:06:09 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l9RL68e8072255; Sat, 27 Oct 2007 23:06:08 +0200 (CEST) (envelope-from nox) Message-Id: <200710272106.l9RL68e8072255@saturn.kn-bremen.de> Date: Sat, 27 Oct 2007 23:06:08 +0200 (CEST) From: Juergen Lock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117576: fix net/tac_plus-libradius gcc4 issue X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 21:10:04 -0000 >Number: 117576 >Category: ports >Synopsis: fix net/tac_plus-libradius gcc4 issue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 27 21:10:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 6.2-RELEASE-p8 i386 >Organization: me? organized?? >Environment: System: FreeBSD saturn 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Wed Oct 17 18:53:56 CEST 2007 nox@saturn:/usr/obj/usr/home/nox/62new/usr/src/sys/GENERICua i386 >Description: Fix build on 7 >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/tac_plus-libradius/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 1 Oct 2007 07:38:16 -0000 1.6 +++ Makefile 27 Oct 2007 21:03:03 -0000 @@ -25,10 +25,6 @@ .include -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1 Index: files/patch-ab =================================================================== RCS file: /home/pcvs/ports/net/tac_plus-libradius/files/patch-ab,v retrieving revision 1.1 diff -u -r1.1 patch-ab --- files/patch-ab 20 Sep 2002 20:31:30 -0000 1.1 +++ files/patch-ab 27 Oct 2007 19:44:13 -0000 @@ -1,17 +1,23 @@ -*** config.c Fri Mar 16 10:04:27 2001 ---- ../../tac_plus.F5.0.0.alpha/config.c Sun Jan 20 19:49:48 2002 -*************** -*** 603,608 **** ---- 603,614 ---- - authen_default_method = sym_code; - break; - #endif -+ #ifdef USE_RADIUS -+ case S_radius: -+ fprintf(stderr,"sym_code=%i, radius\n",sym_code); -+ authen_default_method = sym_code; -+ break; -+ #endif - - - default: +Index: config.c +@@ -109,7 +109,7 @@ + static int no_user_dflt = 0; /* default if user doesn't exist */ + static char *authen_default = NULL; /* top level authentication default */ + static int authen_default_method = 0; /*For method check */ +-static char *nopasswd_str = "nopassword"; ++char *nopasswd_str = "nopassword"; + + /* A host definition structure. Currently unused, but when we start + configuring host-specific information e.g. per-host keys, this is +@@ -602,6 +602,12 @@ + fprintf(stderr,"sym_code=%i, ldap\n",sym_code); + authen_default_method = sym_code; + break; ++#endif ++#ifdef USE_RADIUS ++ case S_radius: ++ fprintf(stderr,"sym_code=%i, radius\n",sym_code); ++ authen_default_method = sym_code; ++ break; + #endif + + >Release-Note: >Audit-Trail: >Unformatted: