1 |
Mick wrote: |
2 |
> On Sunday, 28 April 2019 22:49:42 BST Dale wrote: |
3 |
>> n952162@×××.de wrote: |
4 |
>>> Thanks to all who reponded: |
5 |
>>> - Rich Freeman suggests: |
6 |
>>> - having apache serve the local distfiles. |
7 |
>>> |
8 |
>>> How? Just make them available in the apache root and give portage |
9 |
>>> the URL somewhere?> |
10 |
>>> - use "infra scripts", but I think that's for running an up-to-date |
11 |
>>> general-purpose mirror |
12 |
>>> |
13 |
>>> He explains later that repos.conf defines the single place where the |
14 |
>>> repository is defined but that is distinct from where the distfiles |
15 |
>>> come from, which is defined by make.conf:GENTOO_MIRRORS |
16 |
>>> |
17 |
>>> - Dale suggests: |
18 |
>>> - a package, http-replicator, which might do Freeman's first |
19 |
>>> |
20 |
>>> suggestion. |
21 |
>>> |
22 |
>>> - Neil Bothwick explains the difference between serving the "portage |
23 |
>>> |
24 |
>>> mirror, the repository of ebuild and associated files" and the |
25 |
>>> distfiles, and suggests using NFS, presumably instead of, or in |
26 |
>>> addition to /usr/portage/distfiles. |
27 |
>>> |
28 |
>>> Okay, I looked for the first time at the files directly under |
29 |
>>> /usr/portage. |
30 |
>>> Is it a correct assumption that all packages available for |
31 |
>>> installation will be represented there? And that's it? That's |
32 |
>>> basically all there is to a gentoo installation? - |
33 |
>>> /usr/portage/distfiles |
34 |
>>> - the ebuilds directly under /usr/portage |
35 |
>>> - /usr/portage/eclass |
36 |
>>> - /usr/portage/metadata |
37 |
>>> - /usr/portage/profiles |
38 |
>>> - /etc/portage |
39 |
>>> |
40 |
>>> If so, then I'm delighted in the simplicity of it. Like reading the |
41 |
>>> one page definition of tcl. Unfortunately, it doesn't come through so |
42 |
>>> well in the documentation, with things like layouts seemingly basic |
43 |
>>> to an understanding. |
44 |
>>> |
45 |
>>> - Peter Humphrey suggests: |
46 |
>>> - http ftp proxy |
47 |
>>> |
48 |
>>> In what way is that different from rsync which I thought I'd |
49 |
>>> already configured? |
50 |
>> Just to add some more info. By changing the settings in make.conf, you |
51 |
>> can move these directories wherever you like. As a example, I moved |
52 |
>> mine here: |
53 |
>> |
54 |
>> |
55 |
>> root@fireball / # ls -al /var/cache/portage/ |
56 |
>> total 160 |
57 |
>> drwxr-xr-x 5 root root 4096 Dec 20 2012 . |
58 |
>> drwxr-xr-x 13 root root 4096 Apr 24 03:18 .. |
59 |
>> drwxrwxr-x 3 portage portage 143360 Apr 26 04:06 distfiles |
60 |
>> drwxr-xr-x 105 portage portage 4096 Apr 26 04:04 packages |
61 |
>> drwxr-xr-x 174 portage portage 4096 Apr 22 23:32 tree |
62 |
>> root@fireball / # |
63 |
>> |
64 |
>> |
65 |
>> I have these settings in make.conf to match where I put things: |
66 |
>> |
67 |
>> |
68 |
>> |
69 |
>> DISTDIR="/var/cache/portage/distfiles/" |
70 |
>> PKGDIR="/var/cache/portage/packages" |
71 |
>> PORTDIR="/var/cache/portage/tree" |
72 |
> Just to mention the PORTDIR variable is no longer meant to be declared in / |
73 |
> etc/portage/make.conf, but in /etc/portage/repos.conf/gentoo.conf, using the |
74 |
> 'location = ' directive. See URL below: |
75 |
> |
76 |
> https://wiki.gentoo.org/wiki/PORTDIR |
77 |
> |
78 |
> |
79 |
|
80 |
|
81 |
I wasn't aware of the move or don't remember it if I read it somewhere. |
82 |
Thanks for noticing that since that could cause confusion. I bet if I |
83 |
ever move that again, I'll forget that it is in a new place. :/ |
84 |
|
85 |
Dale |
86 |
|
87 |
:-) :-) |