Skip to contentSkip to conversation

netbase: use snapshot.debian.org

PATCH In review [email protected] 3 participants 5 messages Mar 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netbase: use snapshot.debian.org

From: Mingli Yu <[email protected]>

Use snapshot.debian.org as the previous URL only
stores the latest source file and fails to locate
the source tar file if we don't upgrade timely.

---
 meta/recipes-core/netbase/netbase_6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/netbase/netbase_6.1.bb +1 -1
index bc0049c..57faf3d 100644
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
 PE = "1"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz"
+SRC_URI = "http://snapshot.debian.org/archive/debian/20200311T090704Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz"
 
 SRC_URI[md5sum] = "e5871a3a5c8390557b8033cf19316a55"
 SRC_URI[sha256sum] = "084d743bd84d4d9380bac4c71c51e57406dce44f5a69289bb823c903e9b035d8"
Signature · 1 line
2.7.4
#2 lore raw
Quoted 10 lines · Alexander Kanavin

On Thu, 12 Mar 2020 at 04:22, <[email protected] <mailto:[email protected]>> wrote:

    -SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz"
    +SRC_URI =
    "http://snapshot.debian.org/archive/debian/20200311T090704Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz
    <http://snapshot.debian.org/archive/debian/20200311T090704Z/pool/main/n/$%7BBPN%7D/$%7BBPN%7D_$%7BPV%7D.tar.xz>"

This will break version checks and automated upgrades. Is it possible to build from git instead?
Specifically: https://salsa.debian.org/md/netbase

That repo is debian build metadata sources for netbase.

Quoted 3 lines

Alex

#3 lore raw
Quoted 6 lines · Khem Raj
Quoted 3 lines

This will break version checks and automated upgrades. Is it possible to build from git instead?
Specifically: https://salsa.debian.org/md/netbase

That repo is debian build metadata sources for netbase.

Nope. It is the actual sources too, in etc/.

Alex

#4 lore raw
Quoted 12 lines · Alexander Kanavin
Quoted 6 lines · Khem Raj
Quoted 4 lines

This will break version checks and automated upgrades. Is it possible to build from git instead?
Specifically: https://salsa.debian.org/md/netbase

That repo is debian build metadata sources for netbase.

Nope. It is the actual sources too, in etc/.

Right, I oversaw that, perhaps git fetch with right SHA1 for release tag might be ok to use

Quoted 1 line

Alex