Skip to contentSkip to conversation

boost: fix upstream version check

PATCH In review Alexander Kanavin 2 participants 6 messages Apr 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 boost: fix upstream version check

---
 meta/recipes-support/boost/boost-1.64.0.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/boost/boost-1.64.0.inc +2 -1
index 2fa63dca6c7..dc7b1a9c015 100644
@@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/boost/boost/${PV}/${BOOST_P}.tar.bz2"
 SRC_URI[md5sum] = "93eecce2abed9d2442c9676914709349"
 SRC_URI[sha256sum] = "7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332"
 
-UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/boost/files/"
+UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
+UPSTREAM_CHECK_REGEX = "boostorg/release/(?P<pver>.*)/source/"
 
 S = "${WORKDIR}/${BOOST_P}"
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/4 libproxy: speed up upstream version check

Something in the fetched webpage made the default regex matching really slow.

---
 meta/recipes-support/libproxy/libproxy_0.4.14.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/libproxy/libproxy_0.4.14.bb +1 -0
index 8f56aafd62f..fcdb82f06cc 100644
@@ -11,6 +11,7 @@ DEPENDS = "glib-2.0"
 SRC_URI = "https://github.com/${BPN}/${BPN}/archive/${PV}.tar.gz"
 
 UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
+UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
 
 SRC_URI[md5sum] = "272dc378efcc3335154cef30d171e84a"
 SRC_URI[sha256sum] = "6220a6cab837a8996116a0568324cadfd09a07ec16b930d2a330e16d5c2e1eb6"
Signature · 1 line
2.11.0
#2 lore raw

PATCH 3/4 portmap: remove recipe

In reply to Alexander Kanavin

It was dropped from Debian years ago, and superseded by rpcbind (which we also ship).
https://packages.qa.debian.org/p/portmap.html

The upstream source is no longer available either since a few days ago.

---
 meta/recipes-connectivity/portmap/portmap.inc      | 17 ------
 .../portmap/portmap/destdir-no-strip.patch         | 46 ---------------
 .../portmap/portmap/portmap.init                   | 67 ----------------------
 .../portmap/portmap/portmap.service                | 10 ----
 .../portmap/portmap/tcpd-config.patch              | 30 ----------
 meta/recipes-connectivity/portmap/portmap_6.0.bb   | 35 -----------
 6 files changed, 205 deletions(-)
 delete mode 100644 meta/recipes-connectivity/portmap/portmap.inc
 delete mode 100644 meta/recipes-connectivity/portmap/portmap/destdir-no-strip.patch
 delete mode 100755 meta/recipes-connectivity/portmap/portmap/portmap.init
 delete mode 100644 meta/recipes-connectivity/portmap/portmap/portmap.service
 delete mode 100644 meta/recipes-connectivity/portmap/portmap/tcpd-config.patch
 delete mode 100644 meta/recipes-connectivity/portmap/portmap_6.0.bb
meta/recipes-connectivity/portmap/portmap.inc deleted +0 -17
deleted file mode 100644
index 338af33a387..00000000000
@@ -1,17 +0,0 @@
-SUMMARY = "RPC program number mapper"
-HOMEPAGE = "http://neil.brown.name/portmap/"
-SECTION = "console/network"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://portmap.c;beginline=2;endline=31;md5=51ff67e66ec84b2009b017b1f94afbf4 \
-                    file://from_local.c;beginline=9;endline=35;md5=1bec938a2268b8b423c58801ace3adc1"
-
-INITSCRIPT_NAME = "portmap"
-INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ."
-
-inherit update-rc.d systemd
-
-SYSTEMD_SERVICE_${PN} = "portmap.service"
-
-PACKAGES =+ "portmap-utils"
-FILES_portmap-utils = "${base_sbindir}/pmap_set ${base_sbindir}/pmap_dump"
-FILES_${PN}-doc += "${docdir}"
meta/recipes-connectivity/portmap/portmap/destdir-no-strip.patch deleted +0 -46

46 lines not on this page · raw message

meta/recipes-connectivity/portmap/portmap/portmap.init deleted +0 -67

67 lines not on this page · raw message

meta/recipes-connectivity/portmap/portmap/portmap.service deleted +0 -10
deleted file mode 100644
index 7ef9d7b02e5..00000000000
@@ -1,10 +0,0 @@
-[Unit]
-Description=The RPC portmapper
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=@BASE_SBINDIR@/portmap
-
-[Install]
-WantedBy=multi-user.target
meta/recipes-connectivity/portmap/portmap/tcpd-config.patch deleted +0 -30
deleted file mode 100644
index 2f25058095b..00000000000
@@ -1,30 +0,0 @@
-Upstream-Status: Backport
-
-From: Mike Frysinger <[email protected]>
-Date: Sun, 13 May 2007 21:17:32 +0000 (-0400)
-Subject: fix building with tcpd support disabled
-X-Git-Url: http://neil.brown.name/git?p=portmap;a=commitdiff_plain;h=7847207aed1b44faf077eed14a9ac9c68244eba5
-
-fix building with tcpd support disabled
-
-Make sure pmap_check.c only includes tcpd.h when HOSTS_ACCESS is defined.
-
-Signed-off-by: Timothy Redaelli <[email protected]>
-Signed-off-by: Mike Frysinger <[email protected]>
-Signed-off-by: Neil Brown <[email protected]>
----
-
-diff --git a/pmap_check.c b/pmap_check.c
-index 84f2c12..443a822 100644
---- a/pmap_check.c
-+++ b/pmap_check.c
-@@ -44,7 +44,9 @@
- #include <netinet/in.h>
- #include <rpc/rpcent.h>
- #endif
-+#ifdef HOSTS_ACCESS
- #include <tcpd.h>
-+#endif
- #include <arpa/inet.h>
- #include <grp.h>
- 
meta/recipes-connectivity/portmap/portmap_6.0.bb deleted +0 -35
deleted file mode 100644
index 999b4a93747..00000000000
@@ -1,35 +0,0 @@
-require portmap.inc
-
-DEPENDS_append_libc-musl = " libtirpc "
-
-PR = "r9"
-
-SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
-           file://destdir-no-strip.patch \
-           file://tcpd-config.patch \
-           file://portmap.init \
-           file://portmap.service"
-
-SRC_URI[md5sum] = "ac108ab68bf0f34477f8317791aaf1ff"
-SRC_URI[sha256sum] = "02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a281d41de"
-
-S = "${WORKDIR}/${BPN}_${PV}/"
-
-PACKAGECONFIG ??= "tcp-wrappers"
-PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers"
-
-CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
-CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
-EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'"
-CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc "
-LDFLAGS_append_libc-musl = " -ltirpc "
-
-do_install() {
-    install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
-    oe_runmake install DESTDIR=${D}
-
-    install -d ${D}${systemd_unitdir}/system
-    install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system
-    sed -i -e 's,@BASE_SBINDIR@,${base_sbindir},g' ${D}${systemd_unitdir}/system/portmap.service
-}
Signature · 1 line
2.11.0
#3 lore raw

PATCH 4/4 linux-libc-headers: fix upstream version check

In reply to Alexander Kanavin
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc +1 -0
index 1b0174193f1..1657df6e921 100644
@@ -47,6 +47,7 @@ inherit kernel-arch pkgconfig multilib_header
 KORG_ARCHIVE_COMPRESSION ?= "xz"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}"
+UPSTREAM_CHECK_URI = "https://www.kernel.org/"
 
 S = "${WORKDIR}/linux-${PV}"
 
Signature · 1 line
2.11.0
#4 lore raw

✗ patchtest: failure for "boost: fix upstream version ch..." and 3 more

In reply to Alexander Kanavin

== Series Details ==

Series: "boost: fix upstream version ch..." and 3 more
Revision: 1
URL : https://patchwork.openembedded.org/series/6489/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at e584be78f9)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
#5 lore raw

Re: ✗ patchtest: failure for "boost: fix upstream version ch..." and 3 more

Quoted 3 lines · Patchwork

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at e584be78f9)

Yep; this was meant for ross/mut where patches are currently being accumulated.

Alex