Browse Source

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 6 years ago
parent
commit
4e3ab94ac8
43 changed files with 95 additions and 77 deletions
  1. BIN
      img/android-app/dlna.png
  2. BIN
      img/android-app/etherpad.png
  3. BIN
      img/android-app/kanboard.png
  4. BIN
      img/android-app/koel.png
  5. BIN
      img/android-app/nextcloud.png
  6. BIN
      img/android-app/peertube.png
  7. BIN
      img/android-app/privatebin.png
  8. BIN
      img/android-app/rocketchat.png
  9. BIN
      img/android-app/searx.png
  10. 1
    1
      src/freedombone-app-bludit
  11. 32
    14
      src/freedombone-app-cryptpad
  12. 2
    2
      src/freedombone-app-dlna
  13. 2
    2
      src/freedombone-app-dokuwiki
  14. 1
    1
      src/freedombone-app-edith
  15. 2
    2
      src/freedombone-app-etherpad
  16. 2
    2
      src/freedombone-app-fedwiki
  17. 2
    2
      src/freedombone-app-friendica
  18. 2
    2
      src/freedombone-app-gnusocial
  19. 2
    2
      src/freedombone-app-gogs
  20. 2
    2
      src/freedombone-app-htmly
  21. 2
    2
      src/freedombone-app-hubzilla
  22. 2
    2
      src/freedombone-app-icecast
  23. 2
    2
      src/freedombone-app-irc
  24. 2
    2
      src/freedombone-app-jitsi
  25. 2
    2
      src/freedombone-app-kanboard
  26. 2
    2
      src/freedombone-app-koel
  27. 2
    2
      src/freedombone-app-lychee
  28. 2
    2
      src/freedombone-app-mailpile
  29. 2
    2
      src/freedombone-app-matrix
  30. 2
    2
      src/freedombone-app-mediagoblin
  31. 2
    2
      src/freedombone-app-movim
  32. 2
    2
      src/freedombone-app-mumble
  33. 2
    2
      src/freedombone-app-nextcloud
  34. 2
    2
      src/freedombone-app-peertube
  35. 2
    2
      src/freedombone-app-pleroma
  36. 2
    2
      src/freedombone-app-postactiv
  37. 2
    2
      src/freedombone-app-privatebin
  38. 2
    2
      src/freedombone-app-rocketchat
  39. 2
    2
      src/freedombone-app-syncthing
  40. 2
    2
      src/freedombone-app-turtl
  41. 2
    2
      src/freedombone-app-xmpp
  42. 2
    2
      src/freedombone-image
  43. 1
    1
      src/freedombone-utils-firewall

BIN
img/android-app/dlna.png View File


BIN
img/android-app/etherpad.png View File


BIN
img/android-app/kanboard.png View File


BIN
img/android-app/koel.png View File


BIN
img/android-app/nextcloud.png View File


BIN
img/android-app/peertube.png View File


BIN
img/android-app/privatebin.png View File


BIN
img/android-app/rocketchat.png View File


BIN
img/android-app/searx.png View File


+ 1
- 1
src/freedombone-app-bludit View File

@@ -35,7 +35,7 @@ BLUDIT_ONION_PORT=9844
35 35
 BLUDIT_REPO="https://github.com/bludit/bludit"
36 36
 BLUDIT_COMMIT='0e27e31a84421b3e6bd000a77bc89c2dff3c446a'
37 37
 
38
-BLUDIT_SHORT_DESCRIPTION=$'Bludit Blog'
38
+BLUDIT_SHORT_DESCRIPTION=$'Markdown blogging'
39 39
 BLUDIT_DESCRIPTION=$'Simple Markdown blogging'
40 40
 BLUDIT_MOBILE_APP_URL=
41 41
 

+ 32
- 14
src/freedombone-app-cryptpad View File

@@ -36,7 +36,7 @@ CRYPTPAD_ONION_PORT=8119
36 36
 CRYPTPAD_PORT=9003
37 37
 CRYPTPAD_PORT2=9005
38 38
 CRYPTPAD_REPO="https://github.com/xwiki-labs/cryptpad"
39
-CRYPTPAD_COMMIT='cfc9ce33d6c7034a13cb0e6d606de6fba38697e0'
39
+CRYPTPAD_COMMIT='fe202a92b490404e3d8b7b8a2712e2e0a33a9851'
40 40
 CRYPTPAD_DIR=/etc/cryptpad
41 41
 
42 42
 cryptpad_variables=(ONION_ONLY)
@@ -103,8 +103,9 @@ function upgrade_cryptpad {
103 103
     cryptpad_create_config
104 104
     npm upgrade
105 105
     npm install
106
-    su -c 'echo "2" | bower update' - cryptpad
107
-    su -c 'bower install --config.interactive=false' - cryptpad
106
+    rm -rf $CRYPTPAD_DIR/.cache/bower
107
+    su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
108
+    su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad
108 109
     cryptpad_generate_api_config
109 110
     chown -R cryptpad:cryptpad $CRYPTPAD_DIR
110 111
 
@@ -407,11 +408,19 @@ function mesh_install_cryptpad {
407 408
       echo "    try_files /customize/\$uri /customize.dist/\$uri;";
408 409
       echo '  }';
409 410
       echo '  location = /api/config {';
410
-      echo '    default_type text/javascript;';
411
-      echo '    rewrite ^.*$ /customize/api/config break;';
411
+      echo "    proxy_pass http://localhost:$CRYPTPAD_PORT;";
412
+      echo "    proxy_set_header X-Real-IP \$remote_addr;";
413
+      echo "    proxy_set_header Host \$host;";
414
+      echo "    proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;";
412 415
       echo '  }';
413 416
       echo '';
414 417
       echo '  location ^~ /blob/ {';
418
+      echo '    add_header Cache-Control max-age=31536000;';
419
+      echo "    try_files \$uri =404;";
420
+      echo '  }';
421
+      echo '';
422
+      echo '  location ^~ /datastore/ {';
423
+      echo '    add_header Cache-Control max-age=0;';
415 424
       echo "    try_files \$uri =404;";
416 425
       echo '  }';
417 426
       echo '';
@@ -448,11 +457,11 @@ function mesh_install_cryptpad {
448 457
 
449 458
     cat <<EOF > "$rootdir/usr/bin/install_cryptpad"
450 459
 #!/bin/bash
451
-cd $CRYPTPAD_DIR
460
+cd $CRYPTPAD_DIR || exit 358735
452 461
 npm install --arch=$NPM_ARCH --build-from-source
453
-npm install --arch=$NPM_ARCH -g bower@1.8.0
462
+npm install --arch=$NPM_ARCH bower@1.8.4
454 463
 chown -R cryptpad:cryptpad $CRYPTPAD_DIR
455
-su -c 'bower install' - cryptpad
464
+su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
456 465
 cp config.example.js config.js
457 466
 EOF
458 467
     chmod +x "$rootdir/usr/bin/install_cryptpad"
@@ -575,11 +584,19 @@ function install_cryptpad_main {
575 584
       echo "    try_files /customize/\$uri /customize.dist/\$uri;";
576 585
       echo '  }';
577 586
       echo '  location = /api/config {';
578
-      echo '    default_type text/javascript;';
579
-      echo '    rewrite ^.*$ /customize/api/config break;';
587
+      echo "    proxy_pass http://localhost:$CRYPTPAD_PORT;";
588
+      echo "    proxy_set_header X-Real-IP \$remote_addr;";
589
+      echo "    proxy_set_header Host \$host;";
590
+      echo "    proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;";
580 591
       echo '  }';
581 592
       echo '';
582 593
       echo '  location ^~ /blob/ {';
594
+      echo '    add_header Cache-Control max-age=31536000;';
595
+      echo "    try_files \$uri =404;";
596
+      echo '  }';
597
+      echo '';
598
+      echo '  location ^~ /datastore/ {';
599
+      echo '    add_header Cache-Control max-age=0;';
583 600
       echo "    try_files \$uri =404;";
584 601
       echo '  }';
585 602
       echo '';
@@ -625,9 +642,10 @@ function install_cryptpad {
625 642
     cd $CRYPTPAD_DIR || exit 35483548
626 643
 
627 644
     npm install
628
-    npm install -g bower@1.8.0
645
+    npm install bower@1.8.4
629 646
     chown -R cryptpad:cryptpad $CRYPTPAD_DIR
630
-    su -c 'bower install' - cryptpad
647
+    su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
648
+    su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad
631 649
     cp config.example.js config.js
632 650
     if [ ! -f config.js ]; then
633 651
         echo $'Cryptpad config file not found'
@@ -658,13 +676,13 @@ function install_cryptpad {
658 676
     systemctl daemon-reload
659 677
     systemctl start cryptpad.service
660 678
 
661
-    sleep 6
679
+    sleep 8
662 680
 
663 681
     cryptpad_generate_api_config
664 682
 
665 683
     # install again
666 684
     cd $CRYPTPAD_DIR || exit 73537453
667
-    su -c 'bower install' - cryptpad
685
+    su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
668 686
 
669 687
     systemctl restart nginx
670 688
 

+ 2
- 2
src/freedombone-app-dlna View File

@@ -31,8 +31,8 @@ VARIANTS='full full-vim media'
31 31
 IN_DEFAULT_INSTALL=0
32 32
 SHOW_ON_ABOUT=0
33 33
 
34
-DLNA_SHORT_DESCRIPTION=$'DLNA media'
35
-DLNA_DESCRIPTION=$'DLNA media'
34
+DLNA_SHORT_DESCRIPTION=$'Streaming media'
35
+DLNA_DESCRIPTION=$'Streaming media'
36 36
 DLNA_MOBILE_APP_URL=
37 37
 
38 38
 dlna_variables=(SYSTEM_TYPE

+ 2
- 2
src/freedombone-app-dokuwiki View File

@@ -40,8 +40,8 @@ DOKUWIKI_TITLE="${PROJECT_NAME} Dokuwiki"
40 40
 DOKUWIKI_REPO="https://github.com/splitbrain/dokuwiki"
41 41
 DOKUWIKI_COMMIT='be15c01c0b982cf1a75b5af031bf077143c63f39'
42 42
 
43
-DOKUWIKI_SHORT_DESCRIPTION=$'Dokuwiki'
44
-DOKUWIKI_DESCRIPTION=$'Dokuwiki databaseless wiki'
43
+DOKUWIKI_SHORT_DESCRIPTION=$'Databaseless wiki'
44
+DOKUWIKI_DESCRIPTION=$'Databaseless wiki'
45 45
 DOKUWIKI_MOBILE_APP_URL=
46 46
 
47 47
 dokuwiki_variables=(ONION_ONLY

+ 1
- 1
src/freedombone-app-edith View File

@@ -38,7 +38,7 @@ EDITH_CODE=
38 38
 EDITH_ONION_PORT=8278
39 39
 EDITH_LOGIN_TEXT=$"Edith login"
40 40
 
41
-EDITH_SHORT_DESCRIPTION=$'Edith Notes'
41
+EDITH_SHORT_DESCRIPTION=$'Simple notes'
42 42
 EDITH_DESCRIPTION=$'Extremely simple note taking'
43 43
 EDITH_MOBILE_APP_URL=
44 44
 

+ 2
- 2
src/freedombone-app-etherpad View File

@@ -42,8 +42,8 @@ ETHERPAD_ADMIN_PASSWORD=
42 42
 ETHERPAD_TITLE=$'Freedombone Docs'
43 43
 ETHERPAD_WELCOME_MESSAGE=$"Welcome to ${ETHERPAD_TITLE}!\\n\\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!"
44 44
 
45
-ETHERPAD_SHORT_DESCRIPTION=$'Etherpad'
46
-ETHERPAD_DESCRIPTION=$'Etherpad'
45
+ETHERPAD_SHORT_DESCRIPTION=$'Collaborative document editor'
46
+ETHERPAD_DESCRIPTION=$'Collaborative document editor'
47 47
 ETHERPAD_MOBILE_APP_URL=
48 48
 
49 49
 etherpad_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-fedwiki View File

@@ -42,8 +42,8 @@ FEDWIKI_PORT=3053
42 42
 FEDWIKI_DATA=/var/lib/fedwiki
43 43
 FEDWIKI_COOKIE=
44 44
 
45
-FEDWIKI_SHORT_DESCRIPTION=$'FedWiki'
46
-FEDWIKI_DESCRIPTION=$'Federated Wiki'
45
+FEDWIKI_SHORT_DESCRIPTION=$'Federated wiki'
46
+FEDWIKI_DESCRIPTION=$'Federated wiki'
47 47
 FEDWIKI_MOBILE_APP_URL=
48 48
 
49 49
 fedwiki_variables=(FEDWIKI_DOMAIN_NAME

+ 2
- 2
src/freedombone-app-friendica View File

@@ -40,8 +40,8 @@ FRIENDICA_ADMIN_PASSWORD=
40 40
 FRIENDICA_COMMIT='b5a42c5b31fae5315bacd37769eba20ab2345aaa'
41 41
 FRIENDICA_ADDONS_COMMIT='7cb9dbdda7f227462895c07be3c968405561d40e'
42 42
 
43
-FRIENDICA_SHORT_DESCRIPTION=$'Friendica'
44
-FRIENDICA_DESCRIPTION=$'Friendica federated social network'
43
+FRIENDICA_SHORT_DESCRIPTION=$'Federated social network'
44
+FRIENDICA_DESCRIPTION=$'Federated social network'
45 45
 FRIENDICA_MOBILE_APP_URL=
46 46
 
47 47
 friendica_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-gnusocial View File

@@ -46,8 +46,8 @@ GNUSOCIAL_TITLE='Pleroma FE'
46 46
 # Number of months after which posts expire
47 47
 GNUSOCIAL_EXPIRE_MONTHS=3
48 48
 
49
-GNUSOCIAL_SHORT_DESCRIPTION=$'GNU Social'
50
-GNUSOCIAL_DESCRIPTION=$'GNU Social federated microblogging'
49
+GNUSOCIAL_SHORT_DESCRIPTION=$'Federated microblogging'
50
+GNUSOCIAL_DESCRIPTION=$'Federated microblogging'
51 51
 GNUSOCIAL_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
52 52
 
53 53
 gnusocial_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-gogs View File

@@ -41,8 +41,8 @@ GIT_ADMIN_PASSWORD=
41 41
 GOGS_BIN=
42 42
 GOGS_PORT=3145
43 43
 
44
-GOGS_SHORT_DESCRIPTION=$'Gogs'
45
-GOGS_DESCRIPTION=$'Gogs git repo management'
44
+GOGS_SHORT_DESCRIPTION=$'Git repo management'
45
+GOGS_DESCRIPTION=$'Git repo management'
46 46
 GOGS_MOBILE_APP_URL=
47 47
 
48 48
 gogs_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-htmly View File

@@ -39,8 +39,8 @@ HTMLY_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
39 39
 HTMLY_TITLE="My Blog"
40 40
 HTMLY_SUBTITLE="Another ${PROJECT_NAME} blog"
41 41
 
42
-HTMLY_SHORT_DESCRIPTION=$'HTMLy'
43
-HTMLY_DESCRIPTION=$'HTMLy databaseless blogging'
42
+HTMLY_SHORT_DESCRIPTION=$'Databaseless blogging'
43
+HTMLY_DESCRIPTION=$'Databaseless blogging'
44 44
 HTMLY_MOBILE_APP_URL=
45 45
 
46 46
 htmly_variables=(HTMLY_REPO

+ 2
- 2
src/freedombone-app-hubzilla View File

@@ -41,8 +41,8 @@ HUBZILLA_ADDONS_REPO="https://github.com/redmatrix/hubzilla-addons.git"
41 41
 HUBZILLA_ADDONS_COMMIT='be9dcd044b9326c3bd9301d7c4b375a2c2f54663'
42 42
 HUBZILLA_ADMIN_PASSWORD=
43 43
 
44
-HUBZILLA_SHORT_DESCRIPTION=$'Hubzilla'
45
-HUBZILLA_DESCRIPTION=$'Hubzilla'
44
+HUBZILLA_SHORT_DESCRIPTION=$'Web publishing system'
45
+HUBZILLA_DESCRIPTION=$'Web publishing system'
46 46
 HUBZILLA_MOBILE_APP_URL=
47 47
 
48 48
 hubzilla_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-icecast View File

@@ -44,8 +44,8 @@ ICECAST_DIR=/icestream
44 44
 ICECAST_PLAYLIST_FILE=/etc/ices2/playlist.txt
45 45
 ICECAST_LOGIN_TEXT=$"Icecast login"
46 46
 
47
-ICECAST_SHORT_DESCRIPTION=$'Icecast'
48
-ICECAST_DESCRIPTION=$'Icecast'
47
+ICECAST_SHORT_DESCRIPTION=$'Media broadcast'
48
+ICECAST_DESCRIPTION=$'Media broadcast'
49 49
 ICECAST_MOBILE_APP_URL=
50 50
 
51 51
 icecast_variables=(MY_USERNAME

+ 2
- 2
src/freedombone-app-irc View File

@@ -41,8 +41,8 @@ IRC_PASSWORD=
41 41
 # Number of entries for the bouncer to buffer
42 42
 IRC_BUFFER_LENGTH=300
43 43
 
44
-IRC_SHORT_DESCRIPTION=$'IRC'
45
-IRC_DESCRIPTION=$'IRC'
44
+IRC_SHORT_DESCRIPTION=$'Classic chat system'
45
+IRC_DESCRIPTION=$'Classic chat system'
46 46
 IRC_MOBILE_APP_URL='https://f-droid.org/packages/org.yaaic'
47 47
 
48 48
 irc_variables=(MY_USERNAME

+ 2
- 2
src/freedombone-app-jitsi View File

@@ -44,8 +44,8 @@ JITSI_DOMAIN_NAME=
44 44
 JITSI_CODE=
45 45
 JITSI_ONION_HOSTNAME=
46 46
 
47
-JITSI_SHORT_DESCRIPTION=$'Jitsi'
48
-JITSI_DESCRIPTION=$'Jitsi'
47
+JITSI_SHORT_DESCRIPTION=$'Video conferencing'
48
+JITSI_DESCRIPTION=$'Video conferencing'
49 49
 JITSI_MOBILE_APP_URL=
50 50
 
51 51
 jitsi_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-kanboard View File

@@ -38,8 +38,8 @@ KANBOARD_REPO="https://github.com/kanboard/kanboard"
38 38
 KANBOARD_COMMIT='7a6b1bc3da0af442e02b5a2dc430a4ded8e7c4ee'
39 39
 KANBOARD_ADMIN_PASSWORD=
40 40
 
41
-KANBOARD_SHORT_DESCRIPTION=$'Kanboard'
42
-KANBOARD_DESCRIPTION=$'Kanboard kanban'
41
+KANBOARD_SHORT_DESCRIPTION=$'Simple kanban'
42
+KANBOARD_DESCRIPTION=$'Simple kanban'
43 43
 KANBOARD_MOBILE_APP_URL=
44 44
 
45 45
 kanboard_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-koel View File

@@ -40,8 +40,8 @@ KOEL_REPO="https://github.com/phanan/koel"
40 40
 KOEL_COMMIT='8e9b021aa09f2b1460977bdd52fff14ea2bc1607'
41 41
 KOEL_ADMIN_PASSWORD=
42 42
 
43
-KOEL_SHORT_DESCRIPTION=$'Koel music'
44
-KOEL_DESCRIPTION=$'Koel music player'
43
+KOEL_SHORT_DESCRIPTION=$'Music player'
44
+KOEL_DESCRIPTION=$'Music player'
45 45
 KOEL_MOBILE_APP_URL=
46 46
 
47 47
 koel_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-lychee View File

@@ -37,8 +37,8 @@ LYCHEE_ONION_PORT=8105
37 37
 LYCHEE_REPO="https://github.com/electerious/Lychee"
38 38
 LYCHEE_COMMIT='27f207dcbac8488629ffc3b5a9cac78ae123bee9'
39 39
 
40
-LYCHEE_SHORT_DESCRIPTION=$'Lychee photos'
41
-LYCHEE_DESCRIPTION=$'Lychee photos'
40
+LYCHEE_SHORT_DESCRIPTION=$'Photo album'
41
+LYCHEE_DESCRIPTION=$'Photo album'
42 42
 LYCHEE_MOBILE_APP_URL=
43 43
 
44 44
 lychee_variables=(LYCHEE_REPO

+ 2
- 2
src/freedombone-app-mailpile View File

@@ -38,8 +38,8 @@ MAILPILE_REPO="https://github.com/mailpile/Mailpile"
38 38
 MAILPILE_COMMIT='4f28f1bb55b3b9985f22ab6372d539b1087482dd'
39 39
 MAILPILE_PORT=33411
40 40
 
41
-MAILPILE_SHORT_DESCRIPTION=$'Mailpile'
42
-MAILPILE_DESCRIPTION=$'Mailpile email client'
41
+MAILPILE_SHORT_DESCRIPTION=$'Email system'
42
+MAILPILE_DESCRIPTION=$'Email system'
43 43
 MAILPILE_MOBILE_APP_URL=
44 44
 
45 45
 mailpile_variables=(MAILPILE_REPO

+ 2
- 2
src/freedombone-app-matrix View File

@@ -53,8 +53,8 @@ REPORT_STATS="no"
53 53
 MATRIX_SECRET=
54 54
 MATRIX_EXPIRE_MONTHS=1
55 55
 
56
-MATRIX_SHORT_DESCRIPTION=$'Matrix chat'
57
-MATRIX_DESCRIPTION=$'Matrix chat'
56
+MATRIX_SHORT_DESCRIPTION=$'Chat system'
57
+MATRIX_DESCRIPTION=$'Chat system'
58 58
 MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha'
59 59
 
60 60
 matrix_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-mediagoblin View File

@@ -40,8 +40,8 @@ MEDIAGOBLIN_COMMIT='c4d3293dfa4076719e60fe9e052add07426f9a9a'
40 40
 MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs
41 41
 MEDIAGOBLIN_PORT=6543
42 42
 
43
-MEDIAGOBLIN_SHORT_DESCRIPTION=$'Mediagoblin'
44
-MEDIAGOBLIN_DESCRIPTION=$'Mediagoblin'
43
+MEDIAGOBLIN_SHORT_DESCRIPTION=$'Media storage and broadcast'
44
+MEDIAGOBLIN_DESCRIPTION=$'Media storage and broadcast'
45 45
 MEDIAGOBLIN_MOBILE_APP_URL=
46 46
 
47 47
 mediagoblin_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-movim View File

@@ -39,8 +39,8 @@ MOVIM_COMMIT='6142c2033b7695448516a67690324a3bde048260'
39 39
 MOVIM_ADMIN_PASSWORD=
40 40
 MOVIM_DAEMON_PORT=8880
41 41
 
42
-MOVIM_SHORT_DESCRIPTION=$'Movim'
43
-MOVIM_DESCRIPTION=$'Movim'
42
+MOVIM_SHORT_DESCRIPTION=$'xmpp based chat system'
43
+MOVIM_DESCRIPTION=$'xmpp based chat system'
44 44
 MOVIM_MOBILE_APP_URL='https://f-droid.org/packages/com.movim.movim'
45 45
 
46 46
 movim_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-mumble View File

@@ -40,8 +40,8 @@ MUMBLE_PORT=64738
40 40
 MUMBLE_DATABASE="mumble-server.sqlite"
41 41
 MUMBLE_CONFIG_FILE="mumble-server.ini"
42 42
 
43
-MUMBLE_SHORT_DESCRIPTION=$'Mumble'
44
-MUMBLE_DESCRIPTION=$'Mumble'
43
+MUMBLE_SHORT_DESCRIPTION=$'Voice chat'
44
+MUMBLE_DESCRIPTION=$'Voice chat'
45 45
 MUMBLE_MOBILE_APP_URL='https://f-droid.org/packages/com.morlunk.mumbleclient'
46 46
 
47 47
 mumble_variables=(MY_USERNAME

+ 2
- 2
src/freedombone-app-nextcloud View File

@@ -42,8 +42,8 @@ NEXTCLOUD_COMMIT='edd5712c6ead5b09fa4f996cfda66fc4e18ba597'
42 42
 NEXTCLOUD_ADMIN_PASSWORD=
43 43
 NEXTCLOUD_SERVER_SIDE_ENCRYPTION=1
44 44
 
45
-NEXTCLOUD_SHORT_DESCRIPTION=$'NextCloud'
46
-NEXTCLOUD_DESCRIPTION=$'NextCloud'
45
+NEXTCLOUD_SHORT_DESCRIPTION=$'File storage and sync'
46
+NEXTCLOUD_DESCRIPTION=$'File storage and sync'
47 47
 NEXTCLOUD_MOBILE_APP_URL='https://f-droid.org/packages/com.nextcloud.client'
48 48
 
49 49
 nextcloud_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-peertube View File

@@ -44,8 +44,8 @@ PEERTUBE_PORT=9004
44 44
 MESH_PEERTUBE_PORT=8500
45 45
 PEERTUBE_DIR=/etc/peertube
46 46
 
47
-PEERTUBE_SHORT_DESCRIPTION=$'PeerTube'
48
-PEERTUBE_DESCRIPTION=$'PeerTube'
47
+PEERTUBE_SHORT_DESCRIPTION=$'Video broadcast'
48
+PEERTUBE_DESCRIPTION=$'Video broadcast'
49 49
 PEERTUBE_MOBILE_APP_URL=
50 50
 
51 51
 peertube_variables=(PEERTUBE_DOMAIN_NAME

+ 2
- 2
src/freedombone-app-pleroma View File

@@ -51,8 +51,8 @@ PLEROMA_EXPIRE_MONTHS=3
51 51
 pleroma_expire_posts_script=/usr/bin/pleroma-expire-posts
52 52
 blocking_script_file=/usr/bin/pleroma-blocking
53 53
 
54
-PLEROMA_SHORT_DESCRIPTION=$'Pleroma'
55
-PLEROMA_DESCRIPTION=$'Pleroma federated microblogging'
54
+PLEROMA_SHORT_DESCRIPTION=$'Federated microblogging'
55
+PLEROMA_DESCRIPTION=$'Federated microblogging'
56 56
 PLEROMA_MOBILE_APP_URL='https://f-droid.org/packages/com.keylesspalace.tusky'
57 57
 
58 58
 pleroma_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-postactiv View File

@@ -45,8 +45,8 @@ POSTACTIV_TITLE='PostActiv'
45 45
 # Number of months after which posts expire
46 46
 POSTACTIV_EXPIRE_MONTHS=3
47 47
 
48
-POSTACTIV_SHORT_DESCRIPTION=$'PostActiv'
49
-POSTACTIV_DESCRIPTION=$'PostActiv federated microblogging'
48
+POSTACTIV_SHORT_DESCRIPTION=$'Federated microblogging'
49
+POSTACTIV_DESCRIPTION=$'Federated microblogging'
50 50
 POSTACTIV_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
51 51
 
52 52
 postactiv_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-privatebin View File

@@ -38,8 +38,8 @@ PRIVATEBIN_REPO="https://github.com/PrivateBin/PrivateBin"
38 38
 PRIVATEBIN_COMMIT='9c132cd839fd5e91da18e4a1e8ebef64fce605fb'
39 39
 PRIVATEBIN_ADMIN_PASSWORD=
40 40
 
41
-PRIVATEBIN_SHORT_DESCRIPTION=$'PrivateBin'
42
-PRIVATEBIN_DESCRIPTION=$'PrivateBin zero knowledge pastebin'
41
+PRIVATEBIN_SHORT_DESCRIPTION=$'Zero knowledge pastebin'
42
+PRIVATEBIN_DESCRIPTION=$'Zero knowledge pastebin'
43 43
 PRIVATEBIN_MOBILE_APP_URL=
44 44
 
45 45
 privatebin_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-rocketchat View File

@@ -36,8 +36,8 @@ ROCKETCHAT_CODE=
36 36
 ROCKETCHAT_ONION_PORT=9722
37 37
 ROCKETCHAT_PORT_INTERNAL=3000
38 38
 
39
-ROCKETCHAT_SHORT_DESCRIPTION=$'Rocketchat'
40
-ROCKETCHAT_DESCRIPTION=$'Rocketchat'
39
+ROCKETCHAT_SHORT_DESCRIPTION=$'Chat system'
40
+ROCKETCHAT_DESCRIPTION=$'Chat system'
41 41
 ROCKETCHAT_MOBILE_APP_URL=
42 42
 
43 43
 rocketchat_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-syncthing View File

@@ -40,8 +40,8 @@ SYNCTHING_PORT=22000
40 40
 SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
41 41
 SYNCTHING_USER_IDS_FILE='.syncthingids'
42 42
 
43
-SYNCTHING_SHORT_DESCRIPTION=$'Syncthing'
44
-SYNCTHING_DESCRIPTION=$'Syncthing file synchronization'
43
+SYNCTHING_SHORT_DESCRIPTION=$'File synchronization'
44
+SYNCTHING_DESCRIPTION=$'File synchronization'
45 45
 SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid'
46 46
 
47 47
 syncthing_variables=(SYNCTHING_ID

+ 2
- 2
src/freedombone-app-turtl View File

@@ -48,8 +48,8 @@ TURTL_BASE_DIR=/etc/turtl
48 48
 TURTL_SIGNUP_STRING='Signup a new user'
49 49
 turtl_users_file=$TURTL_BASE_DIR/api/controllers/users.lisp
50 50
 
51
-TURTL_SHORT_DESCRIPTION=$'Turtl'
52
-TURTL_DESCRIPTION=$'Turtl notes'
51
+TURTL_SHORT_DESCRIPTION=$'Note taking'
52
+TURTL_DESCRIPTION=$'Note taking'
53 53
 TURTL_MOBILE_APP_URL=
54 54
 
55 55
 turtl_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-app-xmpp View File

@@ -53,8 +53,8 @@ prosody_modules_filename='prosody-modules-20180322.tar.gz'
53 53
 prosody_modules_hash='982d0dfcef98e9cb9cee4cc3801b8ce9a503a32e44c32b99df6fe94545b90072'
54 54
 xmpp_encryption_warning=$"For security reasons, OMEMO or PGP encryption is required for conversations on this server."
55 55
 
56
-XMPP_SHORT_DESCRIPTION=$'XMPP chat'
57
-XMPP_DESCRIPTION=$'XMPP chat'
56
+XMPP_SHORT_DESCRIPTION=$'Chat system'
57
+XMPP_DESCRIPTION=$'Chat system'
58 58
 XMPP_MOBILE_APP_URL='https://f-droid.org/packages/eu.siacs.conversations'
59 59
 
60 60
 xmpp_variables=(ONION_ONLY

+ 2
- 2
src/freedombone-image View File

@@ -178,7 +178,7 @@ function image_setup {
178 178
             sudo pacman -S --noconfirm debootstrap xz dosfstools btrfs-progs syslinux python-pip
179 179
             sudo pacman -S --noconfirm qemu-static binfmt-qemu-static uboot-tools qemu parted
180 180
             sudo pacman -S --noconfirm dpkg-devtools bin86 arch-install-scripts qemu-arch-extra
181
-            sudo pacman -S --noconfirm syncthing
181
+            sudo pacman -S --noconfirm syncthing bin86 patch
182 182
             mkdir "$USERHOME/develop"
183 183
             if [ -d "$USERHOME/develop/python-cliapp" ]; then
184 184
                 sudo rm -rf "$USERHOME/develop/python-cliapp"
@@ -710,7 +710,7 @@ Password: $PASSWORD" > "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
710 710
 chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
711 711
 
712 712
 if [[ $IMAGE_TYPE != "qemu"* ]]; then
713
-    IMAGE_FILENAME=$(find "${CURR_DIR}" -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
713
+    IMAGE_FILENAME=$(find . -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
714 714
 
715 715
     echo ''
716 716
     echo $'To compress:'

+ 1
- 1
src/freedombone-utils-firewall View File

@@ -38,7 +38,7 @@ function save_firewall_settings {
38 38
     iptables-save > /etc/firewall.conf
39 39
     ip6tables-save > /etc/firewall6.conf
40 40
     if [ ! -d /etc/network/if-up.d ]; then
41
-        mkdir /etc/network/if-up.d
41
+        mkdir -p /etc/network/if-up.d
42 42
     fi
43 43
     printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
44 44
     printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables