Skip to contentSkip to conversation

meta: fix SRC_URI

PATCH New Robert Yang 1 participant 6 messages Mar 12, 2015

lore
Share & tools
lore
#0 lore raw

v3 cover meta: fix SRC_URI

* V3
Use git repo for xinetd.

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

* V1:
Initial version

// Robert

The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111:

layer.conf: bump version as error-report interface changed (2015-03-10 17:44:56 +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 (5):
xinetd: fixe HOMEPAGE and SRC_URI
libevent: 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 +-
 .../net-tools/net-tools_1.60-25.bb                 |    4 ++--
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb      |    9 +++++----
 meta/recipes-support/libevent/libevent_2.0.21.bb   |    2 +-
 5 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v3 1/5 xinetd: fixe HOMEPAGE and SRC_URI

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

---
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.bb +5 -4
index 288186e..ffc03e5 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 = "git://github.com/xinetd-org/xinetd.git;protocol=https \
       file://xinetd.init \
       file://xinetd.conf \
       file://xinetd.default \
@@ -20,8 +20,9 @@ SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
       file://xinetd.service \
       "
 
-SRC_URI[md5sum] = "77358478fd58efa6366accae99b8b04c"
-SRC_URI[sha256sum] = "bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3"
+SRCREV = "68bb9ab9e9f214ad8a2322f28ac1d6733e70bc24"
+
+S = "${WORKDIR}/git"
 
 inherit autotools update-rc.d systemd
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v3 2/5 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
#3 lore raw

PATCH v3 3/5 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
#4 lore raw

PATCH v3 4/5 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
#5 lore raw

PATCH v3 5/5 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