diff options
author | he <he@pkgsrc.org> | 2019-01-16 15:15:49 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2019-01-16 15:15:49 +0000 |
commit | d5bfbb738f2893e2556abf051f773c8fdd84eccd (patch) | |
tree | 83bb66c3526a6b3cd1a5571e2edb81f4b7a762f5 /net/go-framestream | |
parent | 57b7dbe1659b3f72f01ae8aee8942f3fbc52dea8 (diff) | |
download | pkgsrc-d5bfbb738f2893e2556abf051f773c8fdd84eccd.tar.gz |
Add go-framestream version 0.1.0.
Frame Streams implementation in Go
https://github.com/farsightsec/golang-framestream
Frame Streams is a lightweight, binary-clean protocol that allows
for the transport of arbitrarily encoded data payload sequences
with minimal framing overhead.
This package provides a pure Golang implementation. The Frame
Streams implementation in C is at https://github.com/farsightsec/fstrm/.
The example framestream_dump program reads a Frame Streams formatted
input file and prints the data frames and frame byte counts.
Diffstat (limited to 'net/go-framestream')
-rw-r--r-- | net/go-framestream/DESCR | 13 | ||||
-rw-r--r-- | net/go-framestream/Makefile | 18 | ||||
-rw-r--r-- | net/go-framestream/PLIST | 20 | ||||
-rw-r--r-- | net/go-framestream/buildlink3.mk | 16 | ||||
-rw-r--r-- | net/go-framestream/distinfo | 6 |
5 files changed, 73 insertions, 0 deletions
diff --git a/net/go-framestream/DESCR b/net/go-framestream/DESCR new file mode 100644 index 00000000000..1d34f3750c4 --- /dev/null +++ b/net/go-framestream/DESCR @@ -0,0 +1,13 @@ +Frame Streams implementation in Go + +https://github.com/farsightsec/golang-framestream + +Frame Streams is a lightweight, binary-clean protocol that allows +for the transport of arbitrarily encoded data payload sequences +with minimal framing overhead. + +This package provides a pure Golang implementation. The Frame +Streams implementation in C is at https://github.com/farsightsec/fstrm/. + +The example framestream_dump program reads a Frame Streams formatted +input file and prints the data frames and frame byte counts. diff --git a/net/go-framestream/Makefile b/net/go-framestream/Makefile new file mode 100644 index 00000000000..9ced5a58f94 --- /dev/null +++ b/net/go-framestream/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2019/01/16 15:15:49 he Exp $ + +DISTNAME= go-framestream-0.1.0 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=farsightsec/} +GITHUB_PROJECT= golang-framestream +GITHUB_TAG= tags/v${PKGVERSION_NOREV} +GITHUB_TYPE= tag + +HOMEPAGE= http://${GO_SRCPATH} +COMMENT= Go language implementation of framestream protocol +LICENSE= apache-2.0 + +GO_SRCPATH= github.com/farsightsec/golang-framestream +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG:S!/!-!} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/go-framestream/PLIST b/net/go-framestream/PLIST new file mode 100644 index 00000000000..4455cb9c125 --- /dev/null +++ b/net/go-framestream/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1 2019/01/16 15:15:49 he Exp $ +bin/framestream_dump +gopkg/pkg/${GO_PLATFORM}/github.com/farsightsec/golang-framestream.a +gopkg/src/github.com/farsightsec/golang-framestream/COPYRIGHT +gopkg/src/github.com/farsightsec/golang-framestream/Control.go +gopkg/src/github.com/farsightsec/golang-framestream/Decoder.go +gopkg/src/github.com/farsightsec/golang-framestream/Encoder.go +gopkg/src/github.com/farsightsec/golang-framestream/LICENSE +gopkg/src/github.com/farsightsec/golang-framestream/README.md +gopkg/src/github.com/farsightsec/golang-framestream/debian/changelog +gopkg/src/github.com/farsightsec/golang-framestream/debian/compat +gopkg/src/github.com/farsightsec/golang-framestream/debian/control +gopkg/src/github.com/farsightsec/golang-framestream/debian/copyright +gopkg/src/github.com/farsightsec/golang-framestream/debian/docs +gopkg/src/github.com/farsightsec/golang-framestream/debian/gbp.conf +gopkg/src/github.com/farsightsec/golang-framestream/debian/rules +gopkg/src/github.com/farsightsec/golang-framestream/debian/source/format +gopkg/src/github.com/farsightsec/golang-framestream/framestream.go +gopkg/src/github.com/farsightsec/golang-framestream/framestream_dump/main.go +gopkg/src/github.com/farsightsec/golang-framestream/framestream_test.go diff --git a/net/go-framestream/buildlink3.mk b/net/go-framestream/buildlink3.mk new file mode 100644 index 00000000000..81202a15ef4 --- /dev/null +++ b/net/go-framestream/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/01/16 15:15:49 he Exp $ + +BUILDLINK_TREE+= go-framestream + +.if !defined(GO_FRAMESTREAM_BUILDLINK3_MK) +GO_FRAMESTREAM_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-framestream=${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-framestream?= build + +BUILDLINK_API_DEPENDS.go-framestream+= go-framestream>=0.1.0 +BUILDLINK_PKGSRCDIR.go-framestream?= ../../net/go-framestream + +.endif # GO_FRAMESTREAM_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-framestream diff --git a/net/go-framestream/distinfo b/net/go-framestream/distinfo new file mode 100644 index 00000000000..f694eb2fd4f --- /dev/null +++ b/net/go-framestream/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/01/16 15:15:49 he Exp $ + +SHA1 (go-framestream-0.1.0.tar.gz) = 507e5557ec0fa663e2d28d4b9748f716f58addc3 +RMD160 (go-framestream-0.1.0.tar.gz) = 38d0402509f957632959383ddb8f4e6e4f491822 +SHA512 (go-framestream-0.1.0.tar.gz) = ab2ab4111d05b37ea3849eb7a8ce0c12023ab3394b69ab87fef76a599b468c7c53a31c941192e8761e62c897814f284032e7c8ba7971c63e7dec7ae254cd00b2 +Size (go-framestream-0.1.0.tar.gz) = 8998 bytes |