From cb2bd5b1936dfa31690e089972d311080dff215f Mon Sep 17 00:00:00 2001
From: Sam Heinz <54530346+asylumexp@users.noreply.github.com>
Date: Mon, 8 Apr 2024 19:09:46 +1000
Subject: [PATCH] Ported deConz to ARM64
---
README.md | 1 +
ct/deconz.sh | 2 +-
install/deconz-install.sh | 5 +++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 6b3ef5e87..fe263ff3f 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,7 @@ Any applications not in ported or unsupported need to be tested for whether they
Cronicle
DaemonSync - needs testing?
Dashy
+ deConz
Docker
Jellyseerr
Mafl
diff --git a/ct/deconz.sh b/ct/deconz.sh
index bf42af0ce..09f6f6d33 100644
--- a/ct/deconz.sh
+++ b/ct/deconz.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
+source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster)
# License: MIT
diff --git a/install/deconz-install.sh b/install/deconz-install.sh
index 614129e79..a76a69034 100644
--- a/install/deconz-install.sh
+++ b/install/deconz-install.sh
@@ -17,16 +17,17 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
+$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Setting Phoscon Repository"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
curl -fsSL http://phoscon.de/apt/deconz.pub.key >/etc/apt/trusted.gpg.d/deconz.pub.asc
-echo "deb [arch=amd64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list
+echo "deb [arch=arm64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list
msg_ok "Setup Phoscon Repository"
msg_info "Installing deConz"
-libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1)
+libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*all\.deb' | head -n1)
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl
$STD dpkg -i $libssl
$STD apt-get update