diff options
author | minskim <minskim@pkgsrc.org> | 2018-06-18 20:46:47 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-06-18 20:46:47 +0000 |
commit | 6193df981cd48975f678a8e8d196151605adb012 (patch) | |
tree | 6a510218a2ca68e1192177edecdd065fab375974 | |
parent | c84559c4c48637a1577836b68653219a4b7a50a9 (diff) | |
download | pkgsrc-6193df981cd48975f678a8e8d196151605adb012.tar.gz |
archivers/go-xz: Import version 0.5.4
This Go language package supports the reading and writing of xz
compressed streams. It includes also a gxz command for compressing and
decompressing data. The package is completely written in Go and
doesn't have any dependency on any C code.
-rw-r--r-- | archivers/go-xz/DESCR | 4 | ||||
-rw-r--r-- | archivers/go-xz/Makefile | 19 | ||||
-rw-r--r-- | archivers/go-xz/PLIST | 114 | ||||
-rw-r--r-- | archivers/go-xz/buildlink3.mk | 15 | ||||
-rw-r--r-- | archivers/go-xz/distinfo | 6 |
5 files changed, 158 insertions, 0 deletions
diff --git a/archivers/go-xz/DESCR b/archivers/go-xz/DESCR new file mode 100644 index 00000000000..3d2b9a778da --- /dev/null +++ b/archivers/go-xz/DESCR @@ -0,0 +1,4 @@ +This Go language package supports the reading and writing of xz +compressed streams. It includes also a gxz command for compressing and +decompressing data. The package is completely written in Go and +doesn't have any dependency on any C code. diff --git a/archivers/go-xz/Makefile b/archivers/go-xz/Makefile new file mode 100644 index 00000000000..69f3882af7c --- /dev/null +++ b/archivers/go-xz/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2018/06/18 20:46:47 minskim Exp $ + +DISTNAME= xz-0.5.4 +PKGNAME= go-${DISTNAME} +MASTER_SITES= ${MASTER_SITE_GITHUB:=ulikunitz/} +CATEGORIES= archivers +GITHUB_PROJECT= ${PKGBASE:S/^go-//} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= https://github.com/ulikunitz/xz +COMMENT= Pure golang package for reading and writing xz-compressed files +LICENSE= modified-bsd + +GO_DIST_BASE= ${PKGBASE:S/go-//}-${PKGVERSION_NOREV} +GO_SRCPATH= ${HOMEPAGE:S,https://,,} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/go-xz/PLIST b/archivers/go-xz/PLIST new file mode 100644 index 00000000000..d88798771a3 --- /dev/null +++ b/archivers/go-xz/PLIST @@ -0,0 +1,114 @@ +@comment $NetBSD: PLIST,v 1.1 2018/06/18 20:46:47 minskim Exp $ +bin/gxz +bin/xb +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/internal/gflag.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/internal/hash.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/internal/randtxt.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/internal/term.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/internal/xlog.a +gopkg/pkg/${GO_PLATFORM}/github.com/ulikunitz/xz/lzma.a +gopkg/src/github.com/ulikunitz/xz/LICENSE +gopkg/src/github.com/ulikunitz/xz/README.md +gopkg/src/github.com/ulikunitz/xz/TODO.md +gopkg/src/github.com/ulikunitz/xz/bits.go +gopkg/src/github.com/ulikunitz/xz/bits_test.go +gopkg/src/github.com/ulikunitz/xz/cmd/gxz/file.go +gopkg/src/github.com/ulikunitz/xz/cmd/gxz/licenses.go +gopkg/src/github.com/ulikunitz/xz/cmd/gxz/main.go +gopkg/src/github.com/ulikunitz/xz/cmd/gxz/version.go +gopkg/src/github.com/ulikunitz/xz/cmd/xb/cat.go +gopkg/src/github.com/ulikunitz/xz/cmd/xb/copyright.go +gopkg/src/github.com/ulikunitz/xz/cmd/xb/main.go +gopkg/src/github.com/ulikunitz/xz/cmd/xb/version-file.go +gopkg/src/github.com/ulikunitz/xz/cmd/xb/version.go +gopkg/src/github.com/ulikunitz/xz/crc.go +gopkg/src/github.com/ulikunitz/xz/doc/.gitignore +gopkg/src/github.com/ulikunitz/xz/doc/LZMA2.md +gopkg/src/github.com/ulikunitz/xz/doc/make-docs +gopkg/src/github.com/ulikunitz/xz/doc/md.css +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.3.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.4.1.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.4.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.5.1.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.5.2.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.5.3.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v${PKGVERSION}.md +gopkg/src/github.com/ulikunitz/xz/doc/relnotes/release-v0.5.md +gopkg/src/github.com/ulikunitz/xz/doc/xz-issues.md +gopkg/src/github.com/ulikunitz/xz/example.go +gopkg/src/github.com/ulikunitz/xz/format.go +gopkg/src/github.com/ulikunitz/xz/format_test.go +gopkg/src/github.com/ulikunitz/xz/fox.xz +gopkg/src/github.com/ulikunitz/xz/internal/gflag/flag.go +gopkg/src/github.com/ulikunitz/xz/internal/gflag/flag_test.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/cyclic_poly.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/cyclic_poly_test.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/doc.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/rabin_karp.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/rabin_karp_test.go +gopkg/src/github.com/ulikunitz/xz/internal/hash/roller.go +gopkg/src/github.com/ulikunitz/xz/internal/randtxt/englm3.go +gopkg/src/github.com/ulikunitz/xz/internal/randtxt/groupreader.go +gopkg/src/github.com/ulikunitz/xz/internal/randtxt/probs.go +gopkg/src/github.com/ulikunitz/xz/internal/randtxt/probs_test.go +gopkg/src/github.com/ulikunitz/xz/internal/term/ioctl_bsd.go +gopkg/src/github.com/ulikunitz/xz/internal/term/ioctl_linux.go +gopkg/src/github.com/ulikunitz/xz/internal/term/isterminal.go +gopkg/src/github.com/ulikunitz/xz/internal/term/isterminal_windows.go +gopkg/src/github.com/ulikunitz/xz/internal/xlog/xlog.go +gopkg/src/github.com/ulikunitz/xz/lzma/bintree.go +gopkg/src/github.com/ulikunitz/xz/lzma/bintree_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/bitops.go +gopkg/src/github.com/ulikunitz/xz/lzma/breader.go +gopkg/src/github.com/ulikunitz/xz/lzma/buffer.go +gopkg/src/github.com/ulikunitz/xz/lzma/buffer_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/bytewriter.go +gopkg/src/github.com/ulikunitz/xz/lzma/decoder.go +gopkg/src/github.com/ulikunitz/xz/lzma/decoder_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/decoderdict.go +gopkg/src/github.com/ulikunitz/xz/lzma/decoderdict_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/directcodec.go +gopkg/src/github.com/ulikunitz/xz/lzma/distcodec.go +gopkg/src/github.com/ulikunitz/xz/lzma/encoder.go +gopkg/src/github.com/ulikunitz/xz/lzma/encoder_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/encoderdict.go +gopkg/src/github.com/ulikunitz/xz/lzma/examples/README.txt +gopkg/src/github.com/ulikunitz/xz/lzma/examples/a.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/a.txt +gopkg/src/github.com/ulikunitz/xz/lzma/examples/a_eos.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/a_eos_and_size.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/a_lp1_lc2_pb1.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/bad_corrupted.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/bad_eos_incorrect_size.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/bad_incorrect_size.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/examples/info.txt +gopkg/src/github.com/ulikunitz/xz/lzma/fox.lzma +gopkg/src/github.com/ulikunitz/xz/lzma/hashtable.go +gopkg/src/github.com/ulikunitz/xz/lzma/hashtable_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/header.go +gopkg/src/github.com/ulikunitz/xz/lzma/header2.go +gopkg/src/github.com/ulikunitz/xz/lzma/header2_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/header_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/lengthcodec.go +gopkg/src/github.com/ulikunitz/xz/lzma/literalcodec.go +gopkg/src/github.com/ulikunitz/xz/lzma/matchalgorithm.go +gopkg/src/github.com/ulikunitz/xz/lzma/operation.go +gopkg/src/github.com/ulikunitz/xz/lzma/prob.go +gopkg/src/github.com/ulikunitz/xz/lzma/properties.go +gopkg/src/github.com/ulikunitz/xz/lzma/rangecodec.go +gopkg/src/github.com/ulikunitz/xz/lzma/reader.go +gopkg/src/github.com/ulikunitz/xz/lzma/reader2.go +gopkg/src/github.com/ulikunitz/xz/lzma/reader_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/state.go +gopkg/src/github.com/ulikunitz/xz/lzma/treecodecs.go +gopkg/src/github.com/ulikunitz/xz/lzma/writer.go +gopkg/src/github.com/ulikunitz/xz/lzma/writer2.go +gopkg/src/github.com/ulikunitz/xz/lzma/writer2_test.go +gopkg/src/github.com/ulikunitz/xz/lzma/writer_test.go +gopkg/src/github.com/ulikunitz/xz/lzmafilter.go +gopkg/src/github.com/ulikunitz/xz/make-docs +gopkg/src/github.com/ulikunitz/xz/reader.go +gopkg/src/github.com/ulikunitz/xz/reader_test.go +gopkg/src/github.com/ulikunitz/xz/writer.go +gopkg/src/github.com/ulikunitz/xz/writer_test.go diff --git a/archivers/go-xz/buildlink3.mk b/archivers/go-xz/buildlink3.mk new file mode 100644 index 00000000000..784ec51143d --- /dev/null +++ b/archivers/go-xz/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/06/18 20:46:47 minskim Exp $ + +BUILDLINK_TREE+= go-xz + +.if !defined(GO_XZ_BUILDLINK3_MK) +GO_XZ_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-xz= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-xz?= build + +BUILDLINK_API_DEPENDS.go-xz+= go-xz>=0.5.4 +BUILDLINK_PKGSRCDIR.go-xz?= ../../archivers/go-xz +.endif # GO_XZ_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-xz diff --git a/archivers/go-xz/distinfo b/archivers/go-xz/distinfo new file mode 100644 index 00000000000..3022147f481 --- /dev/null +++ b/archivers/go-xz/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/06/18 20:46:47 minskim Exp $ + +SHA1 (xz-0.5.4.tar.gz) = 567d2e8f26f699e81e875b8887325b74cc5ca0dc +RMD160 (xz-0.5.4.tar.gz) = c21b04255eb90b00af6e5f35fa6fa76f06cb803a +SHA512 (xz-0.5.4.tar.gz) = b9adad794a11ba6534cf31a722683995d517d55dbbb5510403538247931b88c00118b3d676b07c46d1e7c95805938240e4af88a428e41afc1c3d65b159820702 +Size (xz-0.5.4.tar.gz) = 477002 bytes |