gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch stable updated (8e6470f -> ea1e63d)


From: gnunet
Subject: [www] branch stable updated (8e6470f -> ea1e63d)
Date: Sun, 12 Jan 2020 09:15:19 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a change to branch stable
in repository www.

    from 8e6470f  Merge branch 'master' into stable
     add 6b211fb  add OpenWrt install guide
     add f500d0d  we do support gentoo…
     add 4235ab6  why arent you using something like blockchain?
     add ef74eae  update versions
     new ea1e63d  Merge branch 'master' into stable

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 static/images/gentoo-logo.svg       |   1 +
 static/images/openwrt-logo.svg      |   8 +++
 template/install-on-openwrt.html.j2 | 117 ++++++++++++++++++++++++++++++++++++
 template/install.html.j2            |  14 +++--
 4 files changed, 135 insertions(+), 5 deletions(-)
 create mode 100644 static/images/gentoo-logo.svg
 create mode 100644 static/images/openwrt-logo.svg
 create mode 100644 template/install-on-openwrt.html.j2

diff --git a/static/images/gentoo-logo.svg b/static/images/gentoo-logo.svg
new file mode 100644
index 0000000..1eda7bd
--- /dev/null
+++ b/static/images/gentoo-logo.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 
1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";><svg width="100%" 
height="100%" viewBox="0 0 500 600" version="1.1" 
xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; 
xml:space="preserve" 
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g
 id="Ebene 1"><g><path d="M288.025,447.225l8.379,0l0,100.979c-2.793,-0.059 
-5.82,0.116 -8.467,- [...]
\ No newline at end of file
diff --git a/static/images/openwrt-logo.svg b/static/images/openwrt-logo.svg
new file mode 100644
index 0000000..f25e9b3
--- /dev/null
+++ b/static/images/openwrt-logo.svg
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" width="400" height="92" 
viewBox="0 0 40000 9200">
+  <path fill="#A6A6A6" d="M33817 8423c0,63 8,153 50,204 30,35 64,53 110,53 
46,0 81,-16 110,-51 42,-50 49,-148 49,-210 0,-62 -7,-148 -50,-198 -29,-34 
-61,-51 -106,-51 -47,0 -83,17 -113,53 -42,50 -50,137 -50,200l0 0 0 0zm-1567 
-7c0,-55 -7,-130 -44,-174 -27,-31 -57,-45 -98,-45 -34,0 -57,14 -78,40 -35,43 
-40,138 -40,190 0,53 6,137 42,180 22,27 47,42 82,42 39,0 68,-15 93,-44 37,-44 
43,-135 43,-189l0 0zm-1774 -201c-8,-22 -19,-43 -33,-57 -29,-29 -66,-37 -106,-37 
-52,0 -90,19 -122,61 -7,10 -13,2 [...]
+  <path fill="black" d="M35108 7761l474 0 0 192c68,-80 137,-138 207,-171 
69,-34 153,-51 252,-51 106,0 189,19 251,56 62,37 112,93 151,166 80,-86 152,-145 
218,-176 66,-31 147,-47 243,-47 142,0 253,42 332,126 80,84 120,215 120,394l0 
828 -508 0 0 -753c0,-60 -12,-105 -35,-133 -34,-46 -76,-68 -126,-68 -60,0 
-108,22 -144,65 -36,43 -55,113 -55,208l0 682 -509 0 0 -726c0,-58 -3,-97 
-10,-118 -11,-33 -29,-60 -56,-80 -26,-20 -58,-30 -94,-30 -58,0 -106,22 -144,66 
-38,44 -56,116 -56,216l0 673 -509 0 0  [...]
+  <path fill="black" d="M15550 3666c-63,-42 -137,-53 -216,-53 -81,0 -144,17 
-200,53l416 0 0 0zm-5978 810c0,140 16,373 113,486 62,73 127,102 223,102 70,0 
111,-28 155,-82 87,-106 100,-414 100,-541 0,-136 -14,-392 -107,-504 -48,-58 
-92,-92 -168,-92 -90,0 -147,31 -204,99 -97,113 -112,393 -112,532zm-6887 
-820c0,294 31,778 234,1015 156,182 357,244 594,244 231,0 444,-54 597,-234 
201,-237 226,-815 226,-1106 0,-287 -34,-715 -235,-943 -160,-182 -365,-243 
-605,-243 -233,0 -422,68 -576,245 -204,237  [...]
+  <path fill="white" d="M38566 687l0 1629 907 0 0 1207 -907 0 0 1519c0,182 
18,303 53,363 54,91 150,137 286,137 122,0 293,-35 513,-105l122 1137c-409,90 
-791,134 -1146,134 -412,0 -716,-52 -911,-157 -194,-105 -338,-265 -433,-478 
-93,-214 -140,-561 -140,-1039l0 -1511 -608 0 0 -1207 608 0 0 -787 1656 -842 0 0 
0 0zm-6090 1629l1551 0 0 700c150,-305 304,-514 462,-629 160,-114 355,-171 
588,-171 246,0 513,76 803,227l-513 1167c-195,-81 -351,-121 -465,-121 -216,0 
-386,90 -505,267 -171,251 -257,721 - [...]
+</svg>
\ No newline at end of file
diff --git a/template/install-on-openwrt.html.j2 
b/template/install-on-openwrt.html.j2
new file mode 100644
index 0000000..b49104a
--- /dev/null
+++ b/template/install-on-openwrt.html.j2
@@ -0,0 +1,117 @@
+{% extends "common/base.j2" %}
+{% block body_content %}
+<article class="container">
+
+  <header>
+    <h1>{{ _("Tutorial: GNUnet on OpenWrt") }}</h1>
+  </header>
+
+  Welcome to this GNUnet tutorial for <a 
href="https://www.openwrt.org";>OpenWrt</a>.
+
+  Running on OpenWrt allows having a GNUnet node on embedded Linux systems or
+  inside a very tiny virtual machine. This tutorial shows you how to
+  install, run, and operate it.
+
+  <h2>{{ _("Installation") }}</h2>
+
+  <p>To run GNUnet in meaningful way, you will need a system with at least 16MB
+  of flash storage and at least 64MB of RAM (128MB of more recommended).</p>
+
+  <p>OpenWrt ships with up-to-date packages GNUnet, so you can install it right
+  from the OpenWrt packages repository without having to build things
+  yourself.</p>
+  <p>GNUnet has been split into a high number of small packages, allowing to 
select
+  anything between the most simple setup supporting GNS and gnunet-vpn:
+  <p><code>
+  root@OpenWrt:/# opkg update<br/>
+  ...<br/>
+  root@OpenWrt:/# opkg install gnunet gnunet-gns-flat gnunet-peerstore-flat 
gnunet-vpn gnunet-transport-tcp gnunet-transport-http_client
+  </code></p>
+  <p>...and a full blown GNUnet node for filesharing:</p>
+  <p>First of all, setup an external (USB, ...) storage volume to contain 
GNUnet's databases, see <a 
href="https://openwrt.org/docs/guide-user/storage/fstab";>OpenWrt's user guide: 
Fstab Configuration</a>.<br/>Then install PostgreSQL:</p>
+  <p><code>
+  root@OpenWrt:/# opkg update<br/>
+  ...<br/>
+  root@OpenWrt:/# opkg install pgsql-server pgsql-cli<br/>
+  ...
+  </code></p>
+  <p>Now configure PGDATA directory in /etc/config/postgresql to be located on 
your external storage volume. When restarting the postgresql init.d service you 
should see the new database directory being initialized.<br/>Then install 
GNUnet itself:</p>
+  <p><code>
+  root@OpenWrt:/# opkg install gnunet gnunet-dhtcache-pgsql gnunet-fs-pgsql 
gnunet-gns-pgsql gnunet-peerstore-flat gnunet-vpn gnunet-transport-tcp 
gnunet-transport-http_client
+  </code></p>
+
+  <p>Congrats! GNUnet is now installed!</p>
+
+  <p>Alternatively you can also use the OpenWrt ImageBuilder to generate 
ready-made images with those packages pre-installed.</p>
+
+  <h2>{{ _("Configuration") }}</h2>
+
+  <p>GNUnet's configuration is contained in OpenWrt's UCI by a simple 
translation
+  mechanism overlaying options set in UCI on GNUnet's default 
configuration.<br/>
+  In this way, only the options changed by the user are persistent in UCI.
+  Example:</p>
+  <p><code>
+  root@OpenWrt:/# uci show gnunet<br/>
+  gnunet.nse=gnunet-config<br/>
+  gnunet.nse.WORKDELAY='500 ms'<br/>
+  gnunet.dhtcache=gnunet-config<br/>
+  gnunet.dhtcache.DATABASE='postgres'<br/>
+  gnunet.datastore=gnunet-config<br/>
+  gnunet.datastore.DATABASE='postgres'<br/>
+  gnunet.namestore=gnunet-config<br/>
+  gnunet.namestore.DATABASE='postgres'<br/>
+  gnunet.namecache=gnunet-config<br/>
+  gnunet.namecache.DATABASE='postgres'<br/>
+  gnunet.peerstore=gnunet-config<br/>
+  gnunet.peerstore.DATABASE='flat'<br/>
+  gnunet.peerstore_flat=gnunet-config<br/>
+  gnunet.peerstore_flat.FILENAME='/etc/gnunet/peerstore.flat'<br/>
+  gnunet.psycstore=gnunet-config<br/>
+  gnunet.psycstore.DATABASE='postgres'<br/>
+<br/>
+  root@OpenWrt:/# uci set 
gnunet.peerstore_flat.FILENAME='/mnt/sda1/gnunet/peerstore.flat'<br/>
+  root@OpenWrt:/# uci commit gnunet<br/>
+  </code></p>
+
+  <h2>{{ _("Use") }}</h2>
+
+  <p>OpenWrt's procd runs the gnunet-arm service manager which then runs 
GNUnet services. We can list them with the -I option:</p>
+
+  <p><code>
+  root@OpenWrt:/etc# gnunet-arm -I<br/>
+  Services (excluding stopped services):<br/>
+  (started: 24 / stopped: 14 / finished: 1)<br/>
+  ats (binary='gnunet-service-ats', status=started)<br/>
+  cadet (binary='gnunet-service-cadet', status=started)<br/>
+  core (binary='gnunet-service-core', status=started)<br/>
+  datastore (binary='gnunet-service-datastore', status=started)<br/>
+  dht (binary='gnunet-service-dht', status=started)<br/>
+  fs (binary='gnunet-service-fs', status=started)<br/>
+  gns (binary='gnunet-service-gns', status=started)<br/>
+  hostlist (binary='gnunet-daemon-hostlist', status=started)<br/>
+  namecache (binary='gnunet-service-namecache', status=started)<br/>
+  namestore (binary='gnunet-service-namestore', status=started)<br/>
+  nat (binary='gnunet-service-nat', status=started)<br/>
+  nse (binary='gnunet-service-nse', status=started)<br/>
+  peerinfo (binary='gnunet-service-peerinfo', status=started)<br/>
+  peerstore (binary='gnunet-service-peerstore', status=started)<br/>
+  resolver (binary='gnunet-service-resolver', status=started)<br/>
+  rest (binary='gnunet-rest-server', status=started)<br/>
+  revocation (binary='gnunet-service-revocation', status=started)<br/>
+  rps (binary='gnunet-service-rps', status=started)<br/>
+  set (binary='gnunet-service-set', status=started)<br/>
+  statistics (binary='gnunet-service-statistics', status=started)<br/>
+  topology (binary='gnunet-daemon-topology', status=started)<br/>
+  transport (binary='gnunet-service-transport', status=started)<br/>
+  vpn (binary='gnunet-service-vpn', status=started)<br/>
+  zonemaster (binary='gnunet-service-zonemaster', status=started)<br/>
+  zonemaster-monitor (binary='gnunet-service-zonemaster-monitor', 
status=finished)<br/>
+  </code></p>
+
+  <h2>{{ _("Make sure, it works!") }}</h2>
+   <p>
+        Please head over here: <a 
href="https://gnunet.org/en/use.html";>Use!</a>
+   <p>
+
+</article>
+{% endblock body_content %}
diff --git a/template/install.html.j2 b/template/install.html.j2
index 2245b9f..9ec29ae 100644
--- a/template/install.html.j2
+++ b/template/install.html.j2
@@ -18,9 +18,9 @@
   <h3>Current release downloads:</h3>
   <div class="row container justify-content-center">
     <div class="col-md">
-    <b>gnunet</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-0.12.0.tar.gz";>0.12.0</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-0.12.0.tar.gz.sig";>sig</a>) 
sha512sum: 
<tt>5457d6f80478b28821de70b4da419d40d6972d270622bdeb83e5552b286fd032</tt><br>
-    <b>gnunet-gtk</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-gtk-0.12.0.tar.gz";>0.12.0</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-gtk-0.12.0.tar.gz.sig";>sig</a>) 
sha512sum: 
<tt>cb99da11d68107f9709ee5be49cc574e9a03054767334767930ae6b0bd1a4421</tt><br/>
-    <b>gnunet-fuse</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-fuse-0.12.0.tar.gz";>0.12.0</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-fuse-0.12.0.tar.gz.sig";>sig</a>) 
sha512sum: 
<tt>4d42dc3112f36ada150b3904e207b93373c90d4fbd5a1c6415ee7f5c6a428e3b</tt>
+    <b>gnunet</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-latest.tar.gz";>0.12.1</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-latest.tar.gz.sig";>sig</a>)<br>
+    <b>gnunet-gtk</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-gtk-latest.tar.gz";>0.12.0</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-gtk-latest.tar.gz.sig";>sig</a>)<br/>
+    <b>gnunet-fuse</b>: <a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-fuse-latest.tar.gz";>0.12.0</a> (<a 
href="http://ftpmirror.gnu.org/gnunet/gnunet-fuse-latest.tar.gz.sig";>sig</a>)
     </div>
   </div>
   <h3>Instructions</h3><br/>
@@ -63,14 +63,18 @@
 
   <div class="row container justify-content-center text-center">
     <div class="col-md">
-      <h2><a href="install-on-macos.html">Apple macOS</a></h2>
-      <h3>macOS</h3>
+      <h1><a href="install-on-macos.html">Apple<br/>macOS</a></h1>
     </div>
     <div class="col-md">
       <p><a href="install-on-archpi.html"><img src="{{ 
url('static/images/archlinux-logo.svg') }}" class="distro-logo" 
style="width:300px;height:auto"></a></p>
       <h3>Arch Linux/Arch-Pi</h3>
     </div>
     <div class="col-md">
+      <p><a href="install-on-openwrt.html"><img src ="{{ 
url('static/images/openwrt-logo.svg') }}" class="distro-logo" 
style="width:300px;height:auto"></a></p>
+      <h3>OpenWrt</h3>
+    </div>
+    <div class="col-md">
+      <p><a 
href="https://wiki.gentoo.org/wiki/Overlay:Youbroketheinternet";><img 
alt="gentoo linux" src ="{{ url('static/images/gentoo-logo.svg') }}" 
class="distro-logo" style="width:170px;height:auto"></a></p>
     </div>
   </div>
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]