freeradius3: enable radtest utility
authorAlexey Dobrovolsky <redacted>
Fri, 4 Sep 2020 12:22:12 +0000 (15:22 +0300)
committerAlexey Dobrovolsky <redacted>
Fri, 4 Sep 2020 12:22:12 +0000 (15:22 +0300)
radtest utility is used in many manuals to check the operation of
radius server.

At the moment all parameters must be specified at startup, for example:

$ radtest bob hello localhost 0 testing123 0 localhost

Signed-off-by: Alexey Dobrovolsky <redacted>
net/freeradius3/Makefile

index e3a2a152ebd48796a962bf4e3f1eb464474c5483..992a7689f158130b2c2e1808f9c3b496a9a68fae 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=freeradius3
 PKG_VERSION:=release_3_0_21
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/FreeRADIUS/freeradius-server/archive
@@ -732,7 +732,7 @@ endef
 
 define Package/freeradius3-utils/install
        $(INSTALL_DIR) $(1)/usr/bin
-       for f in radclient radeapclient radwho; do \
+       for f in radclient radeapclient radtest radwho; do \
                $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$$$${f} $(1)/usr/bin/ ; \
        done
 endef
git clone https://git.99rst.org/PROJECT