Hi The package is used for creating sqlstatements to log a defined radius action to a file. can you add the patch to the freeradius2 makefile? the statements can be send later on to a central database by a script. Andreas Kraxner
+++ feeds/packages/net/freeradius2/Makefile 2012-02-29 08:09:54.909449182 +0100 --- feeds/packages/net/freeradius2/Makefile.new 2012-02-29 08:12:35.790333125 +0100 @@ -316,6 +316,12 @@ TITLE:=Misc. client utilities endef +define Package/freeradius2-mod-sqllog + $(call Package/freeradius2/Default) + DEPENDS:=freeradius2 + TITLE:=SQL Logging module +endef + CONFIGURE_ARGS+= \ --libdir=/usr/lib/freeradius2 \ --libexecdir=/usr/lib/freeradius2 \ @@ -401,6 +407,15 @@ CONFIGURE_ARGS+= --without-rlm_sql_postgresql endif +ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sqllog),) + CONFIGURE_ARGS+= \ + --with-rlm_sql_log \ + --with-experimental-modules \ +else + CONFIGURE_ARGS+= --without-rlm_sql_log +endif + + ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-sqlite),) CONFIGURE_ARGS+= \ --with-rlm_sql_sqlite \ @@ -568,6 +583,7 @@ $(eval $(call BuildPlugin,freeradius2-mod-sql-pgsql,rlm_sql_postgresql,)) $(eval $(call BuildPlugin,freeradius2-mod-sql-sqlite,rlm_sql_sqlite,)) $(eval $(call BuildPlugin,freeradius2-mod-sqlcounter,rlm_sqlcounter,)) +$(eval $(call BuildPlugin,freeradius2-mod-sqllog,rlm_sql_log,)) $(eval $(call BuildPlugin,freeradius2-mod-radutmp,rlm_radutmp,modules/radutmp modules/sradutmp,modules,)) $(eval $(call BuildPlugin,freeradius2-mod-logintime,rlm_logintime,modules/logintime,modules,)) $(eval $(call BuildPlugin,freeradius2-mod-expr,rlm_expr,modules/expr,modules,))
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
