-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 73dd43c
Showing
15 changed files
with
955 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
------------------------------------------------------------------------------- | ||
Version 20191213 (2019-12-13) | ||
------------------------------------------------------------------------------- | ||
* Added German locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20191128 (2019-11-28) | ||
------------------------------------------------------------------------------- | ||
* Added Greek locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20191019 (2019-10-19) | ||
------------------------------------------------------------------------------- | ||
* Added Hungarian locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20190630 (2019-06-30) | ||
------------------------------------------------------------------------------- | ||
* Added Russian locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20190223 (2019-02-23) | ||
------------------------------------------------------------------------------- | ||
* Added Italian locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20190205 (2019-02-05) | ||
------------------------------------------------------------------------------- | ||
* Added French locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20190202 (2019-02-02) | ||
------------------------------------------------------------------------------- | ||
* Added Brazilian locale | ||
|
||
------------------------------------------------------------------------------- | ||
Version 20190128 (2019-01-28) | ||
------------------------------------------------------------------------------- | ||
* Initial release |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Sparky Server | ||
|
||
This provides an post-install script of all Sparky Server editions. | ||
|
||
Copyright (C) 2019 Paweł Pijanowski | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it 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. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
Dependencies: | ||
--------------- | ||
apt | ||
bash | ||
coreutils | ||
dialog | ||
grep | ||
sparky-ad-server | ||
|
||
Install: | ||
------------- | ||
su (or sudo) | ||
./install.sh | ||
|
||
Uninstall: | ||
------------- | ||
su (or sudo) | ||
./install.sh uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/bin/bash | ||
|
||
# sparky-server script lets you install and set up the server edition on the top of sparky installation | ||
# Copyright Paweł Pijanowski "pavroo" <[email protected]> 2019 | ||
# Under the GNU GPL3 License | ||
# | ||
# iso pre-installed deps: base-files, iputils-ping, linux-headers-amd64|linux-headers-686-pae, linux-image-amd64|linux-image-686-pae, mgetty, net-tools, openssh-server, postfix, sparky-apt-sb, sparky-server | ||
# | ||
# server iso name with a suffix: server or sbserver | ||
# client iso name with a suffix: client or client-light | ||
# | ||
# Last update 2019/12/13 by pavroo | ||
|
||
# get default's locale file | ||
DEFLOCDIR="/usr/share/sparky/sparky-server" | ||
if [ "`cat /etc/default/locale | grep de`" != "" ]; then | ||
. $DEFLOCDIR/de | ||
elif [ "`cat /etc/default/locale | grep el`" != "" ]; then | ||
. $DEFLOCDIR/el | ||
elif [ "`cat /etc/default/locale | grep fr`" != "" ]; then | ||
. $DEFLOCDIR/fr | ||
elif [ "`cat /etc/default/locale | grep hu`" != "" ]; then | ||
. $DEFLOCDIR/hu | ||
elif [ "`cat /etc/default/locale | grep it`" != "" ]; then | ||
. $DEFLOCDIR/it | ||
elif [ "`cat /etc/default/locale | grep pl`" != "" ]; then | ||
. $DEFLOCDIR/pl | ||
elif [ "`cat /etc/default/locale | grep pt_BR`" != "" ]; then | ||
. $DEFLOCDIR/pt_BR | ||
elif [ "`cat /etc/default/locale | grep ru`" != "" ]; then | ||
. $DEFLOCDIR/ru | ||
else | ||
. $DEFLOCDIR/en | ||
fi | ||
|
||
# set options | ||
DIALOG=`which dialog` | ||
HEIGHT="17" | ||
WIDTH="75" | ||
TITLE="--title " | ||
YESNO="--yesno " | ||
TITLETEXT="Sparky Server Installer" | ||
TESTROOT=`whoami` | ||
|
||
if [ "$TESTROOT" != "root" ]; then | ||
echo "$LOCAL1 ... $LOCAL2 ..." | ||
exit 1 | ||
else | ||
/usr/bin/sparky-ad-server | ||
# remove server post-install scripts | ||
$DIALOG $TITLE"$TITLETEXT" $YESNO "$LOCAL3" $HEIGHT $WIDTH | ||
if [ "$?" = "0" ]; then | ||
apt-get purge sparky-server sparky-ad-server -y | ||
exit 0 | ||
else | ||
echo "$LOCAL2 ..." | ||
exit 1 | ||
fi | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Upstream Author(s): | ||
Files: * | ||
Copyright (C) 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
License: GPL-3 | ||
|
||
File: de | ||
Copyright (C) 2019 michael <[email protected]> | ||
License: GPL-3 | ||
|
||
File: el | ||
Copyright (C) 2019 jidan | ||
License: GPL-3 | ||
|
||
File: fr | ||
Copyright (C) 2019 hiver <[email protected]> | ||
License: GPL-3 | ||
|
||
File: hu | ||
Copyright 2019 Nemomen | ||
License: GNU GPL-3 | ||
|
||
File: it | ||
Copyright (C) 2019 carlo "malato" <[email protected]> | ||
License: GPL-3 | ||
|
||
File: pt_BR | ||
Copyright (C) 2019 Elton <[email protected]> | ||
License: GPL-3 | ||
|
||
File: ru | ||
Copyright 2019 ChourS2008 | ||
License: GNU GPL-3 | ||
|
||
License: | ||
|
||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
|
||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this package; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
||
On Debian systems, the complete text of the GNU General | ||
Public License can be found in `/usr/share/common-licenses/GPL'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License as | ||
# published by the Free Software Foundation; either version 2 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software Foundation, | ||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | ||
|
||
if [ "$1" = "uninstall" ]; then | ||
rm -f /usr/bin/sparky-server | ||
rm -rf /usr/share/sparky/sparky-server | ||
else | ||
cp bin/sparky-server /usr/bin/ | ||
if [ ! -d /usr/share/sparky/sparky-server ]; then | ||
mkdir -p /usr/share/sparky/sparky-server | ||
fi | ||
cp lang/* /usr/share/sparky/sparky-server/ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# German localization file for Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Under the GNU GPL v2 | ||
# Last update 2019/01/28 by pavroo | ||
# draft translate -michael<[email protected]>2019/11 | ||
LOCAL1="Muss root sein" | ||
LOCAL2="Beende..." | ||
LOCAL3="Die Sparky Server post-install scripts entfernen?" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Greek localization file for Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Under the GNU GPL v2 | ||
# Last update 2019/11/06 by jidan | ||
LOCAL1="Απαιτούνται δικαιώματα διαχειριστή (root)" | ||
LOCAL2="Πραγματοποιείται έξοδος τώρα" | ||
LOCAL3="Αφαίρεση των scripts του Sparky Server που εκτελούνται μετά την εγκατάσταση;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# English localization file for Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Under the GNU GPL v2 | ||
# Last update 2019/01/28 by pavroo | ||
LOCAL1="Must be root" | ||
LOCAL2="Exiting now" | ||
LOCAL3="Remove the Sparky Server post-install scripts?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Fichier de localisation française de Sparky Server. | ||
# Copyright 2019 hiver <[email protected]> 2019/03/03 | ||
# Sous licence GNU GPL v2 | ||
# Dernière mise à jour 2019/03/03 | ||
# | ||
LOCAL1="Vous devez être en mode administrateur..." | ||
LOCAL2="Sortie à présent..." | ||
LOCAL3="Suppression des scripts de post-installation de Sparky Server?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Hungarian localization file for Sparky Server. (Translated by Nemomen) | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Under the GNU GPL v2 | ||
# Last update 2019/01/28 by pavroo | ||
LOCAL1="Root kell legyen!" | ||
LOCAL2="Kilépés most" | ||
LOCAL3="Eltávolítja a Sparky Server utólagosan telepített parancs fáljait?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# File di localizzazione in italiano per Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Rilascciato sotto licenza GNU GPL v2 | ||
# Ultimo aggiornamento 2019/02/22 by carlo "malato" <[email protected]> | ||
LOCAL1="Devi essere root" | ||
LOCAL2="Sto uscendo adesso" | ||
LOCAL3="Intendi rimuovere gli script post installazione di Sparky Server?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Polish localization file for Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Under the GNU GPL v2 | ||
# Last update 2019/01/28 by pavroo | ||
LOCAL1="Musisz działać jako root" | ||
LOCAL2="Kończenie" | ||
LOCAL3="Usunąć poinstalacyjne skrypty Sparky Server?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Arquivo de Tradução Português-Brasil para o Sparky Server. | ||
# Copyright 2019 Paweł‚ "pavroo" Pijanowski <[email protected]> | ||
# Sob a GNU GPL v2 | ||
# Tradução feita por Elton <[email protected]> | ||
# Last update 2019/02/02 by pavroo | ||
LOCAL1="Deve ser root" | ||
LOCAL2="Saindo agora" | ||
LOCAL3="Remover os scripts de pós-instalação do Sparky Server?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Файл русской локализации для Sparky Server. | ||
# Copyright 2019 Paweł "pavroo" Pijanowski <[email protected]> | ||
# Под лицензией GNU GPL v2 | ||
# Last update 2019/01/28 by pavroo | ||
LOCAL1="Должен быть root" | ||
LOCAL2="Выйти" | ||
LOCAL3="Удалить скрипты Sparky Server после установки?" |