pkgsrc/sysutils/apcupsd/patches/patch-ap
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

15 lines
597 B
Text

$NetBSD: patch-ap,v 1.5 2020/09/19 13:50:48 taca Exp $
* Fix installation for pkgsrc.
--- platforms/sun/Makefile.orig 2008-06-01 23:57:56.000000000 +0200
+++ platforms/sun/Makefile 2012-02-19 19:20:10.000000000 +0100
@@ -12,7 +12,7 @@
$(call MKDIR,/etc/rc1.d)
$(call MKDIR,/etc/rc2.d)
$(call MKDIR,/etc/init.d)
- $(call INSTPROG,744,apcupsd,/etc/init.d/apcupsd)
+ $(call INSTSCRIPT,744,apcupsd,/etc/init.d/apcupsd)
$(call SYMLINK,../init.d/apcupsd,/etc/rc0.d/K21apcupsd)
$(call SYMLINK,../init.d/apcupsd,/etc/rc1.d/S89apcupsd)
$(call SYMLINK,../init.d/apcupsd,/etc/rc2.d/S89apcupsd)