freeradius3: drop yubikey support
authorYanase Yuki <[email protected]>
Sat, 29 Nov 2025 12:37:47 +0000 (21:37 +0900)
committerHannu Nyman <[email protected]>
Sun, 30 Nov 2025 18:18:07 +0000 (19:18 +0100)
FreeRADIUS yubikey plugin depends on obsolete libyubikey.
libyubikey has been removed from repo
due to upstream EoL. (9ea17111f05e1bc3)
This commit will fix libyubikey dependency problem.

Signed-off-by: Yanase Yuki <[email protected]>
net/freeradius3/Makefile

index 3c49ec60a7eadfa85aa8fd022dfd1cb923e0980a..0687ea976b8e5b5a34558595be2aba2cabcba7d1 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=freeradius3
 PKG_VERSION:=3.2.7
 PKG_VERSION_UNDERSCORE:=$(subst .,_,${PKG_VERSION})
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=freeradius-server-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/FreeRADIUS/freeradius-server/releases/download/release_$(PKG_VERSION_UNDERSCORE)/
@@ -708,16 +708,6 @@ define Package/freeradius3-mod-wimax/conffiles
 /etc/freeradius3/mods-available/wimax
 endef
 
-define Package/freeradius3-mod-yubikey
-  $(call Package/freeradius3/Default)
-  DEPENDS:=freeradius3 +libyubikey +ykclient
-  TITLE:=Yubikey Authentication
-endef
-
-define Package/freeradius3-mod-yubikey/conffiles
-/etc/freeradius3/mods-available/yubikey
-endef
-
 define Package/freeradius3-utils
   $(call Package/freeradius3/Default)
   DEPENDS:=+freeradius3-common
@@ -759,6 +749,7 @@ CONFIGURE_ARGS+= \
        --without-rlm_sql_freetds \
        --without-rlm_sql_iodbc \
        --without-rlm_sql_oracle \
+       --without-rlm_yubikey \
 
 CONFIGURE_LIBS+= -latomic
 
@@ -962,15 +953,6 @@ else
   CONFIGURE_ARGS+= --without-rlm_unix
 endif
 
-ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-yubikey),)
-  CONFIGURE_ARGS+= \
-               --with-rlm_yubikey \
-               --with-rlm_yubikey-include-dir="$(STAGING_DIR)/usr/include" \
-               --with-rlm_yubikey-lib-dir="$(STAGING_DIR)/usr/lib"
-else
-  CONFIGURE_ARGS+= --without-rlm_yubikey
-endif
-
 ifeq ($(CONFIG_USE_GLIBC),y)
   TARGET_CFLAGS+= -DLIBBSD_OVERLAY -I$(STAGING_DIR)/usr/include/bsd \
        -D_RPC_NETDB_H
@@ -1138,5 +1120,4 @@ $(eval $(call BuildPlugin,freeradius3-mod-unix,rlm_unix,))
 $(eval $(call BuildPlugin,freeradius3-mod-unpack,rlm_unpack,))
 $(eval $(call BuildPlugin,freeradius3-mod-utf8,rlm_utf8,))
 $(eval $(call BuildPlugin,freeradius3-mod-wimax,rlm_wimax,))
-$(eval $(call BuildPlugin,freeradius3-mod-yubikey,rlm_yubikey,))
 $(eval $(call BuildPackage,freeradius3-utils))