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

(-)archivers/pixz/Makefile (-9 / +11 lines)
Lines 1-10 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	pixz
3
PORTNAME=	pixz
4
PORTVERSION=	1.0.2
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.0.6-9
6
DISTVERSIONSUFFIX=	-g4f079c3
5
CATEGORIES=	archivers
7
CATEGORIES=	archivers
6
MASTER_SITES=	SF/pixz
7
EXTRACT_SUFX=	.tgz
8
8
9
MAINTAINER=	hrs@FreeBSD.org
9
MAINTAINER=	hrs@FreeBSD.org
10
COMMENT=	Parallel, indexing version of XZ
10
COMMENT=	Parallel, indexing version of XZ
Lines 12-23 Link Here
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
SUB_FILES=	Makefile
15
BUILD_DEPENDS=	asciidoc:textproc/asciidoc
16
17
USES=		autoreconf libarchive pkgconfig
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	vasi
20
21
GNU_CONFIGURE=	yes
22
16
PLIST_FILES=	bin/${PORTNAME} man/man1/pixz.1.gz
23
PLIST_FILES=	bin/${PORTNAME} man/man1/pixz.1.gz
17
USES=		uidfix libarchive
18
24
19
post-extract: apply-slist
20
	${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}
21
	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.1 ${WRKSRC}
22
23
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)archivers/pixz/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (pixz-1.0.2.tgz) = af9dac41edd6bf57953471f7fcbd4793810003bf911593ba4c84f7cccb5f74af
1
TIMESTAMP = 1561937505
2
SIZE (pixz-1.0.2.tgz) = 21425
2
SHA256 (vasi-pixz-v1.0.6-9-g4f079c3_GH0.tar.gz) = 9653992e19ffc625ee773bb07a9f375d2f03454704e534697a46afaaa8a1be07
3
SIZE (vasi-pixz-v1.0.6-9-g4f079c3_GH0.tar.gz) = 27828
(-)archivers/pixz/files/Makefile.in (-18 lines)
Lines 1-18 Link Here
1
# $FreeBSD$
2
3
PROG=	pixz
4
SRCS=	pixz.c common.c endian.c cpu.c read.c write.c list.c
5
MAN=	${PROG}.1
6
7
CPPFLAGS+=	-I${LOCALBASE}/include -DPIXZ_VERSION='"1.0.2"'
8
CFLAGS+=	${CPPFLAGS} -std=gnu99
9
LDADD=		-lpthread -lm -llzma -larchive -L${LOCALBASE}/lib \
10
		-Wl,-rpath,${LOCALBASE}/lib
11
12
PREFIX?=	/usr/local
13
LOCALBASE?=	/usr/local
14
BINDIR?=	${PREFIX}/bin
15
MANDIR?=	${PREFIX}/man/man
16
NO_MANCOMPRESS=
17
18
.include <bsd.prog.mk>
(-)archivers/pixz/files/pixz.1 (-130 lines)
Lines 1-130 Link Here
1
'\" t
2
.\"     Title: pixz
3
.\"    Author: [see the "AUTHOR" section]
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
.\"      Date: 06/06/2013
6
.\"    Manual: \ \&
7
.\"    Source: \ \&
8
.\"  Language: English
9
.\"
10
.TH "PIXZ" "1" "06/06/2013" "\ \&" "\ \&"
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
14
.\" disable hyphenation
15
.nh
16
.\" disable justification (adjust text to left margin only)
17
.ad l
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
21
.SH "NAME"
22
pixz \- parallel, indexed xz compressor
23
.SH "SYNOPSIS"
24
.sp
25
\fBpixz\fR [\fIOPTIONS\fR] [\fIINPUT\fR [\fIOUTPUT\fR]]
26
.SH "DESCRIPTION"
27
.sp
28
pixz compresses and decompresses files using multiple processors\&. If the input looks like a tar(1) archive, it also creates an index of all the files in the archive\&. This allows the extraction of only a small segment of the tarball, without needing to decompress the entire archive\&.
29
.SH "OPTIONS"
30
.sp
31
By default, pixz uses standard input and output, unless \fIINPUT\fR and \fIOUTPUT\fR arguments are provided\&. If pixz is provided with input but no output, it will delete the input once it\(cqs done\&.
32
.PP
33
\fB\-d\fR
34
.RS 4
35
Decompress, instead of compress\&.
36
.RE
37
.PP
38
\fB\-t\fR
39
.RS 4
40
Force non\-tarball mode\&. By default, pixz auto\-detects tar data, and if found enters tarball mode\&. When compressing in non\-tarball mode, no archive index will be created\&. When decompressing, fast extraction will not be available\&.
41
.RE
42
.PP
43
\fB\-l\fR
44
.RS 4
45
List the archive contents\&. In tarball mode, lists the files in the tarball\&. In non\-tarball mode, lists the blocks of compressed data\&.
46
.RE
47
.PP
48
\fB\-x\fR \fIPATH\fR
49
.RS 4
50
Extract certain members from an archive, quickly\&. All members whose path begins with
51
\fIPATH\fR
52
will be extracted\&.
53
.RE
54
.PP
55
\fB\-i\fR \fIINPUT\fR
56
.RS 4
57
Use
58
\fIINPUT\fR
59
as the input\&.
60
.RE
61
.PP
62
\fB\-o\fR \fIOUTPUT\fR
63
.RS 4
64
Use OUTPUT as the output\&.
65
.RE
66
.PP
67
\fB\-#\fR
68
.RS 4
69
Set compression level, from \-0 (lowest compression, fastest) to \-9 (highest compression, slowest)\&.
70
.RE
71
.PP
72
\fB\-e\fR
73
.RS 4
74
Use "extreme" compression, which is much slower and only yields a marginal decrease in size\&.
75
.RE
76
.PP
77
\fB\-p\fR \fICPUS\fR
78
.RS 4
79
Set the number of CPU cores to use\&. By default pixz will use the number of cores on the system\&.
80
.RE
81
.PP
82
\fB\-f\fR \fIFRACTION\fR
83
.RS 4
84
Set the size of each compression block, relative to the LZMA dictionary size (default is 2\&.0)\&. Higher values give better compression ratios, but use more memory and make random access less efficient\&. Values less than 1\&.0 aren\(cqt very efficient\&.
85
.RE
86
.PP
87
\fB\-q\fR \fISIZE\fR
88
.RS 4
89
Set the number of blocks to allocate for the compression queue (default is 1\&.3 * cores + 2, rounded up)\&. Higher values give better throughput, up to a point, but use more memory\&. Values less than the number of cores will make some cores sit idle\&.
90
.RE
91
.PP
92
\fB\-h\fR
93
.RS 4
94
Show pixz\(cqs online help\&.
95
.RE
96
.SH "EXAMPLES"
97
.PP
98
pixz < myfile > myfile\&.xz
99
.RS 4
100
Compress a file with pixz\&.
101
.RE
102
.PP
103
pixz myfile
104
.RS 4
105
Compress to myfile\&.pxz, removing the original\&.
106
.RE
107
.PP
108
tar \-Ipixz \-cf output\&.tpxz directory
109
.RS 4
110
Make tar use pixz for compression\&.
111
.RE
112
.PP
113
pixz \-x path/to/file < input\&.tpxz | tar x
114
.RS 4
115
Extract one file from an archive, quickly\&.
116
.RE
117
.SH "AUTHOR"
118
.sp
119
pixz is written by Dave Vasilevsky\&.
120
.SH "RESOURCES"
121
.sp
122
The pixz homepage: https://github\&.com/vasi/pixz/
123
.sp
124
Source downloads: http://sourceforge\&.net/projects/pixz/files/
125
.SH "COPYRIGHT"
126
.sp
127
Copyright \(co 2009\-2010 Dave Vasilevsky\&. Use of this software is granted under the FreeBSD License\&.
128
.SH "SEE ALSO"
129
.sp
130
xz(1), tar(1)
(-)archivers/pixz/pkg-descr (-1 lines)
Lines 1-4 Link Here
1
Pixz (pronounced 'pixie') is a parallel, indexing version of XZ.
1
Pixz (pronounced 'pixie') is a parallel, indexing version of XZ.
2
2
3
WWW: https://github.com/vasi/pixz
3
WWW: https://github.com/vasi/pixz
4
WWW: https://sourceforge.net/projects/pixz/files/

Return to bug 238900