mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
package/freeradius-server: fix redis handling
redis handling is wrong since the addition of the package in commit
736c4c1655. Indeed, freeradius-server
needs hiredis, not redis
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5a8d6014c747b228758b1adc76b3e6519c6e30cc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ed0ba74817
commit
73a2491b78
@@ -71,6 +71,17 @@ FREERADIUS_SERVER_CONF_OPTS += \
|
||||
--without-rlm_ippool
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HIREDIS),y)
|
||||
FREERADIUS_SERVER_CONF_OPTS += \
|
||||
--with-rlm_redis \
|
||||
--with-rlm_rediswho
|
||||
FREERADIUS_SERVER_DEPENDENCIES += hiredis
|
||||
else
|
||||
FREERADIUS_SERVER_CONF_OPTS += \
|
||||
--without-rlm_redis \
|
||||
--without-rlm_rediswho
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JSON_C)$(BR2_PACKAGE_LIBCURL),yy)
|
||||
FREERADIUS_SERVER_CONF_OPTS += --with-rlm_rest
|
||||
FREERADIUS_SERVER_DEPENDENCIES += json-c libcurl
|
||||
@@ -150,13 +161,6 @@ else
|
||||
FREERADIUS_SERVER_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_REDIS),y)
|
||||
FREERADIUS_SERVER_CONF_OPTS += --with-rlm_redis --with-rlm_rediswho
|
||||
FREERADIUS_SERVER_DEPENDENCIES += redis
|
||||
else
|
||||
FREERADIUS_SERVER_CONF_OPTS += --without-rlm_redis --without-rlm_rediswho
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||
FREERADIUS_SERVER_CONF_OPTS += --with-rlm_sql_sqlite
|
||||
FREERADIUS_SERVER_DEPENDENCIES += sqlite
|
||||
|
||||
Reference in New Issue
Block a user