Skip to contentSkip to conversation

minicom: fix SRC_URI

PATCH In review Oleksandr Kravchuk 3 participants 4 messages Jun 4, 2018 – Jun 6, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 minicom: fix SRC_URI

The original source, alioth.debian.org has been permanently taken down by the Debian Project. Use Debian mirrors instead.

Source: https://wiki.debian.org/Alioth

---
 meta/recipes-extended/minicom/minicom_2.7.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/minicom/minicom_2.7.1.bb +3 -3
index e6afe2b655..d963da7436 100644
@@ -1,5 +1,5 @@
 SUMMARY = "Text-based modem control and terminal emulation program"
-HOMEPAGE = "http://alioth.debian.org/projects/minicom/"
+HOMEPAGE = "https://salsa.debian.org/minicom-team/minicom/"
 DESCRIPTION = "Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems"
 SECTION = "console/network"
 DEPENDS = "ncurses virtual/libiconv"
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \
                     file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81"
 
-SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz \
+SRC_URI = "${DEBIAN_MIRROR}/main/m/minicom/minicom_${PV}.orig.tar.gz \
            file://allow.to.disable.lockdev.patch \
            file://0001-fix-minicom-h-v-return-value-is-not-0.patch \
            file://0001-Fix-build-issus-surfaced-due-to-musl.patch \
@@ -16,7 +16,7 @@ SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz
 SRC_URI[md5sum] = "9021cb8c5445f6e6e74b2acc39962d62"
 SRC_URI[sha256sum] = "532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1"
 
-UPSTREAM_CHECK_URI = "https://alioth.debian.org/frs/?group_id=30018"
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/minicom/"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
Signature · 1 line
2.17.0
#1 lore raw

The Debian mirror network can't be relied upon as files are removed once they're not in any releases. For this reason, we prefer snapshot.debian.org for SRC_URI (with DEBIAN_MIRROR for the upstream check).

Ross

Quoted 47 lines · Oleksandr Kravchuk

The original source, alioth.debian.org has been permanently taken down by the Debian Project. Use Debian mirrors instead.

Source: https://wiki.debian.org/Alioth

---
 meta/recipes-extended/minicom/minicom_2.7.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/minicom/minicom_2.7.1.bb +3 -4
index e6afe2b655..d963da7436 100644
@@ -1,5 +1,5 @@
 SUMMARY = "Text-based modem control and terminal emulation program"
-HOMEPAGE = "http://alioth.debian.org/projects/minicom/"
+HOMEPAGE = "https://salsa.debian.org/minicom-team/minicom/"
 DESCRIPTION = "Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems"
 SECTION = "console/network"
 DEPENDS = "ncurses virtual/libiconv"
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \
                     file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81"
 
-SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz \
+SRC_URI = "${DEBIAN_MIRROR}/main/m/minicom/minicom_${PV}.orig.tar.gz \
            file://allow.to.disable.lockdev.patch \
            file://0001-fix-minicom-h-v-return-value-is-not-0.patch \
            file://0001-Fix-build-issus-surfaced-due-to-musl.patch \
@@ -16,7 +16,7 @@ SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz
 SRC_URI[md5sum] = "9021cb8c5445f6e6e74b2acc39962d62"
 SRC_URI[sha256sum] = "532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1"
 
-UPSTREAM_CHECK_URI = "https://alioth.debian.org/frs/?group_id=30018"
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/minicom/"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
--

2.17.0

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

#2 lore raw

Gentlemen,

Could you please clarify which source should be used for SRC_URI instead of alioth.debian.org?

Thanks.

Quoted 56 lines · Ross

The Debian mirror network can't be relied upon as files are removed once they're not in any releases. For this reason, we prefer snapshot.debian.org for SRC_URI (with DEBIAN_MIRROR for the upstream check).

Ross

Quoted 47 lines · Oleksandr Kravchuk

The original source, alioth.debian.org has been permanently taken down by the Debian Project. Use Debian mirrors instead.

Source: https://wiki.debian.org/Alioth

---
  meta/recipes-extended/minicom/minicom_2.7.1.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/minicom/minicom_2.7.1.bb +3 -4
index e6afe2b655..d963da7436 100644
@@ -1,5 +1,5 @@
  SUMMARY = "Text-based modem control and terminal emulation program"
-HOMEPAGE = "http://alioth.debian.org/projects/minicom/"
+HOMEPAGE = "https://salsa.debian.org/minicom-team/minicom/"
  DESCRIPTION = "Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems"
  SECTION = "console/network"
  DEPENDS = "ncurses virtual/libiconv"
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \
                      file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81"
 
-SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz \
+SRC_URI = "${DEBIAN_MIRROR}/main/m/minicom/minicom_${PV}.orig.tar.gz \
             file://allow.to.disable.lockdev.patch \
             file://0001-fix-minicom-h-v-return-value-is-not-0.patch \
             file://0001-Fix-build-issus-surfaced-due-to-musl.patch \
@@ -16,7 +16,7 @@ SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz
  SRC_URI[md5sum] = "9021cb8c5445f6e6e74b2acc39962d62"
  SRC_URI[sha256sum] = "532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1"
 
-UPSTREAM_CHECK_URI = "https://alioth.debian.org/frs/?group_id=30018"
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/minicom/"
 
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
--

2.17.0

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

#3 lore raw

http://snapshot.debian.org/archive/debian/20180606T155409Z/ .... for SRC_URI (fill in the rest).

${DEBIAN_MIRROR}/..... for UPSTREAM_CHECK_URI (as the above snapshot site is static, and won't be receiving new versions).

Alex

2018-06-06 20:25 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 77 lines

Gentlemen,

Could you please clarify which source should be used for SRC_URI instead of alioth.debian.org?

Thanks.

Quoted 65 lines · Ross

The Debian mirror network can't be relied upon as files are removed once they're not in any releases. For this reason, we prefer snapshot.debian.org for SRC_URI (with DEBIAN_MIRROR for the upstream check).

Ross

Quoted 55 lines · Oleksandr Kravchuk

The original source, alioth.debian.org has been permanently taken down by the Debian Project. Use Debian mirrors instead.

Source: https://wiki.debian.org/Alioth

---
  meta/recipes-extended/minicom/minicom_2.7.1.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/minicom/minicom_2.7.1.bb +1 -1
index e6afe2b655..d963da7436 100644
@@ -1,5 +1,5 @@
  SUMMARY = "Text-based modem control and terminal emulation program"
-HOMEPAGE = "http://alioth.debian.org/projects/minicom/"
+HOMEPAGE = "https://salsa.debian.org/minicom-team/minicom/"
  DESCRIPTION = "Minicom is a text-based modem control and terminal

emulation program for Unix-like operating systems"
SECTION = "console/network"
DEPENDS = "ncurses virtual/libiconv"

meta/recipes-extended/minicom/minicom_2.7.1.bb +0 -0
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645
 \
 

file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81"

-SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz \

meta/recipes-extended/minicom/minicom_2.7.1.bb +1 -0
+SRC_URI = "${DEBIAN_MIRROR}/main/m/minicom/minicom_${PV}.orig.tar.gz \
             file://allow.to.disable.lockdev.patch \
             file://0001-fix-minicom-h-v-return-value-is-not-0.patch \
             file://0001-Fix-build-issus-surfaced-due-to-musl.patch \
@@ -16,7 +16,7 @@ SRC_URI =

"https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz
SRC_URI[md5sum] = "9021cb8c5445f6e6e74b2acc39962d62" SRC_URI[sha256sum] =
"532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1"

meta/recipes-extended/minicom/minicom_2.7.1.bb +1 -2
-UPSTREAM_CHECK_URI = "https://alioth.debian.org/frs/?group_id=30018"
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/minicom/"
 
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
--

2.17.0

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