network-ups-tools: build nut-scanner

This commit is contained in:
Dominik Honnef 2015-06-28 05:07:27 +02:00
parent 499327971e
commit 11eb3e9279
3 changed files with 6 additions and 2 deletions

View file

@ -1603,6 +1603,7 @@ libpyside-python2.7.so.1.2 libpyside-python-1.2.2_2
libpyside-python3.4.so.1.2 libpyside-python3.4-1.2.2_2
libupsclient.so.4 libnetwork-ups-tools-2.7.2_1
libnutclient.so.0 libnetwork-ups-tools-2.7.2_1
libnutscan.so.1 libnetwork-ups-tools-2.7.3_3
libsphinxad.so.0 sphinxbase-0.8_1
libsphinxbase.so.1 sphinxbase-0.8_1
libpocketsphinx.so.1 libpocketsphinx-0.8_3

View file

@ -0,0 +1,3 @@
nut-scanner dynamically detects available modules (SNMP, USB, …) at
runtime. For this, one or more of the following packages need to be
installed: libusb-compat-devel, net-snmp-devel, avahi-libs-devel.

View file

@ -8,11 +8,11 @@ configure_args="
--sysconfdir=/etc/ups --without-doc --disable-static
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
--without-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)"
hostmakedepends="pkg-config"
makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel
net-snmp-devel $(vopt_if cgi gd-devel)"
net-snmp-devel $(vopt_if cgi gd-devel) libltdl-devel"
system_accounts="nut"
conf_files="
/etc/ups/ups.conf