aboutsummaryrefslogtreecommitdiff
path: root/share/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/provision')
-rw-r--r--share/provision/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg51
-rwxr-xr-xshare/provision/messenger44
2 files changed, 95 insertions, 0 deletions
diff --git a/share/provision/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg b/share/provision/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg
new file mode 100644
index 0000000..4b09c47
--- /dev/null
+++ b/share/provision/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg
@@ -0,0 +1,51 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBFjlSicBEACgho//0EzxuvuCn01LwFqGAgwPKcSSl4L+AWws5/YbsZZvmTBk
+ggIiVOCIMh+d3cmGu5W3ydaeUbWbFGNsxO44EB5YBZcuLa5EzRKbNPVaOXKXmhp+
+w0mEbkoKbF+3mz3lifwBnzcBpukyJDgcJSq8cXfq5JsDPR1KAL6ph/kwKeiDNg+8
+oFgqfboukK56yPTYc9iM8hkTFdx9L6JCJaZGaDMfihoQm2caKAmqc+TlpgtKbBL0
+t5hrzDpCPpJvCddu1NRysTcqfACSSocvoqY0dlbNPMN8j04LH8hcKGFipuLdI8qx
+BFqlMIQJCVJhr05E8rEsI4nYEyG44YoPopTFLuQa+wewZsQkLwcfYeCecU1KxlpE
+OI3xRtALJjA/C/AzUXVXsWn7Xpcble8i3CKkm5LgX5zvR6OxTbmBUmpNgKQiyxD6
+TrP3uADm+0P6e8sJQtA7DlxZLA6HuSi+SQ2WNcuyLL3Q/lJE0qBRWVJ08nI9vvxR
+vAs20LKxq+D1NDhZ2jfG2+5agY661fkx66CZNFdz5OgxJih1UXlwiHpn6qhP7Rub
+OJ54CFb+EwyzDVVKj3EyIZ1FeN/0I8a0WZV6+Y/p08DsDLcKgqcDtK01ydWYP0tA
+o1S2Z7Jsgya50W7ZuP/VkobDqhOmE0HDPggX3zEpXrZKuMnRAcz6Bgi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4yxakOUDZiljm3uNyklUMCiMjTvT/F02PalQMapvA5w
+7Gwg5mSI8NDs3RtiG1rKl9Ytpdq7uHaStlHwGXBVfvayDDKnlpmndee2GBiU/hc2
+ZsYHzEWKXME/ru6EZofUFxeVdev5+9ztYJBBZCGMug5Xp3Gxh/9JUWi6F1+9qAyz
+N+O606NOXLwcmq5KZL0g
+=zyVo
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/share/provision/messenger b/share/provision/messenger
new file mode 100755
index 0000000..749a728
--- /dev/null
+++ b/share/provision/messenger
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+#
+# Messenger provision example
+#
+# Copyright (C) 2017 Silvio Rhatto - rhatto at riseup.net
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation, either version 3 of the License,
+# or any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+# Parameters
+DIRNAME="`dirname $0`"
+BASENAME="`basename $0`"
+HOSTNAME="$1"
+DOMAIN="$2"
+MIRROR="$3"
+APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y"
+
+# Provision the basic stuff
+$DIRNAME/desktop-basic $HOSTNAME $DOMAIN $MIRROR
+
+# Install requirements
+$APT_INSTALL curl apt-transport-https
+
+# Setup Signal repository
+#curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
+sudo cp $DIRNAME/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg /etc/apt/trusted.gpg.d/
+echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal-xenial.list
+
+# Install Signal
+sudo apt update && sudo apt install signal-desktop
+
+# Install Ricochet
+sudo apt install ricochet