From: Yanase Yuki Date: Sat, 29 Nov 2025 12:37:47 +0000 (+0900) Subject: freeradius3: drop yubikey support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=fd191c9b497d8d7929b415fe3b78243e90c1f8c4;p=feed%2Fpackages.git freeradius3: drop yubikey support 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 --- diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index 3c49ec60a7..0687ea976b 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -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))