network-ups-tools: do not ship binaries in /var
In Debian these are shipped in /lib/nut, which is equivalent to /usr/libexec/nut on Void. Binaries certainly do not belong in /var.
This commit is contained in:
parent
8c11ab539e
commit
3efc1561c7
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'network-ups-tools'
|
# Template file for 'network-ups-tools'
|
||||||
pkgname=network-ups-tools
|
pkgname=network-ups-tools
|
||||||
version=2.7.4
|
version=2.7.4
|
||||||
revision=9
|
revision=10
|
||||||
wrksrc="nut-${version}"
|
wrksrc="nut-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -9,7 +9,7 @@ configure_args="
|
||||||
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
||||||
--with-usb --with-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
--with-usb --with-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
||||||
--with-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
|
--with-libltdl --without-ipmi --without-freeipmi --without-systemdsystemunitdir
|
||||||
--with-snmp --with-drvpath=/var/lib/nut $(vopt_with cgi) --with-statepath=/run/ups"
|
--with-snmp --with-drvpath=/usr/libexec/nut $(vopt_with cgi) --with-statepath=/run/ups"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
|
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
|
||||||
net-snmp-devel $(vopt_if cgi gd-devel) libltdl-devel"
|
net-snmp-devel $(vopt_if cgi gd-devel) libltdl-devel"
|
||||||
|
|
Loading…
Reference in a new issue