pkgsrc/sysutils/apcupsd/patches/patch-ab
taca 4b440744a5 sysutils/apcupsd: update to 3.14.14
Update apcupsd package to 3.14.14.


3.14.14 -- 31 May 2016

BUG FIXES

  * win32: Fix missing DLLs when installing only apctray

  * Fixes for socket error handling. Resolves apcaccess crash when connection
    fails as well as several other theoretical issues.

  * MODBUS/USB error handling (COMMLOST) improvements for faulty USB links

  * Fix hiddev binding when usbfs is mounted on /dev/bus/usb instead of
    /proc/bus/usb. This is necessary for switching between MODBUS/USB and
    USB/HID on Linux.

  * Update GPLv2 text and FSF address to match current versions from FSF.

  * Various fixes for potential issues suggested by Coverity Scan

  * MacOS X port support for El Capitan System Integrity Protection (SIP)
    aka "rootless"

  * Fix shutdown failure on Windows when UPSNAME includes spaces

  * Fix building bsd-usb driver
    (This was broken when modbus-usb support was added.)

FEATURES

  * Add status display for output current as well as apparent power
2020-09-19 13:50:48 +00:00

34 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.7 2020/09/19 13:50:48 taca Exp $
* Accept connection from localhost default.
* Use proper directory.
--- platforms/etc/apcupsd.conf.in.orig 2007-06-15 22:21:18.000000000 +0200
+++ platforms/etc/apcupsd.conf.in 2007-06-15 22:28:16.000000000 +0200
@@ -180,7 +180,7 @@
# NIS will listen for connections only on that interface. Use the
# loopback address (127.0.0.1) to accept connections only from the
# local machine.
-NISIP @NISIP@
+NISIP 127.0.0.1
# NISPORT <port> default is 3551 as registered with the IANA
# port to use for sending STATUS and EVENTS data over the network.
@@ -191,7 +191,7 @@
# If you want the last few EVENTS to be available over the network
# by the network information server, you must define an EVENTSFILE.
-EVENTSFILE @LOGDIR@/apcupsd.events
+EVENTSFILE /var/db/apcupsd.events
# EVENTSFILEMAX <kilobytes>
# By default, the size of the EVENTSFILE will be not be allowed to exceed
@@ -231,7 +231,7 @@
STATTIME 0
# Location of STATUS file (written to only if STATTIME is non-zero)
-STATFILE @LOGDIR@/apcupsd.status
+STATFILE /var/run/apcupsd.status
# LOGSTATS [ on | off ] on enables, off disables
# Note! This generates a lot of output, so if