Placeholder functions for app upgrades

This commit is contained in:
Bob Mottram 2016-07-06 15:01:28 +01:00
parent 861c1d8bc0
commit 5460385221
24 changed files with 93 additions and 1 deletions

View File

@ -32,6 +32,10 @@
ENABLE_BABEL="no"
BABEL_PORT=6696
function upgrade_babel {
echo ''
}
function backup_local_babel {
echo ''
}

View File

@ -45,6 +45,10 @@ function configure_firewall_for_batma {
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
}
function upgrade_batman {
echo ''
}
function backup_local_batman {
echo ''
}

View File

@ -36,6 +36,10 @@ FULLBLOG_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
MY_BLOG_TITLE="My Blog"
MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
function upgrade_blog {
echo ''
}
function backup_local_blog {
echo ''
}

View File

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

View File

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

View File

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

View File

@ -47,6 +47,10 @@ SHARINGS_COMMIT='d5c6c7f855d9afff9086c09ea706f38c859bc0d4'
SHARINGS_THEME_REPO="http://git.lasindias.club/manuel/SharingsTheme"
SHARINGS_THEME_COMMIT='7106c7ef03'
function upgrade_gnusocial {
echo ''
}
function backup_local_gnusocial {
echo ''
}

View File

@ -35,6 +35,10 @@ GIT_DOMAIN_REPO="https://github.com/gogits/gogs"
GIT_ADMIN_PASSWORD=
GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
function upgrade_gogs {
echo ''
}
function backup_local_gogs {
echo ''
}

View File

@ -38,6 +38,10 @@ HUBZILLA_ADMIN_PASSWORD=
HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
function upgrade_hubzilla {
echo ''
}
function backup_local_hubzilla {
echo ''
}

View File

@ -32,6 +32,10 @@ IPFS_GO_REPO="https://github.com/ipfs/go-ipfs"
IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
IPFS_PORT=4001
function upgrade_ipfs {
echo ''
}
function backup_local_ipfs {
echo ''
}

View File

@ -34,6 +34,10 @@ IRC_ONION_PORT=6697
# An optional password to log into IRC. This applies to all users
IRC_PASSWORD=
function upgrade_irc {
echo ''
}
function backup_local_irc {
echo ''
}

View File

@ -35,6 +35,10 @@ MEDIAGOBLIN_COMMIT='d1ac2d52fd8859c3f32fa38e4836ffe9615e5bba'
MEDIAGOBLIN_ADMIN_PASSWORD=
MEDIAGOBLIN_ONION_PORT=8096
function upgrade_mediagoblin {
echo ''
}
function backup_local_mediagoblin {
echo ''
}

View File

@ -37,6 +37,10 @@ VOIP_PORT=64738
VOIP_DATABASE="mumble-server.sqlite"
VOIP_CONFIG_FILE="mumble-server.ini"
function upgrade_mumble {
echo ''
}
function backup_local_mumble {
echo ''
}

View File

@ -40,6 +40,10 @@ RSS_READER_PATH=/etc/share/tt-rss
RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
function upgrade_rss {
echo ''
}
function backup_local_rss {
echo ''
}

View File

@ -36,6 +36,10 @@ SEARX_ONION_HOSTNAME=
SEARX_LOGIN_TEXT=$"Search engine login"
SEARX_PASSWORD=
function upgrade_searx {
echo ''
}
function backup_local_searx {
echo ''
}

View File

@ -35,6 +35,10 @@ VOIP_TURN_PORT=3478
VOIP_TURN_TLS_PORT=5349
VOIP_TURN_NONCE=
function upgrade_sip {
echo ''
}
function backup_local_sip {
echo ''
}

View File

@ -37,6 +37,10 @@ SYNCTHING_PORT=22000
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
SYNCTHING_USER_IDS_FILE='.syncthingids'
function upgrade_syncthing {
echo ''
}
function backup_local_syncthing {
echo ''
}

View File

@ -44,6 +44,10 @@ TOXIC_REPO="https://github.com/Tox/toxic"
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
TOXIC_FILE=/usr/local/bin/toxic
function upgrade_tox {
echo ''
}
function backup_local_tox {
echo ''
}

View File

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

View File

@ -36,6 +36,10 @@ WEBMAIL_ADMIN_PASSWORD=
WEB_PATH=/var/www
WEBMAIL_PATH=$WEB_PATH/webmail
function upgrade_webmail {
echo ''
}
function backup_local_webmail {
echo ''
}

View File

@ -34,6 +34,10 @@ WIKI_TITLE="${PROJECT_NAME} Wiki"
WIKI_CODE=
WIKI_ONION_PORT=8089
function upgrade_wiki {
echo ''
}
function backup_local_wiki {
echo ''
}

View File

@ -35,6 +35,10 @@ XMPP_PASSWORD=
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"'
XMPP_ECC_CURVE='"secp384r1"'
function upgrade_xmpp {
echo ''
}
function backup_local_xmpp {
echo ''
}

View File

@ -45,6 +45,10 @@ ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
function upgrade_zeronet {
echo ''
}
function backup_local_zeronet {
echo ''
}

View File

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