Date: Mon, 20 Feb 2017 15:15:48 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434468 - in head/archivers: . go-compress Message-ID: <201702201515.v1KFFmfE041825@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Feb 20 15:15:48 2017 New Revision: 434468 URL: https://svnweb.freebsd.org/changeset/ports/434468 Log: Add go-compress 1.2.1 This package is based on an optimized Deflate function, which is used by gzip/zip/zlib packages. It offers slightly better compression at lower compression settings, and up to 3x faster encoding at highest compression level. WWW: https://github.com/klauspost/compress - While I'm here: - Use DISTVERSIONPREFIX - Add LICENSE_FILE - Remove GH_PROJECT PR: 217209 Submitted by: Guy Tabrar <guy.tabrar@me.com> Added: head/archivers/go-compress/ head/archivers/go-compress/Makefile (contents, props changed) head/archivers/go-compress/distinfo (contents, props changed) head/archivers/go-compress/pkg-descr (contents, props changed) head/archivers/go-compress/pkg-plist (contents, props changed) Modified: head/archivers/Makefile Modified: head/archivers/Makefile ============================================================================== --- head/archivers/Makefile Mon Feb 20 15:15:08 2017 (r434467) +++ head/archivers/Makefile Mon Feb 20 15:15:48 2017 (r434468) @@ -32,6 +32,7 @@ SUBDIR += gcab SUBDIR += gcpio SUBDIR += gnome-autoar + SUBDIR += go-compress SUBDIR += grzip SUBDIR += gtar SUBDIR += gzip Added: head/archivers/go-compress/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/go-compress/Makefile Mon Feb 20 15:15:48 2017 (r434468) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= compress +PORTVERSION= 1.2.1 +DISTVERSIONPREFIX= v +CATEGORIES= archivers +PKGNAMEPREFIX= go- + +MAINTAINER= guy.tabrar@me.com +COMMENT= Go optimised compression packages + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go-cpuid>=0:devel/go-cpuid \ + go-crc32>=0:devel/go-crc32 +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_GITHUB= yes +GH_ACCOUNT= klauspost +USES= go +GO_PKGNAME= github.com/klauspost/compress +GO_TARGET= ${GO_PKGNAME}/flate \ + ${GO_PKGNAME}/gzip \ + ${GO_PKGNAME}/snappy \ + ${GO_PKGNAME}/zip \ + ${GO_PKGNAME}/zlib + +.include <bsd.port.mk> Added: head/archivers/go-compress/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/go-compress/distinfo Mon Feb 20 15:15:48 2017 (r434468) @@ -0,0 +1,3 @@ +TIMESTAMP = 1487477163 +SHA256 (klauspost-compress-v1.2.1_GH0.tar.gz) = 5c95b4b8dba515d275c4071675d35415512b0415d103653ba00f7305bb9ecfa9 +SIZE (klauspost-compress-v1.2.1_GH0.tar.gz) = 2725575 Added: head/archivers/go-compress/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/go-compress/pkg-descr Mon Feb 20 15:15:48 2017 (r434468) @@ -0,0 +1,7 @@ +This package is based on an optimized Deflate function, which is used +by gzip/zip/zlib packages. + +It offers slightly better compression at lower compression settings, and +up to 3x faster encoding at highest compression level. + +WWW: https://github.com/klauspost/compress Added: head/archivers/go-compress/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/go-compress/pkg-plist Mon Feb 20 15:15:48 2017 (r434468) @@ -0,0 +1,144 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%/flate.a +%%GO_LIBDIR%%/%%GO_PKGNAME%%/gzip.a +%%GO_LIBDIR%%/%%GO_PKGNAME%%/snappy.a +%%GO_LIBDIR%%/%%GO_PKGNAME%%/zip.a +%%GO_LIBDIR%%/%%GO_PKGNAME%%/zlib.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/asm_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/copy.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/copy_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/crc32_amd64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/crc32_amd64.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/crc32_noasm.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/deflate.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/deflate_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/dict_decoder.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/dict_decoder_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/flate_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/gen.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/huffman_bit_writer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/huffman_bit_writer_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/huffman_code.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/inflate.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/inflate_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/reader_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/reverse_bits.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/snappy.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-null-max.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-pi.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-1k.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-limit.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-max.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-rand-max.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-shifts.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text-shift.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-text.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.dyn.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.golden +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.in +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.wb.expect +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/huffman-zero.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/null-long-match.dyn.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/testdata/null-long-match.wb.expect-noinput +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/token.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/flate/writer_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/gunzip.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/gunzip_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/gzip.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/gzip_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/testdata/issue6550.gz +%%GO_SRCDIR%%/%%GO_PKGNAME%%/gzip/testdata/test.json +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/AUTHORS +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/CONTRIBUTORS +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/README +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/cmd/snappytool/main.cpp +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/decode.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/decode_amd64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/decode_amd64.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/decode_other.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/encode.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/encode_amd64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/encode_amd64.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/encode_other.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/golden_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/runbench.cmd +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/snappy.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/snappy_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/Mark.Twain-Tom.Sawyer.txt +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/Mark.Twain-Tom.Sawyer.txt.rawsnappy +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/alice29.txt +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/asyoulik.txt +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/fireworks.jpeg +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/geo.protodata +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/html +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/html_x_4 +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/kppkn.gtb +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/lcet10.txt +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/paper-100k.pdf +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/plrabn12.txt +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/random +%%GO_SRCDIR%%/%%GO_PKGNAME%%/snappy/testdata/urls.10K +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/reader.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/reader_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/register.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/struct.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/crc32-not-streamed.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/dd.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/go-no-datadesc-sig.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/go-with-datadesc-sig.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/gophercolor16x16.png +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/readme.notzip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/readme.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/symlink.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/test-trailing-junk.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/test.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/unix.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/winxp.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/zip64-2.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/testdata/zip64.zip +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/writer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/writer_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zip/zip_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zlib/example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zlib/reader.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zlib/reader_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zlib/writer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/zlib/writer_test.go
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702201515.v1KFFmfE041825>