pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/fstrm



Module Name:    pkgsrc
Committed By:   he
Date:           Wed Jan 16 13:49:29 UTC 2019

Added Files:
        pkgsrc/net/fstrm: DESCR Makefile PLIST distinfo

Log Message:
Import fstrm version 0.4.0.

This is fstrm, a C implementation of the Frame Streams data transport
protocol.

Frame Streams is a light weight, binary clean protocol that allows
for the transport of arbitrarily encoded data payload sequences
with minimal framing overhead -- just four bytes per data frame.
Frame Streams does not specify an encoding format for data frames
and can be used with any data serialization format that produces
byte sequences, such as Protocol Buffers, XML, JSON, MessagePack,
YAML, etc. Frame Streams can be used as both a streaming transport
over a reliable byte stream socket (TCP sockets, TLS connections,
AF_UNIX sockets, etc.) for data in motion as well as a file format
for data at rest. A "Content Type" header identifies the type of
payload being carried over an individual Frame Stream and allows
cooperating programs to determine how to interpret a given sequence
of data payloads.

fstrm is an optimized C implementation of Frame Streams that includes
a fast, lockless circular queue implementation and exposes library
interfaces for setting up a dedicated Frame Streams I/O thread and
asynchronously submitting data frames for transport from worker
threads. It was originally written to facilitate the addition of
high speed binary logging to DNS servers written in C using the
dnstap log format.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/fstrm/DESCR pkgsrc/net/fstrm/Makefile \
    pkgsrc/net/fstrm/PLIST pkgsrc/net/fstrm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/fstrm/DESCR
diff -u /dev/null pkgsrc/net/fstrm/DESCR:1.1
--- /dev/null   Wed Jan 16 13:49:29 2019
+++ pkgsrc/net/fstrm/DESCR      Wed Jan 16 13:49:29 2019
@@ -0,0 +1,24 @@
+This is fstrm, a C implementation of the Frame Streams data transport
+protocol.
+
+Frame Streams is a light weight, binary clean protocol that allows
+for the transport of arbitrarily encoded data payload sequences
+with minimal framing overhead -- just four bytes per data frame.
+Frame Streams does not specify an encoding format for data frames
+and can be used with any data serialization format that produces
+byte sequences, such as Protocol Buffers, XML, JSON, MessagePack,
+YAML, etc. Frame Streams can be used as both a streaming transport
+over a reliable byte stream socket (TCP sockets, TLS connections,
+AF_UNIX sockets, etc.) for data in motion as well as a file format
+for data at rest. A "Content Type" header identifies the type of
+payload being carried over an individual Frame Stream and allows
+cooperating programs to determine how to interpret a given sequence
+of data payloads.
+
+fstrm is an optimized C implementation of Frame Streams that includes
+a fast, lockless circular queue implementation and exposes library
+interfaces for setting up a dedicated Frame Streams I/O thread and
+asynchronously submitting data frames for transport from worker
+threads. It was originally written to facilitate the addition of
+high speed binary logging to DNS servers written in C using the
+dnstap log format.
Index: pkgsrc/net/fstrm/Makefile
diff -u /dev/null pkgsrc/net/fstrm/Makefile:1.1
--- /dev/null   Wed Jan 16 13:49:29 2019
+++ pkgsrc/net/fstrm/Makefile   Wed Jan 16 13:49:29 2019
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2019/01/16 13:49:29 he Exp $
+
+DISTNAME=      fstrm-0.4.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=farsightsec/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+GITHUB_TYPE=   tag
+
+MAINTAINER=    he%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/farsightsec/fstrm/
+COMMENT=       C implementation of the Frame Streams data transport protocol
+LICENSE=       apache-2.0
+
+USE_TOOLS+=    autoconf
+USE_TOOLS+=    automake
+USE_TOOLS+=    pkg-config
+USE_TOOLS+=    gmake
+USE_LIBTOOL=   yes
+GNU_CONFIGURE= yes
+USE_LANGUAGES+=        c
+
+pre-configure:
+       cd ${WRKSRC} && sh ./autogen.sh
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/fstrm/PLIST
diff -u /dev/null pkgsrc/net/fstrm/PLIST:1.1
--- /dev/null   Wed Jan 16 13:49:29 2019
+++ pkgsrc/net/fstrm/PLIST      Wed Jan 16 13:49:29 2019
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/16 13:49:29 he Exp $
+bin/fstrm_capture
+bin/fstrm_dump
+bin/fstrm_replay
+include/fstrm.h
+include/fstrm/control.h
+include/fstrm/file.h
+include/fstrm/iothr.h
+include/fstrm/rdwr.h
+include/fstrm/reader.h
+include/fstrm/tcp_writer.h
+include/fstrm/unix_writer.h
+include/fstrm/writer.h
+lib/libfstrm.la
+lib/pkgconfig/libfstrm.pc
+man/man1/fstrm_capture.1
+man/man1/fstrm_dump.1
+man/man1/fstrm_replay.1
Index: pkgsrc/net/fstrm/distinfo
diff -u /dev/null pkgsrc/net/fstrm/distinfo:1.1
--- /dev/null   Wed Jan 16 13:49:29 2019
+++ pkgsrc/net/fstrm/distinfo   Wed Jan 16 13:49:29 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/16 13:49:29 he Exp $
+
+SHA1 (fstrm-0.4.0.tar.gz) = 022f3ddcea79de6fe62b06f87026372d3cad2646
+RMD160 (fstrm-0.4.0.tar.gz) = 55060dece27c61ccd478020411448674b5ff78be
+SHA512 (fstrm-0.4.0.tar.gz) = 5412340e0fed79abdcdafc290c18b3cb351c5d04e4e11af2ef78878c4915cc3be6bc7b94397d302cbd721d83be9164482fab0577baa9680c9075848899def1cc
+Size (fstrm-0.4.0.tar.gz) = 194789 bytes



Home | Main Index | Thread Index | Old Index