aboutsummaryrefslogtreecommitdiff
path: root/archivers/go-compress
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-02-20 15:15:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-02-20 15:15:48 +0000
commitf018551a205e80c3e00cd4b3ca5635acf71f4b14 (patch)
treec41b0e620df4a419eeabb0a88ee354c07af7083e /archivers/go-compress
parentc21133a1a5ec23ae8067119dabd9ae4eb9b50d47 (diff)
downloadports-f018551a205e80c3e00cd4b3ca5635acf71f4b14.tar.gz
ports-f018551a205e80c3e00cd4b3ca5635acf71f4b14.zip
Notes
Diffstat (limited to 'archivers/go-compress')
-rw-r--r--archivers/go-compress/Makefile29
-rw-r--r--archivers/go-compress/distinfo3
-rw-r--r--archivers/go-compress/pkg-descr7
-rw-r--r--archivers/go-compress/pkg-plist144
4 files changed, 183 insertions, 0 deletions
diff --git a/archivers/go-compress/Makefile b/archivers/go-compress/Makefile
new file mode 100644
index 000000000000..008ea0e0e9af
--- /dev/null
+++ b/archivers/go-compress/Makefile
@@ -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>
diff --git a/archivers/go-compress/distinfo b/archivers/go-compress/distinfo
new file mode 100644
index 000000000000..156d04711bd5
--- /dev/null
+++ b/archivers/go-compress/distinfo
@@ -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
diff --git a/archivers/go-compress/pkg-descr b/archivers/go-compress/pkg-descr
new file mode 100644
index 000000000000..1d39be8fe986
--- /dev/null
+++ b/archivers/go-compress/pkg-descr
@@ -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
diff --git a/archivers/go-compress/pkg-plist b/archivers/go-compress/pkg-plist
new file mode 100644
index 000000000000..4ff7a93f4967
--- /dev/null
+++ b/archivers/go-compress/pkg-plist
@@ -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