Skip to contentSkip to conversation

meta: fix SRC_URI

PATCH Superseded Robert Yang 3 participants 12 messages Mar 9, 2015 – Mar 10, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover meta: fix SRC_URI

Changes of V2:
* Use snapshot.debian.org for the invalid SRC_URI when possible as Ross suggested.

// Robert

The following changes since commit 3c78468f12296abd02abce6eeac0f69bc7509958:

build-appliance-image: Update to master head revision (2015-03-03 13:12:50 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/uri
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/uri

Robert Yang (6):
xinetd: fixe HOMEPAGE and SRC_URI
libevent: fix SRC_URI
mailx: fix SRC_URI
apt: fix SRC_URI
net-tools: fix SRC_URI
resolvconf: fix SRC_URI

 .../resolvconf/resolvconf_1.76.bb                  |    3 +--
 meta/recipes-devtools/apt/apt.inc                  |    2 +-
 meta/recipes-extended/mailx/mailx_12.5.bb          |    4 ++--
 .../net-tools/net-tools_1.60-25.bb                 |    4 ++--
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb      |    4 ++--
 meta/recipes-support/libevent/libevent_2.0.21.bb   |    2 +-
 6 files changed, 9 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/6 xinetd: fixe HOMEPAGE and SRC_URI

The www.xinetd.org is not available, use github as the HOMEPAGE and pkgs.fedoraproject.org as the SRC_URI.

---
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +2 -2
index 288186e..f07a33f 100644
@@ -1,5 +1,5 @@
 SUMMARY = "Socket-based service activation daemon"
-HOMEPAGE = "http://www.xinetd.org"
+HOMEPAGE = "https://github.com/xinetd-org/xinetd"
 
 # xinetd is a BSD-like license
 # Apple and Gentoo say BSD here.
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"
 DEPENDS = ""
 PR = "r2"
 
-SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/77358478fd58efa6366accae99b8b04c/${BP}.tar.gz \
       file://xinetd.init \
       file://xinetd.conf \
       file://xinetd.default \
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/6] xinetd: fixe HOMEPAGE and SRC_URI

Quoted 26 lines · Robert Yang

The www.xinetd.org is not available, use github as the HOMEPAGE and pkgs.fedoraproject.org as the SRC_URI.

---
meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +0 -0
index 288186e..f07a33f 100644
@@ -1,5 +1,5 @@

SUMMARY = "Socket-based service activation daemon"

meta/recipes-extended/xinetd/xinetd_2.3.15.bb +1 -1
-HOMEPAGE = "http://www.xinetd.org"
+HOMEPAGE = "https://github.com/xinetd-org/xinetd"
# xinetd is a BSD-like license
# Apple and Gentoo say BSD here.
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +0 -0
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"

DEPENDS = ""
PR = "r2"

meta/recipes-extended/xinetd/xinetd_2.3.15.bb LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" · line 12

Quoted 2 lines
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +1 -1
-SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/77358478fd58efa6366accae99b8b04c/${BP}.tar.gz \

This snapshot can go away too. I would be more comfortable if you just checked it out from github straight.

Quoted 11 lines
      file://xinetd.init \
      file://xinetd.conf \
      file://xinetd.default \
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#3 lore raw

Re: [PATCH 1/6] xinetd: fixe HOMEPAGE and SRC_URI

Quoted 26 lines · Khem Raj
Quoted 26 lines · Robert Yang

The www.xinetd.org is not available, use github as the HOMEPAGE and pkgs.fedoraproject.org as the SRC_URI.

---
meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +0 -0
index 288186e..f07a33f 100644
@@ -1,5 +1,5 @@

SUMMARY = "Socket-based service activation daemon"

meta/recipes-extended/xinetd/xinetd_2.3.15.bb +1 -1
-HOMEPAGE = "http://www.xinetd.org"
+HOMEPAGE = "https://github.com/xinetd-org/xinetd"
# xinetd is a BSD-like license
# Apple and Gentoo say BSD here.
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +0 -0
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"

DEPENDS = ""
PR = "r2"

Quoted 4 lines

meta/recipes-extended/xinetd/xinetd_2.3.15.bb LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" · line 12

Quoted 2 lines
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +1 -1
-SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/77358478fd58efa6366accae99b8b04c/${BP}.tar.gz \

This snapshot can go away too. I would be more comfortable if you just checked it out from github straight.

Thanks, how about use git please ?
SRC_URI = "git://github.com/xinetd-org/xinetd.git;protocol=https

// Robert

Quoted 15 lines
Quoted 12 lines
       file://xinetd.init \
       file://xinetd.conf \
       file://xinetd.default \

--
1.7.9.5

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw

PATCH v2 2/6 libevent: fix SRC_URI

In reply to Robert Yang

The wget reported errors for the past URI since it can't follow the redirection well:
Connecting to cloud.github.com (cloud.github.com)|54.192.140.6|:443... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection.

---
 meta/recipes-support/libevent/libevent_2.0.21.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libevent/libevent_2.0.21.bb +1 -1
index 5a1ff3b..1230e92 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=45c5316ff684bcfe2f9f86d8b1279559"
 
 PR = "r1"
 
-SRC_URI = "http://github.com/downloads/libevent/libevent/${BPN}-${PV}-stable.tar.gz \
+SRC_URI = "${SOURCEFORGE_MIRROR}/levent/${BP}-stable.tar.gz \
            file://obsolete_automake_macros.patch \
            file://disable_tests.patch \
 "
Signature · 1 line
1.7.9.5
#5 lore raw

PATCH v2 3/6 mailx: fix SRC_URI

In reply to Robert Yang

Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5-1.diff.gz;name=patch, attempting MIRRORS if available

---
 meta/recipes-extended/mailx/mailx_12.5.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/mailx/mailx_12.5.bb +2 -2
index f2899d5..9103d53 100644
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd"
 
 DEPENDS = "openssl"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \
-           ${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20110427T035506Z/pool/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \
+           http://snapshot.debian.org/archive/debian/20110427T035506Z/pool/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \
            file://explicitly.disable.krb5.support.patch \
           "
 
Signature · 1 line
1.7.9.5
#6 lore raw

PATCH v2 4/6 apt: fix SRC_URI

In reply to Robert Yang

Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/a/apt/apt_0.9.9.4.tar.gz, attempting MIRRORS if available

---
 meta/recipes-devtools/apt/apt.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt.inc +1 -1
index 378021a..321934b 100644
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20130726T154545Z/pool/main/a/${BPN}/${BPN}_${PV}.tar.gz \
            file://no-ko-translation.patch \
            file://use-host.patch \
            file://makerace.patch \
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH v2 5/6 net-tools: fix SRC_URI

In reply to Robert Yang

Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/n/net-tools/net-tools_1.60-25.diff.gz;apply=no;name=patch, attempting MIRRORS if available

---
 .../net-tools/net-tools_1.60-25.bb                 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/net-tools/net-tools_1.60-25.bb +2 -2
index 0e4ee75..c47d69a 100644
@@ -6,8 +6,8 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
                     file://ifconfig.c;beginline=11;endline=15;md5=d1ca372080ad5401e23ca0afc35cf9ba"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
-           ${DEBIAN_MIRROR}/main/n/net-tools/${BPN}_${PV}.diff.gz;apply=no;name=patch \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/n/${BPN}/${BPN}_1.60.orig.tar.gz;name=tarball \
+           http://snapshot.debian.org/archive/debian/20130511T214653Z/pool/main/n/${BPN}/${BPN}_${PV}.diff.gz;apply=no;name=patch \
            file://net-tools-config.h \
            file://net-tools-config.make \
            file://ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch \
Signature · 1 line
1.7.9.5
#8 lore raw

Re: [PATCH 5/6] net-tools: fix SRC_URI

meta/recipes-extended/net-tools/net-tools_1.60-25.bb LICENSE = "GPLv2+" · line 10

Quoted 7 lines · Robert Yang
meta/recipes-extended/net-tools/net-tools_1.60-25.bb +2 -2
-SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
-           ${DEBIAN_MIRROR}/main/n/net-tools/${BPN}_${PV}.diff.gz;apply=no;name=patch \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/n/${BPN}/${BPN}_1.60.orig.tar.gz;name=tarball \
+           http://snapshot.debian.org/archive/debian/20130511T214653Z/pool/main/n/${BPN}/${BPN}_${PV}.diff.gz;apply=no;name=patch \

it would be nicer to use http://archive.debian.org/debian/pool/main/n/net-tools/ instead of snapshot.debian.org through out this series

#10 lore raw

Re: [PATCH 5/6] net-tools: fix SRC_URI

Quoted 11 lines · Ross

On 9 March 2015 at 16:03, Khem Raj <[email protected] <mailto:[email protected]>> wrote:

it would be nicer to use
http://archive.debian.org/debian/pool/main/n/net-tools/ instead of snapshot.debian.org <http://snapshot.debian.org> through out this series

Apart from that 1.6.0-25.diff.gz isn't in
http://archive.debian.org/debian/pool/main/n/net-tools/.

Yes, that's why we need fix it.

// Robert

Quoted 2 lines

Ross

#11 lore raw

PATCH v2 6/6 resolvconf: fix SRC_URI

In reply to Robert Yang

Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/r/resolvconf/resolvconf_1.76.tar.xz, attempting MIRRORS if available

---
 .../resolvconf/resolvconf_1.76.bb                  |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-connectivity/resolvconf/resolvconf_1.76.bb +1 -2
index 20a2c19..797e9b0 100644
@@ -11,12 +11,11 @@ AUTHOR = "Thomas Hood"
 HOMEPAGE = "http://packages.debian.org/resolvconf"
 RDEPENDS_${PN} = "bash"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.xz \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20141013T184415Z/pool/main/r/${BPN}/${BPN}_1.76.tar.xz \
            file://fix-path-for-busybox.patch \
            file://99_resolvconf \
           "
 
-
 SRC_URI[md5sum] = "d78ce30ea068999cd3e0523300b27255"
 SRC_URI[sha256sum] = "c9f40f7405b37399ddbf29ca4205b4911ee35cb9ffd9be7671faa2385b1fa573"
 
Signature · 1 line
1.7.9.5