Merge branch 'stretch' of https://github.com/bashrc/freedombone
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 19 KiB |
|
@ -35,7 +35,7 @@ BLUDIT_ONION_PORT=9844
|
||||||
BLUDIT_REPO="https://github.com/bludit/bludit"
|
BLUDIT_REPO="https://github.com/bludit/bludit"
|
||||||
BLUDIT_COMMIT='0e27e31a84421b3e6bd000a77bc89c2dff3c446a'
|
BLUDIT_COMMIT='0e27e31a84421b3e6bd000a77bc89c2dff3c446a'
|
||||||
|
|
||||||
BLUDIT_SHORT_DESCRIPTION=$'Bludit Blog'
|
BLUDIT_SHORT_DESCRIPTION=$'Markdown blogging'
|
||||||
BLUDIT_DESCRIPTION=$'Simple Markdown blogging'
|
BLUDIT_DESCRIPTION=$'Simple Markdown blogging'
|
||||||
BLUDIT_MOBILE_APP_URL=
|
BLUDIT_MOBILE_APP_URL=
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ CRYPTPAD_ONION_PORT=8119
|
||||||
CRYPTPAD_PORT=9003
|
CRYPTPAD_PORT=9003
|
||||||
CRYPTPAD_PORT2=9005
|
CRYPTPAD_PORT2=9005
|
||||||
CRYPTPAD_REPO="https://github.com/xwiki-labs/cryptpad"
|
CRYPTPAD_REPO="https://github.com/xwiki-labs/cryptpad"
|
||||||
CRYPTPAD_COMMIT='cfc9ce33d6c7034a13cb0e6d606de6fba38697e0'
|
CRYPTPAD_COMMIT='fe202a92b490404e3d8b7b8a2712e2e0a33a9851'
|
||||||
CRYPTPAD_DIR=/etc/cryptpad
|
CRYPTPAD_DIR=/etc/cryptpad
|
||||||
|
|
||||||
cryptpad_variables=(ONION_ONLY)
|
cryptpad_variables=(ONION_ONLY)
|
||||||
|
@ -103,8 +103,9 @@ function upgrade_cryptpad {
|
||||||
cryptpad_create_config
|
cryptpad_create_config
|
||||||
npm upgrade
|
npm upgrade
|
||||||
npm install
|
npm install
|
||||||
su -c 'echo "2" | bower update' - cryptpad
|
rm -rf $CRYPTPAD_DIR/.cache/bower
|
||||||
su -c 'bower install --config.interactive=false' - cryptpad
|
su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
|
||||||
|
su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad
|
||||||
cryptpad_generate_api_config
|
cryptpad_generate_api_config
|
||||||
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
||||||
|
|
||||||
|
@ -407,11 +408,19 @@ function mesh_install_cryptpad {
|
||||||
echo " try_files /customize/\$uri /customize.dist/\$uri;";
|
echo " try_files /customize/\$uri /customize.dist/\$uri;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo ' location = /api/config {';
|
echo ' location = /api/config {';
|
||||||
echo ' default_type text/javascript;';
|
echo " proxy_pass http://localhost:$CRYPTPAD_PORT;";
|
||||||
echo ' rewrite ^.*$ /customize/api/config break;';
|
echo " proxy_set_header X-Real-IP \$remote_addr;";
|
||||||
|
echo " proxy_set_header Host \$host;";
|
||||||
|
echo " proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' location ^~ /blob/ {';
|
echo ' location ^~ /blob/ {';
|
||||||
|
echo ' add_header Cache-Control max-age=31536000;';
|
||||||
|
echo " try_files \$uri =404;";
|
||||||
|
echo ' }';
|
||||||
|
echo '';
|
||||||
|
echo ' location ^~ /datastore/ {';
|
||||||
|
echo ' add_header Cache-Control max-age=0;';
|
||||||
echo " try_files \$uri =404;";
|
echo " try_files \$uri =404;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo '';
|
echo '';
|
||||||
|
@ -448,11 +457,11 @@ function mesh_install_cryptpad {
|
||||||
|
|
||||||
cat <<EOF > "$rootdir/usr/bin/install_cryptpad"
|
cat <<EOF > "$rootdir/usr/bin/install_cryptpad"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $CRYPTPAD_DIR
|
cd $CRYPTPAD_DIR || exit 358735
|
||||||
npm install --arch=$NPM_ARCH --build-from-source
|
npm install --arch=$NPM_ARCH --build-from-source
|
||||||
npm install --arch=$NPM_ARCH -g bower@1.8.0
|
npm install --arch=$NPM_ARCH bower@1.8.4
|
||||||
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
||||||
su -c 'bower install' - cryptpad
|
su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
|
||||||
cp config.example.js config.js
|
cp config.example.js config.js
|
||||||
EOF
|
EOF
|
||||||
chmod +x "$rootdir/usr/bin/install_cryptpad"
|
chmod +x "$rootdir/usr/bin/install_cryptpad"
|
||||||
|
@ -575,11 +584,19 @@ function install_cryptpad_main {
|
||||||
echo " try_files /customize/\$uri /customize.dist/\$uri;";
|
echo " try_files /customize/\$uri /customize.dist/\$uri;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo ' location = /api/config {';
|
echo ' location = /api/config {';
|
||||||
echo ' default_type text/javascript;';
|
echo " proxy_pass http://localhost:$CRYPTPAD_PORT;";
|
||||||
echo ' rewrite ^.*$ /customize/api/config break;';
|
echo " proxy_set_header X-Real-IP \$remote_addr;";
|
||||||
|
echo " proxy_set_header Host \$host;";
|
||||||
|
echo " proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo '';
|
echo '';
|
||||||
echo ' location ^~ /blob/ {';
|
echo ' location ^~ /blob/ {';
|
||||||
|
echo ' add_header Cache-Control max-age=31536000;';
|
||||||
|
echo " try_files \$uri =404;";
|
||||||
|
echo ' }';
|
||||||
|
echo '';
|
||||||
|
echo ' location ^~ /datastore/ {';
|
||||||
|
echo ' add_header Cache-Control max-age=0;';
|
||||||
echo " try_files \$uri =404;";
|
echo " try_files \$uri =404;";
|
||||||
echo ' }';
|
echo ' }';
|
||||||
echo '';
|
echo '';
|
||||||
|
@ -625,9 +642,10 @@ function install_cryptpad {
|
||||||
cd $CRYPTPAD_DIR || exit 35483548
|
cd $CRYPTPAD_DIR || exit 35483548
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
npm install -g bower@1.8.0
|
npm install bower@1.8.4
|
||||||
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
|
||||||
su -c 'bower install' - cryptpad
|
su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
|
||||||
|
su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad
|
||||||
cp config.example.js config.js
|
cp config.example.js config.js
|
||||||
if [ ! -f config.js ]; then
|
if [ ! -f config.js ]; then
|
||||||
echo $'Cryptpad config file not found'
|
echo $'Cryptpad config file not found'
|
||||||
|
@ -658,13 +676,13 @@ function install_cryptpad {
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl start cryptpad.service
|
systemctl start cryptpad.service
|
||||||
|
|
||||||
sleep 6
|
sleep 8
|
||||||
|
|
||||||
cryptpad_generate_api_config
|
cryptpad_generate_api_config
|
||||||
|
|
||||||
# install again
|
# install again
|
||||||
cd $CRYPTPAD_DIR || exit 73537453
|
cd $CRYPTPAD_DIR || exit 73537453
|
||||||
su -c 'bower install' - cryptpad
|
su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
|
||||||
|
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,8 @@ VARIANTS='full full-vim media'
|
||||||
IN_DEFAULT_INSTALL=0
|
IN_DEFAULT_INSTALL=0
|
||||||
SHOW_ON_ABOUT=0
|
SHOW_ON_ABOUT=0
|
||||||
|
|
||||||
DLNA_SHORT_DESCRIPTION=$'DLNA media'
|
DLNA_SHORT_DESCRIPTION=$'Streaming media'
|
||||||
DLNA_DESCRIPTION=$'DLNA media'
|
DLNA_DESCRIPTION=$'Streaming media'
|
||||||
DLNA_MOBILE_APP_URL=
|
DLNA_MOBILE_APP_URL=
|
||||||
|
|
||||||
dlna_variables=(SYSTEM_TYPE
|
dlna_variables=(SYSTEM_TYPE
|
||||||
|
|
|
@ -40,8 +40,8 @@ DOKUWIKI_TITLE="${PROJECT_NAME} Dokuwiki"
|
||||||
DOKUWIKI_REPO="https://github.com/splitbrain/dokuwiki"
|
DOKUWIKI_REPO="https://github.com/splitbrain/dokuwiki"
|
||||||
DOKUWIKI_COMMIT='be15c01c0b982cf1a75b5af031bf077143c63f39'
|
DOKUWIKI_COMMIT='be15c01c0b982cf1a75b5af031bf077143c63f39'
|
||||||
|
|
||||||
DOKUWIKI_SHORT_DESCRIPTION=$'Dokuwiki'
|
DOKUWIKI_SHORT_DESCRIPTION=$'Databaseless wiki'
|
||||||
DOKUWIKI_DESCRIPTION=$'Dokuwiki databaseless wiki'
|
DOKUWIKI_DESCRIPTION=$'Databaseless wiki'
|
||||||
DOKUWIKI_MOBILE_APP_URL=
|
DOKUWIKI_MOBILE_APP_URL=
|
||||||
|
|
||||||
dokuwiki_variables=(ONION_ONLY
|
dokuwiki_variables=(ONION_ONLY
|
||||||
|
|
|
@ -38,7 +38,7 @@ EDITH_CODE=
|
||||||
EDITH_ONION_PORT=8278
|
EDITH_ONION_PORT=8278
|
||||||
EDITH_LOGIN_TEXT=$"Edith login"
|
EDITH_LOGIN_TEXT=$"Edith login"
|
||||||
|
|
||||||
EDITH_SHORT_DESCRIPTION=$'Edith Notes'
|
EDITH_SHORT_DESCRIPTION=$'Simple notes'
|
||||||
EDITH_DESCRIPTION=$'Extremely simple note taking'
|
EDITH_DESCRIPTION=$'Extremely simple note taking'
|
||||||
EDITH_MOBILE_APP_URL=
|
EDITH_MOBILE_APP_URL=
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,8 @@ ETHERPAD_ADMIN_PASSWORD=
|
||||||
ETHERPAD_TITLE=$'Freedombone Docs'
|
ETHERPAD_TITLE=$'Freedombone Docs'
|
||||||
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!"
|
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!"
|
||||||
|
|
||||||
ETHERPAD_SHORT_DESCRIPTION=$'Etherpad'
|
ETHERPAD_SHORT_DESCRIPTION=$'Collaborative document editor'
|
||||||
ETHERPAD_DESCRIPTION=$'Etherpad'
|
ETHERPAD_DESCRIPTION=$'Collaborative document editor'
|
||||||
ETHERPAD_MOBILE_APP_URL=
|
ETHERPAD_MOBILE_APP_URL=
|
||||||
|
|
||||||
etherpad_variables=(ONION_ONLY
|
etherpad_variables=(ONION_ONLY
|
||||||
|
|
|
@ -42,8 +42,8 @@ FEDWIKI_PORT=3053
|
||||||
FEDWIKI_DATA=/var/lib/fedwiki
|
FEDWIKI_DATA=/var/lib/fedwiki
|
||||||
FEDWIKI_COOKIE=
|
FEDWIKI_COOKIE=
|
||||||
|
|
||||||
FEDWIKI_SHORT_DESCRIPTION=$'FedWiki'
|
FEDWIKI_SHORT_DESCRIPTION=$'Federated wiki'
|
||||||
FEDWIKI_DESCRIPTION=$'Federated Wiki'
|
FEDWIKI_DESCRIPTION=$'Federated wiki'
|
||||||
FEDWIKI_MOBILE_APP_URL=
|
FEDWIKI_MOBILE_APP_URL=
|
||||||
|
|
||||||
fedwiki_variables=(FEDWIKI_DOMAIN_NAME
|
fedwiki_variables=(FEDWIKI_DOMAIN_NAME
|
||||||
|
|
|
@ -40,8 +40,8 @@ FRIENDICA_ADMIN_PASSWORD=
|
||||||
FRIENDICA_COMMIT='b5a42c5b31fae5315bacd37769eba20ab2345aaa'
|
FRIENDICA_COMMIT='b5a42c5b31fae5315bacd37769eba20ab2345aaa'
|
||||||
FRIENDICA_ADDONS_COMMIT='7cb9dbdda7f227462895c07be3c968405561d40e'
|
FRIENDICA_ADDONS_COMMIT='7cb9dbdda7f227462895c07be3c968405561d40e'
|
||||||
|
|
||||||
FRIENDICA_SHORT_DESCRIPTION=$'Friendica'
|
FRIENDICA_SHORT_DESCRIPTION=$'Federated social network'
|
||||||
FRIENDICA_DESCRIPTION=$'Friendica federated social network'
|
FRIENDICA_DESCRIPTION=$'Federated social network'
|
||||||
FRIENDICA_MOBILE_APP_URL=
|
FRIENDICA_MOBILE_APP_URL=
|
||||||
|
|
||||||
friendica_variables=(ONION_ONLY
|
friendica_variables=(ONION_ONLY
|
||||||
|
|
|
@ -46,8 +46,8 @@ GNUSOCIAL_TITLE='Pleroma FE'
|
||||||
# Number of months after which posts expire
|
# Number of months after which posts expire
|
||||||
GNUSOCIAL_EXPIRE_MONTHS=3
|
GNUSOCIAL_EXPIRE_MONTHS=3
|
||||||
|
|
||||||
GNUSOCIAL_SHORT_DESCRIPTION=$'GNU Social'
|
GNUSOCIAL_SHORT_DESCRIPTION=$'Federated microblogging'
|
||||||
GNUSOCIAL_DESCRIPTION=$'GNU Social federated microblogging'
|
GNUSOCIAL_DESCRIPTION=$'Federated microblogging'
|
||||||
GNUSOCIAL_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
|
GNUSOCIAL_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
|
||||||
|
|
||||||
gnusocial_variables=(ONION_ONLY
|
gnusocial_variables=(ONION_ONLY
|
||||||
|
|
|
@ -41,8 +41,8 @@ GIT_ADMIN_PASSWORD=
|
||||||
GOGS_BIN=
|
GOGS_BIN=
|
||||||
GOGS_PORT=3145
|
GOGS_PORT=3145
|
||||||
|
|
||||||
GOGS_SHORT_DESCRIPTION=$'Gogs'
|
GOGS_SHORT_DESCRIPTION=$'Git repo management'
|
||||||
GOGS_DESCRIPTION=$'Gogs git repo management'
|
GOGS_DESCRIPTION=$'Git repo management'
|
||||||
GOGS_MOBILE_APP_URL=
|
GOGS_MOBILE_APP_URL=
|
||||||
|
|
||||||
gogs_variables=(ONION_ONLY
|
gogs_variables=(ONION_ONLY
|
||||||
|
|
|
@ -39,8 +39,8 @@ HTMLY_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
|
||||||
HTMLY_TITLE="My Blog"
|
HTMLY_TITLE="My Blog"
|
||||||
HTMLY_SUBTITLE="Another ${PROJECT_NAME} blog"
|
HTMLY_SUBTITLE="Another ${PROJECT_NAME} blog"
|
||||||
|
|
||||||
HTMLY_SHORT_DESCRIPTION=$'HTMLy'
|
HTMLY_SHORT_DESCRIPTION=$'Databaseless blogging'
|
||||||
HTMLY_DESCRIPTION=$'HTMLy databaseless blogging'
|
HTMLY_DESCRIPTION=$'Databaseless blogging'
|
||||||
HTMLY_MOBILE_APP_URL=
|
HTMLY_MOBILE_APP_URL=
|
||||||
|
|
||||||
htmly_variables=(HTMLY_REPO
|
htmly_variables=(HTMLY_REPO
|
||||||
|
|
|
@ -41,8 +41,8 @@ HUBZILLA_ADDONS_REPO="https://github.com/redmatrix/hubzilla-addons.git"
|
||||||
HUBZILLA_ADDONS_COMMIT='be9dcd044b9326c3bd9301d7c4b375a2c2f54663'
|
HUBZILLA_ADDONS_COMMIT='be9dcd044b9326c3bd9301d7c4b375a2c2f54663'
|
||||||
HUBZILLA_ADMIN_PASSWORD=
|
HUBZILLA_ADMIN_PASSWORD=
|
||||||
|
|
||||||
HUBZILLA_SHORT_DESCRIPTION=$'Hubzilla'
|
HUBZILLA_SHORT_DESCRIPTION=$'Web publishing system'
|
||||||
HUBZILLA_DESCRIPTION=$'Hubzilla'
|
HUBZILLA_DESCRIPTION=$'Web publishing system'
|
||||||
HUBZILLA_MOBILE_APP_URL=
|
HUBZILLA_MOBILE_APP_URL=
|
||||||
|
|
||||||
hubzilla_variables=(ONION_ONLY
|
hubzilla_variables=(ONION_ONLY
|
||||||
|
|
|
@ -44,8 +44,8 @@ ICECAST_DIR=/icestream
|
||||||
ICECAST_PLAYLIST_FILE=/etc/ices2/playlist.txt
|
ICECAST_PLAYLIST_FILE=/etc/ices2/playlist.txt
|
||||||
ICECAST_LOGIN_TEXT=$"Icecast login"
|
ICECAST_LOGIN_TEXT=$"Icecast login"
|
||||||
|
|
||||||
ICECAST_SHORT_DESCRIPTION=$'Icecast'
|
ICECAST_SHORT_DESCRIPTION=$'Media broadcast'
|
||||||
ICECAST_DESCRIPTION=$'Icecast'
|
ICECAST_DESCRIPTION=$'Media broadcast'
|
||||||
ICECAST_MOBILE_APP_URL=
|
ICECAST_MOBILE_APP_URL=
|
||||||
|
|
||||||
icecast_variables=(MY_USERNAME
|
icecast_variables=(MY_USERNAME
|
||||||
|
|
|
@ -41,8 +41,8 @@ IRC_PASSWORD=
|
||||||
# Number of entries for the bouncer to buffer
|
# Number of entries for the bouncer to buffer
|
||||||
IRC_BUFFER_LENGTH=300
|
IRC_BUFFER_LENGTH=300
|
||||||
|
|
||||||
IRC_SHORT_DESCRIPTION=$'IRC'
|
IRC_SHORT_DESCRIPTION=$'Classic chat system'
|
||||||
IRC_DESCRIPTION=$'IRC'
|
IRC_DESCRIPTION=$'Classic chat system'
|
||||||
IRC_MOBILE_APP_URL='https://f-droid.org/packages/org.yaaic'
|
IRC_MOBILE_APP_URL='https://f-droid.org/packages/org.yaaic'
|
||||||
|
|
||||||
irc_variables=(MY_USERNAME
|
irc_variables=(MY_USERNAME
|
||||||
|
|
|
@ -44,8 +44,8 @@ JITSI_DOMAIN_NAME=
|
||||||
JITSI_CODE=
|
JITSI_CODE=
|
||||||
JITSI_ONION_HOSTNAME=
|
JITSI_ONION_HOSTNAME=
|
||||||
|
|
||||||
JITSI_SHORT_DESCRIPTION=$'Jitsi'
|
JITSI_SHORT_DESCRIPTION=$'Video conferencing'
|
||||||
JITSI_DESCRIPTION=$'Jitsi'
|
JITSI_DESCRIPTION=$'Video conferencing'
|
||||||
JITSI_MOBILE_APP_URL=
|
JITSI_MOBILE_APP_URL=
|
||||||
|
|
||||||
jitsi_variables=(ONION_ONLY
|
jitsi_variables=(ONION_ONLY
|
||||||
|
|
|
@ -38,8 +38,8 @@ KANBOARD_REPO="https://github.com/kanboard/kanboard"
|
||||||
KANBOARD_COMMIT='7a6b1bc3da0af442e02b5a2dc430a4ded8e7c4ee'
|
KANBOARD_COMMIT='7a6b1bc3da0af442e02b5a2dc430a4ded8e7c4ee'
|
||||||
KANBOARD_ADMIN_PASSWORD=
|
KANBOARD_ADMIN_PASSWORD=
|
||||||
|
|
||||||
KANBOARD_SHORT_DESCRIPTION=$'Kanboard'
|
KANBOARD_SHORT_DESCRIPTION=$'Simple kanban'
|
||||||
KANBOARD_DESCRIPTION=$'Kanboard kanban'
|
KANBOARD_DESCRIPTION=$'Simple kanban'
|
||||||
KANBOARD_MOBILE_APP_URL=
|
KANBOARD_MOBILE_APP_URL=
|
||||||
|
|
||||||
kanboard_variables=(ONION_ONLY
|
kanboard_variables=(ONION_ONLY
|
||||||
|
|
|
@ -40,8 +40,8 @@ KOEL_REPO="https://github.com/phanan/koel"
|
||||||
KOEL_COMMIT='8e9b021aa09f2b1460977bdd52fff14ea2bc1607'
|
KOEL_COMMIT='8e9b021aa09f2b1460977bdd52fff14ea2bc1607'
|
||||||
KOEL_ADMIN_PASSWORD=
|
KOEL_ADMIN_PASSWORD=
|
||||||
|
|
||||||
KOEL_SHORT_DESCRIPTION=$'Koel music'
|
KOEL_SHORT_DESCRIPTION=$'Music player'
|
||||||
KOEL_DESCRIPTION=$'Koel music player'
|
KOEL_DESCRIPTION=$'Music player'
|
||||||
KOEL_MOBILE_APP_URL=
|
KOEL_MOBILE_APP_URL=
|
||||||
|
|
||||||
koel_variables=(ONION_ONLY
|
koel_variables=(ONION_ONLY
|
||||||
|
|
|
@ -37,8 +37,8 @@ LYCHEE_ONION_PORT=8105
|
||||||
LYCHEE_REPO="https://github.com/electerious/Lychee"
|
LYCHEE_REPO="https://github.com/electerious/Lychee"
|
||||||
LYCHEE_COMMIT='27f207dcbac8488629ffc3b5a9cac78ae123bee9'
|
LYCHEE_COMMIT='27f207dcbac8488629ffc3b5a9cac78ae123bee9'
|
||||||
|
|
||||||
LYCHEE_SHORT_DESCRIPTION=$'Lychee photos'
|
LYCHEE_SHORT_DESCRIPTION=$'Photo album'
|
||||||
LYCHEE_DESCRIPTION=$'Lychee photos'
|
LYCHEE_DESCRIPTION=$'Photo album'
|
||||||
LYCHEE_MOBILE_APP_URL=
|
LYCHEE_MOBILE_APP_URL=
|
||||||
|
|
||||||
lychee_variables=(LYCHEE_REPO
|
lychee_variables=(LYCHEE_REPO
|
||||||
|
|
|
@ -38,8 +38,8 @@ MAILPILE_REPO="https://github.com/mailpile/Mailpile"
|
||||||
MAILPILE_COMMIT='4f28f1bb55b3b9985f22ab6372d539b1087482dd'
|
MAILPILE_COMMIT='4f28f1bb55b3b9985f22ab6372d539b1087482dd'
|
||||||
MAILPILE_PORT=33411
|
MAILPILE_PORT=33411
|
||||||
|
|
||||||
MAILPILE_SHORT_DESCRIPTION=$'Mailpile'
|
MAILPILE_SHORT_DESCRIPTION=$'Email system'
|
||||||
MAILPILE_DESCRIPTION=$'Mailpile email client'
|
MAILPILE_DESCRIPTION=$'Email system'
|
||||||
MAILPILE_MOBILE_APP_URL=
|
MAILPILE_MOBILE_APP_URL=
|
||||||
|
|
||||||
mailpile_variables=(MAILPILE_REPO
|
mailpile_variables=(MAILPILE_REPO
|
||||||
|
|
|
@ -53,8 +53,8 @@ REPORT_STATS="no"
|
||||||
MATRIX_SECRET=
|
MATRIX_SECRET=
|
||||||
MATRIX_EXPIRE_MONTHS=1
|
MATRIX_EXPIRE_MONTHS=1
|
||||||
|
|
||||||
MATRIX_SHORT_DESCRIPTION=$'Matrix chat'
|
MATRIX_SHORT_DESCRIPTION=$'Chat system'
|
||||||
MATRIX_DESCRIPTION=$'Matrix chat'
|
MATRIX_DESCRIPTION=$'Chat system'
|
||||||
MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha'
|
MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha'
|
||||||
|
|
||||||
matrix_variables=(ONION_ONLY
|
matrix_variables=(ONION_ONLY
|
||||||
|
|
|
@ -40,8 +40,8 @@ MEDIAGOBLIN_COMMIT='c4d3293dfa4076719e60fe9e052add07426f9a9a'
|
||||||
MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs
|
MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs
|
||||||
MEDIAGOBLIN_PORT=6543
|
MEDIAGOBLIN_PORT=6543
|
||||||
|
|
||||||
MEDIAGOBLIN_SHORT_DESCRIPTION=$'Mediagoblin'
|
MEDIAGOBLIN_SHORT_DESCRIPTION=$'Media storage and broadcast'
|
||||||
MEDIAGOBLIN_DESCRIPTION=$'Mediagoblin'
|
MEDIAGOBLIN_DESCRIPTION=$'Media storage and broadcast'
|
||||||
MEDIAGOBLIN_MOBILE_APP_URL=
|
MEDIAGOBLIN_MOBILE_APP_URL=
|
||||||
|
|
||||||
mediagoblin_variables=(ONION_ONLY
|
mediagoblin_variables=(ONION_ONLY
|
||||||
|
|
|
@ -39,8 +39,8 @@ MOVIM_COMMIT='6142c2033b7695448516a67690324a3bde048260'
|
||||||
MOVIM_ADMIN_PASSWORD=
|
MOVIM_ADMIN_PASSWORD=
|
||||||
MOVIM_DAEMON_PORT=8880
|
MOVIM_DAEMON_PORT=8880
|
||||||
|
|
||||||
MOVIM_SHORT_DESCRIPTION=$'Movim'
|
MOVIM_SHORT_DESCRIPTION=$'xmpp based chat system'
|
||||||
MOVIM_DESCRIPTION=$'Movim'
|
MOVIM_DESCRIPTION=$'xmpp based chat system'
|
||||||
MOVIM_MOBILE_APP_URL='https://f-droid.org/packages/com.movim.movim'
|
MOVIM_MOBILE_APP_URL='https://f-droid.org/packages/com.movim.movim'
|
||||||
|
|
||||||
movim_variables=(ONION_ONLY
|
movim_variables=(ONION_ONLY
|
||||||
|
|
|
@ -40,8 +40,8 @@ MUMBLE_PORT=64738
|
||||||
MUMBLE_DATABASE="mumble-server.sqlite"
|
MUMBLE_DATABASE="mumble-server.sqlite"
|
||||||
MUMBLE_CONFIG_FILE="mumble-server.ini"
|
MUMBLE_CONFIG_FILE="mumble-server.ini"
|
||||||
|
|
||||||
MUMBLE_SHORT_DESCRIPTION=$'Mumble'
|
MUMBLE_SHORT_DESCRIPTION=$'Voice chat'
|
||||||
MUMBLE_DESCRIPTION=$'Mumble'
|
MUMBLE_DESCRIPTION=$'Voice chat'
|
||||||
MUMBLE_MOBILE_APP_URL='https://f-droid.org/packages/com.morlunk.mumbleclient'
|
MUMBLE_MOBILE_APP_URL='https://f-droid.org/packages/com.morlunk.mumbleclient'
|
||||||
|
|
||||||
mumble_variables=(MY_USERNAME
|
mumble_variables=(MY_USERNAME
|
||||||
|
|
|
@ -42,8 +42,8 @@ NEXTCLOUD_COMMIT='edd5712c6ead5b09fa4f996cfda66fc4e18ba597'
|
||||||
NEXTCLOUD_ADMIN_PASSWORD=
|
NEXTCLOUD_ADMIN_PASSWORD=
|
||||||
NEXTCLOUD_SERVER_SIDE_ENCRYPTION=1
|
NEXTCLOUD_SERVER_SIDE_ENCRYPTION=1
|
||||||
|
|
||||||
NEXTCLOUD_SHORT_DESCRIPTION=$'NextCloud'
|
NEXTCLOUD_SHORT_DESCRIPTION=$'File storage and sync'
|
||||||
NEXTCLOUD_DESCRIPTION=$'NextCloud'
|
NEXTCLOUD_DESCRIPTION=$'File storage and sync'
|
||||||
NEXTCLOUD_MOBILE_APP_URL='https://f-droid.org/packages/com.nextcloud.client'
|
NEXTCLOUD_MOBILE_APP_URL='https://f-droid.org/packages/com.nextcloud.client'
|
||||||
|
|
||||||
nextcloud_variables=(ONION_ONLY
|
nextcloud_variables=(ONION_ONLY
|
||||||
|
|
|
@ -44,8 +44,8 @@ PEERTUBE_PORT=9004
|
||||||
MESH_PEERTUBE_PORT=8500
|
MESH_PEERTUBE_PORT=8500
|
||||||
PEERTUBE_DIR=/etc/peertube
|
PEERTUBE_DIR=/etc/peertube
|
||||||
|
|
||||||
PEERTUBE_SHORT_DESCRIPTION=$'PeerTube'
|
PEERTUBE_SHORT_DESCRIPTION=$'Video broadcast'
|
||||||
PEERTUBE_DESCRIPTION=$'PeerTube'
|
PEERTUBE_DESCRIPTION=$'Video broadcast'
|
||||||
PEERTUBE_MOBILE_APP_URL=
|
PEERTUBE_MOBILE_APP_URL=
|
||||||
|
|
||||||
peertube_variables=(PEERTUBE_DOMAIN_NAME
|
peertube_variables=(PEERTUBE_DOMAIN_NAME
|
||||||
|
|
|
@ -51,8 +51,8 @@ PLEROMA_EXPIRE_MONTHS=3
|
||||||
pleroma_expire_posts_script=/usr/bin/pleroma-expire-posts
|
pleroma_expire_posts_script=/usr/bin/pleroma-expire-posts
|
||||||
blocking_script_file=/usr/bin/pleroma-blocking
|
blocking_script_file=/usr/bin/pleroma-blocking
|
||||||
|
|
||||||
PLEROMA_SHORT_DESCRIPTION=$'Pleroma'
|
PLEROMA_SHORT_DESCRIPTION=$'Federated microblogging'
|
||||||
PLEROMA_DESCRIPTION=$'Pleroma federated microblogging'
|
PLEROMA_DESCRIPTION=$'Federated microblogging'
|
||||||
PLEROMA_MOBILE_APP_URL='https://f-droid.org/packages/com.keylesspalace.tusky'
|
PLEROMA_MOBILE_APP_URL='https://f-droid.org/packages/com.keylesspalace.tusky'
|
||||||
|
|
||||||
pleroma_variables=(ONION_ONLY
|
pleroma_variables=(ONION_ONLY
|
||||||
|
|
|
@ -45,8 +45,8 @@ POSTACTIV_TITLE='PostActiv'
|
||||||
# Number of months after which posts expire
|
# Number of months after which posts expire
|
||||||
POSTACTIV_EXPIRE_MONTHS=3
|
POSTACTIV_EXPIRE_MONTHS=3
|
||||||
|
|
||||||
POSTACTIV_SHORT_DESCRIPTION=$'PostActiv'
|
POSTACTIV_SHORT_DESCRIPTION=$'Federated microblogging'
|
||||||
POSTACTIV_DESCRIPTION=$'PostActiv federated microblogging'
|
POSTACTIV_DESCRIPTION=$'Federated microblogging'
|
||||||
POSTACTIV_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
|
POSTACTIV_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
|
||||||
|
|
||||||
postactiv_variables=(ONION_ONLY
|
postactiv_variables=(ONION_ONLY
|
||||||
|
|
|
@ -38,8 +38,8 @@ PRIVATEBIN_REPO="https://github.com/PrivateBin/PrivateBin"
|
||||||
PRIVATEBIN_COMMIT='9c132cd839fd5e91da18e4a1e8ebef64fce605fb'
|
PRIVATEBIN_COMMIT='9c132cd839fd5e91da18e4a1e8ebef64fce605fb'
|
||||||
PRIVATEBIN_ADMIN_PASSWORD=
|
PRIVATEBIN_ADMIN_PASSWORD=
|
||||||
|
|
||||||
PRIVATEBIN_SHORT_DESCRIPTION=$'PrivateBin'
|
PRIVATEBIN_SHORT_DESCRIPTION=$'Zero knowledge pastebin'
|
||||||
PRIVATEBIN_DESCRIPTION=$'PrivateBin zero knowledge pastebin'
|
PRIVATEBIN_DESCRIPTION=$'Zero knowledge pastebin'
|
||||||
PRIVATEBIN_MOBILE_APP_URL=
|
PRIVATEBIN_MOBILE_APP_URL=
|
||||||
|
|
||||||
privatebin_variables=(ONION_ONLY
|
privatebin_variables=(ONION_ONLY
|
||||||
|
|
|
@ -36,8 +36,8 @@ ROCKETCHAT_CODE=
|
||||||
ROCKETCHAT_ONION_PORT=9722
|
ROCKETCHAT_ONION_PORT=9722
|
||||||
ROCKETCHAT_PORT_INTERNAL=3000
|
ROCKETCHAT_PORT_INTERNAL=3000
|
||||||
|
|
||||||
ROCKETCHAT_SHORT_DESCRIPTION=$'Rocketchat'
|
ROCKETCHAT_SHORT_DESCRIPTION=$'Chat system'
|
||||||
ROCKETCHAT_DESCRIPTION=$'Rocketchat'
|
ROCKETCHAT_DESCRIPTION=$'Chat system'
|
||||||
ROCKETCHAT_MOBILE_APP_URL=
|
ROCKETCHAT_MOBILE_APP_URL=
|
||||||
|
|
||||||
rocketchat_variables=(ONION_ONLY
|
rocketchat_variables=(ONION_ONLY
|
||||||
|
|
|
@ -40,8 +40,8 @@ SYNCTHING_PORT=22000
|
||||||
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
|
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
|
||||||
SYNCTHING_USER_IDS_FILE='.syncthingids'
|
SYNCTHING_USER_IDS_FILE='.syncthingids'
|
||||||
|
|
||||||
SYNCTHING_SHORT_DESCRIPTION=$'Syncthing'
|
SYNCTHING_SHORT_DESCRIPTION=$'File synchronization'
|
||||||
SYNCTHING_DESCRIPTION=$'Syncthing file synchronization'
|
SYNCTHING_DESCRIPTION=$'File synchronization'
|
||||||
SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid'
|
SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid'
|
||||||
|
|
||||||
syncthing_variables=(SYNCTHING_ID
|
syncthing_variables=(SYNCTHING_ID
|
||||||
|
|
|
@ -48,8 +48,8 @@ TURTL_BASE_DIR=/etc/turtl
|
||||||
TURTL_SIGNUP_STRING='Signup a new user'
|
TURTL_SIGNUP_STRING='Signup a new user'
|
||||||
turtl_users_file=$TURTL_BASE_DIR/api/controllers/users.lisp
|
turtl_users_file=$TURTL_BASE_DIR/api/controllers/users.lisp
|
||||||
|
|
||||||
TURTL_SHORT_DESCRIPTION=$'Turtl'
|
TURTL_SHORT_DESCRIPTION=$'Note taking'
|
||||||
TURTL_DESCRIPTION=$'Turtl notes'
|
TURTL_DESCRIPTION=$'Note taking'
|
||||||
TURTL_MOBILE_APP_URL=
|
TURTL_MOBILE_APP_URL=
|
||||||
|
|
||||||
turtl_variables=(ONION_ONLY
|
turtl_variables=(ONION_ONLY
|
||||||
|
|
|
@ -53,8 +53,8 @@ prosody_modules_filename='prosody-modules-20180322.tar.gz'
|
||||||
prosody_modules_hash='982d0dfcef98e9cb9cee4cc3801b8ce9a503a32e44c32b99df6fe94545b90072'
|
prosody_modules_hash='982d0dfcef98e9cb9cee4cc3801b8ce9a503a32e44c32b99df6fe94545b90072'
|
||||||
xmpp_encryption_warning=$"For security reasons, OMEMO or PGP encryption is required for conversations on this server."
|
xmpp_encryption_warning=$"For security reasons, OMEMO or PGP encryption is required for conversations on this server."
|
||||||
|
|
||||||
XMPP_SHORT_DESCRIPTION=$'XMPP chat'
|
XMPP_SHORT_DESCRIPTION=$'Chat system'
|
||||||
XMPP_DESCRIPTION=$'XMPP chat'
|
XMPP_DESCRIPTION=$'Chat system'
|
||||||
XMPP_MOBILE_APP_URL='https://f-droid.org/packages/eu.siacs.conversations'
|
XMPP_MOBILE_APP_URL='https://f-droid.org/packages/eu.siacs.conversations'
|
||||||
|
|
||||||
xmpp_variables=(ONION_ONLY
|
xmpp_variables=(ONION_ONLY
|
||||||
|
|
|
@ -178,7 +178,7 @@ function image_setup {
|
||||||
sudo pacman -S --noconfirm debootstrap xz dosfstools btrfs-progs syslinux python-pip
|
sudo pacman -S --noconfirm debootstrap xz dosfstools btrfs-progs syslinux python-pip
|
||||||
sudo pacman -S --noconfirm qemu-static binfmt-qemu-static uboot-tools qemu parted
|
sudo pacman -S --noconfirm qemu-static binfmt-qemu-static uboot-tools qemu parted
|
||||||
sudo pacman -S --noconfirm dpkg-devtools bin86 arch-install-scripts qemu-arch-extra
|
sudo pacman -S --noconfirm dpkg-devtools bin86 arch-install-scripts qemu-arch-extra
|
||||||
sudo pacman -S --noconfirm syncthing
|
sudo pacman -S --noconfirm syncthing bin86 patch
|
||||||
mkdir "$USERHOME/develop"
|
mkdir "$USERHOME/develop"
|
||||||
if [ -d "$USERHOME/develop/python-cliapp" ]; then
|
if [ -d "$USERHOME/develop/python-cliapp" ]; then
|
||||||
sudo rm -rf "$USERHOME/develop/python-cliapp"
|
sudo rm -rf "$USERHOME/develop/python-cliapp"
|
||||||
|
@ -710,7 +710,7 @@ Password: $PASSWORD" > "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
|
||||||
chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
|
chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
|
||||||
|
|
||||||
if [[ $IMAGE_TYPE != "qemu"* ]]; then
|
if [[ $IMAGE_TYPE != "qemu"* ]]; then
|
||||||
IMAGE_FILENAME=$(find "${CURR_DIR}" -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
|
IMAGE_FILENAME=$(find . -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
echo $'To compress:'
|
echo $'To compress:'
|
||||||
|
|
|
@ -38,7 +38,7 @@ function save_firewall_settings {
|
||||||
iptables-save > /etc/firewall.conf
|
iptables-save > /etc/firewall.conf
|
||||||
ip6tables-save > /etc/firewall6.conf
|
ip6tables-save > /etc/firewall6.conf
|
||||||
if [ ! -d /etc/network/if-up.d ]; then
|
if [ ! -d /etc/network/if-up.d ]; then
|
||||||
mkdir /etc/network/if-up.d
|
mkdir -p /etc/network/if-up.d
|
||||||
fi
|
fi
|
||||||
printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
|
printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
|
||||||
printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables
|
printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables
|
||||||
|
|