TITLE:=Generic SQL Counter module
endef
+define Package/freeradius-mod-radutmp
+ $(call Package/freeradius/Default)
+ TITLE:=Radius UTMP module
+endef
+
define Package/freeradius-utils
$(call Package/freeradius/Default)
DEPENDS:=freeradius
--without-rlm_pam \
--without-rlm_perl \
--without-rlm_python \
- --without-rlm_radutmp \
--without-rlm_smb \
--with-rlm_sql \
--with-rlm_sqlcounter \
PKG_CONFIGURE_ARGS+= --without-rlm_attr-rewrite
endif
+ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius-mod-radutmp),)
+ PKG_CONFIGURE_ARGS+= --with-rlm_radutmp
+else
+ PKG_CONFIGURE_ARGS+= --without-rlm_radutmp
+endif
+
define Build/Configure
$(call Build/Configure/Default, \
--libdir=/usr/lib/freeradius \
$(eval $(call BuildPlugin,freeradius-mod-sql-mysql,rlm_sql_mysql,))
$(eval $(call BuildPlugin,freeradius-mod-sql-pgsql,rlm_sql_postgresql,))
$(eval $(call BuildPlugin,freeradius-mod-sqlcounter,rlm_sqlcounter,))
+$(eval $(call BuildPlugin,freeradius-mod-radutmp,rlm_radutmp,))
$(eval $(call BuildPackage,freeradius-utils))