Przeglądaj źródła

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

Bob Mottram 7 lat temu
rodzic
commit
3588dc68e6

+ 1
- 3
doc/EN/app_icecast.org Wyświetl plik

@@ -27,9 +27,7 @@ Log into your system with:
27 27
 ssh myusername@mydomain -p 2222
28 28
 #+end_src
29 29
 
30
-Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password.
31
-
32
-Select *Add/Remove Apps*. If Vim is selected then you might want to unselect and uninstall it first, then select *icecast*.
30
+Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password. Select *Add/Remove Apps* then *icecast*.
33 31
 
34 32
 If you then go to the *About* screen you'll see the onion address for Icecast and can navigate to it in a Tor compatible browser.
35 33
 

+ 1
- 7
doc/EN/index.org Wyświetl plik

@@ -8,6 +8,7 @@
8 8
 
9 9
 #+BEGIN_CENTER
10 10
 [[file:images/logo.png]]
11
+[[file:images/bbb3.png]]
11 12
 #+END_CENTER
12 13
 
13 14
 #+begin_quote
@@ -16,13 +17,6 @@
16 17
 -- Lucas Nussbaum
17 18
 #+end_quote
18 19
 
19
-
20
-#+BEGIN_EXPORT html
21
-<center>
22
-<h1><a href="./release3.html">New version 3 (Stretch)</a></h1>
23
-</center>
24
-#+END_EXPORT
25
-
26 20
 So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home.
27 21
 
28 22
 [[./homeserver.html][Here's how]].

BIN
img/bbb3.png Wyświetl plik


+ 10
- 8
src/freedombone-app-smilodon Wyświetl plik

@@ -108,17 +108,19 @@ function upgrade_smilodon {
108 108
 }
109 109
 
110 110
 function backup_local_smilodon {
111
-    if [ -d $SMILODON_PATH ]; then
112
-        systemctl stop smilodon
111
+    if [ ! -d $SMILODON_PATH ]; then
112
+        return
113
+    fi
113 114
 
114
-        USE_MONGODB=1
115
-        function_check backup_database_to_usb
116
-        backup_database_to_usb smilodon
115
+    systemctl stop smilodon
117 116
 
118
-        backup_directory_to_usb $SMILODON_PATH smilodon
117
+    USE_MONGODB=1
118
+    function_check backup_database_to_usb
119
+    backup_database_to_usb smilodon
119 120
 
120
-        systemctl start smilodon
121
-    fi
121
+    backup_directory_to_usb $SMILODON_PATH smilodon
122
+
123
+    systemctl start smilodon
122 124
 }
123 125
 
124 126
 function restore_local_smilodon {

+ 3
- 0
src/freedombone-base-email Wyświetl plik

@@ -846,6 +846,9 @@ function install_email_basic {
846 846
     echo "dc_mailname_in_oh='true'" >> /etc/exim4/update-exim4.conf.conf
847 847
     echo "dc_localdelivery='maildir_home'" >> /etc/exim4/update-exim4.conf.conf
848 848
     echo "dc_main_log_selector=-all" >> /etc/exim4/update-exim4.conf.conf
849
+
850
+    echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
851
+
849 852
     update-exim4.conf
850 853
     sed -i "s/START=no/START=yes/g" /etc/default/saslauthd
851 854
     systemctl start saslauthd

+ 1
- 0
src/freedombone-upgrade Wyświetl plik

@@ -95,6 +95,7 @@ if [ -d $PROJECT_DIR ]; then
95 95
 
96 96
         apt-get -yq -t stretch-backports install certbot
97 97
         email_install_tls
98
+        email_disable_chunking
98 99
         defrag_filesystem
99 100
     fi
100 101
 fi

+ 10
- 0
src/freedombone-utils-web Wyświetl plik

@@ -983,6 +983,16 @@ function install_composer {
983 983
     fi
984 984
 }
985 985
 
986
+function email_disable_chunking {
987
+    if [ -f /etc/exim4/conf.d/main/04_exim4-config_chunking ]; then
988
+        return
989
+    fi
990
+    echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
991
+    update-exim4.conf
992
+    dpkg-reconfigure --frontend noninteractive exim4-config
993
+    systemctl restart exim4
994
+}
995
+
986 996
 function email_install_tls {
987 997
     tls_config_file=/etc/exim4/conf.d/main/03_exim4-config_tlsoptions
988 998
     tls_auth_config_file=/etc/exim4/conf.d/auth/30_exim4-config_examples

+ 17
- 21
website/EN/app_icecast.html Wyświetl plik

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2017-11-27 Mon 12:35 -->
6
+<!-- 2017-11-27 Mon 12:43 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title>&lrm;</title>
@@ -256,9 +256,9 @@ Icecast enables you to run something like an internet radio station. So if you h
256 256
 This system is available only via an onion address, which should mitigate the potential for copyright disputes over streamed content. By default it's only set up to stream to a small number of users so that it doesn't put too much stress on CPU or memory requirements, although you can increase the maximum limit if you have a more powerful system and enough bandwidth.
257 257
 </p>
258 258
 
259
-<div id="outline-container-org9fecb99" class="outline-2">
260
-<h2 id="org9fecb99">Installation</h2>
261
-<div class="outline-text-2" id="text-org9fecb99">
259
+<div id="outline-container-orgf3d9fbb" class="outline-2">
260
+<h2 id="orgf3d9fbb">Installation</h2>
261
+<div class="outline-text-2" id="text-orgf3d9fbb">
262 262
 <p>
263 263
 Log into your system with:
264 264
 </p>
@@ -269,11 +269,7 @@ Log into your system with:
269 269
 </div>
270 270
 
271 271
 <p>
272
-Using cursor keys, space bar and Enter key select <b>Administrator controls</b> and type in your password.
273
-</p>
274
-
275
-<p>
276
-Select <b>Add/Remove Apps</b>. If Vim is selected then you might want to unselect and uninstall it first, then select <b>icecast</b>.
272
+Using cursor keys, space bar and Enter key select <b>Administrator controls</b> and type in your password. Select <b>Add/Remove Apps</b> then <b>icecast</b>.
277 273
 </p>
278 274
 
279 275
 <p>
@@ -282,9 +278,9 @@ If you then go to the <b>About</b> screen you'll see the onion address for Iceca
282 278
 </div>
283 279
 </div>
284 280
 
285
-<div id="outline-container-orgf30a581" class="outline-2">
286
-<h2 id="orgf30a581">Adding files to be streamed</h2>
287
-<div class="outline-text-2" id="text-orgf30a581">
281
+<div id="outline-container-orgcba32fc" class="outline-2">
282
+<h2 id="orgcba32fc">Adding files to be streamed</h2>
283
+<div class="outline-text-2" id="text-orgcba32fc">
288 284
 <p>
289 285
 There are two ways to get files onto the system: either via ssh or via a USB drive. File types can be <b>ogg, ogv, mp3 or mp4</b> format.
290 286
 </p>
@@ -294,9 +290,9 @@ It may take a while for the files to import, especially on a low power single bo
294 290
 </p>
295 291
 </div>
296 292
 
297
-<div id="outline-container-org366fd74" class="outline-3">
298
-<h3 id="org366fd74">From a USB drive</h3>
299
-<div class="outline-text-3" id="text-org366fd74">
293
+<div id="outline-container-org3b2c1e8" class="outline-3">
294
+<h3 id="org3b2c1e8">From a USB drive</h3>
295
+<div class="outline-text-3" id="text-org3b2c1e8">
300 296
 <p>
301 297
 Create a directory on the USB drive named <b>icestream</b> and copy your files into there. Plug the drive into your server.
302 298
 </p>
@@ -307,9 +303,9 @@ Go to the <b>Administrator control panel</b>, select <b>App settings</b>, then <
307 303
 </div>
308 304
 </div>
309 305
 
310
-<div id="outline-container-orgbb75a88" class="outline-3">
311
-<h3 id="orgbb75a88">Via ssh</h3>
312
-<div class="outline-text-3" id="text-orgbb75a88">
306
+<div id="outline-container-org9ba9caf" class="outline-3">
307
+<h3 id="org9ba9caf">Via ssh</h3>
308
+<div class="outline-text-3" id="text-org9ba9caf">
313 309
 <p>
314 310
 Make a directory named <b>icestream</b> and copy your files into it. Then copy the directory to your server.
315 311
 </p>
@@ -335,9 +331,9 @@ Select <b>Administrator controls</b>, enter your password, then go to <b>App set
335 331
 </div>
336 332
 </div>
337 333
 
338
-<div id="outline-container-orgdc2e42f" class="outline-2">
339
-<h2 id="orgdc2e42f">Access controls</h2>
340
-<div class="outline-text-2" id="text-orgdc2e42f">
334
+<div id="outline-container-orge68b817" class="outline-2">
335
+<h2 id="orge68b817">Access controls</h2>
336
+<div class="outline-text-2" id="text-orge68b817">
341 337
 <p>
342 338
 By default anyone who happens to find your Icecast onion address can listen to your stream. If you only want it to be available to a few friends or family then you can add an extra login password.
343 339
 </p>

+ 4
- 10
website/EN/index.html Wyświetl plik

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2017-10-15 Sun 11:26 -->
6
+<!-- 2017-11-27 Mon 13:21 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title>&lrm;</title>
@@ -237,12 +237,11 @@ for the JavaScript code in this tag.
237 237
 </div>
238 238
 <div id="content">
239 239
 <div class="org-center">
240
-
241
-<div class="figure">
242
-<p><img src="images/logo.png" alt="logo.png" />
240
+<p>
241
+<img src="images/logo.png" alt="logo.png" />
242
+<img src="images/bbb3.png" alt="bbb3.png" />
243 243
 </p>
244 244
 </div>
245
-</div>
246 245
 
247 246
 <blockquote>
248 247
 <p>
@@ -254,11 +253,6 @@ for the JavaScript code in this tag.
254 253
 </p>
255 254
 </blockquote>
256 255
 
257
-
258
-<center>
259
-<h1><a href="./release3.html">New version 3 (Stretch)</a></h1>
260
-</center>
261
-
262 256
 <p>
263 257
 So you want to run your own internet services? Email, chat, VoIP, web sites, file synchronisation, wikis, blogs, social networks, media hosting, backups, VPN. Freedombone enables you to do all of that in a self-hosted way, where you keep control of your data and it resides in your own home.
264 258
 </p>