Package freeradius-mod-radutmp, thanks to toboz !

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8752 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-09-11 16:29:18 +00:00
parent 52b8a0c221
commit 215d6ec220

View File

@ -197,6 +197,11 @@ define Package/freeradius-mod-sqlcounter
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
@ -226,7 +231,6 @@ PKG_CONFIGURE_ARGS:= \
--without-rlm_pam \
--without-rlm_perl \
--without-rlm_python \
--without-rlm_radutmp \
--without-rlm_smb \
--with-rlm_sql \
--with-rlm_sqlcounter \
@ -303,6 +307,12 @@ else
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 \
@ -396,4 +406,5 @@ $(eval $(call BuildPlugin,freeradius-mod-sql,rlm_sql,sql.conf))
$(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))