From 48aac397bb0effe08f02130c7f0f55c4d8f3b7ee Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Tue, 24 Oct 2023 15:43:54 +0200 Subject: [PATCH] FIX debian packaging (fpm) --- README.md | 11 +++++++++++ etc/debian/fpm-make.sh | 4 ++++ etc/raspbian/fpm-make.sh | 5 +++++ 3 files changed, 20 insertions(+) diff --git a/README.md b/README.md index 0eee9eb..4f707a9 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,17 @@ sudo apt update sudo apt install ot-recorder ``` +Debian 12 "Bookworm": + +``` +curl --no-progress-meter https://raw.githubusercontent.com/owntracks/recorder/master/etc/repo.owntracks.org.gpg.key | sudo tee /etc/apt/trusted.gpg.d/owntracks.asc + +echo "deb http://repo.owntracks.org/debian bookworm main" | sudo tee /etc/apt/sources.list.d/owntracks.list > /dev/null +sudo apt update +sudo apt install ot-recorder +``` + + #### systemd service The packages we provide have a systemd unit file in `/usr/share/doc/ot-recorder/ot-recorder.service` which you can use to have the Recorder started automatically: diff --git a/etc/debian/fpm-make.sh b/etc/debian/fpm-make.sh index 1afc41a..1e2bcbe 100755 --- a/etc/debian/fpm-make.sh +++ b/etc/debian/fpm-make.sh @@ -37,6 +37,10 @@ case $(cat /etc/debian_version) in libcurl="libcurl4" liblua="liblua5.4-0" ;; + 12.*) + libsodium="libsodium23" + libcurl="libcurl4" + liblua="liblua5.4-0" esac fpm -s dir \ diff --git a/etc/raspbian/fpm-make.sh b/etc/raspbian/fpm-make.sh index b09e61e..c88d983 100755 --- a/etc/raspbian/fpm-make.sh +++ b/etc/raspbian/fpm-make.sh @@ -37,6 +37,11 @@ case $(cat /etc/debian_version) in libcurl="libcurl4" liblua="liblua5.4-0" ;; + 12.*) + libsodium="libsodium23" + libcurl="libcurl4" + liblua="liblua5.4-0" + ;; esac fpm -s dir \