diff --git a/testing/nut/APKBUILD b/testing/nut/APKBUILD index de39b19f908..85f8e1b5819 100644 --- a/testing/nut/APKBUILD +++ b/testing/nut/APKBUILD @@ -3,11 +3,12 @@ # Maintainer: Kozak Ivan pkgname=nut pkgver=2.7.4 -pkgrel=8 +pkgrel=9 pkgdesc="Network UPS tools" url="https://networkupstools.org/" arch="all" license="GPL-2.0-or-later" +depends="hidapi eudev udev-init-scripts-openrc" depends_dev="openssl-dev libusb-compat-dev net-snmp-dev neon-dev nss-dev" makedepends="$depends_dev libtool autoconf automake" pkgusers=$pkgname @@ -50,7 +51,7 @@ build() { --sysconfdir=/etc/nut \ --with-statepath=/var/run/nut \ --with-altpidpath=/var/run/nut \ - --with-udev-dir=/usr/lib/udev/rules.d \ + --with-udev-dir=/lib/udev \ --with-nss \ --with-openssl make diff --git a/testing/nut/upsd.initd b/testing/nut/upsd.initd index 0f891bce5db..e9b7a22fce7 100644 --- a/testing/nut/upsd.initd +++ b/testing/nut/upsd.initd @@ -9,6 +9,7 @@ start_stop_daemon_args="--quiet" depend() { use net dns + need udev } start_pre() {