On Sun, Oct 22, 2017 at 11:59:48AM +0200, Rafael Sadowski wrote: > Hi All, > > please find below a simple update to 1.3.2. > > - Adjust COMPILER > - https://github.com/facebook/zstd/issues/335 is closed. > "Wanted to let the community know that we’ve released zstd v1.3.1 > earlier today, which adjusts it to be dual licensed as BSD and GPLv2." > > All tests/benchmarks looks okay on amd64. > > OK? Comments? > > Best regards, > > Rafael Sadowski > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/archivers/zstd/Makefile,v > retrieving revision 1.11 > diff -u -p -u -p -r1.11 Makefile > --- Makefile 19 Jul 2017 22:16:30 -0000 1.11 > +++ Makefile 22 Oct 2017 09:59:11 -0000 > @@ -4,21 +4,19 @@ COMMENT = zstandard fast real-time comp > > GH_ACCOUNT = facebook > GH_PROJECT = zstd > -GH_TAGNAME = v1.3.0 > +GH_TAGNAME = v1.3.2 > > CATEGORIES = archivers > > HOMEPAGE = https://facebook.github.io/zstd/ > > -# BSD 3 clauses. zstd doesn't use known patented code or algorithms, however > -# the project includes an additional patent grant in the file PATENTS. > -# https://github.com/facebook/zstd/issues/335 > +# BSD 3 + GPLv2 > PERMIT_PACKAGE_CDROM = Yes
Don't remove the comment about the patents or the link. I prefer "BSD 3 clauses + GPLv2" instead of "BSD 3 + GPLv2". > > -WANTLIB = c lzma pthread z > +WANTLIB = c pthread z > LIB_DEPENDS = archivers/xz Remove LIB_DEPENDS. We only needed xz for the lzma functionality. With those changes, OK juanfra@ > > -COMPILER = gcc > +COMPILER = base-clang ports-clang ports-gcc > COMPILER_LANGS = c > > MAKE_ENV = CC="${CC}" CXX="${CXX}" \ > Index: distinfo > =================================================================== > RCS file: /cvs/ports/archivers/zstd/distinfo,v > retrieving revision 1.7 > diff -u -p -u -p -r1.7 distinfo > --- distinfo 19 Jul 2017 22:16:30 -0000 1.7 > +++ distinfo 22 Oct 2017 09:59:11 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (zstd-1.3.0.tar.gz) = D9umQ7Q4t8vOcA3MDns+PabYKQiMY3V6WYSTDi9ws0g= > -SIZE (zstd-1.3.0.tar.gz) = 1469911 > +SHA256 (zstd-1.3.2.tar.gz) = rFBUo8ZOZRC8GuiQ0F49JxzDPO68nQasnwgQV2bSeYo= > +SIZE (zstd-1.3.2.tar.gz) = 1618939 > Index: patches/patch-tests_playTests_sh > =================================================================== > RCS file: /cvs/ports/archivers/zstd/patches/patch-tests_playTests_sh,v > retrieving revision 1.6 > diff -u -p -u -p -r1.6 patch-tests_playTests_sh > --- patches/patch-tests_playTests_sh 5 May 2017 18:16:53 -0000 1.6 > +++ patches/patch-tests_playTests_sh 22 Oct 2017 09:59:11 -0000 > @@ -1,7 +1,8 @@ > $OpenBSD: patch-tests_playTests_sh,v 1.6 2017/05/05 18:16:53 juanfra Exp $ > ---- tests/playTests.sh.orig Thu May 4 20:18:24 2017 > -+++ tests/playTests.sh Fri May 5 17:04:40 2017 > -@@ -58,6 +58,7 @@ UNAME=$(uname) > +Index: tests/playTests.sh > +--- tests/playTests.sh.orig > ++++ tests/playTests.sh > +@@ -67,6 +67,7 @@ UNAME=$(uname) > case "$UNAME" in > Darwin) MD5SUM="md5 -r" ;; > FreeBSD) MD5SUM="gmd5sum" ;; > @@ -9,7 +10,7 @@ $OpenBSD: patch-tests_playTests_sh,v 1.6 > *) MD5SUM="md5sum" ;; > esac > > -@@ -193,7 +194,7 @@ rm ./*.tmp ./*.zstd > +@@ -209,7 +210,7 @@ rm ./*.tmp ./*.zstd > $ECHO "frame concatenation tests completed" > > > -- Juan Francisco Cantero Hurtado http://juanfra.info