ports/118878: net/openser port minor expansion/version bump
Aaron Seelye
aseelye at eltopia.com
Thu Dec 20 05:40:01 UTC 2007
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list