summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-10-13 17:08:11 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-10-13 17:08:11 +0200
commit7978c859d2e7e0e51515640e96acc8fd4eac548d (patch)
treeca6f4c78ac0df1c36212075cd8b9e249929c2142
parent870d404836a0007ba108f6966efc5aeadee667ec (diff)
downloadarchlinuxewe-7978c859d2e7e0e51515640e96acc8fd4eac548d.tar.xz
mandos: fix dependencies of package and openrc run script
-rw-r--r--mandos/PKGBUILD9
-rwxr-xr-xmandos/mandos.init5
2 files changed, 9 insertions, 5 deletions
diff --git a/mandos/PKGBUILD b/mandos/PKGBUILD
index c21f921dd..ee804b759 100644
--- a/mandos/PKGBUILD
+++ b/mandos/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase='mandos'
pkgname=('mandos-server' 'mandos-client-nokey')
pkgdesc='system for allowing servers with encrypted root file systems to reboot unattended and/or remotely'
pkgver='1.8.17'
-pkgrel=3
+pkgrel=4
url='https://www.recompile.se/mandos'
license=('GPL')
@@ -16,7 +16,7 @@ source=("https://ftp.recompile.se/pub/${pkgbase}/${pkgbase}_${pkgver}.orig.tar.g
sha512sums=('0059593ab6b92b5178bbbf0be5d6852ec93393ed39032b05bc54c20c698a9e000c1db6c5069fad40f4d173f5b9d397503ca0077446ef460571138fac0f33f5ea'
'SKIP'
'6561dfcd1c7ecc593b5d387796b01507fea7c1eb737196b880ac90c3ee561d4c7a803e2b21dc16d4c617ae116a7817465d99fa466398f53e4d7508ef8354110f'
- '8572fa5b2dca2e4b1f366bf83cae7201b8131b64905bd6320440f7a0742a2a4f9f3da00edb6afb66d29e60c6c191d2e53c732d2b0ea47fb7c936818816c95ce4')
+ 'b7e995295b5f63998d03b9c4a2257420ffff00caaa7c666e8cc79e95a7d2097b1db570841c8a1200c53df8689dcbcd9d3ff48be4f547836b849dbfdb6f56c3bb')
validpgpkeys=('153A37F10BBA0435987F2C4A72232973CA34C2C4')
@@ -52,6 +52,11 @@ package_mandos-server() {
arch=(any)
_pinned_dependencies=(
)
+ depends=(
+ 'avahi-openrc'
+ 'python-gobject'
+ 'python-urwid'
+ )
_package server
install -m755 "${srcdir}/mandos.init" "${pkgdir}/etc/init.d/mandos"
}
diff --git a/mandos/mandos.init b/mandos/mandos.init
index c01f6842d..49661adc8 100755
--- a/mandos/mandos.init
+++ b/mandos/mandos.init
@@ -1,9 +1,8 @@
#!/usr/bin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
depend() {
- need localmount
+ after avahi-daemon
+ need avahi-daemon
}
start() {