Browse Source

Fixed nut to not install its drivers skeleton

early
Christian Wiese 17 years ago
parent
commit
7a426abbd6
  1. 11
      monitor/nut/no_skel.patch
  2. 4
      monitor/nut/nut.conf

11
monitor/nut/no_skel.patch

@ -0,0 +1,11 @@
--- nut-2.2.0/drivers/Makefile.am.orig 2007-10-16 16:52:04.000000000 +0300
+++ nut-2.2.0/drivers/Makefile.am 2007-10-16 16:52:14.000000000 +0300
@@ -19,7 +19,7 @@
bestuferrups bestups cpsups cyberpower dummy-ups etapro everups \
gamatronic genericups isbmex liebert masterguard megatec metasys \
mge-shut mge-utalk newmge-shut nitram oneac optiups powercom rhino \
- safenet skel solis tripplite tripplitesu upscode2 victronups powerpanel
+ safenet solis tripplite tripplitesu upscode2 victronups powerpanel
SNMP_DRIVERLIST = snmp-ups
USB_LIBUSB_DRIVERLIST = usbhid-ups bcmxcp_usb tripplite_usb megatec_usb
USB_HIDDEV_DRIVERLIST = energizerups

4
monitor/nut/nut.conf

@ -12,5 +12,9 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# we patch drivers/Makefile.am to not install the driver skeleton
# (see: no_skel.patch)
hook_add preconf 5 "aclocal -I m4; autoconf; automake -a"
# build and install libupsclient by default
var_append confopt ' ' "--with-lib"

Loading…
Cancel
Save