aboutsummaryrefslogtreecommitdiff
blob: 45108ef8c218ce058333cda51d20de680c95398b (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
.TH "EMIRRORDIST" "1" "Dec 2015" "Portage VERSION" "Portage"
.SH "NAME"
emirrordist \- a fetch tool for mirroring of package distfiles
.SH SYNOPSIS
.B emirrordist
[\fIoptions\fR] \fI<action>\fR
.SH ACTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Show a help message and exit.
.TP
\fB\-\-version\fR
Display portage version and exit.
.TP
\fB\-\-mirror\fR
Mirror distfiles for the selected repository.
.SH OPTIONS
.TP
\fB\-\-dry\-run\fR
Perform a trial run with no changes made (typically combined
with \fI\-v\fR or \fI\-vv\fR).
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Display extra information on stderr (multiple occurences
increase verbosity).
.TP
\fB\-\-ignore\-default\-opts\fR
Do not use the \fIEMIRRORDIST_DEFAULT_OPTS\fR environment
variable.
.TP
\fB\-\-distfiles\fR=\fIDIR\fR
Distfiles directory to use (required).
.TP
\fB\-j\fR JOBS, \fB\-\-jobs\fR=\fIJOBS\fR
Number of concurrent jobs to run.
.TP
\fB\-l\fR LOAD, \fB\-\-load\-average\fR=\fILOAD\fR
Load average limit for spawning of new concurrent jobs.
.TP
\fB\-\-tries\fR=\fITRIES\fR
Maximum number of tries per file, 0 means unlimited
(default is 10).
.TP
\fB\-\-repo\fR=\fIREPO\fR
Name of repo to operate on.
.TP
\fB\-\-config\-root\fR=\fIDIR\fR
Location of portage config files.
.TP
\fB\-\-repositories\-configuration\fR=\fIREPOSITORIES_CONFIGURATION\fR
Override configuration of repositories. The argument of this option has
the same format as repos.conf (see \fBportage\fR(5)).
.TP
\fB\-\-strict\-manifests=\fR<y|n>
Manually override "strict" FEATURES setting.
.TP
\fB\-\-failure\-log\fR=\fIFILE\fR
Log file for fetch failures, with tab\-delimited output, for
reporting purposes. Opened in append mode.
.TP
\fB\-\-success\-log\fR=\fIFILE\fR
Log file for fetch successes, with tab\-delimited output, for
reporting purposes. Opened in append mode.
.TP
\fB\-\-scheduled\-deletion\-log\fR=\fIFILE\fR
Log file for scheduled deletions, with tab\-delimited output, for
reporting purposes. Overwritten with each run.
.TP
\fB\-\-delete\fR
Enable deletion of unused distfiles.
.TP
\fB\-\-deletion\-db\fR=\fIFILE\fR
Database file used to track lifetime of files scheduled for
delayed deletion.
.TP
\fB\-\-deletion\-delay\fR=\fISECONDS\fR
Delay time for deletion of unused distfiles, measured in seconds.
.TP
\fB\-\-temp\-dir\fR=\fIDIR\fR
Temporary directory for downloads.
.TP
\fB\-\-mirror\-overrides\fR=\fIFILE\fR
File holding a list of mirror overrides.
.TP
\fB\-\-mirror\-skip\fR=\fIMIRROR_SKIP\fR
Comma delimited list of mirror targets to skip when
fetching.
.TP
\fB\-\-restrict\-mirror\-exemptions\fR=\fIRESTRICT_MIRROR_EXEMPTIONS\fR
Comma delimited list of mirror targets for which to ignore
RESTRICT="mirror" (see \fBebuild\fR(5)).
.TP
\fB\-\-verify\-existing\-digest\fR
Use digest as a verification of whether existing
distfiles are valid.
.TP
\fB\-\-distfiles\-local\fR=\fIDIR\fR
The distfiles\-local directory to use.
.TP
\fB\-\-distfiles\-db\fR=\fIFILE\fR
Database file used to track which ebuilds a distfile belongs to.
.TP
\fB\-\-recycle\-dir\fR=\fIDIR\fR
Directory for extended retention of files that are removed from
distdir with the \-\-delete option. These files may be be recycled if
they are needed again, instead of downloading them again.
.TP
\fB\-\-recycle\-db\fR=\fIFILE\fR
Database file used to track lifetime of files in recycle dir.
.TP
\fB\-\-recycle\-deletion\-delay\fR=\fISECONDS\fR
Delay time for deletion of unused files from recycle dir,
measured in seconds (defaults to the equivalent of 60 days).
.TP
\fB\-\-fetch\-log\-dir\fR=\fIDIR\fR
Directory for individual fetch logs.
.TP
\fB\-\-whitelist\-from\fR=\fIFILE\fR
Specifies a file containing a list of files to whitelist, one per line,
# prefixed lines ignored. Use this option multiple times in order to
specify multiple whitelists.
.TP
\fB\-\-symlinks\fR
Use symbolic links to link distfiles to the primary layout from other
specified layouts. If not specified, hard links are used instead.
.TP
\fB\-\-layout\-conf\fR=\fIFILE\fR
Specifies alternate mirror \fIlayout.conf\fR file to use in order
to select the desired distfile layout. If not specified,
\fIlayout.conf\fR in \fB\-\-distfiles\fR directory will be used
if present, otherwise flat layout will be assumed.
.SH "REPORTING BUGS"
Please report bugs via https://bugs.gentoo.org/
.SH "THANKS"
Special thanks to Brian Harring, author of the mirror\-dist program from
which emirrordist is derived.
.SH "AUTHORS"
.nf
Zac Medico <zmedico@gentoo.org>
Arfrever Frehtes Taifersar Arahesis <arfrever@apache.org>
.fi
.SH "FILES"
.TP
.B /etc/portage/make.conf
Contains variables.
.SH "SEE ALSO"
.BR ebuild (5),
.BR egencache (1),
.BR make.conf (5),
.BR portage (5)