View | Details | Raw Unified | Return to bug 245748
Collapse All | Expand All

(-)archivers/tar-stream-chunker/Makefile (+21 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	tar-stream-chunker
4
PORTVERSION=	1.0.5
5
CATEGORIES=	archivers
6
7
MAINTAINER=	igor.ostapenko@pm.me
8
COMMENT=	Splits stdin of unknown size onto chunks packed as a TAR to stdout
9
10
LICENSE=	BSD2CLAUSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
USE_GITHUB=	yes
14
GH_ACCOUNT=	ihoro
15
16
PLIST_FILES=	bin/tar_stream_chunker
17
18
post-install:
19
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tar_stream_chunker
20
21
.include <bsd.port.mk>
(-)archivers/tar-stream-chunker/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1587339165
2
SHA256 (ihoro-tar-stream-chunker-1.0.5_GH0.tar.gz) = 03aadeefe499bff01ca2207a2e0b48630ea79d2e925edb40f3219318083978f3
3
SIZE (ihoro-tar-stream-chunker-1.0.5_GH0.tar.gz) = 6994
(-)archivers/tar-stream-chunker/pkg-descr (+13 lines)
Line 0 Link Here
1
Splits stdin of unknown size onto chunks of given size and collects such chunk
2
files as a TAR archive what is written to stdout.
3
4
Initial motivation was to use it as a packer of a data stream what pipes it to
5
https://tarsnap.com for backup purposes, with a requirement of low and more
6
predictable memory consumption. And the problem solved here is that TAR file
7
header should specify size of a file, but it's unknown due to the nature of
8
input data stream.
9
10
The following real case could be an example:
11
$ pg_dump ... | tar_stream_chunker ... | tarsnap -c ... @-
12
13
WWW: https://github.com/ihoro/tar-stream-chunker/

Return to bug 245748