Skip to contentSkip to conversation

add UPSTREAM_CHECK_URI for recipes

PATCH In review Yi Zhao 2 participants 17 messages May 25, 2018 – May 30, 2018

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

cover add UPSTREAM_CHECK_URI for recipes

Some recipes can not get upstream version with bitbake foo -c checkpkg. Add UPSTREAM_CHECK_URI for these.

Yi Zhao (12):
ntop: add UPSTREAM_CHECK_URI
geoip-perl: add UPSTREAM_CHECK_URI
ipvsadm: add UPSTREAM_CHECK_URI
net-snmp: add UPSTREAM_CHECK_URI
netkit-telnet: add UPSTREAM_CHECK_URI
ebtables: add RECIPE_UPSTREAM_VERSION
dlm: add UPSTREAM_CHECK_URI
vsftpd: add UPSTREAM_CHECK_URI
vblade: add UPSTREAM_CHECK_URI
autofs: add UPSTREAM_CHECK_URI
vlan: add UPSTREAM_CHECK_URI
rdist: add UPSTREAM_CHECK_URI

 meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb        | 3 +++
 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb            | 3 +++
 meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb           | 2 ++
 meta-networking/recipes-daemons/vblade/vblade_22.bb              | 2 ++
 meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb           | 3 +++
 meta-networking/recipes-extended/dlm/dlm_4.0.2.bb                | 3 +++
 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb     | 9 +++++++++
 .../recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb           | 3 +++
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb     | 3 +++
 meta-networking/recipes-support/geoip/geoip-perl_1.50.bb         | 3 +++
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb          | 2 ++
 meta-networking/recipes-support/ntop/ntop_5.0.1.bb               | 2 ++
 12 files changed, 38 insertions(+)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/12 ntop: add UPSTREAM_CHECK_URI

---
 meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ntop/ntop_5.0.1.bb +2 -0
index 298fbec..4e0dd1e 100644
@@ -21,6 +21,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ntop/ntop-${PV}.tar.gz \
 SRC_URI[md5sum] = "01710b6925a8a5ffe1a41b8b512ebd69"
 SRC_URI[sha256sum] = "7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/ntop/files/ntop/Stable"
+
 inherit autotools-brokensep useradd pythonnative pkgconfig systemd
 
 DEPENDS = "geoip rrdtool python zlib libpcap gdbm"
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/12 geoip-perl: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +3 -0
index a8c8bcf..0a89be5 100644
@@ -18,6 +18,9 @@ SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
 SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
 SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
 
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
+
 S = "${WORKDIR}/geoip-api-perl-${PV}"
 
 DEPENDS += "geoip"
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH v2 2/12 geoip-perl: add UPSTREAM_CHECK_URI

---
 meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +2 -0
index a8c8bcf..24fb64d 100644
@@ -18,6 +18,8 @@ SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
 SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
 SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
 
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags"
+
 S = "${WORKDIR}/geoip-api-perl-${PV}"
 
 DEPENDS += "geoip"
Signature · 1 line
2.7.4
author
#4 lore raw

Re: [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
Quoted 10 lines · Yi Zhao
---
  meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
  1 file changed, 3 insertions(+)
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +0 -0
index a8c8bcf..0a89be5 100644

meta-networking/recipes-support/geoip/geoip-perl_1.50.bb SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo · line 22

Quoted 5 lines
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +2 -0
@@ -18,6 +18,9 @@ SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
  SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
  SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
 
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"

The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

//Yi

Quoted 4 lines
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +1 -0
+
  S = "${WORKDIR}/geoip-api-perl-${PV}"
 
  DEPENDS += "geoip"
#5 lore raw

Re: [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

Quoted 9 lines · Yi Zhao
Quoted 6 lines · Yi Zhao
---
  meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
  1 file changed, 3 insertions(+)
Quoted 15 lines
Quoted 6 lines
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +0 -0
index a8c8bcf..0a89be5 100644
@@ -18,6 +18,9 @@ SRC_URI =
Quoted 6 lines

"http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815" SRC_URI[sha256sum] =
"86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"

The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

Please rebase it on top of current master and send a v3

author
#6 lore raw

Re: [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

Quoted 22 lines · Khem Raj
Quoted 7 lines · Yi Zhao
Quoted 5 lines · Yi Zhao
---
   meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
   1 file changed, 3 insertions(+)
Quoted 14 lines
Quoted 6 lines
meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +0 -0
index a8c8bcf..0a89be5 100644
@@ -18,6 +18,9 @@ SRC_URI =
Quoted 6 lines

"http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815" SRC_URI[sha256sum] =
"86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"

The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

Quoted 1 line

Please rebase it on top of current master and send a v3

This patch can be dropped since the recipe switches to use git:// as SRC_URI. bitbake -c checkpkg  can work well now.

//Yi

Quoted 1 line
author
#7 lore raw

PATCH 3/12 ipvsadm: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb +2 -0
index b35a9f4..2ac2b48 100644
@@ -26,6 +26,8 @@ SRC_URI = "http://www.linuxvirtualserver.org/software/kernel-2.6/${BP}.tar.gz \
 SRC_URI[md5sum] = "eac3ba3f62cd4dea2da353aeddd353a8"
 SRC_URI[sha256sum] = "6d6c46fecb1c532a892616b4445c73b71730e8790d5630f60269fd9cbee0eb2d"
 
+UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/ipvsadm"
+
 do_compile() {
     oe_runmake \
     CC="${CC} -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3 -L${STAGING_LIBDIR}" \
Signature · 1 line
2.7.4
author
#8 lore raw

PATCH 4/12 net-snmp: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +3 -0
index faf73a5..6832b07 100644
@@ -37,6 +37,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
 SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
 SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/"
+UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/"
+
 inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative
 
 EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
Signature · 1 line
2.7.4
author
#9 lore raw

PATCH 5/12 netkit-telnet: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb +3 -0
index 807b566..28ef36b 100644
@@ -13,6 +13,9 @@ SRC_URI = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${BP}.tar.gz \
            file://0001-telnet-telnetd-Fix-print-format-strings.patch \
            "
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netkit-telnet/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.orig\.tar"
+
 EXTRA_OEMAKE = "INSTALLROOT=${D} SBINDIR=${sbindir} DAEMONMODE=755 \
     MANMODE=644 MANDIR=${mandir}"
 
Signature · 1 line
2.7.4
author
#10 lore raw

PATCH 6/12 ebtables: add RECIPE_UPSTREAM_VERSION

In reply to Yi Zhao
---
 meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +9 -0
index b9dce69..f05bd61 100644
@@ -36,6 +36,15 @@ SRC_URI_append_libc-musl = " file://0010-Adjust-header-include-sequence.patch"
 SRC_URI[md5sum] = "506742a3d44b9925955425a659c1a8d0"
 SRC_URI[sha256sum] = "dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d"
 
+# It is using '-' but not '.' as delimiter for the version in the releases page,
+# which causes the version comparison unmatched.
+#UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/ebtables/files/ebtables/"
+#UPSTREAM_CHECK_REGEX = "ebtables-(?P<pver>\d+(\-\d+)+)"
+
+RECIPE_UPSTREAM_VERSION = "2.0.10-4"
+RECIPE_UPSTREAM_DATE = "Dec 15, 2011"
+CHECK_DATE = "May 25, 2018"
+
 S = "${WORKDIR}/ebtables-v${PV}"
 
 inherit update-rc.d systemd
Signature · 1 line
2.7.4
author
#11 lore raw

PATCH 7/12 dlm: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-extended/dlm/dlm_4.0.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-extended/dlm/dlm_4.0.2.bb +3 -0
index 31e411e..da7f98a 100644
@@ -12,6 +12,9 @@ SRC_URI = "https://git.fedorahosted.org/cgit/dlm.git/snapshot/${BP}.tar.xz \
 SRC_URI[md5sum] = "efc2ee6093aa6aa0a88aaad83e998a3f"
 SRC_URI[sha256sum] = "b89bc557aaffbab0ac005398025f247718a5589cff6574d902eaffe2b20e683e"
 
+UPSTREAM_CHECK_URI = "https://pagure.io/dlm/releases"
+UPSTREAM_CHECK_REGEX = "dlm-(?P<pver>\d+(\.\d+)+)"
+
 LICENSE = "LGPLv2+ & GPLv2 & GPLv2+"
 LIC_FILES_CHKSUM = "file://README.license;md5=8f0bbcdd678df1bce9863492b6c8832d"
 
Signature · 1 line
2.7.4
author
#12 lore raw

PATCH 8/12 vsftpd: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb +3 -0
index 7a20356..80b0117 100644
@@ -24,6 +24,9 @@ SRC_URI = "https://security.appspot.com/downloads/vsftpd-${PV}.tar.gz \
            file://0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch \
            "
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/v/vsftpd/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.orig\.tar"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6067ad950b28336613aed9dd47b1271 \
                         file://COPYRIGHT;md5=04251b2eb0f298dae376d92454f6f72e \
                         file://LICENSE;md5=654df2042d44b8cac8a5654fc5be63eb"
Signature · 1 line
2.7.4
author
#13 lore raw

PATCH 9/12 vblade: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-daemons/vblade/vblade_22.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/vblade/vblade_22.bb +2 -0
index d7b1dfa..a51a8c3 100644
@@ -16,6 +16,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${BP}.tar.gz \
 SRC_URI[md5sum] = "510d98ba0f231284a5fbe2da11cb2d6e"
 SRC_URI[sha256sum] = "a990378f273f10eb431e42954a871aed52714035bbab28c54cef600c458356bb"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/aoetools/files/vblade/"
+
 inherit autotools-brokensep update-rc.d systemd
 
 do_install() {
Signature · 1 line
2.7.4
author
#14 lore raw

PATCH 10/12 autofs: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb +2 -0
index 68c64fd..e279995 100644
@@ -31,6 +31,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
 SRC_URI[md5sum] = "28cf88f99eff553a8500659ba5d45a76"
 SRC_URI[sha256sum] = "0d57e4138c2ec8058ca92164d035546f68ce4af93acb893369993d67c7056a10"
 
+UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/"
+
 INITSCRIPT_NAME = "autofs"
 INITSCRIPT_PARAMS = "defaults"
 
Signature · 1 line
2.7.4
author
#15 lore raw

PATCH 11/12 vlan: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +3 -0
index bd55efc..6258933 100644
@@ -12,6 +12,9 @@ SRC_URI = "http://${BPN}.sourcearchive.com/downloads/${PV}-3ubuntu9/${BPN}_${PV}
 SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
 SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
 
+UPSTREAM_CHECK_URI = "http://vlan.sourcearchive.com/"
+UPSTREAM_CHECK_REGEX = "/(?P<pver>\d+(\.\d+)+)/"
+
 S = "${WORKDIR}/${BPN}"
 
 EXTRA_OEMAKE = "-e MAKEFLAGS="
Signature · 1 line
2.7.4
author
#16 lore raw

PATCH 12/12 rdist: add UPSTREAM_CHECK_URI

In reply to Yi Zhao
---
 meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +3 -0
index cea1f08..0c97960 100644
@@ -30,6 +30,9 @@ SRC_URI += "file://rdist-6.1.5-linux.patch \
             file://rdist-6.1.5-makefile-add-ldflags.patch \
 "
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/rdist/files/rdist/"
+UPSTREAM_CHECK_REGEX = "/rdist/(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS = "bison-native"
 
 inherit autotools-brokensep
Signature · 1 line
2.7.4