add UPSTREAM_CHECK_URI for recipes
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
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
@@ -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
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
@@ -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
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
@@ -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
Re: [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI
In reply to Yi ZhaoQuoted 10 lines · Yi Zhao
Signed-off-by Yi Zhao <[email protected]>--- 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
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"
Re: [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI
Quoted 9 lines · Yi Zhao
Quoted 6 lines · Yi Zhao
Signed-off-by Yi Zhao <[email protected]>--- 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@@ -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_GITTAGREGEXshould be removed. I had sent V2 patch.
Please rebase it on top of current master and send a v3
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
Signed-off-by Yi Zhao <[email protected]>--- 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@@ -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_GITTAGREGEXshould 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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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