1 |
Update all relevant references in docs, messages, and comments |
2 |
to refer to /var/db/repos/gentoo instead of /usr/portage. Also |
3 |
update DISTDIR and PKGDIR references to refer to the new |
4 |
/var/cache/{distfiles,binpkgs} locations. |
5 |
|
6 |
Bug: https://bugs.gentoo.org/378603 |
7 |
Signed-off-by: Zac Medico <zmedico@g.o> |
8 |
--- |
9 |
[PATCH 2/2 v4] Misc fixes suggested by Ulrich Müller |
10 |
|
11 |
cnf/make.conf.example | 16 ++++------ |
12 |
lib/portage/__init__.py | 6 ++-- |
13 |
lib/portage/cache/flat_hash.py | 4 +-- |
14 |
lib/portage/tests/news/test_NewsItem.py | 4 +-- |
15 |
.../tests/resolver/ResolverPlayground.py | 4 +-- |
16 |
lib/portage/xml/metadata.py | 6 ++-- |
17 |
man/ebuild.5 | 9 +++--- |
18 |
man/emerge.1 | 8 ++--- |
19 |
man/make.conf.5 | 26 ++++++--------- |
20 |
man/portage.5 | 32 +++++++++---------- |
21 |
man/quickpkg.1 | 4 +-- |
22 |
repoman/lib/repoman/__init__.py | 4 +-- |
23 |
12 files changed, 57 insertions(+), 66 deletions(-) |
24 |
|
25 |
diff --git a/cnf/make.conf.example b/cnf/make.conf.example |
26 |
index 70cb8b19b..94210faa9 100644 |
27 |
--- a/cnf/make.conf.example |
28 |
+++ b/cnf/make.conf.example |
29 |
@@ -14,7 +14,7 @@ |
30 |
# https://wiki.gentoo.org/wiki/Handbook:X86/Working/USE |
31 |
# |
32 |
# The available list of use flags with descriptions is in the ebuild repository. |
33 |
-# Use 'less' to view them: --> less /usr/portage/profiles/use.desc <-- |
34 |
+# Use 'less' to view them: --> less /var/db/repos/gentoo/profiles/use.desc <-- |
35 |
# |
36 |
# 'ufed' is an ncurses/dialog interface available in portage to make handling |
37 |
# useflags for you. 'emerge app-portage/ufed' |
38 |
@@ -111,24 +111,20 @@ |
39 |
# will protect the default locations of DISTDIR and PKGDIR, but users are |
40 |
# warned that any other locations inside PORTDIR are not necessarily safe |
41 |
# for data storage. |
42 |
-#PORTDIR=/usr/portage |
43 |
+#PORTDIR=/var/db/repos/gentoo |
44 |
# |
45 |
# DISTDIR is where all of the source code tarballs will be placed for |
46 |
# emerges. After packages are built, it is safe to remove any and |
47 |
# all files from this directory since they will be automatically |
48 |
# fetched on demand for a given build. If you would like to |
49 |
# selectively prune obsolete files from this directory, see |
50 |
-# eclean from the gentoolkit package. Note that locations under |
51 |
-# /usr/portage are not necessarily safe for data storage. See the |
52 |
-# PORTDIR documentation for more information. |
53 |
-#DISTDIR=/usr/portage/distfiles |
54 |
+# eclean from the gentoolkit package. |
55 |
+#DISTDIR=/var/cache/distfiles |
56 |
# |
57 |
# PKGDIR is the location of binary packages that you can have created |
58 |
# with '--buildpkg' or '-b' while emerging a package. This can get |
59 |
-# up to several hundred megs, or even a few gigs. Note that |
60 |
-# locations under /usr/portage are not necessarily safe for data |
61 |
-# storage. See the PORTDIR documentation for more information. |
62 |
-#PKGDIR=/usr/portage/packages |
63 |
+# up to several hundred megs, or even a few gigs. |
64 |
+#PKGDIR=/var/cache/binpkgs |
65 |
# |
66 |
# PORTAGE_LOGDIR is the location where portage will store all the logs it |
67 |
# creates from each individual merge. They are stored as |
68 |
diff --git a/lib/portage/__init__.py b/lib/portage/__init__.py |
69 |
index 053d197b5..b108ca3e5 100644 |
70 |
--- a/lib/portage/__init__.py |
71 |
+++ b/lib/portage/__init__.py |
72 |
@@ -1,4 +1,4 @@ |
73 |
-# Copyright 1998-2018 Gentoo Foundation |
74 |
+# Copyright 1998-2019 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
|
77 |
from __future__ import unicode_literals |
78 |
@@ -132,8 +132,8 @@ except ImportError as e: |
79 |
sys.stderr.write("\n\n") |
80 |
sys.stderr.write("!!! Failed to complete portage imports. There are internal modules for\n") |
81 |
sys.stderr.write("!!! portage and failure here indicates that you have a problem with your\n") |
82 |
- sys.stderr.write("!!! installation of portage. Please try a rescue portage located in the\n") |
83 |
- sys.stderr.write("!!! ebuild repository under '/usr/portage/sys-apps/portage/files/' (default).\n") |
84 |
+ sys.stderr.write("!!! installation of portage. Please try a rescue portage located in the ebuild\n") |
85 |
+ sys.stderr.write("!!! repository under '/var/db/repos/gentoo/sys-apps/portage/files/' (default).\n") |
86 |
sys.stderr.write("!!! There is a README.RESCUE file that details the steps required to perform\n") |
87 |
sys.stderr.write("!!! a recovery of portage.\n") |
88 |
sys.stderr.write(" "+str(e)+"\n\n") |
89 |
diff --git a/lib/portage/cache/flat_hash.py b/lib/portage/cache/flat_hash.py |
90 |
index 79783245b..451ea9e51 100644 |
91 |
--- a/lib/portage/cache/flat_hash.py |
92 |
+++ b/lib/portage/cache/flat_hash.py |
93 |
@@ -1,4 +1,4 @@ |
94 |
-# Copyright 2005-2016 Gentoo Foundation |
95 |
+# Copyright 2005-2019 Gentoo Authors |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
# Author(s): Brian Harring (ferringb@g.o) |
98 |
|
99 |
@@ -144,7 +144,7 @@ class database(fs_template.FsBased): |
100 |
# Only recurse 1 deep, in order to avoid iteration over |
101 |
# entries from another nested cache instance. This can |
102 |
# happen if the user nests an overlay inside |
103 |
- # /usr/portage/local as in bug #302764. |
104 |
+ # /var/db/repos/gentoo/local as in bug #302764. |
105 |
if depth < 1: |
106 |
dirs.append((depth+1, p)) |
107 |
continue |
108 |
diff --git a/lib/portage/tests/news/test_NewsItem.py b/lib/portage/tests/news/test_NewsItem.py |
109 |
index 2f183a7e0..22c7fc7dc 100644 |
110 |
--- a/lib/portage/tests/news/test_NewsItem.py |
111 |
+++ b/lib/portage/tests/news/test_NewsItem.py |
112 |
@@ -1,5 +1,5 @@ |
113 |
# test_NewsItem.py -- Portage Unit Testing Functionality |
114 |
-# Copyright 2007 Gentoo Foundation |
115 |
+# Copyright 2007-2019 Gentoo Authors |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
|
118 |
from portage import os |
119 |
@@ -43,7 +43,7 @@ against YourSQL: |
120 |
The revdep-rebuild tool is provided by app-portage/gentoolkit. |
121 |
""" |
122 |
def setUp(self): |
123 |
- self.profile = "/usr/portage/profiles/default-linux/x86/2007.0/" |
124 |
+ self.profile = "/var/db/repos/gentoo/profiles/default-linux/x86/2007.0/" |
125 |
self.keywords = "x86" |
126 |
# Use fake/test dbapi to avoid slow tests |
127 |
self.vardb = testdbapi() |
128 |
diff --git a/lib/portage/tests/resolver/ResolverPlayground.py b/lib/portage/tests/resolver/ResolverPlayground.py |
129 |
index fc754fb42..22d54e251 100644 |
130 |
--- a/lib/portage/tests/resolver/ResolverPlayground.py |
131 |
+++ b/lib/portage/tests/resolver/ResolverPlayground.py |
132 |
@@ -1,4 +1,4 @@ |
133 |
-# Copyright 2010-2015 Gentoo Foundation |
134 |
+# Copyright 2010-2019 Gentoo Authors |
135 |
# Distributed under the terms of the GNU General Public License v2 |
136 |
|
137 |
from itertools import permutations |
138 |
@@ -399,7 +399,7 @@ class ResolverPlayground(object): |
139 |
f.write("masters =\n") |
140 |
|
141 |
if repo == "test_repo": |
142 |
- #Create a minimal profile in /usr/portage |
143 |
+ #Create a minimal profile in /var/db/repos/gentoo |
144 |
sub_profile_dir = os.path.join(profile_dir, "default", "linux", "x86", "test_profile") |
145 |
os.makedirs(sub_profile_dir) |
146 |
|
147 |
diff --git a/lib/portage/xml/metadata.py b/lib/portage/xml/metadata.py |
148 |
index 9e48dddde..24888bb47 100644 |
149 |
--- a/lib/portage/xml/metadata.py |
150 |
+++ b/lib/portage/xml/metadata.py |
151 |
@@ -1,13 +1,13 @@ |
152 |
-# Copyright 2010-2017 Gentoo Foundation |
153 |
+# Copyright 2010-2019 Gentoo Authors |
154 |
# Distributed under the terms of the GNU General Public License v2 |
155 |
|
156 |
"""Provides an easy-to-use python interface to Gentoo's metadata.xml file. |
157 |
|
158 |
Example usage: |
159 |
>>> from portage.xml.metadata import MetaDataXML |
160 |
- >>> pkg_md = MetaDataXML('/usr/portage/app-misc/gourmet/metadata.xml') |
161 |
+ >>> pkg_md = MetaDataXML('/var/db/repos/gentoo/app-misc/gourmet/metadata.xml') |
162 |
>>> pkg_md |
163 |
- <MetaDataXML '/usr/portage/app-misc/gourmet/metadata.xml'> |
164 |
+ <MetaDataXML '/var/db/repos/gentoo/app-misc/gourmet/metadata.xml'> |
165 |
>>> pkg_md.herds() |
166 |
['no-herd'] |
167 |
>>> for maint in pkg_md.maintainers(): |
168 |
diff --git a/man/ebuild.5 b/man/ebuild.5 |
169 |
index 27f47d2b1..20684d8f4 100644 |
170 |
--- a/man/ebuild.5 |
171 |
+++ b/man/ebuild.5 |
172 |
@@ -1,4 +1,4 @@ |
173 |
-.TH "EBUILD" "5" "Oct 2017" "Portage VERSION" "Portage" |
174 |
+.TH "EBUILD" "5" "Apr 2019" "Portage VERSION" "Portage" |
175 |
|
176 |
.SH "NAME" |
177 |
ebuild \- the internal format, variables, and functions in an ebuild script |
178 |
@@ -530,7 +530,8 @@ being submitted for inclusion, it must have ~arch set for architectures |
179 |
where it has been PROVEN TO WORK. (Packages KEYWORDed this way may be |
180 |
unmasked for testing by setting ACCEPT_KEYWORDS="~arch" on the command |
181 |
line, or in \fBmake.conf\fR(5)) For an authoritative list please review |
182 |
-/usr/portage/profiles/arch.list. Please keep this list in alphabetical order. |
183 |
+/var/db/repos/gentoo/profiles/arch.list. Please keep this list in |
184 |
+alphabetical order. |
185 |
.TP |
186 |
.B SLOT |
187 |
This sets the SLOT for packages that may need to have multiple versions |
188 |
@@ -553,8 +554,8 @@ usage. |
189 |
.B LICENSE |
190 |
This should be a space delimited list of licenses that the package falls |
191 |
under. This \fB_must_\fR be set to a matching license in |
192 |
-/usr/portage/licenses/. If the license does not exist in portage yet, you |
193 |
-must add it first. |
194 |
+/var/db/repos/gentoo/licenses/. If the license does not exist in the repository |
195 |
+yet, you must add it first. |
196 |
.TP |
197 |
.B IUSE |
198 |
This should be a list of any and all USE flags that are leveraged within |
199 |
diff --git a/man/emerge.1 b/man/emerge.1 |
200 |
index afac83e76..78ac55e25 100644 |
201 |
--- a/man/emerge.1 |
202 |
+++ b/man/emerge.1 |
203 |
@@ -1,4 +1,4 @@ |
204 |
-.TH "EMERGE" "1" "Mar 2018" "Portage VERSION" "Portage" |
205 |
+.TH "EMERGE" "1" "Apr 2019" "Portage VERSION" "Portage" |
206 |
.SH "NAME" |
207 |
emerge \- Command\-line interface to the Portage system |
208 |
.SH "SYNOPSIS" |
209 |
@@ -43,7 +43,7 @@ as \fBsys\-apps/portage\fR or \fB=python\-2.2.1\-r2\fR. |
210 |
\fBemerge\fR |
211 |
ignores a trailing slash so that filename completion can be used. |
212 |
The \fIebuild\fR may also be an actual filename, such as |
213 |
-\fB/usr/portage/app\-admin/python/python\-2.2.1\-r2.ebuild\fR. |
214 |
+\fB/var/db/repos/gentoo/app\-admin/python/python\-2.2.1\-r2.ebuild\fR. |
215 |
\fBWARNING:\fR The implementation of \fBemerge /path/to/ebuild\fR is broken and |
216 |
so this syntax shouldn't be used. |
217 |
.TP |
218 |
@@ -1280,7 +1280,7 @@ avoid dependency conflicts and/or unsatisfied dependencies. |
219 |
.BR package.mask |
220 |
The \fBpackage.mask\fR file primarily blocks the use of packages that cause |
221 |
problems or are known to have issues on different systems. It resides in |
222 |
-\fI/usr/portage/profiles\fR. |
223 |
+\fI/var/db/repos/gentoo/profiles\fR. |
224 |
.TP |
225 |
.BR CHOST |
226 |
Use the \fBACCEPT_CHOSTS\fR variable in \fBmake.conf\fR(5) to control |
227 |
@@ -1426,7 +1426,7 @@ files. |
228 |
Contains profile\-specific variables for the build process. \fBDo not |
229 |
edit this file\fR. |
230 |
.TP |
231 |
-.B /usr/portage/profiles/use.desc |
232 |
+.B /var/db/repos/gentoo/profiles/use.desc |
233 |
Contains the master list of USE flags with descriptions of their |
234 |
functions. \fBDo not edit this file\fR. |
235 |
.TP |
236 |
diff --git a/man/make.conf.5 b/man/make.conf.5 |
237 |
index adbd6dc85..0ad3e2f7d 100644 |
238 |
--- a/man/make.conf.5 |
239 |
+++ b/man/make.conf.5 |
240 |
@@ -1,4 +1,4 @@ |
241 |
-.TH "MAKE.CONF" "5" "Feb 2019" "Portage VERSION" "Portage" |
242 |
+.TH "MAKE.CONF" "5" "Apr 2019" "Portage VERSION" "Portage" |
243 |
.SH "NAME" |
244 |
make.conf \- custom settings for Portage |
245 |
.SH "SYNOPSIS" |
246 |
@@ -217,12 +217,8 @@ like to selectively prune obsolete files from this directory, see |
247 |
|
248 |
Use the \fBPORTAGE_RO_DISTDIRS\fR variable to specify one or |
249 |
more read-only directories containing distfiles. |
250 |
- |
251 |
-Note |
252 |
-that locations under /usr/portage are not necessarily safe for data storage. |
253 |
-See the \fBPORTDIR\fR documentation for more information. |
254 |
.br |
255 |
-Defaults to /usr/portage/distfiles. |
256 |
+Defaults to /var/cache/distfiles. |
257 |
.TP |
258 |
.B DOC_SYMLINKS_DIR |
259 |
If this variable contains a directory then symlinks to html documentation will |
260 |
@@ -826,11 +822,9 @@ By default, a given package is stored in a subdirectory corresponding |
261 |
to it's category. However, for backward compatibility with the layout |
262 |
used by older versions of portage, if the \fI${PKGDIR}/All\fR directory |
263 |
exists then all packages will be stored inside of it and symlinks to |
264 |
-the packages will be created in the category subdirectories. Note |
265 |
-that locations under /usr/portage are not necessarily safe for data storage. |
266 |
-See the \fBPORTDIR\fR documentation for more information. |
267 |
+the packages will be created in the category subdirectories. |
268 |
.br |
269 |
-Defaults to /usr/portage/packages. |
270 |
+Defaults to /var/cache/binpkgs. |
271 |
.TP |
272 |
.B PORT_LOGDIR |
273 |
See \fIPORTAGE_LOGDIR\fR below. Deprecated. |
274 |
@@ -1066,7 +1060,7 @@ Defines the location of main repository. This variable is deprecated in favor of |
275 |
settings in \fBrepos.conf\fR. If you change this, you must update |
276 |
your /etc/portage/make.profile symlink accordingly. |
277 |
.br |
278 |
-Defaults to /usr/portage. |
279 |
+Defaults to /var/db/repos/gentoo. |
280 |
.br |
281 |
\fB***Warning***\fR |
282 |
.br |
283 |
@@ -1151,7 +1145,7 @@ rsync://private\-mirror.com/portage\-module |
284 |
.br |
285 |
rsync://rsync\-user@private\-mirror.com:873/gentoo\-portage |
286 |
.br |
287 |
-ssh://ssh\-user@192.168.0.1:22/usr/portage |
288 |
+ssh://ssh\-user@192.168.0.1:22/var/db/repos/gentoo |
289 |
.br |
290 |
ssh://ssh\-user@192.168.0.1:22/\\${HOME}/portage\-storage |
291 |
.TP |
292 |
@@ -1169,7 +1163,7 @@ Defaults to "/lib/modules/*". |
293 |
\fBUSE\fR = \fI[space delimited list of USE items]\fR |
294 |
This variable contains options that control the build behavior of several |
295 |
packages. More information in \fBebuild\fR(5). Possible USE values |
296 |
-can be found in \fI/usr/portage/profiles/use.desc\fR. |
297 |
+can be found in \fI/var/db/repos/gentoo/profiles/use.desc\fR. |
298 |
.TP |
299 |
\fBUSE_ORDER\fR = \fI"env:pkg:conf:defaults:pkginternal:features:repo:env.d"\fR |
300 |
Determines the precedence of layers in the incremental stacking of the USE |
301 |
@@ -1206,7 +1200,7 @@ for FEATURES=\fBtest\fR. |
302 |
.TP |
303 |
.B repo |
304 |
USE from make.defaults and package.use in the repo's profiles/ top dir |
305 |
-(e.g. /usr/portage/profiles/package.use) (see \fBportage\fR(5)) |
306 |
+(e.g. /var/db/repos/gentoo/profiles/package.use) (see \fBportage\fR(5)) |
307 |
.TP |
308 |
.B env.d |
309 |
USE from the environment variables, such as LINGUAS, defined by files in |
310 |
@@ -1236,10 +1230,10 @@ Contains the default variables for the build\-process, you should edit |
311 |
.B /etc/portage/color.map |
312 |
Contains variables customizing colors. |
313 |
.TP |
314 |
-.B /usr/portage/profiles/use.desc |
315 |
+.B /var/db/repos/gentoo/profiles/use.desc |
316 |
Contains a list of all global USE flags. |
317 |
.TP |
318 |
-.B /usr/portage/profiles/use.local.desc |
319 |
+.B /var/db/repos/gentoo/profiles/use.local.desc |
320 |
Contains a list of all local USE variables. |
321 |
.SH "SEE ALSO" |
322 |
.BR emerge (1), |
323 |
diff --git a/man/portage.5 b/man/portage.5 |
324 |
index caf993672..36c871123 100644 |
325 |
--- a/man/portage.5 |
326 |
+++ b/man/portage.5 |
327 |
@@ -1,4 +1,4 @@ |
328 |
-.TH "PORTAGE" "5" "Apr 2018" "Portage VERSION" "Portage" |
329 |
+.TH "PORTAGE" "5" "Apr 2019" "Portage VERSION" "Portage" |
330 |
.SH NAME |
331 |
portage \- the heart of Gentoo |
332 |
.SH "DESCRIPTION" |
333 |
@@ -77,18 +77,18 @@ site-specific overrides of \fB/etc/portage/make.profile/\fR |
334 |
.BR /etc/portage/sets/ |
335 |
user\-defined package sets |
336 |
.TP |
337 |
-.BR /usr/portage/ |
338 |
+.BR /var/db/repos/gentoo/ |
339 |
.nf |
340 |
sets.conf |
341 |
.fi |
342 |
.TP |
343 |
-.BR /usr/portage/metadata/ |
344 |
+.BR /var/db/repos/gentoo/metadata/ |
345 |
.nf |
346 |
layout.conf |
347 |
pkg_desc_index |
348 |
.fi |
349 |
.TP |
350 |
-.BR /usr/portage/profiles/ |
351 |
+.BR /var/db/repos/gentoo/profiles/ |
352 |
.nf |
353 |
arch.list |
354 |
categories |
355 |
@@ -214,7 +214,7 @@ More reading: |
356 |
.TP |
357 |
\fB/etc/portage/make.profile/\fR or \fB/etc/make.profile/\fR |
358 |
This is usually just a symlink to the correct profile in |
359 |
-\fB/usr/portage/profiles/\fR. Since it is part of the ebuild repository, it |
360 |
+\fB/var/db/repos/gentoo/profiles/\fR. Since it is part of the ebuild repository, it |
361 |
may easily be updated/regenerated by running `emerge \-\-sync`. It defines |
362 |
what a profile is (usually arch specific stuff). If you need a custom |
363 |
profile, then you should make your own \fBmake.profile\fR |
364 |
@@ -248,10 +248,10 @@ explaining how they can upgrade. |
365 |
|
366 |
.I Example: |
367 |
.nf |
368 |
-default-linux/x86/2005.0 |
369 |
-# emerge -n '>=sys-apps/portage-2.0.51' |
370 |
+default/linux/amd64/17.0 |
371 |
+# emerge -n '>=sys-apps/portage-2.3.62' |
372 |
# rm -f /etc/portage/make.profile |
373 |
-# ln -s /usr/portage/profiles/default-linux/alpha/2005.0 \ |
374 |
+# ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 \ |
375 |
/etc/portage/make.profile |
376 |
.fi |
377 |
.TP |
378 |
@@ -644,7 +644,7 @@ The global custom settings for Portage. See \fBmake.conf\fR(5). |
379 |
.BR mirrors |
380 |
Whenever portage encounters a mirror:// style URI it will look up the actual |
381 |
hosts here. If the mirror set is not found here, it will check the global |
382 |
-mirrors file at /usr/portage/profiles/thirdpartymirrors. You may also set a |
383 |
+mirrors file at /var/db/repos/gentoo/profiles/thirdpartymirrors. You may also set a |
384 |
special mirror type called "local". This list of mirrors will be checked |
385 |
before GENTOO_MIRRORS and will be used even if the package has |
386 |
RESTRICT="mirror" or RESTRICT="fetch". |
387 |
@@ -1094,7 +1094,7 @@ rsync://private\-mirror.com/portage\-module |
388 |
.br |
389 |
rsync://rsync\-user@private\-mirror.com:873/gentoo\-portage |
390 |
.br |
391 |
-ssh://ssh\-user@192.168.0.1:22/usr/portage |
392 |
+ssh://ssh\-user@192.168.0.1:22/var/db/repos/gentoo |
393 |
.br |
394 |
ssh://ssh\-user@192.168.0.1:22/\\${HOME}/portage\-storage |
395 |
.RE |
396 |
@@ -1218,7 +1218,7 @@ masters = |
397 |
|
398 |
# Repository 'gentoo' synchronized using CVS |
399 |
[gentoo] |
400 |
-location = /usr/portage |
401 |
+location = /var/db/repos/gentoo |
402 |
sync\-type = cvs |
403 |
sync\-uri = :pserver:anonymous@××××××××××××××.org:/var/cvsroot |
404 |
sync\-cvs\-repo = gentoo\-x86 |
405 |
@@ -1235,7 +1235,7 @@ auto\-sync = yes |
406 |
.TP |
407 |
.BR sets.conf |
408 |
A package set configuration file. Settings here override settings from |
409 |
-\fB/usr/portage/sets.conf\fR and \fB/usr/share/portage/config/sets\fR. |
410 |
+\fB/var/db/repos/gentoo/sets.conf\fR and \fB/usr/share/portage/config/sets\fR. |
411 |
The format is described extensively in the |
412 |
\fIPackage Set Configuration\fR section of the html documentation which |
413 |
is installed with portage when the "doc" USE flag is enabled. |
414 |
@@ -1296,7 +1296,7 @@ Also see \fB/var/lib/portage/world_sets\fR and the \fBemerge\fR(1) |
415 |
\fB\-\-list\-sets\fR option. |
416 |
.RE |
417 |
.TP |
418 |
-.BR /usr/portage/ |
419 |
+.BR /var/db/repos/gentoo/ |
420 |
.RS |
421 |
.TP |
422 |
.BR sets.conf |
423 |
@@ -1305,7 +1305,7 @@ which overrides these settings, and |
424 |
\fB/usr/share/portage/config/sets\fR which contains default settings. |
425 |
.RE |
426 |
.TP |
427 |
-.BR /usr/portage/metadata/ |
428 |
+.BR /var/db/repos/gentoo/metadata/ |
429 |
.RS |
430 |
.TP |
431 |
.BR layout.conf |
432 |
@@ -1472,7 +1472,7 @@ sys-apps/usleep 0.1: A wrapper for usleep |
433 |
.fi |
434 |
.RE |
435 |
.TP |
436 |
-.BR /usr/portage/profiles/ |
437 |
+.BR /var/db/repos/gentoo/profiles/ |
438 |
Global Gentoo settings that are controlled by the developers. To override |
439 |
these settings, you can use the files in \fB/etc/portage/\fR. |
440 |
.RS |
441 |
@@ -1683,7 +1683,7 @@ for \fB/etc/portage/repos.conf\fR. |
442 |
.TP |
443 |
.BR sets |
444 |
A directory containing package set configuration files. Also see |
445 |
-\fB/etc/portage/sets.conf\fR and \fB/usr/portage/sets.conf\fR, both of |
446 |
+\fB/etc/portage/sets.conf\fR and \fB/var/db/repos/gentoo/sets.conf\fR, both of |
447 |
which override values set here. Default set configurations are installed |
448 |
in \fB/usr/share/portage/config/sets/portage.conf\fR. |
449 |
.RE |
450 |
diff --git a/man/quickpkg.1 b/man/quickpkg.1 |
451 |
index 06a1f0b6e..a6aff7c50 100644 |
452 |
--- a/man/quickpkg.1 |
453 |
+++ b/man/quickpkg.1 |
454 |
@@ -1,4 +1,4 @@ |
455 |
-.TH "QUICKPKG" "1" "Dec 2012" "Portage VERSION" "Portage" |
456 |
+.TH "QUICKPKG" "1" "Apr 2019" "Portage VERSION" "Portage" |
457 |
.SH NAME |
458 |
quickpkg \- creates portage packages |
459 |
.SH SYNOPSIS |
460 |
@@ -17,7 +17,7 @@ modified since they were first installed. |
461 |
.br |
462 |
The packages, after being created, will be placed in \fBPKGDIR\fR. |
463 |
This variable is defined in \fBmake.conf\fR(5) and defaults to |
464 |
-/usr/portage/packages. |
465 |
+/var/cache/binpkgs. |
466 |
.SH OPTIONS |
467 |
.TP |
468 |
.B <list of packages or package\-sets> |
469 |
diff --git a/repoman/lib/repoman/__init__.py b/repoman/lib/repoman/__init__.py |
470 |
index 301b34309..4f3e59e50 100644 |
471 |
--- a/repoman/lib/repoman/__init__.py |
472 |
+++ b/repoman/lib/repoman/__init__.py |
473 |
@@ -13,8 +13,8 @@ except ImportError as e: |
474 |
sys.stderr.write("\n\n") |
475 |
sys.stderr.write("!!! Failed to complete portage imports. There are internal modules for\n") |
476 |
sys.stderr.write("!!! portage and failure here indicates that you have a problem with your\n") |
477 |
- sys.stderr.write("!!! installation of portage. Please try a rescue portage located in the\n") |
478 |
- sys.stderr.write("!!! ebuild repository under '/usr/portage/sys-apps/portage/files/' (default).\n") |
479 |
+ sys.stderr.write("!!! installation of portage. Please try a rescue portage located in the ebuild\n") |
480 |
+ sys.stderr.write("!!! repository under '/var/db/repos/gentoo/sys-apps/portage/files/' (default).\n") |
481 |
sys.stderr.write("!!! There is a README.RESCUE file that details the steps required to perform\n") |
482 |
sys.stderr.write("!!! a recovery of portage.\n") |
483 |
sys.stderr.write(" "+str(e)+"\n\n") |
484 |
-- |
485 |
2.21.0 |