[Devel] [ openser-Patches-1699950 ] patch for easy compilation for
acc with radius/diam support
SourceForge.net
noreply at sourceforge.net
Tue Apr 17 18:33:18 CEST 2007
Patches item #1699950, was opened at 2007-04-13 15:53
Message generated for change (Comment added) made by miconda
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: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
>Assigned to: Daniel-Constantin Mierla (miconda)
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
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-04-17 19:33
Message:
Logged In: YES
user_id=1246013
Originator: NO
Slightly changed for more hints and applied to svn.
----------------------------------------------------------------------
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