Skip to content

Commit 68ca03f

Browse files
committed
Merge branch 'hotfix-1.1.1'
* hotfix-1.1.1: Fix fr locale IRC Server: Fixing startup and quoting some vars init scripts: More verbose "copy" message Remove unsupported exchange_www.sh completely Changelog : Add language bug Prepare 1.1.1 release UI: Fix translation; LibraryBox -> PirateBox
2 parents b3b1030 + 7cc2381 commit 68ca03f

File tree

8 files changed

+24
-59
lines changed

8 files changed

+24
-59
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
CHANGELOG
22

3+
=== 1.1.1 ===
4+
* [Fix] Translation en,fr LibraryBox -> PirateBox
5+
* [Fix] Spellings in translation
6+
* [Fix] IRC startup command failed.
7+
* [Removed] exchange_www.sh
8+
39
=== 1.1.0 ===
410
* [New] Enable / Disable file provisioning for custom lighttpd directory listing
511
* [New] ChatBox message is now in conf/chat_init.txt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = piratebox-ws
2-
VERSION = 1.1.0
2+
VERSION = 1.1.1
33
ARCH = all
44
PB_FOLDER=piratebox
55
PB_SRC_FOLDER=$(PB_FOLDER)/$(PB_FOLDER)

piratebox/piratebox/bin/exchange_www.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

piratebox/piratebox/conf/piratebox.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ LIGHTTPD_GROUP=nogroup
186186

187187
#Switch to yes if you want to enable the IRC-Server
188188
ENABLE_IRC_SERVER="no"
189+
IRC_USER="$LIGHTTPD_USER"
190+
191+
## If you want to save rooms and so on, create the folder
192+
# /opt/piratebox/share/IRC_STATE and make sure it is writeable
193+
# for IRC_USER (nobody per default)
194+
#IRC_STATE_DIR="$SHARE_FOLDER/IRC_STATE"
189195

190196
#------------------------ Hook in user-config
191197
. $PIRATEBOX_FOLDER/conf/hook_custom.conf

piratebox/piratebox/init.d/piratebox

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ case "$1" in
9494
find $PIRATEBOX/tmp/ -exec rm {} \;
9595

9696
if [ "$CUSTOM_DIRLIST_COPY" = "yes" ]; then
97-
echo "Copy over design files"
97+
echo "Copy over directory design files"
9898
$PIRATEBOX/bin/distribute_files.sh $SHARE_FOLDER/Shared
9999
fi
100100

@@ -200,10 +200,10 @@ case "$1" in
200200

201201
. $CONF_IRC
202202

203-
IRC_PARMS="--daemon --motd $IRC_MOTD "
203+
IRC_PARMS="--setuid $IRC_USER --daemon --motd '$IRC_MOTD' "
204204

205-
if [ ! -z $STATEDIR ] ; then
206-
IRC_PARMS=" $IRCPARMS --statedir $STATEDIR "
205+
if [ ! -z "$IRC_STATEDIR" ] ; then
206+
IRC_PARMS=" $IRCPARMS --statedir '$IRC_STATEDIR' "
207207
fi
208208

209209
log_daemon_msg "Starting Miniircd..."

piratebox/piratebox/init.d/piratebox_alt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ case "$1" in
8787
find $PIRATEBOX/tmp/ -exec rm {} \;
8888

8989
if [ "$CUSTOM_DIRLIST_COPY" = "yes" ]; then
90-
echo "Copy over design files"
90+
echo "Copy over directory design files"
9191
$PIRATEBOX/bin/distribute_files.sh $SHARE_FOLDER/Shared
9292
fi
9393

@@ -192,10 +192,10 @@ case "$1" in
192192
#Start IRC Server
193193
if [ "$ENABLE_IRC_SERVER" = "yes" ] ; then
194194
. $CONF_IRC
195-
IRC_PARMS="--daemon --motd $IRC_MOTD "
195+
IRC_PARMS="--setuid $IRC_USER --daemon --motd '$IRC_MOTD' "
196196

197-
if [ ! -z $STATEDIR ] ; then
198-
IRC_PARMS=" $IRCPARMS --statedir $STATEDIR "
197+
if [ ! -z "$IRC_STATEDIR" ] ; then
198+
IRC_PARMS=" $IRCPARMS --statedir '$IRC_STATEDIR' "
199199
fi
200200
echo "Starting Miniircd..."
201201
start-stop-daemon $DROOPY_USER -m -S -p $PIDFILE_IRC -x $PIRATEBOX/bin/miniircd.py -- $IRC_PARMS

piratebox/piratebox/www_content/locales/data.en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ mainShoutboxRed = Red
3535
footerBackToTop = Back to top
3636
footerAbout = About
3737
footerInspired = Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.
38-
footerFilesTopSafety = LibraryBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.
38+
footerFilesTopSafety = PirateBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.
3939
footerLicenceMain = PirateBox is licensed under GPLv3.

piratebox/piratebox/www_content/locales/data.fr.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sidebarIframeNotSupported = Votre navigateur ne supporte pas les iframes. Si vou
1717
sidebarBrowseFiles = Parcourir les fichiers ->
1818

1919
diskUsage = Espace de stockage
20-
refreshButton.value = Rafra chir
20+
refreshButton.value = Rafraichir
2121
refreshButton.title = Le taux d'utilisation du disque ne peut être rafraîchi que toutes les 5 minutes
2222

2323
mainChatChat = Chat
@@ -35,5 +35,5 @@ mainShoutboxRed = Rouge
3535
footerBackToTop = Vers le haut
3636
footerAbout = À propos
3737
footerInspired = Inspiré par les radios pirate et le mouvement de la culture libre, PirateBox est un dispositif mobile autonome de collaboration et de partage de fichiers. PirateBox utilise des logiciels libres pour créer des réseaux mobiles sans fils de partage de fichiers dont les utilisateurs peuvent partager de manière anonyme des images, des vidéos, de l'audio, des documents ou tout autre contenu numérique.
38-
footerFilesTopSafety = LibraryBox est conçue pour être sûre et sécurisée. Aucun compte utilisateur n'est requis et aucune donnée utilisateur n'est sauvegardée. Le système n'est volontairement pas connecté à Internet afin de prévenir toute tentative de suivi et de préserver la vie privée de ses utilisateurs.
38+
footerFilesTopSafety = PirateBox est conçue pour être sûre et sécurisée. Aucun compte utilisateur n'est requis et aucune donnée utilisateur n'est sauvegardée. Le système n'est volontairement pas connecté à Internet afin de prévenir toute tentative de suivi et de préserver la vie privée de ses utilisateurs.
3939
footerLicenceMain = PirateBox est distribuée sous licence GPLv3.

0 commit comments

Comments
 (0)