Skip to contentSkip to conversation

Moving from ftp to http/https

PATCH New Maxin B. John 1 participant 8 messages Jun 13, 2017

lore
Share & tools
lore
#0 lore raw

cover Moving from ftp to http/https

Reduce the usage of ftp protocol in SRC_URIs:

https://www.debian.org/News/2017/20170425

As part of [YOCTO #11413]

Maxin B. John (7):
libpcre: switch from ftp to https
dhcp: switch from ftp to http
mesa-demos: switch from ftp to https
mesa: switch from ftp to https
libglu: switch from ftp to https
libid3tag: switch from ftp to http
grub: switch from ftp to https

 meta/recipes-bsp/grub/grub2.inc                        | 2 +-
 meta/recipes-connectivity/dhcp/dhcp.inc                | 2 +-
 meta/recipes-graphics/mesa/libglu_9.0.0.bb             | 2 +-
 meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb         | 2 +-
 meta/recipes-graphics/mesa/mesa_17.1.1.bb              | 2 +-
 meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb | 2 +-
 meta/recipes-support/libpcre/libpcre_8.40.bb           | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.4.0
#1 lore raw

PATCH 1/7 libpcre: switch from ftp to https

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-support/libpcre/libpcre_8.40.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libpcre/libpcre_8.40.bb +1 -1
index 6396872..8563cd1 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "http://www.pcre.org"
 SECTION = "devel"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=60da32d84d067f53e22071c4ecb4384d"
-SRC_URI = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${PV}.tar.bz2 \
+SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \
            file://pcre-cross.patch \
            file://fix-pcre-name-collision.patch \
            file://run-ptest \
Signature · 1 line
2.4.0
#2 lore raw

PATCH 2/7 dhcp: switch from ftp to http

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-connectivity/dhcp/dhcp.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/dhcp/dhcp.inc +1 -1
index 969fdcb..eff3dc5 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=c5c64d696107f84b56fe337d14da1
 
 DEPENDS = "openssl bind"
 
-SRC_URI = "ftp://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \
+SRC_URI = "http://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \
            file://define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch \
            file://init-relay file://default-relay \
            file://init-server file://default-server \
Signature · 1 line
2.4.0
#3 lore raw

PATCH 3/7 mesa-demos: switch from ftp to https

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb +1 -1
index e43b9ef..bae3b18 100644
@@ -9,7 +9,7 @@ LICENSE = "MIT & PD"
 LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
                     file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
+SRC_URI = "https://mesa.freedesktop.org/archive/demos/${PV}/${BPN}-${PV}.tar.bz2 \
            file://0001-mesa-demos-Add-missing-data-files.patch \
            file://0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch \
            file://0004-Use-DEMOS_DATA_DIR-to-locate-data-files.patch \
Signature · 1 line
2.4.0
#4 lore raw

PATCH 4/7 mesa: switch from ftp to https

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-graphics/mesa/mesa_17.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/mesa/mesa_17.1.1.bb +1 -1
index ff84015..55c6f71 100644
@@ -1,6 +1,6 @@
 require ${BPN}.inc
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
+SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
            file://disable-asm-on-non-gcc.patch \
            file://0001-Use-wayland-scanner-in-the-path.patch \
Signature · 1 line
2.4.0
#5 lore raw

PATCH 5/7 libglu: switch from ftp to https

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-graphics/mesa/libglu_9.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/mesa/libglu_9.0.0.bb +1 -1
index 8b94613..eeb898f 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b35645
 PE = "2"
 PR = "0"
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/glu/glu-${PV}.tar.bz2"
+SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "be9249132ff49275461cf92039083030"
 SRC_URI[sha256sum] = "1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12"
Signature · 1 line
2.4.0
#6 lore raw

PATCH 6/7 libid3tag: switch from ftp to http

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb +1 -1
index 05a8a47..cc48bae 100644
@@ -9,7 +9,7 @@ SECTION = "libs"
 DEPENDS = "zlib gperf-native"
 PR = "r7"
 
-SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
+SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \
            file://addpkgconfig.patch \
            file://obsolete_automake_macros.patch \
 "
Signature · 1 line
2.4.0
#7 lore raw

PATCH 7/7 grub: switch from ftp to https

In reply to Maxin B. John

For the same reasons as Debian:
https://www.debian.org/News/2017/20170425

---
 meta/recipes-bsp/grub/grub2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/grub/grub2.inc +1 -1
index bb6ebdd..da6aad2 100644
@@ -11,7 +11,7 @@ SECTION = "bootloaders"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
+SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
            file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \
            file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
            file://autogen.sh-exclude-pc.patch \
Signature · 1 line
2.4.0