FreeBSD Bugzilla – Attachment 229289 Details for
Bug 259534
archivers/advancecomp: Update to 2.1-6-g7b08f7a and take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
archivers/advancecomp: Update to 2.1-6
0001-archivers-advancecomp-update-to-2.1-6.patch (text/plain), 4.03 KB, created by
Robert Clausecker
on 2021-11-05 09:14:02 UTC
(
hide
)
Description:
archivers/advancecomp: Update to 2.1-6
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-11-05 09:14:02 UTC
Size:
4.03 KB
patch
obsolete
>From cb25ce735db23bed2a7f8917223eb1a82fcb3076 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Fri, 29 Oct 2021 19:32:41 +0200 >Subject: [PATCH] archivers/advancecomp: update to 2.1-6 > >This updates archivers/advancecomp to a few commits after the 2.1 >version (v2.1-6-g7b08f7a). This is needed as CVE-2019-9210, >CVE-2019-8383, and CVE-2019-8379 are open in 2.1 but fixed in the >git repository. No significant other changes have occurred since >version 2.1. > >While we are at it... > > - follow project to new upstream > - unbundle libdeflate > - hook up test suite > - add a BZIP2 option > - take maintainership of this unmaintained port > >Relevant upstream changes: > > - Added support for reading MNG files with depth of 1, 2, and 4 bits. > - Fixed a crash condition with invalid ZIP data. > - Support ZIPs with data descriptor signature. > >PR: 259534 >Reported by: Robert Clausecker <fuz@fuz.su> >--- > archivers/advancecomp/Makefile | 27 +++++++++++++------ > archivers/advancecomp/distinfo | 6 ++--- > archivers/advancecomp/files/patch-Makefile.am | 11 ++++++++ > 3 files changed, 33 insertions(+), 11 deletions(-) > create mode 100644 archivers/advancecomp/files/patch-Makefile.am > >diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile >index c8f5defd529d..417d4220f346 100644 >--- a/archivers/advancecomp/Makefile >+++ b/archivers/advancecomp/Makefile >@@ -1,24 +1,35 @@ > # Created by: Radim Kolar > > PORTNAME= advancecomp >-PORTVERSION= 1.23 >+DISTVERSIONPREFIX= v >+DISTVERSION= 2.1-6 >+DISTVERSIONSUFFIX= -g7b08f7a > CATEGORIES= archivers >-MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= fuz@fuz.su > COMMENT= Recompression utilities for .ZIP, .PNG, .MNG, and .GZ files > > LICENSE= GPLv3 > >-LIB_DEPENDS= libzopfli.so:archivers/zopfli >- >-USES= cpe >+LIB_DEPENDS= libzopfli.so:archivers/zopfli \ >+ libdeflate.so:archivers/libdeflate > >+USES= autoreconf cpe >+USE_GITHUB= yes >+GH_ACCOUNT= amadvance > CPE_VENDOR= advancemame > > GNU_CONFIGURE= yes >-MAKE_ARGS= zopfli_SOURCES="" am__objects_3="" >+TEST_TARGET= check >+MAKE_ARGS= zopfli_SOURCES="" am__objects_3="" \ >+ libdeflate_SOURCES="" am__objects_2="" > CPPFLAGS+= -I${LOCALBASE}/include/zopfli >-LDFLAGS+= -L${LOCALBASE}/lib -lzopfli >+LDFLAGS+= -L${LOCALBASE}/lib -lzopfli -ldeflate >+ >+OPTIONS_DEFINE= BZIP2 >+BZIP2_CONFIGURE_ON= --enable-bzip2 >+ >+pre-test-BZIP2-on: >+ @${ECHO_MSG} Warning: test suite is known to fail with option BZIP2 enabled > > .include <bsd.port.mk> >diff --git a/archivers/advancecomp/distinfo b/archivers/advancecomp/distinfo >index d2d8a0a0425c..b8d823a7b10e 100644 >--- a/archivers/advancecomp/distinfo >+++ b/archivers/advancecomp/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1479818446 >-SHA256 (advancecomp-1.23.tar.gz) = 75a2c97ab0cd53e71b6a3dd7f07c001fa02351c9d781a4c586718f7fea3e88ba >-SIZE (advancecomp-1.23.tar.gz) = 1288937 >+TIMESTAMP = 1636103106 >+SHA256 (amadvance-advancecomp-v2.1-6-g7b08f7a_GH0.tar.gz) = d87a6b3838a0331541dd784fe5c40ec3194a5672db0b44a3fbf951cdf3cc42d9 >+SIZE (amadvance-advancecomp-v2.1-6-g7b08f7a_GH0.tar.gz) = 1195162 >diff --git a/archivers/advancecomp/files/patch-Makefile.am b/archivers/advancecomp/files/patch-Makefile.am >new file mode 100644 >index 000000000000..3bf0a8dfd1f2 >--- /dev/null >+++ b/archivers/advancecomp/files/patch-Makefile.am >@@ -0,0 +1,11 @@ >+--- Makefile.am.orig 2021-10-29 17:10:27 UTC >++++ Makefile.am >+@@ -332,7 +332,7 @@ check-local: ./advzip$(EXEEXT) test/test.lst >+ @cp $(srcdir)/test/basn2c08.png $(srcdir)/test/basn3p01.png $(srcdir)/test/basn3p02.png $(srcdir)/test/basn3p04.png $(srcdir)/test/basn3p08.png $(srcdir)/test/basn6a08.png $(srcdir)/test/basn6a04.png . >+ $(TESTENV) ./advpng$(EXEEXT) -f -z basn2c08.png basn3p01.png basn3p02.png basn3p04.png basn3p08.png basn6a08.png basn6a04.png >+ $(TESTENV) ./advpng$(EXEEXT) -L basn2c08.png basn3p01.png basn3p02.png basn3p04.png basn3p08.png basn6a08.png basn6a04.png >> check.lst >+- cat check.lst | $(DTOU) | cmp $(srcdir)/test/test.lst >++ cat check.lst | $(DTOU) | cmp - $(srcdir)/test/test.lst >+ @echo Success! >+ >+ DISTDOS_ROOT = \ >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 259534
:
229127
|
229256
| 229289