Index: archivers/tar-stream-chunker/Makefile =================================================================== --- archivers/tar-stream-chunker/Makefile (nonexistent) +++ archivers/tar-stream-chunker/Makefile (working copy) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= tar-stream-chunker +PORTVERSION= 1.0.5 +CATEGORIES= archivers + +MAINTAINER= igor.ostapenko@pm.me +COMMENT= Splits stdin of unknown size onto chunks packed as a TAR to stdout + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= ihoro + +PLIST_FILES= bin/tar_stream_chunker + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tar_stream_chunker + +.include Property changes on: archivers/tar-stream-chunker/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: archivers/tar-stream-chunker/distinfo =================================================================== --- archivers/tar-stream-chunker/distinfo (nonexistent) +++ archivers/tar-stream-chunker/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1587339165 +SHA256 (ihoro-tar-stream-chunker-1.0.5_GH0.tar.gz) = 03aadeefe499bff01ca2207a2e0b48630ea79d2e925edb40f3219318083978f3 +SIZE (ihoro-tar-stream-chunker-1.0.5_GH0.tar.gz) = 6994 Property changes on: archivers/tar-stream-chunker/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: archivers/tar-stream-chunker/pkg-descr =================================================================== --- archivers/tar-stream-chunker/pkg-descr (nonexistent) +++ archivers/tar-stream-chunker/pkg-descr (working copy) @@ -0,0 +1,13 @@ +Splits stdin of unknown size onto chunks of given size and collects such chunk +files as a TAR archive what is written to stdout. + +Initial motivation was to use it as a packer of a data stream what pipes it to +https://tarsnap.com for backup purposes, with a requirement of low and more +predictable memory consumption. And the problem solved here is that TAR file +header should specify size of a file, but it's unknown due to the nature of +input data stream. + +The following real case could be an example: +$ pg_dump ... | tar_stream_chunker ... | tarsnap -c ... @- + +WWW: https://github.com/ihoro/tar-stream-chunker/ Property changes on: archivers/tar-stream-chunker/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property