aboutsummaryrefslogtreecommitdiff
blob: 8a3956e0657bf7652568406ea8464ecca2a86d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.TH "genpkgindex" "1" "" "Ned Ludd" "gentoolkit"
.SH "NAME"
.LP 
genpkgindex \- Generates package metadata from binary packages for use with programs such a qmerge from portage\-utils
.SH "USAGE"
.LP 
genpkgindex [\fI\-\-options\fP]

.SH "DESCRIPTION"
.LP 
Generates package metadata from binary packages for use with programs such a qmerge from portage\-utils
.SH "OPTIONS"
.LP 
.TP
\fB\-h, \-\-help\fR
 Display help and exit
.TP 
\fB\-v, \-\-verbose\fR
 Be verbose
.TP 
\fB\-q, \-\-quiet\fR
 Be quiet
.TP 
\fB\-c, \-\-compress\fR
 Compresses the generated metadata with bzip2.
.TP 
\fB\-P, \-\-pkgdir <path>\fR
 Set the base location of the binary packages.  The default is normally /usr/portage/packages
.TP 

.SH "ENVIRONMENT VARIABLES"
.LP 
.TP 
\fBPKGDIR\fP
is the location of binary packages that you can have created with FEATURES=buildpkg, '\-\-buildpkg' or '\-b/\-B' while emerging a package.
.SH "EXAMPLES"
.LP 
Typical usage is to simply run:
.LP 
genpkgindex
.LP
Alternatively if you want the metadata compressed:
.LP 
genpkgindex \-\-compress
.LP
.SH "NOTES"
.LP 
When no package directories are directly given to genpkgindex on the command line it will output additional variables that it assumes from the running portage environment.
.LP
When FEATURES=cleanpkgdir is enabled genpkgindex will invoke "/usr/bin/eclean \-d packages" before creating any package metadata.
.LP
genpkgindex intended use is to be run from /etc/portage/bashrc in the $EBUILD_PHASE of "postinst".
.LP
.SH "AUTHORS"
.LP 
Ned Ludd <solar@gentoo.org>
.SH "SEE ALSO"
.LP 
emerge(1) qmerge(1) make.conf(5) portage(5)