Browse Source

Placeholder functions for app upgrades

Bob Mottram 8 years ago
parent
commit
5460385221

+ 4
- 0
src/freedombone-app-babel View File

@@ -32,6 +32,10 @@
32 32
 ENABLE_BABEL="no"
33 33
 BABEL_PORT=6696
34 34
 
35
+function upgrade_babel {
36
+    echo ''
37
+}
38
+
35 39
 function backup_local_babel {
36 40
     echo ''
37 41
 }

+ 4
- 0
src/freedombone-app-batman View File

@@ -45,6 +45,10 @@ function configure_firewall_for_batma {
45 45
 	echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
46 46
 }
47 47
 
48
+function upgrade_batman {
49
+    echo ''
50
+}
51
+
48 52
 function backup_local_batman {
49 53
     echo ''
50 54
 }

+ 4
- 0
src/freedombone-app-blog View File

@@ -36,6 +36,10 @@ FULLBLOG_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
36 36
 MY_BLOG_TITLE="My Blog"
37 37
 MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
38 38
 
39
+function upgrade_blog {
40
+    echo ''
41
+}
42
+
39 43
 function backup_local_blog {
40 44
     echo ''
41 45
 }

+ 4
- 0
src/freedombone-app-cjdns View File

@@ -40,6 +40,10 @@ CJDNS_COMMIT='13189fde111d0500427a7a0ce06a970753527bca'
40 40
 CJDCMD_REPO="https://github.com/inhies/cjdcmd"
41 41
 CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
42 42
 
43
+function upgrade_cjdns {
44
+    echo ''
45
+}
46
+
43 47
 function configure_firewall_for_cjdns {
44 48
 	if grep -Fxq "configure_firewall_for_cjdns" $COMPLETION_FILE; then
45 49
 		return

+ 4
- 0
src/freedombone-app-dlna View File

@@ -28,6 +28,10 @@
28 28
 # You should have received a copy of the GNU Affero General Public License
29 29
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
30 30
 
31
+function upgrade_dlna {
32
+    echo ''
33
+}
34
+
31 35
 function configure_firewall_for_dlna {
32 36
 	if grep -Fxq "configure_firewall_for_dlna" $COMPLETION_FILE; then
33 37
 		return

+ 4
- 0
src/freedombone-app-emacs View File

@@ -28,6 +28,10 @@
28 28
 # You should have received a copy of the GNU Affero General Public License
29 29
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
30 30
 
31
+function upgrade_emacs {
32
+    echo ''
33
+}
34
+
31 35
 function backup_local_emacs {
32 36
 	echo ''
33 37
 }

+ 4
- 0
src/freedombone-app-gnusocial View File

@@ -47,6 +47,10 @@ SHARINGS_COMMIT='d5c6c7f855d9afff9086c09ea706f38c859bc0d4'
47 47
 SHARINGS_THEME_REPO="http://git.lasindias.club/manuel/SharingsTheme"
48 48
 SHARINGS_THEME_COMMIT='7106c7ef03'
49 49
 
50
+function upgrade_gnusocial {
51
+    echo ''
52
+}
53
+
50 54
 function backup_local_gnusocial {
51 55
 	echo ''
52 56
 }

+ 4
- 0
src/freedombone-app-gogs View File

@@ -35,6 +35,10 @@ GIT_DOMAIN_REPO="https://github.com/gogits/gogs"
35 35
 GIT_ADMIN_PASSWORD=
36 36
 GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
37 37
 
38
+function upgrade_gogs {
39
+    echo ''
40
+}
41
+
38 42
 function backup_local_gogs {
39 43
     echo ''
40 44
 }

+ 4
- 0
src/freedombone-app-hubzilla View File

@@ -38,6 +38,10 @@ HUBZILLA_ADMIN_PASSWORD=
38 38
 HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
39 39
 HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
40 40
 
41
+function upgrade_hubzilla {
42
+    echo ''
43
+}
44
+
41 45
 function backup_local_hubzilla {
42 46
     echo ''
43 47
 }

+ 4
- 0
src/freedombone-app-ipfs View File

@@ -32,6 +32,10 @@ IPFS_GO_REPO="https://github.com/ipfs/go-ipfs"
32 32
 IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
33 33
 IPFS_PORT=4001
34 34
 
35
+function upgrade_ipfs {
36
+    echo ''
37
+}
38
+
35 39
 function backup_local_ipfs {
36 40
     echo ''
37 41
 }

+ 4
- 0
src/freedombone-app-irc View File

@@ -34,6 +34,10 @@ IRC_ONION_PORT=6697
34 34
 # An optional password to log into IRC. This applies to all users
35 35
 IRC_PASSWORD=
36 36
 
37
+function upgrade_irc {
38
+    echo ''
39
+}
40
+
37 41
 function backup_local_irc {
38 42
 	echo ''
39 43
 }

+ 4
- 0
src/freedombone-app-mediagoblin View File

@@ -35,6 +35,10 @@ MEDIAGOBLIN_COMMIT='d1ac2d52fd8859c3f32fa38e4836ffe9615e5bba'
35 35
 MEDIAGOBLIN_ADMIN_PASSWORD=
36 36
 MEDIAGOBLIN_ONION_PORT=8096
37 37
 
38
+function upgrade_mediagoblin {
39
+    echo ''
40
+}
41
+
38 42
 function backup_local_mediagoblin {
39 43
     echo ''
40 44
 }

+ 4
- 0
src/freedombone-app-mumble View File

@@ -37,6 +37,10 @@ VOIP_PORT=64738
37 37
 VOIP_DATABASE="mumble-server.sqlite"
38 38
 VOIP_CONFIG_FILE="mumble-server.ini"
39 39
 
40
+function upgrade_mumble {
41
+    echo ''
42
+}
43
+
40 44
 function backup_local_mumble {
41 45
     echo ''
42 46
 }

+ 4
- 0
src/freedombone-app-rss View File

@@ -40,6 +40,10 @@ RSS_READER_PATH=/etc/share/tt-rss
40 40
 RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
41 41
 RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
42 42
 
43
+function upgrade_rss {
44
+    echo ''
45
+}
46
+
43 47
 function backup_local_rss {
44 48
 	echo ''
45 49
 }

+ 4
- 0
src/freedombone-app-searx View File

@@ -36,6 +36,10 @@ SEARX_ONION_HOSTNAME=
36 36
 SEARX_LOGIN_TEXT=$"Search engine login"
37 37
 SEARX_PASSWORD=
38 38
 
39
+function upgrade_searx {
40
+    echo ''
41
+}
42
+
39 43
 function backup_local_searx {
40 44
 	echo ''
41 45
 }

+ 4
- 0
src/freedombone-app-sip View File

@@ -35,6 +35,10 @@ VOIP_TURN_PORT=3478
35 35
 VOIP_TURN_TLS_PORT=5349
36 36
 VOIP_TURN_NONCE=
37 37
 
38
+function upgrade_sip {
39
+    echo ''
40
+}
41
+
38 42
 function backup_local_sip {
39 43
 	echo ''
40 44
 }

+ 4
- 0
src/freedombone-app-syncthing View File

@@ -37,6 +37,10 @@ SYNCTHING_PORT=22000
37 37
 SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
38 38
 SYNCTHING_USER_IDS_FILE='.syncthingids'
39 39
 
40
+function upgrade_syncthing {
41
+    echo ''
42
+}
43
+
40 44
 function backup_local_syncthing {
41 45
     echo ''
42 46
 }

+ 4
- 0
src/freedombone-app-tox View File

@@ -44,6 +44,10 @@ TOXIC_REPO="https://github.com/Tox/toxic"
44 44
 TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
45 45
 TOXIC_FILE=/usr/local/bin/toxic
46 46
 
47
+function upgrade_tox {
48
+    echo ''
49
+}
50
+
47 51
 function backup_local_tox {
48 52
 	echo ''
49 53
 }

+ 4
- 0
src/freedombone-app-vpn View File

@@ -28,6 +28,10 @@
28 28
 # You should have received a copy of the GNU Affero General Public License
29 29
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
30 30
 
31
+function upgrade_vpn {
32
+    echo ''
33
+}
34
+
31 35
 function backup_local_vpn {
32 36
 	echo ''
33 37
 }

+ 4
- 0
src/freedombone-app-webmail View File

@@ -36,6 +36,10 @@ WEBMAIL_ADMIN_PASSWORD=
36 36
 WEB_PATH=/var/www
37 37
 WEBMAIL_PATH=$WEB_PATH/webmail
38 38
 
39
+function upgrade_webmail {
40
+    echo ''
41
+}
42
+
39 43
 function backup_local_webmail {
40 44
     echo ''
41 45
 }

+ 4
- 0
src/freedombone-app-wiki View File

@@ -34,6 +34,10 @@ WIKI_TITLE="${PROJECT_NAME} Wiki"
34 34
 WIKI_CODE=
35 35
 WIKI_ONION_PORT=8089
36 36
 
37
+function upgrade_wiki {
38
+    echo ''
39
+}
40
+
37 41
 function backup_local_wiki {
38 42
     echo ''
39 43
 }

+ 4
- 0
src/freedombone-app-xmpp View File

@@ -35,6 +35,10 @@ XMPP_PASSWORD=
35 35
 XMPP_CIPHERS='"EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA"'
36 36
 XMPP_ECC_CURVE='"secp384r1"'
37 37
 
38
+function upgrade_xmpp {
39
+    echo ''
40
+}
41
+
38 42
 function backup_local_xmpp {
39 43
 	echo ''
40 44
 }

+ 4
- 0
src/freedombone-app-zeronet View File

@@ -45,6 +45,10 @@ ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
45 45
 ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
46 46
 ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
47 47
 
48
+function upgrade_zeronet {
49
+    echo ''
50
+}
51
+
48 52
 function backup_local_zeronet {
49 53
 	echo ''
50 54
 }

+ 1
- 1
src/freedombone-tests View File

@@ -65,7 +65,7 @@ function test_app_functions {
65 65
 	fi
66 66
 
67 67
 	# check that these functions exist
68
-	interface_functions=( install remove backup_local backup_remote )
68
+	interface_functions=( install remove backup_local backup_remote upgrade )
69 69
 
70 70
 	# for all the app scripts
71 71
 	for filename in $FILES