Add freeradius-mod-attr-rewrite (#2353)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8720 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b1dc91cb90
commit
a2237b9b5f
@ -112,6 +112,12 @@ define Package/freeradius-mod-exec
|
||||
TITLE:=EXEC module
|
||||
endef
|
||||
|
||||
define Package/freeradius-mod-attr-rewrite
|
||||
$(call Package/freeradius/Default)
|
||||
DEPENDS:=freeradius
|
||||
TITLE:=ATTR rewrite module
|
||||
endef
|
||||
|
||||
define Package/freeradius-mod-files
|
||||
$(call Package/freeradius/Default)
|
||||
DEPENDS:=freeradius
|
||||
@ -208,7 +214,6 @@ PKG_CONFIGURE_ARGS:= \
|
||||
--without-edir \
|
||||
--without-snmp \
|
||||
--with-experimental-modules \
|
||||
--without-rlm_attr-rewrite \
|
||||
--without-rlm_checkval \
|
||||
--without-rlm_counter \
|
||||
--without-rlm_dbm \
|
||||
@ -292,6 +297,12 @@ else
|
||||
PKG_CONFIGURE_ARGS+= --without-rlm_eap_ttls
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius-mod-attr-rewrite),)
|
||||
PKG_CONFIGURE_ARGS+= --with-rlm_attr-rewrite
|
||||
else
|
||||
PKG_CONFIGURE_ARGS+= --without-rlm_attr-rewrite
|
||||
endif
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--libdir=/usr/lib/freeradius \
|
||||
@ -374,6 +385,7 @@ $(eval $(call BuildPlugin,freeradius-mod-eap-peap,rlm_eap_peap,))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-eap-tls,rlm_eap_tls,))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-eap-ttls,rlm_eap_ttls,))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-exec,rlm_exec,))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-attr-rewrite,rlm_attr_rewrite))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-files,rlm_files,acct_users preproxy_users users))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-ldap,rlm_ldap,ldap.attrmap))
|
||||
$(eval $(call BuildPlugin,freeradius-mod-mschap,rlm_mschap,))
|
||||
|
Loading…
x
Reference in New Issue
Block a user