From 66f2422b71d0b9e4382d1826fd0384d3e4856e89 Mon Sep 17 00:00:00 2001 From: Yanase Yuki Date: Mon, 29 Dec 2025 17:13:26 +0900 Subject: [PATCH] treewide: remove FTP usage Drop obsolete protocol usage. Use HTTPS (if possible) or HTTP instead. Signed-off-by: Yanase Yuki --- devel/gcc/Makefile | 6 +++--- libs/file/Makefile | 2 +- libs/libnetfilter-cthelper/Makefile | 4 +--- libs/libnetfilter-cttimeout/Makefile | 4 +--- libs/libnetfilter-log/Makefile | 4 +--- libs/postgresql/Makefile | 3 +-- libs/tcp_wrappers/Makefile | 4 ++-- net/isc-dhcp/Makefile | 2 +- net/ulogd/Makefile | 3 +-- sound/madplay/Makefile | 2 +- 10 files changed, 13 insertions(+), 21 deletions(-) diff --git a/devel/gcc/Makefile b/devel/gcc/Makefile index abed05da44..90a7a8e51e 100644 --- a/devel/gcc/Makefile +++ b/devel/gcc/Makefile @@ -115,7 +115,7 @@ endif GMPSRC=gmp-6.1.0 define Download/gmp - URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure/ + URL:=https://gcc.gnu.org/pub/gcc/infrastructure/ FILE:=$(GMPSRC).tar.bz2 HASH:=498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8 endef @@ -124,7 +124,7 @@ $(eval $(call Download,gmp)) MPCSRC=mpc-1.0.3 define Download/mpc - URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure/ + URL:=https://gcc.gnu.org/pub/gcc/infrastructure/ FILE:=$(MPCSRC).tar.gz HASH:=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 endef @@ -133,7 +133,7 @@ $(eval $(call Download,mpc)) MPFRSRC=mpfr-3.1.4 define Download/mpfr - URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure/ + URL:=https://gcc.gnu.org/pub/gcc/infrastructure/ FILE:=$(MPFRSRC).tar.bz2 HASH:=d3103a80cdad2407ed581f3618c4bed04e0c92d1cf771a65ead662cc397f7775 endef diff --git a/libs/file/Makefile b/libs/file/Makefile index de30ff2e44..9434c4e6a6 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -13,7 +13,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://download.openpkg.org/components/cache/file/ \ - ftp://ftp.astron.com/pub/file/ + http://ftp.astron.com/pub/file/ PKG_HASH:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 PKG_MAINTAINER:=Marko Ratkaj diff --git a/libs/libnetfilter-cthelper/Makefile b/libs/libnetfilter-cthelper/Makefile index 934afbaf89..d8771e2d1d 100644 --- a/libs/libnetfilter-cthelper/Makefile +++ b/libs/libnetfilter-cthelper/Makefile @@ -12,9 +12,7 @@ PKG_VERSION:=1.0.0 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:= \ - http://www.netfilter.org/projects/libnetfilter_cthelper/files/ \ - ftp://ftp.netfilter.org/pub/libnetfilter_cthelper/ +PKG_SOURCE_URL:=http://www.netfilter.org/projects/libnetfilter_cthelper/files/ PKG_HASH:=07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d PKG_FIXUP:=autoreconf diff --git a/libs/libnetfilter-cttimeout/Makefile b/libs/libnetfilter-cttimeout/Makefile index 8a4b59b465..23c4b61e21 100644 --- a/libs/libnetfilter-cttimeout/Makefile +++ b/libs/libnetfilter-cttimeout/Makefile @@ -12,9 +12,7 @@ PKG_VERSION:=1.0.0 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:= \ - http://www.netfilter.org/projects/libnetfilter_cttimeout/files/ \ - ftp://ftp.netfilter.org/pub/libnetfilter_cttimeout/ +PKG_SOURCE_URL:=http://www.netfilter.org/projects/libnetfilter_cttimeout/files/ PKG_HASH:=aeab12754f557cba3ce2950a2029963d817490df7edb49880008b34d7ff8feba PKG_FIXUP:=autoreconf diff --git a/libs/libnetfilter-log/Makefile b/libs/libnetfilter-log/Makefile index f29e3cce80..4ebacd9f8b 100644 --- a/libs/libnetfilter-log/Makefile +++ b/libs/libnetfilter-log/Makefile @@ -12,9 +12,7 @@ PKG_VERSION:=1.0.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:= \ - http://www.netfilter.org/projects/libnetfilter_log/files/ \ - ftp://ftp.netfilter.org/pub/libnetfilter_log/ +PKG_SOURCE_URL:=http://www.netfilter.org/projects/libnetfilter_log/files/ PKG_HASH:=e3f408575614d849e4726b45e90c7ebb0e6744b04859555a9ce6ec40744ffeea PKG_MAINTAINER:=Yousong Zhou diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index df49f1e6e3..637c06716c 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -14,8 +14,7 @@ PKG_CPE_ID:=cpe:/a:postgresql:postgresql PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=\ https://ftp.postgresql.org/pub/source/v$(PKG_VERSION) \ - http://ftp.postgresql.org/pub/source/v$(PKG_VERSION) \ - ftp://ftp.postgresql.org/pub/source/v$(PKG_VERSION) + http://ftp.postgresql.org/pub/source/v$(PKG_VERSION) PKG_HASH:=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8 diff --git a/libs/tcp_wrappers/Makefile b/libs/tcp_wrappers/Makefile index df0b90503b..72f2d4fc49 100644 --- a/libs/tcp_wrappers/Makefile +++ b/libs/tcp_wrappers/Makefile @@ -12,7 +12,7 @@ PKG_VERSION:=7.6 PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security +PKG_SOURCE_URL:=http://ftp.porcupine.org/pub/security PKG_HASH:=9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d PKG_LICENSE:=TCP-wrappers @@ -27,7 +27,7 @@ define Package/libwrap SECTION:=libs CATEGORY:=Libraries TITLE:=Security wrapper library for TCP services - URL:=ftp://ftp.porcupine.org/pub/security/index.html + URL:=http://ftp.porcupine.org/pub/security/index.html MAINTAINER:=Peter Wagner endef diff --git a/net/isc-dhcp/Makefile b/net/isc-dhcp/Makefile index 86de3d67e2..2facf10575 100644 --- a/net/isc-dhcp/Makefile +++ b/net/isc-dhcp/Makefile @@ -19,7 +19,7 @@ PKG_MAINTAINER:=Philip Prindeville PKG_CPE_ID:=cpe:/a:isc:dhcp PKG_SOURCE:=$(UPSTREAM_NAME)-$(PKG_REALVERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/$(PKG_REALVERSION) \ +PKG_SOURCE_URL:=https://ftp.isc.org/isc/dhcp/$(PKG_REALVERSION) \ http://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/dhcp/$(PKG_REALVERSION) \ http://ftp.iij.ad.jp/pub/network/isc/dhcp/$(PKG_REALVERSION) PKG_HASH:=0ac416bb55997ca8632174fd10737fd61cdb8dba2752160a335775bc21dc73c7 diff --git a/net/ulogd/Makefile b/net/ulogd/Makefile index e523d027cd..91fc6cd6c4 100644 --- a/net/ulogd/Makefile +++ b/net/ulogd/Makefile @@ -12,8 +12,7 @@ PKG_VERSION:=2.0.9 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=https://netfilter.org/projects/ulogd/files/ \ - ftp://ftp.netfilter.org/pub/ulogd/ +PKG_SOURCE_URL:=https://netfilter.org/projects/ulogd/files/ PKG_HASH:=523a651fe0a9f25b0cd87d5d35fc37d9382e7eecfcf61e48d5505ff3cf80eda5 PKG_MAINTAINER:=Alexandru Ardelean diff --git a/sound/madplay/Makefile b/sound/madplay/Makefile index 5c8c3ab88f..15a65800f7 100644 --- a/sound/madplay/Makefile +++ b/sound/madplay/Makefile @@ -13,7 +13,7 @@ PKG_RELEASE:=10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/mad \ - ftp://ftp.mars.org/pub/mpeg/ + https://ftp.mars.org/pub/mpeg/ PKG_HASH:=5a79c7516ff7560dffc6a14399a389432bc619c905b13d3b73da22fa65acede0 PKG_MAINTAINER:=Simon Peter