[Devel] [ openser-Patches-1699950 ] patch for easy compilation for acc with radius/diam support

SourceForge.net noreply at sourceforge.net
Fri Apr 13 14:53:22 CEST 2007


Patches item #1699950, was opened at 2007-04-13 08:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1699950&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for easy compilation for acc with radius/diam support 

Initial Comment:
Here's a small patch against 1.2 branch for controlling the
diameter/radius support for the acc module (instead of modifying the
Makefile, just set the ENABLE_RADIUS_ACC/ENABLE_DIAMETER_ACC to true):


--- Makefile    (revision 1991)
+++ Makefile    (working copy)
@@ -13,11 +13,15 @@
 # uncomment the next line if you wish to enable SQL accounting
 DEFS+=-DSQL_ACC

-# uncomment the next two lines if you wish to enable RADIUS accounting
-#DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
-#LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
+# set ENABLE_RADIUS_ACC) to true if you wish to enable RADIUS accounting
+ifeq ($(ENABLE_RADIUS_ACC),true)
+       DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
+       LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
+endif

-# uncomment the next two lines if you wish to enable DIAMETER accounting
-#DEFS+=-DDIAM_ACC
+# set ENABLE_DIAMETER_ACC to true if you wish to enable DIAMETER accounting
+ifeq ($(ENABLE_DIAMETER_ACC),true)
+       DEFS+=-DDIAM_ACC
+endif

 include ../../Makefile.modules


Example: enable RADIUS in acc:
ENABLE_RADIUS_ACC=true make include_modules="avp_radius auth_radius
group_radius uri_radius" all

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1699950&group_id=139143



More information about the Devel mailing list