Skip to contentSkip to conversation

package upgrades

PATCH Superseded Maxin B. John 3 participants 10 messages Jul 4, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#9 lore raw

PATCH 4/4 screen: upgrade to 4.4.0

In reply to Maxin B. John

Removed the following backported patch:
* 0001-fix-for-multijob-build.patch
* 0001-Fix-stack-overflow-due-to-too-deep-recursion.patch

---
 ...-stack-overflow-due-to-too-deep-recursion.patch | 58 ----------------------
 .../screen/0001-fix-for-multijob-build.patch       | 58 ----------------------
 .../screen/{screen_4.3.1.bb => screen_4.4.0.bb}    |  6 +--
 3 files changed, 2 insertions(+), 120 deletions(-)
 delete mode 100644 meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch
 delete mode 100644 meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch
 rename meta/recipes-extended/screen/{screen_4.3.1.bb => screen_4.4.0.bb} (87%)
meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch deleted +0 -58
deleted file mode 100644
index 4ac820f..0000000
@@ -1,58 +0,0 @@
-Bug: 45713
-
-How to reproduce:
-Run this command inside screen
-$ printf '\x1b[10000000T'
-
-screen will recursively call MScrollV to depth n/256.
-This is time consuming and will overflow stack if n is huge.
-
-Fixes CVE-2015-6806
-
-Upstream-Status: Backport
-CVE: CVE-2015-6806
-
-Signed-off-by: Kuang-che Wu <[email protected]>
-Signed-off-by: Amadeusz Sławiński <[email protected]>
-Signed-off-by: Maxin B. John <[email protected]>
----
-diff -Naur screen-4.3.1-orig/ansi.c screen-4.3.1/ansi.c
---- screen-4.3.1-orig/ansi.c	2015-06-29 00:22:55.000000000 +0300
-+++ screen-4.3.1/ansi.c	2015-10-06 13:13:58.297648039 +0300
-@@ -2502,13 +2502,13 @@
-     return;
-   if (n > 0)
-     {
-+      if (ye - ys + 1 < n)
-+	  n = ye - ys + 1;
-       if (n > 256)
- 	{
- 	  MScrollV(p, n - 256, ys, ye, bce);
- 	  n = 256;
- 	}
--      if (ye - ys + 1 < n)
--	n = ye - ys + 1;
- #ifdef COPY_PASTE
-       if (compacthist)
- 	{
-@@ -2562,15 +2562,15 @@
-     }
-   else
-     {
--      if (n < -256)
--	{
--	  MScrollV(p, n + 256, ys, ye, bce);
--	  n = -256;
--	}
-       n = -n;
-       if (ye - ys + 1 < n)
- 	n = ye - ys + 1;
- 
-+      if (n > 256)
-+      {
-+        MScrollV(p, - (n - 256), ys, ye, bce);
-+        n = 256;
-+      }
-       ml = p->w_mlines + ye;
-       /* Clear lines */
-       for (i = ye; i > ye - n; i--, ml--)
meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch deleted +0 -58

58 lines not on this page · raw message

meta/recipes-extended/screen/screen_4.4.0.bb renamed from meta/recipes-extended/screen/screen_4.3.1.bb +2 -4
similarity index 87%
rename from meta/recipes-extended/screen/screen_4.3.1.bb
rename to meta/recipes-extended/screen/screen_4.4.0.bb
index 00d878b..e970c5b 100644
@@ -22,13 +22,11 @@ SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \
            file://Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch \
            file://Skip-host-file-system-checks-when-cross-compiling.patch \
            file://Avoid-mis-identifying-systems-as-SVR4.patch \
-           file://0001-fix-for-multijob-build.patch \
            file://0002-comm.h-now-depends-on-term.h.patch \
-           file://0001-Fix-stack-overflow-due-to-too-deep-recursion.patch \
           "
 
-SRC_URI[md5sum] = "5bb3b0ff2674e29378c31ad3411170ad"
-SRC_URI[sha256sum] = "fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63"
+SRC_URI[md5sum] = "d26e11a3648c2b11aaefa215a55dfd39"
+SRC_URI[sha256sum] = "ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b"
 
 inherit autotools texinfo
 
Signature · 1 line
2.4.0
#0 lore raw

cover package upgrades

Recipe upgrades as suggested by the Upgrade Helper tool.

Maxin B. John (4):
libsolv: upgrade to 0.6.22
ethtool: upgrade to 4.6
libatomic-ops: upgrade to 7.4.4
screen: upgrade to 4.4.0

 .../ethtool/{ethtool_4.5.bb => ethtool_4.6.bb}     |  4 +-
 meta/recipes-extended/libsolv/libsolv_git.bb       |  4 +-
 ...-stack-overflow-due-to-too-deep-recursion.patch | 58 ----------------------
 .../screen/0001-fix-for-multijob-build.patch       | 58 ----------------------
 .../screen/{screen_4.3.1.bb => screen_4.4.0.bb}    |  6 +--
 ...batomic-ops_7.4.2.bb => libatomic-ops_7.4.4.bb} |  4 +-
 6 files changed, 8 insertions(+), 126 deletions(-)
 rename meta/recipes-extended/ethtool/{ethtool_4.5.bb => ethtool_4.6.bb} (88%)
 delete mode 100644 meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch
 delete mode 100644 meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch
 rename meta/recipes-extended/screen/{screen_4.3.1.bb => screen_4.4.0.bb} (87%)
 rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.4.2.bb => libatomic-ops_7.4.4.bb} (85%)
Signature · 1 line
2.4.0
#7 lore raw

PATCH 2/4 ethtool: upgrade to 4.6

---
 meta/recipes-extended/ethtool/{ethtool_4.5.bb => ethtool_4.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/ethtool/{ethtool_4.5.bb => ethtool_4.6.bb} (88%)
meta/recipes-extended/ethtool/ethtool_4.6.bb renamed from meta/recipes-extended/ethtool/ethtool_4.5.bb +2 -2
similarity index 88%
rename from meta/recipes-extended/ethtool/ethtool_4.5.bb
rename to meta/recipes-extended/ethtool/ethtool_4.6.bb
index c47b30a..788d4ea 100644
@@ -11,8 +11,8 @@ SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
            file://avoid_parallel_tests.patch \
            "
 
-SRC_URI[md5sum] = "10038f417db89a1508584d5c375f79bb"
-SRC_URI[sha256sum] = "3b1e69d4de3322e2fe2b1e90befaf2c1ea886469d43ba73af3da36be5e2cc5e7"
+SRC_URI[md5sum] = "1186dd83a0384109b92c6cd40a7bb0e5"
+SRC_URI[sha256sum] = "ad45620887f7e61312fc2f9ca3fd50d49ac7737ed874b0b02845d07e0fa3ca49"
 
 inherit autotools ptest
 RDEPENDS_${PN}-ptest += "make"
Signature · 1 line
2.4.0
#1 lore raw

PATCH 1/4 libsolv: upgrade to 0.6.22

In reply to Maxin B. John
---
 meta/recipes-extended/libsolv/libsolv_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/libsolv/libsolv_git.bb +2 -2
index b41347d..fcd4b55 100644
@@ -7,13 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
 
 DEPENDS = "expat zlib"
 
-PV = "0.6.21"
+PV = "0.6.22"
 
 SRC_URI = "git://github.com/openSUSE/libsolv.git \
           "
 SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch"
 
-SRCREV = "bdb5c63245923ed95cf04086b65b2e5a5b5d7b04"
+SRCREV = "58655da7eccc0ba8e768f9df6482bb08b90f4da8"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.4.0
#8 lore raw

PATCH 3/4 libatomic-ops: upgrade to 7.4.4

In reply to Maxin B. John
---
 .../libatomic-ops/{libatomic-ops_7.4.2.bb => libatomic-ops_7.4.4.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libatomic-ops/{libatomic-ops_7.4.2.bb => libatomic-ops_7.4.4.bb} (85%)
meta/recipes-support/libatomic-ops/libatomic-ops_7.4.4.bb renamed from meta/recipes-support/libatomic-ops/libatomic-ops_7.4.2.bb +2 -2
similarity index 85%
rename from meta/recipes-support/libatomic-ops/libatomic-ops_7.4.2.bb
rename to meta/recipes-support/libatomic-ops/libatomic-ops_7.4.4.bb
index fdb70d8..930c1b8 100644
@@ -12,8 +12,8 @@ SRC_URI = "\
 	file://0001-Add-initial-nios2-architecture-support.patch \
 	"
 
-SRC_URI[md5sum] = "1d6538604b314d2fccdf86915e5c0857"
-SRC_URI[sha256sum] = "04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd"
+SRC_URI[md5sum] = "426d804baae12c372967a6d183e25af2"
+SRC_URI[sha256sum] = "bf210a600dd1becbf7936dd2914cf5f5d3356046904848dcfd27d0c8b12b6f8f"
 
 S = "${WORKDIR}/libatomic_ops-${PV}"
 
Signature · 1 line
2.4.0
#2 lore raw

Re: [PATCH 1/4] libsolv: upgrade to 0.6.22

In reply to Maxin B. John

meta/recipes-extended/libsolv/libsolv_git.bb

Quoted 3 lines · Maxin B. John
meta/recipes-extended/libsolv/libsolv_git.bb +0 -0

As we're tracking versions, can you change the filename to libsolv_0.6.22.bb so you don't need to specify PV explicitly

Ross

#3 lore raw

Re: [PATCH 1/4] libsolv: upgrade to 0.6.22

Quoted 3 lines · Ross

As we're tracking versions, can you change the filename to libsolv_0.6.22.bb so you don't need to specify PV explicitly

we do not do that for recipes with git fetchers usually. PV is encoded as PV+git{SRCPV}

#6 lore raw

Re: [PATCH 1/4] libsolv: upgrade to 0.6.22

In reply to Burton, Ross

Hi,

Quoted 7 lines · Ross

On 4 July 2016 at 14:02, Maxin B. John <[email protected]> wrote:

--- a/meta/recipes-extended/libsolv/libsolv_git.bb
+++ b/meta/recipes-extended/libsolv/libsolv_git.bb

As we're tracking versions, can you change the filename to libsolv_0.6.22.bb so you don't need to specify PV explicitly

Ok, will do that.

Quoted 1 line

Ross

Warm Regards,
Maxin

#4 lore raw

Re: [PATCH 1/4] libsolv: upgrade to 0.6.22

In reply to Khem Raj
Quoted 3 lines · Khem Raj

we do not do that for recipes with git fetchers usually. PV is encoded as PV+git{SRCPV}

For recipes which are tracking releases, it's fairly common - and I feel clearer - use have the PV in the filename and thus PV instead of spreading the SHA everywhere for no reason. It's version 0.6.22, nobody cares what the SHA is.

*If* it was a SHA beyond 0.6.22 then PV+SHA makes perfect sense.

Ross

#5 lore raw

Re: [PATCH 1/4] libsolv: upgrade to 0.6.22

Quoted 7 lines · Ross
Quoted 3 lines · Khem Raj

we do not do that for recipes with git fetchers usually. PV is encoded as PV+git{SRCPV}

Quoted 6 lines

For recipes which are tracking releases, it's fairly common - and I feel clearer - use have the PV in the filename and thus PV instead of spreading the SHA everywhere for no reason. It's version 0.6.22, nobody cares what the SHA is.

*If* it was a SHA beyond 0.6.22 then PV+SHA makes perfect sense.

seems ok. dont have strong opinions either way

Quoted 2 lines

Ross