FreeBSD Bugzilla – Attachment 229127 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.2.g20210429
0001-archivers-advancecomp-update-to-2.2.g20210429.patch (text/plain), 4.05 KB, created by
Robert Clausecker
on 2021-10-29 17:50:08 UTC
(
hide
)
Description:
archivers/advancecomp: Update to 2.2.g20210429
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-10-29 17:50:08 UTC
Size:
4.05 KB
patch
obsolete
>From 41891f40b6756b54ae3773876602cbeccc29d544 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.2.g20210429 > >This updates archivers/advancecomp to a few commits after the 2.1 >version. 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. >--- > archivers/advancecomp/Makefile | 26 +++++++++++++------ > archivers/advancecomp/distinfo | 6 ++--- > archivers/advancecomp/files/patch-Makefile.am | 11 ++++++++ > 3 files changed, 32 insertions(+), 11 deletions(-) > create mode 100644 archivers/advancecomp/files/patch-Makefile.am > >diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile >index c8f5defd529d..6c2d36069b55 100644 >--- a/archivers/advancecomp/Makefile >+++ b/archivers/advancecomp/Makefile >@@ -1,24 +1,34 @@ > # Created by: Radim Kolar > > PORTNAME= advancecomp >-PORTVERSION= 1.23 >+PORTVERSION= 2.2.g20210429 > 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 >+GH_TAGNAME= 7b08f7a2af3f66ab95437e4490499cebb20e5e41 > 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..adf7f4334119 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 = 1635529393 >+SHA256 (amadvance-advancecomp-2.2.g20210429-7b08f7a2af3f66ab95437e4490499cebb20e5e41_GH0.tar.gz) = d4e4627870a251c225d003685b96b2102792b05450f1a0b7fb18dc447f6a3cf9 >+SIZE (amadvance-advancecomp-2.2.g20210429-7b08f7a2af3f66ab95437e4490499cebb20e5e41_GH0.tar.gz) = 1195312 >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