gnuboot/website
Denis 'GNUtoo' Carikli 5627c799b5
website: faq: Puri.sm: remove hardware recommendation.
This has several reasons:

- The GNU Boot project didn't review all the hardware made by Pusi.sm,
  especially because Puri.sm also sell hardware that is out of scope
  for the GNU Boot project like USB tokens or SIM cards.

- Reducing the scope to just x86 computers made by Puri.sm instead
  doesn't work either because there is no context to the
  recommendation.

  In harm reduction[1], the Freedom Ladder campaign by the FSF[2], and
  the FSF giving guide[3], context is taken into account so that people
  can make informed choices based on their constraints and choices.

  In practice these approaches make statement like "this computer
  respects more your freedom than this other one", or "this is
  dangerous because of that and you can reduce harm this way, even if
  it's far from perfect" and give context to statements to enable
  people to really understand what it means.

  [1]https://en.wikipedia.org/wiki/Harm_reduction
  [2]https://www.fsf.org/campaigns/campaigns-summaries#ladder
  [3]https://www.fsf.org/givingguide/

At the end of the day it's also less work and maintenance to just
remove that hardware recommendation statement than to review specific
computers that GNU Boot doesn't even support.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2024-08-30 16:36:34 +02:00
..
history website: add history page of the GNU Boot git repositories. 2024-08-30 16:04:55 +02:00
hwdumps website: move hwdumps out of the pages directory. 2024-06-11 20:30:00 +02:00
img Remove old logos, and make the website point to the new ones. 2024-06-16 12:55:14 +02:00
pages website: faq: Puri.sm: remove hardware recommendation. 2024-08-30 16:36:34 +02:00
.gitignore Merge website and website-build. 2024-06-11 20:29:47 +02:00
COPYING Merge website and website-build. 2024-06-11 20:29:47 +02:00
Makefile.am website: add history page of the GNU Boot git repositories. 2024-08-30 16:04:55 +02:00
README Merge website and website-build. 2024-06-11 20:29:47 +02:00
autogen.sh Merge website and website-build. 2024-06-11 20:29:47 +02:00
build.sh website: move images out of the pages directory. 2024-06-11 20:30:04 +02:00
check.sh website: make the website prefix (software/gnuboot) configurable. 2024-06-11 20:29:57 +02:00
configure.ac website: make the website prefix (software/gnuboot) configurable. 2024-06-11 20:29:57 +02:00
index.html.tmpl website: make the website prefix (software/gnuboot) configurable. 2024-06-11 20:29:57 +02:00
lighttpd.conf.tmpl website: add history page of the GNU Boot git repositories. 2024-08-30 16:04:55 +02:00
serve.sh website: make the website prefix (software/gnuboot) configurable. 2024-06-11 20:29:57 +02:00
site.cfg.tmpl website: make the website prefix (software/gnuboot) configurable. 2024-06-11 20:29:57 +02:00

README

== Introduction ==
This directory contains both the website in pages/ and build code to
easily build and deploy the GNU Boot website with very few commands.

If you want to test your own modifications to the dependencies of this
build code, you either need to use the configure options to use
external repositories that have your modifications, or you could also
modify the build.sh script to use different git repositories and/or
revisions.

== Local deployments ==
Here's how to deploy the website in a local webserver:
$ ./autogen.sh
$ ./configure
$ make serve

Then you can point a browser to http://localhost:8086/software/gnuboot/web/ or
to http://localhost:PORT/software/gnuboot/web/ if you changed the port through
./configure options.

== Deployment on https://gnu.org/software/gnuboot/ ==

The deployment to https://gnu.org/software/gnuboot/ uses rsync. As
gnu.org machine is behind a firewall, so you need to workaround
that.

A way to do that is to get a shell account on fencepost.gnu.org, and
use SSH to forward the connection to gnu.org. This can be done with
something like that in your SSH configuration:

    Host fencepost.gnu.org
       User USERNAME

    Host gnu.org
       User wwwcvs
       ProxyJump fencepost.gnu.org

In the example above you will need to adjust the fencepost USERNAME,
and modify it to suit your SSH setup if needed (for instance if you
use keys in different locations, etc). Of course, you'll have to get
access to gnu.org ssh server too.

See https://www.gnu.org/software/README.accounts.html for more details
about Fencepost accounts, the SSH fingerprints, etc.

For gnu.org, it's easier if you use an ED25519 key for gnu.org as I
have the fingerprints below. See [1] for other options.

To check that everything is setup you can then SSH into gnu.org:
    $ ssh gnu.org
    The authenticity of host '[127.0.0.1]:2224 ([127.0.0.1]:2224)' can't be established.
    ED25519 key fingerprint is SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc.
    This host key is known by the following other names/addresses:
        ~/.ssh/known_hosts:306: [127.0.0.1]:4444
    Are you sure you want to continue connecting (yes/no/[fingerprint])?

You can then confirm by pasting the fingerprint like that[2]:
    Are you sure you want to continue connecting (yes/no/[fingerprint])? SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc
    Warning: Permanently added '[127.0.0.1]:2224' (ED25519) to the list of known hosts.

Note that it is normal for the connection to gnu.org to block at this
point. You can exit it with the Ctrl+D or Ctrl+C key combinations.

At this point everything is setup.

To deploy the website, use the following commands from the website
directory:
    $ ./autogen.sh
    $ ./configure
    $ make publish

Then you can point a browser to https://gnu.org/software/gnuboot/web/

References:
-----------
[1]If you want to use RSA the easiest way is probably to contact the
   FSF system administrator that will install your key on #fsfsys and
   also ask that person for the server fingerprint. In that case it
   would be a good idea to also contribute a patch to add the
   fingerprint here.
[2]The 'SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc'
   fingerprint was confirmed to me the 24 October 2023 on the #fsfsys
   IRC channel on liberachat by Ian Kelling, a system administrator
   that has access to the gnu.org machine: "18:07 < iank> i see that
   SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc exists on the
   server".

== Dependencies ==
* autoconf
* automake
* coreutils
* guix
* lighttpd: optional: for testing the website if you don't have Guix.
* make
* tar

== License ==
This project is free software:
- For the files that are in website/pages and the the site.cfg file in
  the same directory than this README see website/pages/license.md for
  the license.
- For all the other files in the same directory than this README, you
  can redistribute them and/or modify them under the terms of the GNU
  General Public License as published by the Free Software Foundation,
  either version 3 of the License, or (at your option) any later
  version.