Mailing List Archive

Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM
It took me all of my skills ;-) . But I installed Pale Moon, using my
local overlay made from the official
https://github.com/deuiore/palemoon-overlay
which installed, via my Cgit bare git repo served by my (local only yet)
Apache, and so from my local mirror, in arcane ways (which I do not
understood the how completely yet, but the install is faultless), by
serving the git packs to emerge from the local git clone'd, and
cgit-on-apache-served
https://github.com/MoonchildProductions/Pale-Moon
.

That's new technology. EAPI=6 in the ebuild of the above linked official
palemoon-overlay ! Nothing I've seen in my previous 7 years as Gentoo
user. Only slowly gone into production since less than two years ago now.

I'd like to provide detailed info here how the above happened to perform
so faultlessly, because I may really need to brush some details (to be
able to keep installing it from cgit-on-apache local mirror, I still
can't believe it happened ;-) ), and to ask for advice on understanding
some of the details, and because those details may be useful to other
users, in the next email.

In the next email, because I first would like to post about the goodness
of Pale Moon, about the why it is the browser to recommend and support,
and what a newbie might find still lacking its the current overlay offer
(it should move to Portage proper and become official in Gentoo
mainstream!), from what I'ver learned about Pale Moon so far.

So, this... :

On 161221-01:17+0100, Miroslav Rovis wrote:
> On 161220-03:00-0500, Walter Dnes wrote:
> > On Mon, Dec 19, 2016 at 01:25:19PM +0100, Miroslav Rovis wrote
...
> > The Pale Moon project is located at...
> > https://github.com/MoonchildProductions/Pale-Moon
> That is certainly also what the official overlay uses, the one listed in:
> https://overlays.gentoo.org/
...
> Unpacking objects: 100% (8/8), done.
> From https://github.com/deuiore/palemoon-overlay
> 237160b..d0b6f90 master -> origin/master
> Updating 237160b..d0b6f90
> Fast-forward
> www-client/palemoon-bin/Manifest | 3 +
> www-client/palemoon-bin/palemoon-bin-27.0.3.ebuild | 112
> ++++++++++++++++++++++++
> www-client/palemoon/Manifest | 3 +-
> www-client/palemoon/palemoon-27.0.2.ebuild | 6 +-
> www-client/palemoon/palemoon-27.0.3.ebuild | 239

^^^^^^^^^^^^^^^^

...[the above] is my install, but: it happened in my Air-Gapped
machine, this time.

And Palemoon perfectly logs the SSL-keys, just like its elder sibling
Firefox does, so I won't spend any more talk on that.

But I enjoy using programs when they are (or when I feel they are, of
course this may be somewhat subjective) pure, that is, true FOSS, true
Open Source GNU-compatible style, and on top when they are morally good.

The promise, for no warranted reason, of the imposition of Pulseaudio by
Mozilla, in my eyes, is a huge blemish on Firefox.

Yes, I'm afraid Firefox is morally tainted as FOSS. But there have been
other issues, and in this Gentoo Forum topic you may read more about
other issues that I haven't familiarized with:

Should firefox be removed from portage?
https://forums.gentoo.org/viewtopic-t-1038430-start-25.html#7880354
I defended Firefox there (
https://forums.gentoo.org/viewtopic-t-1038430-start-25.html#7878932 ) ,
and while I was right in that replacing it with something google, like
Chrom{e,ium}, is so much worse yet, and in that there were good sides to
Firefox that I posted about there, and those remain moot points for me
still, the promise of the imposition of Pulseaudio now sways my
remaining feelings away from loyalty to Mozilla

Also, read here:

Why was the default search changed to DuckDuckGo?
https://forum.palemoon.org/viewtopic.php?f=24&t=4016

where find (just to whet your reading appetite):
> A little insight in the $300 million+/year that Mozilla makes as an
> Open Source software provider (and how income has grown more than
> expenses...)
> http://www.eweek.com/enterprise-apps/mozilla-revenue-tops-311-million-from-open-source-technology.html

(also btw, DuckDuckGo.com has been my own preferred search engine since
years now!)

Also read here:
Pale Moon, Geolocation and You
https://forum.palemoon.org/viewtopic.php?f=24&t=3658


For newbie users of Palemoon: I have had a few minor issues (e.g. the
copying and pasting from navigation bar is not polished, clipboard
selection on navigation bar can get messed up on Alt-Tab'ing, which
issue Firefox does not have), but nothing at all large!

And the addons/extensions are a problem, because seeing a potential
capable adversary in its own fork, which Palemoon is for Firefox,
Mozilla has started deliberately messing up lots of plugins so that
Palemoon could not use them!
( E.g. from this page:
http://addons.palemoon.org/incompatible/
I tried ti open link under Privacy Badger:
https://addons.mozilla.org/firefox/addon/privacy-badger-firefox/versions/?page=1#version-1.0.1
but Mozilla reported a missing page. )

Pale Moon devs have been hard at work to adapt/fork the
addons/plugins/extensions:

Why do some extensions not work in Pale Moon?
https://forum.palemoon.org/viewtopic.php?f=24&t=8740

[Downtime] and [Announcement] Project Phoebus - The Second Generation
Add-ons Site v1.0
https://forum.palemoon.org/viewtopic.php?f=44&t=13619

, and lets give them time to do so and support
them!

( But if Pale Moon were to start over-commercializing like Firefox, and
if they were disabling things like Firefox has started doing, I wouldn't
be supported them anymore. Which I hope would not happen. )

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Re: Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM [ In reply to ]
On 161223-05:38+0100, Miroslav Rovis wrote:
> It took me all of my skills ;-) . But I installed Pale Moon
...
> That's new technology. EAPI=6 in the ebuild
> Nothing I've seen in my previous 7 years as Gentoo
...
> I'd like to provide detailed info here how the above happened

Maybe start from the witness of the completed install.

That is, from the (witnessing) log:
/var/log/portage/www-client:palemoon-27.0.3-r6:20161221-204523.log

after having in some apparently correct way modified the ebuild in my local
overlay, and upon issuing:

# emerge palemoon

So, the log:

* Package: www-client/palemoon-27.0.3-r6
* Repository: miro
* USE: abi_x86_64 alsa amd64 elibc_glibc gstreamer gtk2 kernel_linux official-branding optimize userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
* Fetching http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git ...
git fetch http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git +refs/tags/27.0.3_Release:refs/tags/27.0.3_Release
From http://localhost/cgi-bin/cgit.cgi/Pale-Moon
* [new tag] 27.0.3_Release -> 27.0.3_Release
* [new tag] 24.5.1_beta4 -> 24.5.1_beta4

... [130 entries cut here] ...

* [new tag] 27.0.1_Release -> 27.0.1_Release
* [new tag] 27.0.2_Release -> 27.0.2_Release
* [new tag] GUID_working_base -> GUID_working_base

... [35 entries cut here] ...

* [new tag] SUMOZI_25.1.0_MERGE -> SUMOZI_25.1.0_MERGE
* [new tag] SUMOZI_25.2.0_MERGE -> SUMOZI_25.2.0_MERGE
git symbolic-ref refs/git-r3/www-client/palemoon/0/__main__ refs/tags/27.0.3_Release
* Checking out http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git to /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
git checkout --quiet refs/tags/27.0.3_Release
GIT NEW branch -->
repository: http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git
at the commit: cff1b1447aa25e27b7294bb6986e79c98ae04a03
>>> Source unpacked in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work
>>> Preparing source in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
* You are enabling official branding. You may not redistribute this build

... [9700 lines cut here] ...

>>> /usr/lib64/palemoon/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
>>> /usr/lib64/palemoon/browser/blocklist.xml
>>> /usr/lib64/palemoon/browser/searchplugins/

... [5 lines cut here] ...

>>> /usr/lib64/palemoon/browser/searchplugins/duckduckgo-palemoon.xml

... [12 lines cut here] ...

>>> /usr/lib64/palemoon/libnssdbm3.so
>>> /usr/lib64/palemoon/components/
>>> /usr/lib64/palemoon/components/components.manifest
>>> /usr/lib64/palemoon/components/libmozgnome.so
>>> /usr/lib64/palemoon/palemoon
--- /usr/bin/
>>> /usr/bin/palemoon -> /usr/lib64/palemoon/palemoon
* Updating desktop mime database ...
* Updating icons cache ...
[ ok ]
>>> www-client/palemoon-27.0.3-r6 merged.
>>> Regenerating /etc/ld.so.cache...

So the installation completed smoothly.

Now, in the /usr/portage/distfiles it looks pretty courious. Never seen
anything in my 8 years more or less daily using of Gentoo (hundreds upon
hundreds of compilations ;-) ):

The git object pack sources, guess where they are by looking up:

# du -hs /usr/portage/distfiles/git3-src\
EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/

48K /usr/portage/distfiles/git3-src
EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/hooks/

8.0K /usr/portage/distfiles/git3-src
EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/info/

283M /usr/portage/distfiles/git3-src
EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/objects/

744K /usr/portage/distfiles/git3-src
EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/refs/

#

( reformatted the above output for email, but those are 5 distinct lines of
stdout only )

The successful ebuild that I modified the palemon-overlay ebuild into is:

palemoon-27.0.3-r6.ebuild

but my other previous ebuild modifications/adaptations for local cgit mirror
had all failed. Obviously all based on palemoon-27.0.3.ebuild from the
official palemoon-overlay repo.

Let me again return to the strange looks of the
/usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git

That above is the complete path, but here I present it more clearly (and
verbosely):

# ls -l /usr/portage/distfiles/ | grep git3-src
drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 git3-src EGIT_MIRROR_URI=git:
# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/
total 4
drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 localhost
# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/
total 4
drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 cgi-bin
# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/
total 4
drwxr-xr-x 4 portage portage 4096 2016-12-21 21:24 cgit.cgi
# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/
total 8
drwxr-xr-x 6 portage portage 4096 2016-12-21 21:19 cgi-bin_cgit.cgi_Pale-Moon.git
drwxr-xr-x 6 portage portage 4096 2016-12-21 21:24 MoonchildProductions_Pale-Moon.git
# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/
total 52
-rw-r--r-- 1 portage portage 66 2016-12-21 21:19 config
-rw-r--r-- 1 portage portage 73 2016-12-21 21:19 description
-rw-r--r-- 1 portage portage 22016 2016-12-21 21:45 FETCH_HEAD
-rw-r--r-- 1 portage portage 23 2016-12-21 21:19 HEAD
drwxr-xr-x 2 portage portage 4096 2016-12-21 21:19 hooks
drwxr-xr-x 2 portage portage 4096 2016-12-21 21:19 info
drwxr-xr-x 5 portage portage 4096 2016-12-21 21:45 objects
drwxr-xr-x 5 portage portage 4096 2016-12-21 21:45 refs
# du -hs /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
48K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/hooks/
8.0K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/info/
283M /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/objects/
744K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/refs/
#

( it's the same 5 distinct lines of stdout these in bottom, and if they don't
show well in your mail client, look them up in reformated guise further above )

So, let me remember how I got there.

Firstly, I, sure, cloned the palemoon-overlay. No I didn't use the layman for
that (I'd be using layman if I were able to verify installs like I can with
webrsync-gpg which is not feasible with git at this time, so I go
manually, and carefully check all the components to compilations), but
simply instead I 'git clone'-d it:

$ git clone https://github.com/deuiore/palemoon-overlay

I also cloned the Moonchild Productions' PaleMoon.git overlay (else how would
I install it in Air-Gapped?):

$ git clone https://github.com/MoonchildProductions/Pale-Moon.git

I followed again (it's heavily changed since some one year ago, no more
PORTDIR_OVERLAY) the guide at:

https://wiki.gentoo.org/wiki/Overlay/Local_overlay

and copied over files from the just cloned palemoon-overlay, and created, what
with the copy-renamed and modified ebuilds looks like:

# ls -lR /usr/local/portage/www-client/palemoon/
/usr/local/portage/www-client/palemoon/:
total 76
drwxr-xr-x 3 miro miro 4096 2016-12-18 08:40 files
-rw-r--r-- 1 root root 4209 2016-12-21 21:44 Manifest
-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 palemoon-27.0.2.ebuild
-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5956 2016-12-21 16:53 palemoon-27.0.3-r1.ebuild
... [ 4 more unsuccessful ebuilds from -r2 to -r5 here ] ...
-rw-r--r-- 1 miro miro 5903 2016-12-21 21:44 palemoon-27.0.3-r6.ebuild

/usr/local/portage/www-client/palemoon/files:
total 8
-rw-r--r-- 1 miro miro 329 2016-12-18 08:40 default-prefs.js-0
drwxr-xr-x 2 miro miro 4096 2016-12-18 08:40 icon

/usr/local/portage/www-client/palemoon/files/icon:
total 4
-rw-r--r-- 1 miro miro 277 2016-12-18 08:40 palemoon.desktop
#

I also needed to copy over some that you can recognize which ones by
their sizes:

# ls -l /some-dir/palemoon-overlay/[emp]*
/some-dir/palemoon-overlay/eclass:
total 8
-rw-r--r-- 1 miro miro 1764 2016-12-18 08:40 palemoon-0.eclass
-rw-r--r-- 1 miro miro 360 2016-12-18 08:40 palemoon-bin-0.eclass

/some-dir/palemoon-overlay/metadata:
total 4
-rw-r--r-- 1 miro miro 17 2016-12-18 08:40 layout.conf

/some-dir/palemoon-overlay/profiles:
total 8
-rw-r--r-- 1 miro miro 510 2016-12-18 08:40 package.mask
-rw-r--r-- 1 miro miro 9 2016-12-18 08:40 repo_name
#

# ls -l /usr/local/portage/[emp]*
/usr/local/portage/eclass:
total 4
-rw-r--r-- 1 miro miro 1764 2016-12-18 08:40 palemoon-0.eclass

/usr/local/portage/metadata:
total 4
-rw-r--r-- 1 portage portage 17 2015-07-08 15:54 layout.conf

/usr/local/portage/profiles:
total 8
-rw-r--r-- 1 portage portage 60 2016-11-13 21:55 categories
-rw-r--r-- 1 portage portage 5 2015-07-08 15:54 repo_name
#

( but my repo_name contains the string 'miro', not the string 'palemoon', the
string + newline, makes 5 and 9 ; I guess the most important of the
above is the palemoon-0.eclass )

What is needed in the /etc/portage/make.conf is:

EGIT3_STORE_DIR=${DISTDIR}/git3-src"
EGIT_MIRROR_URI=git://localhost/cgi-bin/cgit.cgi/"

( Note at proofreading time: true, that is still stuck in the make.conf,
and it is what was in there when the successful install happend, but
shouldn't it be http://localhost/cgi-bin/cgit.cgi/ instead? )

I got those by studying over at devmanual this page:

https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html

and actually I also studied where there's even more, in:

/usr/portage/eclass/git-r3.eclass

( a very interesting but somewhat hard read :-( )

And here follow all the tries. Listing them all because it's simpler... I'll
just run this bash line to loop on all of them:

# for i in $(ls -1 /usr/local/portage/www-client/palemoon/ | grep -E '3.ebuild|3-r[1-6].ebuild'); do ls -l /usr/local/portage/www-client/palemoon/$i /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild ; diff /usr/local/portage/www-client/palemoon/$i /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild ; echo "--" ; echo ; done ;

( that's just one line, in case your mail client reformated it for you,
I'm running too slow with all of this, rushing a little, sorry, except
same excuse for below )

And that command line got me these:

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /usr/local/portage/www-client/palemoon/palemoon-27.0.3.ebuild
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5956 2016-12-21 16:53 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r1.ebuild
21c21
< EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 6051 2016-12-21 17:15 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r2.ebuild
21c21
< EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5999 2016-12-21 17:25 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r3.ebuild
21c21
< EGIT_REPO_URI="https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5951 2016-12-21 21:26 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r4.ebuild
21c21
< EGIT_REPO_URI="https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5902 2016-12-21 21:29 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r5.ebuild
21c21
< EGIT_REPO_URI="git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

-rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
-rw-r--r-- 1 miro miro 5903 2016-12-21 21:44 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r6.ebuild
21c21
< EGIT_REPO_URI="http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
---
> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
--

The: https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git would have probably also
worked, but it was refused because the cert is both self-signed and expired
;-) .

If the reader followed carefully, she/he will have noticed that only the
last one (palemoon-27.0.3-r6.ebuild) worked, and I actually started this
email with how that ebuild installed palemoon in my Air-Gapped machine.

If I show to have forgot any details (which I tried not to), I'll post them in
another reply to this thread.

( Ah, the cgit, maybe. It's just a regular cgit install, other than I
wasn't able to get the cgit, in many months now that I use it, so that
my apache would serve git listings and tar.gz's, tar.bz2's, and zip's,
with rewritten urls to get read of the cgi-bin/cgit.cgi string in every
url...

Otherwise, it's just

$ cd /where-I-keep-my-local-and-cloned-git-repos/Pale-Moon/
git clone --bare . /where-my-apache-serves-git-from/Pale-Moon.git/

and then

# /var/www/localhost/cgi-bin/cgit.cgi \
--scan-tree=/where-my-apache-serves-git-from/ > cgit-repos

(and append that to /etc/cgit-repos)
)

I'm actually kind of almost disbelieving that this has happened, because the
naming appears as if it worked out by some luck, so unusual it is, with the
spaces in the filenames
(
e.g. just see the:

git3-src EGIT_MIRROR_URI=git:

name of the directory, first level underneath /usr/portage/distfiles/
).

It couldn't have been designed to be this kind of strange naming in the
very /usr/portage/distfiles/ , or could it?

Is this regular, or have I successfully installed by some chance?

Thanks if there will be any explanations and advice. And in the meantime, I
really enjoy using Pale Moon in my Gentoo, both master and, of course,
clone(s)!

Regards!

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Re: Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM [ In reply to ]
On 12/23/2016 08:58 AM, Miroslav Rovis wrote:
> On 161223-05:38+0100, Miroslav Rovis wrote:
>> It took me all of my skills ;-) . But I installed Pale Moon
> ...
>> That's new technology. EAPI=6 in the ebuild
>> Nothing I've seen in my previous 7 years as Gentoo
> ...
>> I'd like to provide detailed info here how the above happened
>
> Maybe start from the witness of the completed install.
>
> That is, from the (witnessing) log:
> /var/log/portage/www-client:palemoon-27.0.3-r6:20161221-204523.log
>
> after having in some apparently correct way modified the ebuild in my local
> overlay, and upon issuing:
>
> # emerge palemoon
>
> So, the log:
>
> * Package: www-client/palemoon-27.0.3-r6
> * Repository: miro
> * USE: abi_x86_64 alsa amd64 elibc_glibc gstreamer gtk2 kernel_linux official-branding optimize userland_GNU
> * FEATURES: preserve-libs sandbox userpriv usersandbox
>>>> Unpacking source...
> * Fetching http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git ...
> git fetch http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git +refs/tags/27.0.3_Release:refs/tags/27.0.3_Release
> From http://localhost/cgi-bin/cgit.cgi/Pale-Moon
> * [new tag] 27.0.3_Release -> 27.0.3_Release
> * [new tag] 24.5.1_beta4 -> 24.5.1_beta4
>
> ... [130 entries cut here] ...
>
> * [new tag] 27.0.1_Release -> 27.0.1_Release
> * [new tag] 27.0.2_Release -> 27.0.2_Release
> * [new tag] GUID_working_base -> GUID_working_base
>
> ... [35 entries cut here] ...
>
> * [new tag] SUMOZI_25.1.0_MERGE -> SUMOZI_25.1.0_MERGE
> * [new tag] SUMOZI_25.2.0_MERGE -> SUMOZI_25.2.0_MERGE
> git symbolic-ref refs/git-r3/www-client/palemoon/0/__main__ refs/tags/27.0.3_Release
> * Checking out http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git to /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
> git checkout --quiet refs/tags/27.0.3_Release
> GIT NEW branch -->
> repository: http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git
> at the commit: cff1b1447aa25e27b7294bb6986e79c98ae04a03
>>>> Source unpacked in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work
>>>> Preparing source in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
>>>> Source prepared.
>>>> Configuring source in /var/tmp/portage/www-client/palemoon-27.0.3-r6/work/palemoon-27.0.3 ...
> * You are enabling official branding. You may not redistribute this build
>
> ... [9700 lines cut here] ...
>
>>>> /usr/lib64/palemoon/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
>>>> /usr/lib64/palemoon/browser/blocklist.xml
>>>> /usr/lib64/palemoon/browser/searchplugins/
>
> ... [5 lines cut here] ...
>
>>>> /usr/lib64/palemoon/browser/searchplugins/duckduckgo-palemoon.xml
>
> ... [12 lines cut here] ...
>
>>>> /usr/lib64/palemoon/libnssdbm3.so
>>>> /usr/lib64/palemoon/components/
>>>> /usr/lib64/palemoon/components/components.manifest
>>>> /usr/lib64/palemoon/components/libmozgnome.so
>>>> /usr/lib64/palemoon/palemoon
> --- /usr/bin/
>>>> /usr/bin/palemoon -> /usr/lib64/palemoon/palemoon
> * Updating desktop mime database ...
> * Updating icons cache ...
> [ ok ]
>>>> www-client/palemoon-27.0.3-r6 merged.
>>>> Regenerating /etc/ld.so.cache...
>
> So the installation completed smoothly.
>
> Now, in the /usr/portage/distfiles it looks pretty courious. Never seen
> anything in my 8 years more or less daily using of Gentoo (hundreds upon
> hundreds of compilations ;-) ):
>
> The git object pack sources, guess where they are by looking up:
>
> # du -hs /usr/portage/distfiles/git3-src\
> EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
>
> 48K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/hooks/
>
> 8.0K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/info/
>
> 283M /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/objects/
>
> 744K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/refs/
>
> #
>
> ( reformatted the above output for email, but those are 5 distinct lines of
> stdout only )
>
> The successful ebuild that I modified the palemon-overlay ebuild into is:
>
> palemoon-27.0.3-r6.ebuild
>
> but my other previous ebuild modifications/adaptations for local cgit mirror
> had all failed. Obviously all based on palemoon-27.0.3.ebuild from the
> official palemoon-overlay repo.
>
> Let me again return to the strange looks of the
> /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git
>
> That above is the complete path, but here I present it more clearly (and
> verbosely):
>
> # ls -l /usr/portage/distfiles/ | grep git3-src
> drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 git3-src EGIT_MIRROR_URI=git:
> # ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/
> total 4
> drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 localhost
> # ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/
> total 4
> drwxr-xr-x 3 portage portage 4096 2016-12-21 21:19 cgi-bin
> # ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/
> total 4
> drwxr-xr-x 4 portage portage 4096 2016-12-21 21:24 cgit.cgi
> # ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/
> total 8
> drwxr-xr-x 6 portage portage 4096 2016-12-21 21:19 cgi-bin_cgit.cgi_Pale-Moon.git
> drwxr-xr-x 6 portage portage 4096 2016-12-21 21:24 MoonchildProductions_Pale-Moon.git
> # ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/
> total 52
> -rw-r--r-- 1 portage portage 66 2016-12-21 21:19 config
> -rw-r--r-- 1 portage portage 73 2016-12-21 21:19 description
> -rw-r--r-- 1 portage portage 22016 2016-12-21 21:45 FETCH_HEAD
> -rw-r--r-- 1 portage portage 23 2016-12-21 21:19 HEAD
> drwxr-xr-x 2 portage portage 4096 2016-12-21 21:19 hooks
> drwxr-xr-x 2 portage portage 4096 2016-12-21 21:19 info
> drwxr-xr-x 5 portage portage 4096 2016-12-21 21:45 objects
> drwxr-xr-x 5 portage portage 4096 2016-12-21 21:45 refs
> # du -hs /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
> 48K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/hooks/
> 8.0K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/info/
> 283M /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/objects/
> 744K /usr/portage/distfiles/git3-src EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/refs/
> #
>
> ( it's the same 5 distinct lines of stdout these in bottom, and if they don't
> show well in your mail client, look them up in reformated guise further above )
>
> So, let me remember how I got there.
>
> Firstly, I, sure, cloned the palemoon-overlay. No I didn't use the layman for
> that (I'd be using layman if I were able to verify installs like I can with
> webrsync-gpg which is not feasible with git at this time, so I go
> manually, and carefully check all the components to compilations), but
> simply instead I 'git clone'-d it:
>
> $ git clone https://github.com/deuiore/palemoon-overlay
>
> I also cloned the Moonchild Productions' PaleMoon.git overlay (else how would
> I install it in Air-Gapped?):
>
> $ git clone https://github.com/MoonchildProductions/Pale-Moon.git
>
> I followed again (it's heavily changed since some one year ago, no more
> PORTDIR_OVERLAY) the guide at:
>
> https://wiki.gentoo.org/wiki/Overlay/Local_overlay
>
> and copied over files from the just cloned palemoon-overlay, and created, what
> with the copy-renamed and modified ebuilds looks like:
>
> # ls -lR /usr/local/portage/www-client/palemoon/
> /usr/local/portage/www-client/palemoon/:
> total 76
> drwxr-xr-x 3 miro miro 4096 2016-12-18 08:40 files
> -rw-r--r-- 1 root root 4209 2016-12-21 21:44 Manifest
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 palemoon-27.0.2.ebuild
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5956 2016-12-21 16:53 palemoon-27.0.3-r1.ebuild
> ... [ 4 more unsuccessful ebuilds from -r2 to -r5 here ] ...
> -rw-r--r-- 1 miro miro 5903 2016-12-21 21:44 palemoon-27.0.3-r6.ebuild
>
> /usr/local/portage/www-client/palemoon/files:
> total 8
> -rw-r--r-- 1 miro miro 329 2016-12-18 08:40 default-prefs.js-0
> drwxr-xr-x 2 miro miro 4096 2016-12-18 08:40 icon
>
> /usr/local/portage/www-client/palemoon/files/icon:
> total 4
> -rw-r--r-- 1 miro miro 277 2016-12-18 08:40 palemoon.desktop
> #
>
> I also needed to copy over some that you can recognize which ones by
> their sizes:
>
> # ls -l /some-dir/palemoon-overlay/[emp]*
> /some-dir/palemoon-overlay/eclass:
> total 8
> -rw-r--r-- 1 miro miro 1764 2016-12-18 08:40 palemoon-0.eclass
> -rw-r--r-- 1 miro miro 360 2016-12-18 08:40 palemoon-bin-0.eclass
>
> /some-dir/palemoon-overlay/metadata:
> total 4
> -rw-r--r-- 1 miro miro 17 2016-12-18 08:40 layout.conf
>
> /some-dir/palemoon-overlay/profiles:
> total 8
> -rw-r--r-- 1 miro miro 510 2016-12-18 08:40 package.mask
> -rw-r--r-- 1 miro miro 9 2016-12-18 08:40 repo_name
> #
>
> # ls -l /usr/local/portage/[emp]*
> /usr/local/portage/eclass:
> total 4
> -rw-r--r-- 1 miro miro 1764 2016-12-18 08:40 palemoon-0.eclass
>
> /usr/local/portage/metadata:
> total 4
> -rw-r--r-- 1 portage portage 17 2015-07-08 15:54 layout.conf
>
> /usr/local/portage/profiles:
> total 8
> -rw-r--r-- 1 portage portage 60 2016-11-13 21:55 categories
> -rw-r--r-- 1 portage portage 5 2015-07-08 15:54 repo_name
> #
>
> ( but my repo_name contains the string 'miro', not the string 'palemoon', the
> string + newline, makes 5 and 9 ; I guess the most important of the
> above is the palemoon-0.eclass )
>
> What is needed in the /etc/portage/make.conf is:
>
> EGIT3_STORE_DIR=${DISTDIR}/git3-src"
> EGIT_MIRROR_URI=git://localhost/cgi-bin/cgit.cgi/"
>
> ( Note at proofreading time: true, that is still stuck in the make.conf,
> and it is what was in there when the successful install happend, but
> shouldn't it be http://localhost/cgi-bin/cgit.cgi/ instead? )
>
> I got those by studying over at devmanual this page:
>
> https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html
>
> and actually I also studied where there's even more, in:
>
> /usr/portage/eclass/git-r3.eclass
>
> ( a very interesting but somewhat hard read :-( )
>
> And here follow all the tries. Listing them all because it's simpler... I'll
> just run this bash line to loop on all of them:
>
> # for i in $(ls -1 /usr/local/portage/www-client/palemoon/ | grep -E '3.ebuild|3-r[1-6].ebuild'); do ls -l /usr/local/portage/www-client/palemoon/$i /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild ; diff /usr/local/portage/www-client/palemoon/$i /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild ; echo "--" ; echo ; done ;
>
> ( that's just one line, in case your mail client reformated it for you,
> I'm running too slow with all of this, rushing a little, sorry, except
> same excuse for below )
>
> And that command line got me these:
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /usr/local/portage/www-client/palemoon/palemoon-27.0.3.ebuild
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5956 2016-12-21 16:53 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r1.ebuild
> 21c21
> < EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 6051 2016-12-21 17:15 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r2.ebuild
> 21c21
> < EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5999 2016-12-21 17:25 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r3.ebuild
> 21c21
> < EGIT_REPO_URI="https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5951 2016-12-21 21:26 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r4.ebuild
> 21c21
> < EGIT_REPO_URI="https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5902 2016-12-21 21:29 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r5.ebuild
> 21c21
> < EGIT_REPO_URI="git://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> -rw-r--r-- 1 miro miro 5907 2016-12-21 00:42 /some-dir/palemoon-overlay/www-client/palemoon/palemoon-27.0.3.ebuild
> -rw-r--r-- 1 miro miro 5903 2016-12-21 21:44 /usr/local/portage/www-client/palemoon/palemoon-27.0.3-r6.ebuild
> 21c21
> < EGIT_REPO_URI="http://localhost/cgi-bin/cgit.cgi/Pale-Moon.git"
> ---
>> EGIT_REPO_URI="git://github.com/MoonchildProductions/Pale-Moon.git"
> --
>
> The: https://localhost/cgi-bin/cgit.cgi/Pale-Moon.git would have probably also
> worked, but it was refused because the cert is both self-signed and expired
> ;-) .
>
> If the reader followed carefully, she/he will have noticed that only the
> last one (palemoon-27.0.3-r6.ebuild) worked, and I actually started this
> email with how that ebuild installed palemoon in my Air-Gapped machine.
>
> If I show to have forgot any details (which I tried not to), I'll post them in
> another reply to this thread.
>
> ( Ah, the cgit, maybe. It's just a regular cgit install, other than I
> wasn't able to get the cgit, in many months now that I use it, so that
> my apache would serve git listings and tar.gz's, tar.bz2's, and zip's,
> with rewritten urls to get read of the cgi-bin/cgit.cgi string in every
> url...
>
> Otherwise, it's just
>
> $ cd /where-I-keep-my-local-and-cloned-git-repos/Pale-Moon/
> git clone --bare . /where-my-apache-serves-git-from/Pale-Moon.git/
>
> and then
>
> # /var/www/localhost/cgi-bin/cgit.cgi \
> --scan-tree=/where-my-apache-serves-git-from/ > cgit-repos
>
> (and append that to /etc/cgit-repos)
> )
>
> I'm actually kind of almost disbelieving that this has happened, because the
> naming appears as if it worked out by some luck, so unusual it is, with the
> spaces in the filenames
> (
> e.g. just see the:
>
> git3-src EGIT_MIRROR_URI=git:
>
> name of the directory, first level underneath /usr/portage/distfiles/
> ).
>
> It couldn't have been designed to be this kind of strange naming in the
> very /usr/portage/distfiles/ , or could it?
>
> Is this regular, or have I successfully installed by some chance?
>
> Thanks if there will be any explanations and advice. And in the meantime, I
> really enjoy using Pale Moon in my Gentoo, both master and, of course,
> clone(s)!
>
> Regards!
>

Could you be a bit more concise? I'm not sure what exactly you're asking
about. A simple question or two might be enough to better explain your
problem.

--
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
Re: Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM [ In reply to ]
On 161223-23:29-0800, Daniel Campbell wrote:
> On 12/23/2016 08:58 AM, Miroslav Rovis wrote:
...
> >
> > Thanks if there will be any explanations and advice. And in the meantime, I
> > really enjoy using Pale Moon in my Gentoo, both master and, of course,
> > clone(s)!
> >
> > Regards!
> >
>
> Could you be a bit more concise? I'm not sure what exactly you're asking
> about. A simple question or two might be enough to better explain your
> problem.
It doesn't look easy to me to do it.

With palemoon Gentoo overlay cloned, and Pale-Moon sources cloned, and
the sources git served by cgit installed on apache, I managed to install
Palemoon successfully.

But it's strange, because it installed in /usr/portage/distfiles with
strange directory names in the structure. Most prominently strange
being:

git3-src EGIT_MIRROR_URI=git:

(that's the name of the dir first level under /usr/portage/distfiles,
but there are more underneath)

Is that expected behavior with EAPI=6 in the ebuild, or is it a
successful installation just by some stroke of luck?

Note: the installed palemoon (but we're in the cloned system, another
system of same hardware as the Air-Gapped system where I installed...),
which I'm browsing online with, works faultlessly, as if I had installed
it regularly with layman and emerge while being online.

For any more detail, pls. look in the very detailed account of the
entire installation in my previous email which I took several hours to
write to my best ability.

> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
> fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
>

Thank you for your kind consideration!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Re: Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM [ In reply to ]
On 161223-17:58+0100, Miroslav Rovis wrote:
> On 161223-05:38+0100, Miroslav Rovis wrote:
> > It took me all of my skills ;-) . But I installed Pale Moon
> ...
> > That's new technology. EAPI=6 in the ebuild
> > Nothing I've seen in my previous 7 years as Gentoo
...
>
> The git object pack sources, guess where they are by looking up:
>
> # du -hs /usr/portage/distfiles/git3-src\
> EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
>
> 48K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/hooks/
>
> 8.0K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/info/
>
> 283M /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/objects/
>
> 744K /usr/portage/distfiles/git3-src
> EGIT_MIRROR_URI=git:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/refs/
>
> #
>
> ( reformatted the above output for email, but those are 5 distinct lines of
> stdout only )
>
...
>
> What is needed in the /etc/portage/make.conf is:
>
> EGIT3_STORE_DIR=${DISTDIR}/git3-src"
> EGIT_MIRROR_URI=git://localhost/cgi-bin/cgit.cgi/"
>
> ( Note at proofreading time: true, that is still stuck in the make.conf,
> and it is what was in there when the successful install happend, but
> shouldn't it be http://localhost/cgi-bin/cgit.cgi/ instead? )

I tried changing that (and updated, the Air-Gapped way, to

www-client/palemoon-27.0.3-r7

(which is my local bump of
www-client/palemoon-27.0.3-r1 from unofficial)

, and the only difference is that now, the top dir
in /usr/portage/distfiles/ looks:

# ls -l /usr/portage/distfiles/git3-src\ EGIT_MIRROR_URI\=http\:/
total 4
drwxr-xr-x 3 portage portage 4096 2017-01-10 02:54 localhost
#

while previously was:

EGIT_MIRROR_URI\=git\:/

instead of what is now:

EGIT_MIRROR_URI\=http\:/

The rest is all the same.

But, again, Palemoon works just fine. And my wonder about it still
remains. But it works, and seems a reliable method.

Just thought to make clear on this. This email should appear in reply to
where I explained it as really the best I could.

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Re: Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM [ In reply to ]
It still looks awkward directory names like below:

On 170111-06:50+0100, Miroslav Rovis wrote:
> On 161223-17:58+0100, Miroslav Rovis wrote:
> > On 161223-05:38+0100, Miroslav Rovis wrote:
...
> ...
> >
> > The git object pack sources, guess where they are by looking up:
> >
> > # du -hs /usr/portage/distfiles/git3-src\
> > EGIT_MIRROR_URI\=git\:/localhost/cgi-bin/cgit.cgi/cgi-bin_cgit.cgi_Pale-Moon.git/*/
> >
...

And this is fresh, current:

( not a quote, but a paste from a terminal, the second line below )
# ls -ABgo \
> "/usr/portage/distfiles/git3-src EGIT_MIRROR_URI=http:/localhost/cgi-bin/cgit.cgi/"
total 12
drwxr-xr-x 6 4096 2017-02-19 00:17 cgi-bin_cgit.cgi_gnurl.git
drwxr-xr-x 6 4096 2017-02-13 23:54 cgi-bin_cgit.cgi_Pale-Moon.git
drwxr-xr-x 6 4096 2017-02-18 22:53 gnurl.git
#

The gnurl.git, the last, is empty. It is empty because I wasn't online, and I
wasn't because I don't want to just be online and trust what happens
when I install packages while being open... And so it couldn't pull from
online git's.

But the other two:

cgi-bin_cgit.cgi_gnurl.git
cgi-bin_cgit.cgi_Pale-Moon.git

have done their work. From my Apache-served Cgit.

Gnurl I have installed in this awkward-directory-names way just very
early this morning (more about what I needed it for further below), and
Pale-Moon I have installed back when I made this pull request:

https://github.com/deuiore/palemoon-overlay/pull/34

This method works! (If I had time, I'd query with the cgit devs and
remove the cgi-bin_cgit.cgi string from my Apache served Cgit (it's
actually http://<my-mirror>/cgi-bin/cgit.cgi/<...>) , but hey,
it works, so it's not urgent.)

In other words, some (not all, YMMV) of my pull request is anyway, via
Air-Gapped or via total-online install, applicable for anybody who wants
to _test_ Pale Moon in Gentoo!

Just thought to let you people know.

As far as Pale Moon, you get the bleeding edge this way.

And, yes, in comparison to its parent which it forked from, the big
business Firefox, Pale Moon is an Angel of Honesty! And I don't have
many issues with Pale Moon, at all! Esp. not surveillance issues like
with Firefox!

And about Gnurl and what I needed it for. I needed it for Gnunet.
Aaahhh.. What is that, some may ask (that's how this great idea is
little known in some circles)? See here:

https://wiki.gentoo.org/wiki/Overlay_Talk:Youbroketheinternet
http://youbroketheinternet.org/#overlay
https://gnunet.org/node/2634 (
but the author is a renegade Gentoo developer, maybe that's why it is
not well known, see here for more:
https://secure-os.org/pipermail/desktops/2017-February/000171.html
)

But I need to make another thread about Subversion server that I need to
set up, because gnunet is svn-served...

Regards!
--
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr