freeradius3: Fix the ordering in the Makefile.
Signed-off-by: Robby K <robbyke@gmail.com>
This commit is contained in:
parent
0d795d2028
commit
fe6f04346f
1 changed files with 104 additions and 105 deletions
|
@ -77,9 +77,9 @@ define Package/freeradius3-default
|
|||
+freeradius3-mod-eap-md5 \
|
||||
+freeradius3-mod-eap-mschapv2 \
|
||||
+freeradius3-mod-eap-peap \
|
||||
+freeradius3-mod-eap-pwd \
|
||||
+freeradius3-mod-eap-tls \
|
||||
+freeradius3-mod-eap-ttls \
|
||||
+freeradius3-mod-eap-pwd \
|
||||
+freeradius3-mod-exec \
|
||||
+freeradius3-mod-expiration \
|
||||
+freeradius3-mod-expr \
|
||||
|
@ -100,6 +100,39 @@ define Package/freeradius3-democerts
|
|||
TITLE:=Demo certificates to test the server
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-always
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Always module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-always/conffiles
|
||||
/etc/freeradius3/mods-available/always
|
||||
/etc/freeradius3/mods-enabled/always
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-filter
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=ATTR filter module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-filter/conffiles
|
||||
/etc/freeradius3/mods-available/attr_filter
|
||||
/etc/freeradius3/mods-enabled/attr_filter
|
||||
/etc/freeradius3/mods-config/attr_filter/access_challenge
|
||||
/etc/freeradius3/mods-config/attr_filter/access_reject
|
||||
/etc/freeradius3/mods-config/attr_filter/accounting_response
|
||||
/etc/freeradius3/mods-config/attr_filter/post-proxy
|
||||
/etc/freeradius3/mods-config/attr_filter/pre-proxy
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-rewrite
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=ATTR rewrite module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-chap
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -177,6 +210,12 @@ define Package/freeradius3-mod-eap-peap
|
|||
TITLE:=EAP/PEAP module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-eap-pwd
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3-mod-eap @FREERADIUS3_OPENSSL
|
||||
TITLE:=EAP/PWD module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-eap-tls
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3-mod-eap @FREERADIUS3_OPENSSL
|
||||
|
@ -189,12 +228,6 @@ define Package/freeradius3-mod-eap-ttls
|
|||
TITLE:=EAP/TTLS module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-eap-pwd
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3-mod-eap @FREERADIUS3_OPENSSL
|
||||
TITLE:=EAP/PWD module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-exec
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -217,17 +250,6 @@ define Package/freeradius3-mod-expiration/conffiles
|
|||
/etc/freeradius3/mods-enabled/expiration
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-always
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Always module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-always/conffiles
|
||||
/etc/freeradius3/mods-available/always
|
||||
/etc/freeradius3/mods-enabled/always
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-expr
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -239,28 +261,6 @@ define Package/freeradius3-mod-expr/conffiles
|
|||
/etc/freeradius3/mods-enabled/expr
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-filter
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=ATTR filter module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-filter/conffiles
|
||||
/etc/freeradius3/mods-available/attr_filter
|
||||
/etc/freeradius3/mods-enabled/attr_filter
|
||||
/etc/freeradius3/mods-config/attr_filter/access_challenge
|
||||
/etc/freeradius3/mods-config/attr_filter/access_reject
|
||||
/etc/freeradius3/mods-config/attr_filter/accounting_response
|
||||
/etc/freeradius3/mods-config/attr_filter/post-proxy
|
||||
/etc/freeradius3/mods-config/attr_filter/pre-proxy
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-attr-rewrite
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=ATTR rewrite module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-files
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -275,17 +275,6 @@ define Package/freeradius3-mod-files/conffiles
|
|||
/etc/freeradius3/mods-config/files/pre-proxy
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-passwd
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Rlm passwd module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-passwd/conffiles
|
||||
/etc/freeradius3/mods-available/passwd
|
||||
/etc/freeradius3/mods-enabled/passwd
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-ldap
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3 +libopenldap @FREERADIUS3_OPENSSL
|
||||
|
@ -329,6 +318,17 @@ define Package/freeradius3-mod-pap/conffiles
|
|||
/etc/freeradius3/mods-enabled/pap
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-passwd
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Rlm passwd module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-passwd/conffiles
|
||||
/etc/freeradius3/mods-available/passwd
|
||||
/etc/freeradius3/mods-enabled/passwd
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-preprocess
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -362,6 +362,19 @@ define Package/freeradius3-mod-python3/conffiles
|
|||
/etc/freeradius3/mods-available/python3
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-radutmp
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Radius UTMP module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-radutmp/conffiles
|
||||
/etc/freeradius3/mods-available/radutmp
|
||||
/etc/freeradius3/mods-enabled/radutmp
|
||||
/etc/freeradius3/mods-available/sradutmp
|
||||
/etc/freeradius3/mods-enabled/sradutmp
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-realm
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -373,6 +386,16 @@ define Package/freeradius3-mod-realm/conffiles
|
|||
/etc/freeradius3/mods-enabled/realm
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-rest
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3 +libcurl +libjson-c
|
||||
TITLE:=Radius REST module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-rest/conffiles
|
||||
/etc/freeradius3/mods-available/rest
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-sql
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -443,19 +466,6 @@ define Package/freeradius3-mod-sqlippool/conffiles
|
|||
/etc/freeradius3/mods-available/sqlippool
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-radutmp
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
TITLE:=Radius UTMP module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-radutmp/conffiles
|
||||
/etc/freeradius3/mods-available/radutmp
|
||||
/etc/freeradius3/mods-enabled/radutmp
|
||||
/etc/freeradius3/mods-available/sradutmp
|
||||
/etc/freeradius3/mods-enabled/sradutmp
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-unix
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3
|
||||
|
@ -467,16 +477,6 @@ define Package/freeradius3-mod-unix/conffiles
|
|||
/etc/freeradius3/mods-enabled/unix
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-rest
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=freeradius3 +libcurl +libjson-c
|
||||
TITLE:=Radius REST module
|
||||
endef
|
||||
|
||||
define Package/freeradius3-mod-rest/conffiles
|
||||
/etc/freeradius3/mods-available/rest
|
||||
endef
|
||||
|
||||
define Package/freeradius3-utils
|
||||
$(call Package/freeradius3/Default)
|
||||
DEPENDS:=+freeradius3-common
|
||||
|
@ -556,6 +556,16 @@ else
|
|||
CONFIGURE_ARGS+= --without-rlm_eap_peap
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-pwd),)
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-rlm_eap_pwd \
|
||||
--with-rlm_eap_pwd-include-dir="$(STAGING_DIR)/usr/include" \
|
||||
--with-rlm_eap_pwd-lib-dir="$(STAGING_DIR)/usr/lib"
|
||||
CONFIGURE_LIBS+= -lcrypto -lssl
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_eap_pwd
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-tls),)
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-rlm_eap_tls \
|
||||
|
@ -576,14 +586,12 @@ else
|
|||
CONFIGURE_ARGS+= --without-rlm_eap_ttls
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-pwd),)
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-rlm_eap_pwd \
|
||||
--with-rlm_eap_pwd-include-dir="$(STAGING_DIR)/usr/include" \
|
||||
--with-rlm_eap_pwd-lib-dir="$(STAGING_DIR)/usr/lib"
|
||||
CONFIGURE_LIBS+= -lcrypto -lssl
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-ldap),)
|
||||
CONFIGURE_ARGS+= --with-rlm_ldap \
|
||||
--with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
|
||||
--with-rlm_ldap-lib-dir="$(STAGING_DIR)/usr/lib"
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_eap_pwd
|
||||
CONFIGURE_ARGS+= --without-rlm_ldap
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-python),)
|
||||
|
@ -612,6 +620,18 @@ else
|
|||
CONFIGURE_ARGS+= --without-rlm_python3
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-radutmp),)
|
||||
CONFIGURE_ARGS+= --with-rlm_radutmp
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_radutmp
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-rest),)
|
||||
CONFIGURE_ARGS+= --with-rlm_rest
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_rest
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-sql),)
|
||||
CONFIGURE_ARGS+= --with-rlm_sql
|
||||
else
|
||||
|
@ -650,33 +670,12 @@ else
|
|||
CONFIGURE_ARGS+= --without-rlm_sqlippool
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-radutmp),)
|
||||
CONFIGURE_ARGS+= --with-rlm_radutmp
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_radutmp
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-unix),)
|
||||
CONFIGURE_ARGS+= --with-rlm_unix
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_unix
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-rest),)
|
||||
CONFIGURE_ARGS+= --with-rlm_rest
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_rest
|
||||
endif
|
||||
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-ldap),)
|
||||
CONFIGURE_ARGS+= --with-rlm_ldap \
|
||||
--with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
|
||||
--with-rlm_ldap-lib-dir="$(STAGING_DIR)/usr/lib"
|
||||
else
|
||||
CONFIGURE_ARGS+= --without-rlm_ldap
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USE_GLIBC),y)
|
||||
TARGET_CFLAGS+= -DLIBBSD_OVERLAY -I$(STAGING_DIR)/usr/include/bsd \
|
||||
-D_RPC_NETDB_H
|
||||
|
@ -786,15 +785,15 @@ $(eval $(call BuildPlugin,freeradius3-mod-attr-filter,rlm_attr_filter,))
|
|||
$(eval $(call BuildPlugin,freeradius3-mod-chap,rlm_chap,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-detail,rlm_detail,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-digest,rlm_digest,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap,rlm_eap,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-gtc,rlm_eap_gtc,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-leap,rlm_eap_leap,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-md5,rlm_eap_md5,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-mschapv2,rlm_eap_mschapv2,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-peap,rlm_eap_peap,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap,rlm_eap,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-pwd,rlm_eap_pwd,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-tls,rlm_eap_tls,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-ttls,rlm_eap_ttls,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-eap-pwd,rlm_eap_pwd,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-exec,rlm_exec,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-expiration,rlm_expiration,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-expr,rlm_expr,))
|
||||
|
@ -811,6 +810,7 @@ $(eval $(call Py3Package,freeradius3-mod-python3))
|
|||
$(eval $(call BuildPlugin,freeradius3-mod-python3,rlm_python3,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-radutmp,rlm_radutmp,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-realm,rlm_realm,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-rest,rlm_rest,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-sql,rlm_sql,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-sql-mysql,rlm_sql_mysql,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-sql-null,rlm_sql_null,))
|
||||
|
@ -819,5 +819,4 @@ $(eval $(call BuildPlugin,freeradius3-mod-sql-sqlite,rlm_sql_sqlite,))
|
|||
$(eval $(call BuildPlugin,freeradius3-mod-sqlcounter,rlm_sqlcounter,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-sqlippool,rlm_sqlippool,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-unix,rlm_unix,))
|
||||
$(eval $(call BuildPlugin,freeradius3-mod-rest,rlm_rest,))
|
||||
$(eval $(call BuildPackage,freeradius3-utils))
|
||||
|
|
Loading…
Reference in a new issue