From 7c473e4bbced16cd31f198135a32978fbecd52e5 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 27 Feb 2022 18:19:42 +0100 Subject: [PATCH] align with debian --- contrib/archlinux/PKGBUILD | 6 +++++- contrib/archlinux/PKGBUILD.git | 5 ++++- contrib/archlinux/systemd/ebusd.service | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/contrib/archlinux/PKGBUILD b/contrib/archlinux/PKGBUILD index f2bdbfb65..dd0a6ee00 100644 --- a/contrib/archlinux/PKGBUILD +++ b/contrib/archlinux/PKGBUILD @@ -8,7 +8,8 @@ pkgdesc="ebusd, the daemon for communication with eBUS heating systems." arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url=https://github.com/john30/ebusd/ license=('GPL3') -depends=() +depends=('mosquitto' 'openssl' 'ca-certificates') +makedepends=() optdepends=() conflicts=('ebusd' 'ebusd-git') provides=('ebusd') @@ -35,6 +36,9 @@ package() { install -m 0644 contrib/archlinux/systemd/ebusd.service "${pkgdir}/usr/lib/systemd/system" install -d "${pkgdir}/etc/conf.d" install -m 0644 contrib/archlinux/conf.d/ebusd "${pkgdir}/etc/conf.d/ebusd" + install -d "${pkgdir}/etc/ebusd" + install -m 0644 contrib/etc/ebusd/mqtt-hassio.cfg "${pkgdir}/etc/ebusd/mqtt-hassio.cfg" + install -m 0644 contrib/etc/ebusd/mqtt-integration.cfg "${pkgdir}/etc/ebusd/mqtt-integration.cfg" } # update md5sums: updpkgsums md5sums=('a18ebd8f16cefdf9e50f277fe2cb2348') diff --git a/contrib/archlinux/PKGBUILD.git b/contrib/archlinux/PKGBUILD.git index 6da6111ab..00354c6a2 100644 --- a/contrib/archlinux/PKGBUILD.git +++ b/contrib/archlinux/PKGBUILD.git @@ -9,7 +9,7 @@ pkgdesc="ebusd, the daemon for communication with eBUS heating systems." arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url=https://github.com/john30/ebusd/ license=('GPL3') -depends=() +depends=('mosquitto' 'openssl' 'ca-certificates') makedepends=('git') optdepends=() conflicts=('ebusd' 'ebusd-git') @@ -41,6 +41,9 @@ package() { install -m 0644 contrib/archlinux/systemd/ebusd.service "${pkgdir}/usr/lib/systemd/system" install -d "${pkgdir}/etc/conf.d" install -m 0644 contrib/archlinux/conf.d/ebusd "${pkgdir}/etc/conf.d/ebusd" + install -d "${pkgdir}/etc/ebusd" + install -m 0644 contrib/etc/ebusd/mqtt-hassio.cfg "${pkgdir}/etc/ebusd/mqtt-hassio.cfg" + install -m 0644 contrib/etc/ebusd/mqtt-integration.cfg "${pkgdir}/etc/ebusd/mqtt-integration.cfg } md5sums=('SKIP') diff --git a/contrib/archlinux/systemd/ebusd.service b/contrib/archlinux/systemd/ebusd.service index 5bb9f4d2f..14f271cb0 100644 --- a/contrib/archlinux/systemd/ebusd.service +++ b/contrib/archlinux/systemd/ebusd.service @@ -1,6 +1,6 @@ [Unit] Description=ebusd, the daemon for communication with eBUS heating systems. -After=network.target +After=network-online.target ConditionPathExists=/var/log [Service]