mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/nut: fix path and missing dependencies for USB UPS
This commit is contained in:
parent
eb2165d671
commit
9c6fd2bec6
@ -3,11 +3,12 @@
|
||||
# Maintainer: Kozak Ivan <kozak-iv@yandex.ru>
|
||||
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
|
||||
|
||||
@ -9,6 +9,7 @@ start_stop_daemon_args="--quiet"
|
||||
|
||||
depend() {
|
||||
use net dns
|
||||
need udev
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user