From 7e4f7b3e01d661f32380fb37bce8c6825d9caadd Mon Sep 17 00:00:00 2001 From: lemoer Date: Mon, 17 Jun 2019 20:19:01 +0200 Subject: [PATCH] Example site --- contrib/ci/minimal-site/i18n/de.po | 108 +++++++++++++ contrib/ci/minimal-site/i18n/en.po | 102 ++++++++++++ contrib/ci/minimal-site/i18n/fr.po | 80 ++++++++++ contrib/ci/minimal-site/i18n/gluon-site.pot | 35 +++++ contrib/ci/minimal-site/modules | 22 +++ contrib/ci/minimal-site/site.conf | 164 ++++++++++++++++++++ contrib/ci/minimal-site/site.mk | 58 +++++++ 7 files changed, 569 insertions(+) create mode 100644 contrib/ci/minimal-site/i18n/de.po create mode 100644 contrib/ci/minimal-site/i18n/en.po create mode 100644 contrib/ci/minimal-site/i18n/fr.po create mode 100644 contrib/ci/minimal-site/i18n/gluon-site.pot create mode 100644 contrib/ci/minimal-site/modules create mode 100644 contrib/ci/minimal-site/site.conf create mode 100644 contrib/ci/minimal-site/site.mk diff --git a/contrib/ci/minimal-site/i18n/de.po b/contrib/ci/minimal-site/i18n/de.po new file mode 100644 index 00000000..51b8e71c --- /dev/null +++ b/contrib/ci/minimal-site/i18n/de.po @@ -0,0 +1,108 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2015-03-19 20:28+0100\n" +"Last-Translator: Matthias Schiffer \n" +"Language-Team: German\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Willkommen zum Einrichtungsassistenten für deinen neuen Alpha Centauri " +"Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen " +"entsprechend aus und sende es ab." + +msgid "gluon-config-mode:domain" +msgstr "Domäne" + +msgid "gluon-config-mode:domain-select" +msgstr "" +"Hier hast du die Möglichkeit, die Mesh-Domäne, in der sich dein Knoten " +"befindet, auszuwählen. Bitte denke daran, dass sich dein Knoten nur mit den " +"Knoten der ausgewählten Domäne verbinden kann." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"

Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem " +"er auf den Servern des Freifunk-Projektes auf Alpha Centauri eingetragen " +"wurde, kann sich dein Knoten mit dem Mesh-VPN dort verbinden. Bitte schicke " +"dazu diesen Schlüssel und den Namen deines Knotens " +"(<%=pcdata(hostname)%>) an " +"&body=" +"<%= urlencode('# ' .. hostname .. '\n# ' .. sysconfig.primary_mac .. '\nkey ') %>" +"%22<%= pubkey %>%22;" +"<%= urlencode('\n\nIch habe zur Kenntnis genommen, dass der im ') %>" +"<%= urlencode('Knoten von mir eingetragene Kontakt im Meshnetz ') %>" +"<%= urlencode('öffentlich abfragbar ist und von beliebigen Diensten ') %>" +"<%= urlencode('(z.B. der Freifunk-Karte) veröffentlicht werden kann.') %>" +"<%= urlencode('\n\nGruß, \n\n') %>" +"\">keys@alpha-centauri.freifunk.net. Deine E-Mail Adresse wird " +"selbstverständlich vertraulich behandelt und nicht weitergegeben." +"

" +"
" +"# <%= pcdata(hostname) %>
" +"<%= pubkey %>" +"
" +"

Dein Knoten startet gerade neu und wird anschließend versuchen, sich mit " +"anderen Freifunkknoten in seiner Nähe über WLAN sowie über deine" +"Internetverbindung über das VPN-Gateway zu verbinden.

" +"

Vergiss nicht das Netzwerkkabel vom LAN Port in den WAN Port " +"umzustecken.

" + +msgid "gluon-config-mode:novpn" +msgstr "" +"

Du hast ausgewählt die Internetverbindung (Mesh-VPN) nicht zu " +"nutzen. Dein Knoten kann also nur dann eine Verbindung zum " +"Freifunk-Netz aufbauen, wenn andere Freifunk-Knoten in WLAN-Reichweite sind." +"

Bitte schicke uns eine E-Mail mit dem Namen deines Knotens " +"(<%= pcdata(hostname) %>) und ein paar Informationen an &" +"body=<%= urlencode('# ' .. hostname .. '\n# ' .. sysconfig.primary_mac .. '\n# kein mesh-VPN') %>" +"<%= urlencode('\n\nIch habe zur Kenntnis genommen, dass der im ') %>" +"<%= urlencode('Knoten von mir eingetragene Kontakt im Meshnetz ') %>" +"<%= urlencode('öffentlich abfragbar ist und von beliebigen Diensten ') %>" +"<%= urlencode('(z.B. der Freifunk-Karte) veröffentlicht werden kann.') %>" +"<%= urlencode('\n\nGruß, \n\n') %>" +"\">kontakt@alpha-centauri.freifunk.net. Deine E-Mail Adresse wird " +"selbstverständlich vertraulich behandelt und nicht weitergegeben.

" +"

Dein Knoten <%= pcdata(hostname) %> startet gerade neu und wird " +"anschließend versuchen, sich mit anderen Freifunkknoten in seiner Nähe über " +"WLAN zu verbinden.

" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

Weitere Informationen zur " +"Alpha Centauri Freifunk-Community findest du auf " +"unserer " +"Webseite.

" +"

Um zu dieser Konfigurationsseite zurückzugelangen, drücke im normalen " +"Betrieb für ca. 10 Sekunden den Reset-Button. Das Gerät wird dann im Config " +"Mode neustarten.

" +"

Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!

" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-hostname/i18n/ +msgid "gluon-config-mode:hostname-help" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-geo-location/i18n/ +msgid "gluon-config-mode:geo-location-help" +msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-contact-info/i18n/ +msgid "gluon-config-mode:contact-help" +msgstr "" + +msgid "gluon-config-mode:contact-note" +msgstr "" diff --git a/contrib/ci/minimal-site/i18n/en.po b/contrib/ci/minimal-site/i18n/en.po new file mode 100644 index 00000000..eef8bd08 --- /dev/null +++ b/contrib/ci/minimal-site/i18n/en.po @@ -0,0 +1,102 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2016-02-04 14:28+0100\n" +"Last-Translator: David Lutz \n" +"Language-Team: English\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Welcome to the setup wizard of your new Freifunk Alpha Centauri node. Please " +"fill out the following form and submit it." + +msgid "gluon-config-mode:domain" +msgstr "Domain" + +msgid "gluon-config-mode:domain-select" +msgstr "" +"Here you have the possibility of selecting the mesh domain in which your node " +"is placed. Please keep in mind that your router only connects with the nodes " +"of the selected domain." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"

This is your Freifunk node's public key. The node won't be able to " +"connect to the mesh VPN until the key has been registered on the Freifunk " +"servers. To register, send the key together with your node's name " +"(<%=pcdata(hostname)%>) to " +"&body=" +"<%= urlencode('# ' .. hostname .. '\n# ' .. sysconfig.primary_mac .. '\nkey ') %>" +"%22<%= pubkey %>%22;" +"<%= urlencode('\n\nI have taken note that the contact I entered in the ') %>" +"<%= urlencode('node is publicly available on the Internet and can be ') %>" +"<%= urlencode('used by any services (e.g. the meshviewer map).') %>" +"<%= urlencode('\n\nThanks, \n\n') %>" +"\">keys@alpha-centauri.freifunk.net. Of course, your e-mail address will " +"be treated confidentially and will not be passed on.

" +"
" +" # <%= pcdata(hostname) %>
" +"<%= pubkey %>" +"
" +"

Your node <%= pcdata(hostname) %> is currently rebooting and will " +"try to connect to other nearby Freifunk nodes via WLAN and to a VPN-gateway " +"via your internet connection after the reboot is finished.

" +"

Don't forget to plug the network cable from the LAN port to the WAN port." +"

" + +msgid "gluon-config-mode:novpn" +msgstr "" +"

You have selected not to use the mesh VPN. " +"Your node will only be able to connect to the Freifunk network if other nodes " +"in reach already have a connection.

" +"Please send an e-mail with the name of your node " +"(<%=pcdata(hostname)%>) and some additional information to " +"&body=" +"<%= urlencode('# ' .. hostname .. '\n# ' .. sysconfig.primary_mac .. '\nkey ') %>" +"%22<%= pubkey %>%22;" +"<%= urlencode('\n\nI have taken note that the contact I entered in the ') %>" +"<%= urlencode('node is publicly available on the Internet and can be ') %>" +"<%= urlencode('used by any services (e.g. the meshviewer map).') %>" +"<%= urlencode('\n\nThanks, \n\n') %>" +"\">keys@alpha-centauri.freifunk.net. Of course, your e-mail address will " +"be treated confidentially and will not be passed on.

" +"

Your node <%= pcdata(hostname) %> is currently rebooting and will " +"try to connect to other nearby Freifunk nodes after that.

" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

For more information about the Freifunk community on Alpha Centauri, have a " +"look at our " +"homepage.

" +"

To get back to this configuration interface, press the reset button for " +"about 10 seconds during normal operation. The device will then reboot into " +"config mode.

" +"

Have fun with your node and exploring of the Freifunk network!

" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-hostname/i18n/ +msgid "gluon-config-mode:hostname-help" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-geo-location/i18n/ +msgid "gluon-config-mode:geo-location-help" +msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-contact-info/i18n/ +msgid "gluon-config-mode:contact-help" +msgstr "" + +msgid "gluon-config-mode:contact-note" +msgstr "" diff --git a/contrib/ci/minimal-site/i18n/fr.po b/contrib/ci/minimal-site/i18n/fr.po new file mode 100644 index 00000000..ba0f43a4 --- /dev/null +++ b/contrib/ci/minimal-site/i18n/fr.po @@ -0,0 +1,80 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2015-08-06 20:28+0100\n" +"Last-Translator: Tobias Bernot \n" +"Language-Team: French\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Bienvenue dans l'assistant de configuration pour votre nouveau nœud " +"Freifunk. Remplissez le formulaire suivant en fonction de vos besoins " +"et enregistrez le." + +msgid "gluon-config-mode:domain" +msgstr "Domaine" + +msgid "gluon-config-mode:domain-select" +msgstr "Ici, vous avez la possibilité de sélectionner le domaine dans lequel " +"se trouve votre nœud. N'oubliez pas que votre nœud ne peut se connecter " +"qu'aux nœuds du domaine sélectionné." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"

Ceci est la clé publique de votre nœud Freifunk. Seulment après que la clé " +"soit entrée sur les serveurs de votre groupe de Freifunk votre nœud pourra se " +"connecter sur les serveur Mesh-VPN de votre groupe Freifunk. Veuillez envoyer " +"la clé avec le nom de votre nœud " +"(<%=pcdata(hostname)%>) à " +"&" +"body=<%= urlencode('# ' .. hostname .. '\n' .. pubkey) %>\">keys@alpha-centauri.freifunk.net." +"

" +"
" +" # <%= pcdata(hostname) %>
" +"<%= pubkey %>" +"
" + +msgid "gluon-config-mode:novpn" +msgstr "" +"

Vous avez choisi de ne pas utiliser " +"le réseau VPN. Votre nœud ne pourra se connecter au réseau Freifunk que si " +"d'autres nœuds à portée ont déjà une connexion.

" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

Votre nœud <%= pcdata(hostname) %> es en train de redémarrer et " +"va ensuite éssayer de se connecter avec les autres nœuds du réseau Freifunk " +"Vous pourrez trouver plus d'informations sur votre groupe Freifunk sur la page " +" de ton " +"groupe .

" +"

Pour retrouver cette page de configuration veuillier appuyez pendant le " +"fonctionement normal pendant 3 Secondes sur le bouton reset. L'appareil va " +"ensuite redémarer en mode configuration.

" +"

Profitez votre de nœud et amusez vous à découvrir le réseau Freifunk!

" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-hostname/i18n/ +msgid "gluon-config-mode:hostname-help" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-geo-location/i18n/ +msgid "gluon-config-mode:geo-location-help" +msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +# Leave empty to use the default text, which can be found in: +# package/gluon-config-mode-contact-info/i18n/ +msgid "gluon-config-mode:contact-help" +msgstr "" + +msgid "gluon-config-mode:contact-note" +msgstr "" diff --git a/contrib/ci/minimal-site/i18n/gluon-site.pot b/contrib/ci/minimal-site/i18n/gluon-site.pot new file mode 100644 index 00000000..b06b126b --- /dev/null +++ b/contrib/ci/minimal-site/i18n/gluon-site.pot @@ -0,0 +1,35 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "gluon-config-mode:welcome" +msgstr "" + +msgid "gluon-config-mode:domain" +msgstr "" + +msgid "gluon-config-mode:domain-select" +msgstr "" + +msgid "gluon-config-mode:pubkey" +msgstr "" + +msgid "gluon-config-mode:novpn" +msgstr "" + +msgid "gluon-config-mode:reboot" +msgstr "" + +msgid "gluon-config-mode:hostname-help" +msgstr "" + +msgid "gluon-config-mode:geo-location-help" +msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +msgid "gluon-config-mode:contact-help" +msgstr "" + +msgid "gluon-config-mode:contact-note" +msgstr "" diff --git a/contrib/ci/minimal-site/modules b/contrib/ci/minimal-site/modules new file mode 100644 index 00000000..05856ce4 --- /dev/null +++ b/contrib/ci/minimal-site/modules @@ -0,0 +1,22 @@ +# This file allows specifying additional repositories to use +# when building gluon. +# +# In most cases, it is not required so don't add it. + +## GLUON_SITE_FEEDS +# for each feed name given, add the corresponding PACKAGES_* lines +# documented below +#GLUON_SITE_FEEDS='my_own_packages' + +## PACKAGES_$feedname_REPO +# the git repository from where to clone the package feed +#PACKAGES_MY_OWN_PACKAGES_REPO=https://github.com/.../my-own-packages.git + + +## PACKAGES_$feedname_COMMIT +# the version/commit of the git repository to clone +#PACKAGES_MY_OWN_PACKAGES_COMMIT=123456789aabcda1a69b04278e4d38f2a3f57e49 + +## PACKAGES_$feedname_BRANCH +# the branch to check out +#PACKAGES_MY_OWN_PACKAGES_BRANCH=my_branch diff --git a/contrib/ci/minimal-site/site.conf b/contrib/ci/minimal-site/site.conf new file mode 100644 index 00000000..0a8eb3cb --- /dev/null +++ b/contrib/ci/minimal-site/site.conf @@ -0,0 +1,164 @@ +-- This is an example site configuration for Gluon v2018.2+ +-- +-- Take a look at the documentation located at +-- https://gluon.readthedocs.io/ for details. +-- +-- This configuration will not work as is. You're required to make +-- community specific changes to it! +{ + -- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional) + -- hostname_prefix = 'freifunk-', + + -- Name of the community. + site_name = 'Continious Integration', + + -- Shorthand of the community. + site_code = 'ci', + + -- 32 bytes of random data, encoded in hexadecimal + -- This data must be unique among all sites and domains! + -- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' >' "$2" +# to decide if a version is newer or not. + +DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d') + +# Variables set with ?= can be overwritten from the command line + +## GLUON_RELEASE +# call make with custom GLUON_RELEASE flag, to use your own release version scheme. +# e.g.: +# $ make images GLUON_RELEASE=23.42+5 +# would generate images named like this: +# gluon-ff%site_code%-23.42+5-%router_model%.bin + +GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE) + +# Default priority for updates. +GLUON_PRIORITY ?= 0 + +# Region code required for some images; supported values: us eu +GLUON_REGION ?= eu + +# Languages to include +GLUON_LANGS ?= en de + +# Do not build images for deprecated devices +GLUON_DEPRECATED ?= 0