From nobody@FreeBSD.org  Thu Dec 20 05:35:43 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 16A9D16A418
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <aseelye@eltopia.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/openser port minor expansion/version bump
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118878
>Category:       ports
>Synopsis:       net/openser port minor expansion/version bump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 20 05:40:00 UTC 2007
>Closed-Date:    Thu Feb 07 14:35:14 UTC 2008
>Last-Modified:  Thu Feb  7 14:40:00 UTC 2008
>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 <bsd.port.pre.mk>
 
+.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:
Responsible-Changed-From-To: freebsd-ports-bugs->jesusr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 20 05:40:05 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118878 
Responsible-Changed-From-To: jesusr->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Dec 20 09:30:52 UTC 2007 
Responsible-Changed-Why:  
grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118878 

From: Jesus Rodriguez <jesusr@voztele.com>
To: bug-followup@FreeBSD.org, aseelye@eltopia.com
Cc:  
Subject: Re: ports/118878: net/openser port minor expansion/version bump
Date: Thu, 20 Dec 2007 11:11:16 +0100

 Hello,
 
 I will add this new feature for the already released Openser 1.3.0 and  
 coming 1.2.3 versions.
 
 I just need a few days to do this.
 
 Thanks.
 
 
 Saludos
 JesusR.
 
 ------------------------------------
 Jesus Rodriguez
 VozTelecom Sistemas, S.L.
 jesusr@voztele.com
 http://www.voztele.com
 Tel. 902360305
 -------------------------------------
 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Mon Jan 21 11:57:20 UTC 2008 
State-Changed-Why:  
awaiting new patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118878 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Feb 7 14:35:13 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118878 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118878: commit references a PR
Date: Thu,  7 Feb 2008 14:35:08 +0000 (UTC)

 miwi        2008-02-07 14:35:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/openser          Makefile distinfo 
     net/openser/files    patch-Makefile patch-Makefile.defs 
   Log:
   - Update to 1.2.3
   
   PR:             118878
   Submitted by:   Aaron Seelye <aseelye@eltopia.com>
   Approved by:    Jesus Rodriguez <jesusr@voztele.com> (maintainer)
   
   Revision  Changes    Path
   1.10      +14 -5     ports/net/openser/Makefile
   1.8       +3 -3      ports/net/openser/distinfo
   1.6       +12 -11    ports/net/openser/files/patch-Makefile
   1.6       +3 -3      ports/net/openser/files/patch-Makefile.defs
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
