From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 20 05:40:01 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 0A55016A418 for ; Thu, 20 Dec 2007 05:40:01 +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 E5FB313C448 for ; Thu, 20 Dec 2007 05:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBK5e01N024368 for ; Thu, 20 Dec 2007 05:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBK5e06p024367; Thu, 20 Dec 2007 05:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 20 Dec 2007 05:40:00 GMT Resent-Message-Id: <200712200540.lBK5e06p024367@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, Aaron Seelye Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A9D16A418 for ; Thu, 20 Dec 2007 05:35:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6BA13C45A for ; Thu, 20 Dec 2007 05:35:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBK5ZLQ1053715 for ; Thu, 20 Dec 2007 05:35:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBK5ZLHi053714; Thu, 20 Dec 2007 05:35:21 GMT (envelope-from nobody) Message-Id: <200712200535.lBK5ZLHi053714@www.freebsd.org> Date: Thu, 20 Dec 2007 05:35:21 GMT From: Aaron Seelye To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/118878: net/openser port minor expansion/version bump X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 05:40:01 -0000 >Number: 118878 >Category: ports >Synopsis: net/openser port minor expansion/version bump >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: Thu Dec 20 05:40:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Aaron Seelye >Release: 6.3-PRERELEASE >Organization: Eltopia.com >Environment: FreeBSD phone1.eltopia.net 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Wed Dec 19 20:53:59 PST 2007 toor@phone1.eltopia.net:/usr/obj/usr/src/sys/PHONE i386 >Description: I updated the port to make the auth_radius module available if selected. I also modified the acc module to have radius accounting available. If the radius feature isn't used, it won't break anything, so this should be safe for people who we're previously using it. >How-To-Repeat: >Fix: Apply the patch to the port. Patch attached with submission follows: diff -ur openser.old/Makefile openser/Makefile --- openser.old/Makefile 2007-08-20 02:12:42.000000000 -0700 +++ openser/Makefile 2007-12-19 21:39:46.000000000 -0800 @@ -7,6 +7,7 @@ PORTNAME= openser PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://openser.org/pub/openser/${PORTVERSION}/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}-tls_src @@ -63,10 +64,20 @@ POSTGRESQL "PostgreSQL support" off \ UNIXODBC "UnixODBC support" off \ TLS "TLS support" off \ - SNMPSTATS "SNMPStats support" off + SNMPSTATS "SNMPStats support" off \ + AUTHRADIUS "auth_radius module" on + .include +.if defined(WITH_AUTHRADIUS) +USE_AUTHRADIUS= yes +MODULES+= auth_radius +PLIST_FILES+= lib/openser/modules/auth_radius.so +.else +MAKE_ENV+= AUTHRADIUS=auth_radius +.endif + .if defined(WITH_MYSQL) USE_MYSQL= yes MODULES+= mysql diff -ur openser.old/files/patch-Makefile openser/files/patch-Makefile --- openser.old/files/patch-Makefile 2007-05-26 16:21:38.000000000 -0700 +++ openser/files/patch-Makefile 2007-12-19 19:53:26.000000000 -0800 @@ -9,8 +9,8 @@ - presence pua pua_mi pua_usrloc \ - mi_xmlrpc perl snmpstats +exclude_modules?= $(MYSQL) $(POSTGRESQL) $(SNMPSTATS) $(TLSOPS) $(UNIXODBC) \ -+ avp_radius auth_radius group_radius uri_radius \ -+ jabber osp mi_xmlrpc perl xmpp ++ ${AUTHRADIUS} avp_radius group_radius \ ++ uri_radius jabber osp mi_xmlrpc perl xmpp ifeq ($(TLS),) exclude_modules+= tlsops endif >Release-Note: >Audit-Trail: >Unformatted: