diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index 992a7689f..1366e5c10 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=freeradius3 PKG_VERSION:=release_3_0_21 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/FreeRADIUS/freeradius-server/archive diff --git a/net/freeradius3/patches/004-get-hostname-from-proc-in-radtest.patch b/net/freeradius3/patches/004-get-hostname-from-proc-in-radtest.patch new file mode 100644 index 000000000..c3f368e24 --- /dev/null +++ b/net/freeradius3/patches/004-get-hostname-from-proc-in-radtest.patch @@ -0,0 +1,12 @@ +--- a/src/main/radtest.in ++++ b/src/main/radtest.in +@@ -112,7 +112,7 @@ if [ "$7" ] + then + nas=$7 + else +- nas=`hostname` ++ nas=$(cat /proc/sys/kernel/hostname) + fi + + ( +