Skip to contentSkip to conversation

ttf-lklug: Point SRC_URI to a working location

PATCH New Khem Raj 1 participant 11 messages May 2, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/11 ttf-lklug: Point SRC_URI to a working location

---
 .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb           | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb +2 -3
index 8a7c1f333b..3951647337 100644
@@ -5,9 +5,8 @@ HOMEPAGE = "http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=lklug-fonts"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/source/tree/Packages/l/lklug-fonts-0.6-14.20090803cvs.fc24.src.rpm;extract=lklug-20090803.tar.gz"
-SRC_URI[md5sum] = "3341dfb997043d234ab3f6e5a965e759"
-SRC_URI[sha256sum] = "f54c1f3b4df08995982657fed290b562556191fee2a0386afd9e8bf228f72b1a"
+SRC_URI = "https://src.fedoraproject.org/repo/pkgs/lklug-fonts/lklug-20090803.tar.gz/b6e0daaf8cf41208fd2a7bc04fb23f84/lklug-20090803.tar.gz"
+SRC_URI[sha256sum] = "de5750f7048973f851961050f76b8b58e9bda400d5007c3078d9317fbe2ff5fd"
 
 DEPENDS = "fontforge-native"
 
Signature · 1 line
2.40.1
author
#1 lore raw

PATCH 2/11 radiusclient-ng: Point SRC_URI to archive.ubuntu.com

This tarball is not available on debian ftp archive anymore

---
 .../recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb +1 -2
index 4696c3baeb..6baa83e83e 100644
@@ -5,11 +5,10 @@ protocol (RFCs 2128 and 2139)."
 HOMEPAGE = "http://sourceforge.net/projects/radiusclient-ng.berlios/"
 SECTION = "net"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/r/${BPN}/${BPN}_${PV}.orig.tar.gz \
+SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/r/${BPN}/${BPN}_${PV}.orig.tar.gz \
    file://Modify-configure.in-and-etc-Makefile.am.patch \
    file://config-site.radiusclient-ng-${PV}"
 
-SRC_URI[md5sum] = "6fb7d4d0aefafaee7385831ac46a8e9c"
 SRC_URI[sha256sum] = "282a9f1355f190efbb06c0d7c4e062eaa652caf342ed3ad361ac595f72f09f14"
 
 LICENSE = "BSD-3-Clause & BSD-2-Clause & HPND"
Signature · 1 line
2.40.1
author
#2 lore raw

PATCH 3/11 httpfs2: Do not use S during compile/install tasks

In reply to Khem Raj

Point to SOURCEFORGE_MIRROR instead of hardcoding one

---
 .../recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb    | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb +3 -6
index 0086551f62..5dc3ea6632 100644
@@ -8,18 +8,15 @@ inherit pkgconfig
 DEPENDS += "fuse"
 RDEPENDS:${PN} += "fuse"
 
-SRC_URI += "https://astuteinternet.dl.sourceforge.net/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
+SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
 SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"
 
 S = "${WORKDIR}/httpfs2-${PV}"
 
 do_compile() {
-    cd ${S}
-    oe_runmake httpfs2
+    oe_runmake -C ${S} httpfs2
 }
 
 do_install() {
-    cd ${S}
-    install -d ${D}${bindir}
-    install -m 0755 httpfs2 ${D}${bindir}
+    install -Dm 0755 ${S}/httpfs2 ${D}${bindir}/httpfs2
 }
Signature · 1 line
2.40.1
author
#3 lore raw

PATCH 4/11 p910nd: Switch to using github for SRC_URI

In reply to Khem Raj

This is new location where the project is developed now. Pass CFLAGS to compiler cmdline
Package init script

---
 meta-oe/recipes-support/p910nd/p910nd_0.97.bb | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
meta-oe/recipes-support/p910nd/p910nd_0.97.bb +13 -6
index a27edb1410..cd7f79ea60 100644
@@ -2,21 +2,28 @@ DESCRIPTION = "A small network printer daemon for embedded situations that passe
 HOMEPAGE = "http://p910nd.sourceforge.net/"
 SECTION = "console/utils"
 LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=3d82780e8917b360cbee7b9ec3e40734"
 
 PR = "r2"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/p910nd/p910nd-${PV}.tar.bz2 \
+# v0.97
+SRCREV = "57ebc07ad8723ea4106090536c58c7f7160743e2"
+SRC_URI = "git://github.com/kenyapcomau/p910nd;protocol=https;branch=master \
            file://fix-var-lock.patch"
 
-SRC_URI[md5sum] = "69461a6c54dca0b13ecad5b83864b43e"
-SRC_URI[sha256sum] = "4ac980a3ae24babae6f70f0a692625ece03a4a92c357fbb10d2e368386c3c26f"
+S = "${WORKDIR}/git"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "p910nd"
+INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
 
 do_compile () {
-    ${CC} ${LDFLAGS} -o p910nd p910nd.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o p910nd p910nd.c
 }
 
 do_install () {
     install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd
-    install -D -m 0644 ${S}/p910nd.conf ${D}${sysconfdir}/p910nd.conf
+    install -D -m 0644 ${S}/aux/p910nd.conf ${D}${sysconfdir}/sysconfig/p910nd.conf
+    install -D -m 0644 ${S}/aux/p910nd.init ${D}${sysconfdir}/init.d/p910nd
 }
Signature · 1 line
2.40.1
author
#4 lore raw

PATCH 5/11 mosh: Point SRC_URI to https://mosh.org/

In reply to Khem Raj

mosh.mit.edu does not have the tarballs anymore

---
 meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb +1 -1
index 4537a09412..2869e06336 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter"
 
-SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz"
+SRC_URI = "https://mosh.org/${BP}.tar.gz"
 SRC_URI[sha256sum] = "872e4b134e5df29c8933dff12350785054d2fd2839b5ae6b5587b14db1465ddd"
 
 inherit autotools pkgconfig
Signature · 1 line
2.40.1
author
#5 lore raw

PATCH 6/11 xdotool: Upgrade to 3.20211022.1 release

In reply to Khem Raj

Switch to github releases
Add missing dep on libxinerama and libxkbcommon

---
 ..._1.20100416.2809.bb => xdotool_3.20211022.1.bb} | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
 rename meta-oe/recipes-graphics/xdotool/{xdotool_1.20100416.2809.bb => xdotool_3.20211022.1.bb} (51%)
meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb renamed from meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb +5 -9
similarity index 51%
rename from meta-oe/recipes-graphics/xdotool/xdotool_1.20100416.2809.bb
rename to meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
index 259c640523..cef82bd348 100644
@@ -1,23 +1,19 @@
 SUMMARY = "xdotool - command-line X11 automation tool - utilising X11 XTEST interface"
-HOMEPAGE = "http://www.semicomplete.com/projects/xdotool"
+HOMEPAGE = "https://github.com/jordansissel/xdotool"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2f9cbf7e9401cec8a38666a08851ce6b"
 SECTION = "x11"
-DEPENDS = "virtual/libx11 libxtst"
-
-PR = "r1"
+DEPENDS = "virtual/libx11 libxtst libxinerama libxkbcommon"
 
 inherit features_check pkgconfig perlnative
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI = "http://semicomplete.googlecode.com/files/xdotool-${PV}.tar.gz"
-SRC_URI[md5sum] = "1d5be641e512c343abfe5f78b39e6f19"
-SRC_URI[sha256sum] = "42d7271fbc796e53db71bb221f311b9ff3c51d90a71c9487a9bd3101ca39894f"
+SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
+SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada"
 
 EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir}"
 
 do_install() {
-    oe_runmake -e install DESTDIR=${D} PREFIX=${prefix}
+    oe_runmake install DESTDIR=${D} PREFIX=${prefix}
 }
-
Signature · 1 line
2.40.1
author
#6 lore raw

PATCH 7/11 faenza-icon-theme: Switch to a valid download location for SRC_URI

In reply to Khem Raj
---
 .../recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-gnome/recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb +1 -2
index 5ed3375eb0..12d344bff5 100644
@@ -8,8 +8,7 @@ inherit allarch gtk-icon-cache
 
 S = "${WORKDIR}"
 
-SRC_URI = "http://faenza-icon-theme.googlecode.com/files/${BPN}_${PV}.zip"
-SRC_URI[md5sum] = "e9bd6106d13017ce06d24b586259ae9c"
+SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BPN}_${PV}.zip"
 SRC_URI[sha256sum] = "d4486fda0413f8a81a87e0dd2329f50f2a8a7cb4147b48cf147f0160add8174a"
 
 do_install() {
Signature · 1 line
2.40.1
author
#7 lore raw

PATCH 8/11 debootstrap: Update SRC_URI to point to valid URL

In reply to Khem Raj
---
 meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb +1 -2
index b2a204403e..3e59af8e2e 100644
@@ -4,10 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "gtk+ dbus-glib dbus-glib-native imagemagick openobex bluez5"
 
-SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz \
+SRC_URI = "https://ftp.osuosl.org/pub/blfs/conglomeration/${BPN}/obex-data-server-${PV}.tar.gz \
            file://obex-data-server-0.4.6-build-fixes-1.patch \
 "
-SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d"
 SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f"
 
 inherit features_check autotools-brokensep pkgconfig
Signature · 1 line
2.40.1
author
#8 lore raw

PATCH 9/11 debootstrap: Use DEBIAN_MIRROR for SRC_URI

In reply to Khem Raj
---
 meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.128.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.128.bb +1 -1
index 4d13aa66c8..592d997aad 100644
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608"
 
 SRC_URI  = "\
-    http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_${PV}.tar.gz \
+    ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \
     file://0001-support-to-override-usr-sbin-and-usr-share.patch \
     file://0002-support-to-override-usr-bin-arch-test.patch \
     file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \
Signature · 1 line
2.40.1
author
#9 lore raw

PATCH 10/11 ttf-gentium: Switch to debian archive mirror for SRC_URI

In reply to Khem Raj
---
 meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb +1 -1
index 5e355eefa7..eb13b47b56 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
 "
 PR = "r8"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
+SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
 
 S = "${WORKDIR}/ttf-sil-gentium-${PV}"
 
Signature · 1 line
2.40.1
author
#10 lore raw

PATCH 11/11 nfacct: Update SRC_URI to point to valid URL

In reply to Khem Raj

Update UPSTREAM_CHECK_URI accordingly

---
 meta-networking/recipes-filter/nfacct/nfacct_1.0.2.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
meta-networking/recipes-filter/nfacct/nfacct_1.0.2.bb +3 -5
index 20a84121ee..9b938beae3 100644
@@ -3,12 +3,10 @@ HOMEPAGE = "http://netfilter.org/projects/nfacct/"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
-UPSTREAM_CHECK_URI = "ftp://ftp.netfilter.org/pub/nfacct/"
-
-SRC_URI = "ftp://ftp.netfilter.org/pub/${BPN}/${BP}.tar.bz2"
-
-SRC_URI[md5sum] = "94faafdaaed85ca9220c5692be8a408e"
+UPSTREAM_CHECK_URI = "https://www.netfilter.org/pub/nfacct"
+SRC_URI = "https://www.netfilter.org/pub/${BPN}/${BP}.tar.bz2"
 SRC_URI[sha256sum] = "ecff2218754be318bce3c3a5d1775bab93bf4168b2c4aac465785de5655fbd69"
+
 DEPENDS = "libnfnetlink libmnl libnetfilter-acct"
 
 EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
Signature · 1 line
2.40.1