Skip to contentSkip to conversation

package/libgpgme: bump to version 1.13.1

PATCH New Baruch Siach 2 participants 6 messages Jul 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/libgpgme: bump to version 1.13.1

---
 package/libgpgme/libgpgme.hash | 6 ++----
 package/libgpgme/libgpgme.mk   | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)
package/libgpgme/libgpgme.hash +2 -4
index 1e61fbd833b2..6ed6a3625da2 100644
@@ -1,8 +1,6 @@
-# From https://lists.gnupg.org/pipermail/gnupg-announce/2018q4/000429.html
-sha1 6f1828fcd7de4366ca063e57f35e4ab24bc91baf  gpgme-1.12.0.tar.bz2
 # Locally calculated after checking pgp signature
-# https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.12.0.tar.bz2.sig
+# https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.13.1.tar.bz2.sig
 # using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
-sha256 b4dc951c3743a60e2e120a77892e9e864fb936b2e58e7c77e8581f4d050e8cd8  gpgme-1.12.0.tar.bz2
+sha256 c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46  gpgme-1.13.1.tar.bz2
 # Locally calculated
 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532  COPYING.LESSER
package/libgpgme/libgpgme.mk +1 -1
index 85450c83d2df..f916ca180cfb 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBGPGME_VERSION = 1.12.0
+LIBGPGME_VERSION = 1.13.1
 LIBGPGME_SITE = https://gnupg.org/ftp/gcrypt/gpgme
 LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
 LIBGPGME_LICENSE = LGPL-2.1+
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/3 package/libarchive: bump to version 3.4.0

Use a mirror download site.
https://github.com/libarchive/libarchive/issues/1216

Drop upstream patches.

Mention additional licenses for new RARv5 code. Update license file hash.

---
 ...ree-when-a-window-size-of-0-is-speci.patch | 40 ---------
 ...cross-multi-part-archives-must-match.patch | 81 -------------------
 .../0003-Skip-0-length-ACL-fields.patch       | 52 ------------
 .../0004-warc-consume-data-once-read.patch    | 46 -----------
 ...n-expected-Rockridge-extensions-is-m.patch | 62 --------------
 ...-crash-when-parsing-certain-archives.patch | 62 --------------
 package/libarchive/libarchive.hash            |  6 +-
 package/libarchive/libarchive.mk              |  6 +-
 8 files changed, 6 insertions(+), 349 deletions(-)
 delete mode 100644 package/libarchive/0001-Avoid-a-double-free-when-a-window-size-of-0-is-speci.patch
 delete mode 100644 package/libarchive/0002-rar-file-split-across-multi-part-archives-must-match.patch
 delete mode 100644 package/libarchive/0003-Skip-0-length-ACL-fields.patch
 delete mode 100644 package/libarchive/0004-warc-consume-data-once-read.patch
 delete mode 100644 package/libarchive/0005-iso9660-Fail-when-expected-Rockridge-extensions-is-m.patch
 delete mode 100644 package/libarchive/0006-7zip-fix-crash-when-parsing-certain-archives.patch
package/libarchive/0001-Avoid-a-double-free-when-a-window-size-of-0-is-speci.patch deleted +0 -40
deleted file mode 100644
index 76096f7a45f0..000000000000
@@ -1,40 +0,0 @@
-From 021efa522ad729ff0f5806c4ce53e4a6cc1daa31 Mon Sep 17 00:00:00 2001
-From: Daniel Axtens <[email protected]>
-Date: Tue, 20 Nov 2018 17:56:29 +1100
-Subject: [PATCH] Avoid a double-free when a window size of 0 is specified
-
-new_size can be 0 with a malicious or corrupted RAR archive.
-
-realloc(area, 0) is equivalent to free(area), so the region would
-be free()d here and the free()d again in the cleanup function.
-
-Found with a setup running AFL, afl-rb, and qsym.
----
- libarchive/archive_read_support_format_rar.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-[for import into Buildroot]
-Signed-off-by: Thomas De Schampheleire <[email protected]>
-Upstream-status: backport
-
-CVE-2018-1000877
-
-diff --git a/libarchive/archive_read_support_format_rar.c b/libarchive/archive_read_support_format_rar.c
-index 23452222..6f419c27 100644
---- a/libarchive/archive_read_support_format_rar.c
-+++ b/libarchive/archive_read_support_format_rar.c
-@@ -2300,6 +2300,11 @@ parse_codes(struct archive_read *a)
-       new_size = DICTIONARY_MAX_SIZE;
-     else
-       new_size = rar_fls((unsigned int)rar->unp_size) << 1;
-+    if (new_size == 0) {
-+      archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
-+                        "Zero window size is invalid.");
-+      return (ARCHIVE_FATAL);
-+    }
-     new_window = realloc(rar->lzss.window, new_size);
-     if (new_window == NULL) {
-       archive_set_error(&a->archive, ENOMEM,
--- 
-2.19.2
-
package/libarchive/0002-rar-file-split-across-multi-part-archives-must-match.patch deleted +0 -81

81 lines not on this page · raw message

package/libarchive/0003-Skip-0-length-ACL-fields.patch deleted +0 -52

52 lines not on this page · raw message

package/libarchive/0004-warc-consume-data-once-read.patch deleted +0 -46

46 lines not on this page · raw message

package/libarchive/0005-iso9660-Fail-when-expected-Rockridge-extensions-is-m.patch deleted +0 -62

62 lines not on this page · raw message

package/libarchive/0006-7zip-fix-crash-when-parsing-certain-archives.patch deleted +0 -62

62 lines not on this page · raw message

package/libarchive/libarchive.hash +3 -3
index cde48c842366..04c577775313 100644
@@ -1,4 +1,4 @@
-# From http://www.libarchive.org/downloads/libarchive-3.3.3.sha512.txt
-sha512	9d12b47d6976efa9f98e62c25d8b85fd745d4e9ca7b7e6d36bfe095dfe5c4db017d4e785d110f3758f5938dad6f1a1b009267fd7e82cb7212e93e1aea237bab7  libarchive-3.3.3.tar.gz
+# From https://www.libarchive.de/downloads/libarchive-3.4.0.tar.gz.sums.txt
+sha256  8643d50ed40c759f5412a3af4e353cffbce4fdf3b5cf321cb72cacf06b2d825e  libarchive-3.4.0.tar.gz
 # Locally computed:
-sha256  ae6f35cc1979beb316e4d6431fc34c6fc59f0dd126b425c8552bb41c86e4825d  COPYING
+sha256  e1e3d4ba9d0b0ccba333b5f5539f7c6c9a3ef3d57a96cd165d2c45eaa1cd026d  COPYING
package/libarchive/libarchive.mk +3 -3
index b7619b03dbbb..ccda18386fb7 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-LIBARCHIVE_VERSION = 3.3.3
-LIBARCHIVE_SITE = http://www.libarchive.org/downloads
+LIBARCHIVE_VERSION = 3.4.0
+LIBARCHIVE_SITE = https://www.libarchive.de/downloads
 LIBARCHIVE_INSTALL_STAGING = YES
-LIBARCHIVE_LICENSE = BSD-2-Clause, BSD-3-Clause
+LIBARCHIVE_LICENSE = BSD-2-Clause, BSD-3-Clause, CC0-1.0, OpenSSL, Apache-2.0
 LIBARCHIVE_LICENSE_FILES = COPYING
 
 ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y)
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/3 package/libarchive: bump to version 3.4.0

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Use a mirror download site.
https://github.com/libarchive/libarchive/issues/1216

Drop upstream patches.

Mention additional licenses for new RARv5 code. Update license file hash.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 3/3 package/opkg: bump to version 0.4.1

In reply to Baruch Siach

tarball conf/ scripts no longer link to host files. Drop autoreconf.

Add license hash.

---
 package/opkg/opkg.hash |  4 +++-
 package/opkg/opkg.mk   | 12 +-----------
 2 files changed, 4 insertions(+), 12 deletions(-)
package/opkg/opkg.hash +3 -1
index 321c41dbd051..69eebde2d361 100644
@@ -1,2 +1,4 @@
 # From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS
-sha256 f607f0e61be8cf8a3bbd0d2dccd9ec9e9b6c21dd4307b671c600d6eeaf84d30b  opkg-0.3.6.tar.gz
+sha256 45ac1e037d3877f635d883f8a555e172883a25d3eeb7986c75890fdd31250a43  opkg-0.4.1.tar.gz
+# Locally calculated
+sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
package/opkg/opkg.mk +1 -11
index 4d34c6d4d3a2..8155ed381f35 100644
@@ -4,29 +4,19 @@
 #
 ################################################################################
 
-OPKG_VERSION = 0.3.6
+OPKG_VERSION = 0.4.1
 OPKG_SITE = http://downloads.yoctoproject.org/releases/opkg
 OPKG_DEPENDENCIES = host-pkgconf libarchive
 OPKG_LICENSE = GPL-2.0+
 OPKG_LICENSE_FILES = COPYING
 OPKG_INSTALL_STAGING = YES
 OPKG_CONF_OPTS = --disable-curl
-# Populate the conf/ directory
-OPKG_AUTORECONF = YES
 
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR
 	mkdir -p $(TARGET_DIR)/usr/lib/opkg
 endef
 
-# The conf/ directory contains symlinks to host automake and libtool provided
-# scripts. Don't rely on them being present.
-define OPKG_REMOVE_AUTOTOOLS_SYMLINKS
-	rm $(@D)/conf/*
-endef
-
-OPKG_POST_EXTRACT_HOOKS += OPKG_REMOVE_AUTOTOOLS_SYMLINKS
-
 ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
 OPKG_CONF_OPTS += --enable-gpg
 OPKG_CONF_ENV += \
Signature · 1 line
2.20.1
#4 lore raw

PATCH 3/3 package/opkg: bump to version 0.4.1

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

tarball conf/ scripts no longer link to host files. Drop autoreconf. Add license hash.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard