./sysutils/apcupsd [daemon for controlling APC UPSes]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 3.14.14, Package name: apcupsd-3.14.14
Maintained by: Kirill Bychkov
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • no_x11
Description-cgi
CGI scripts that can query an apcupsd and display information
and statistics on a web page.

Description-main
Apcupsd can be used for power mangement and controlling most of APC's
UPS models. Apcupsd works with most of APC's Smart-UPS models as well as
most simple signalling models such a Back-UPS, and BackUPS-Office.
During a power failure, apcupsd will inform the users about the power
failure and that a shutdown may occur. If power is not restored, a
system shutdown will follow when the battery is exhausted, a timeout
(seconds) expires, or runtime expires based on internal APC calculations
determined by power consumption rates.

Description-x11
GNOME monitoring application for apcupsd.

README-main
$OpenBSD: README-main,v 1.4 2015/06/18 21:52:02 kirby Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Special notice for APC USB devices
----------------------------------

Some APC USB devices are reported to only work with apcupsd if the
device is attached to ugen(4). Normally these devices attach to upd(4)
to provide system power sensors (see "sysctl hw.sensors"). If you are
having problems using such a device with NUT, you may need to prevent
this attachment.

The option with fewest side-effects is to add the following entries to
the table in /sys/dev/usb/usb_quirks.c and build a new kernel:

{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_BAD_HID }},
{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G, ANY, { UQ_BAD_HID }},

Alternatively, if you do not use a USB keyboard/mouse, you could simply
disable the upd and uhidev drivers. The following line creates a new kernel
with the relevant changes:

printf 'disable uhidev\ndisable upd\nquit\n' | config -e -o /bsd.no-uhid /bsd


Filesize: 1800.204 KB
Version History (View Complete History)
  • (2016-06-03) Updated to version: apcupsd-3.14.14
  • (2015-07-18) Updated to version: apcupsd-3.14.13
  • (2014-02-03) Updated to version: apcupsd-3.14.11
  • (2011-09-20) Updated to version: apcupsd-3.14.10
  • (2011-09-05) Updated to version: apcupsd-3.14.9
  • (2010-05-26) Package added to openports.se, version apcupsd-3.14.8 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2018-01-12 07:05:10 by Stuart Henderson | Files touched by this commit (1)
Log message:
fix bad bump
   2018-01-11 12:27:12 by Robert Peichaer | Files touched by this commit (624)
Log message:
Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.
discussed with and OK aja@
OK tb
   2018-01-11 12:27:12 by Robert Peichaer | Files touched by this commit (624)
Log message:
Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.
discussed with and OK aja@
OK tb
   2017-07-26 16:45:35 by Stuart Henderson | Files touched by this commit (937)
Log message:
bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports.
   2017-07-16 13:19:06 by Marc Espie | Files touched by this commit (880)
Log message:
use COMPILER_LIBCXX where applicable
   2017-05-25 10:31:41 by Stuart Henderson | Files touched by this commit (2)
Log message:
upstream try to avoid dynamic-linking to produce a binary that works more easily
across linux distributions; that's not really useful for us, and the way they
did it (link with cc -lsupc++) doesn't work so well with clang. just switch to
normal linking with c++. ok espie@ kirby@
   2017-05-25 10:31:41 by Stuart Henderson | Files touched by this commit (2)
Log message:
upstream try to avoid dynamic-linking to produce a binary that works more easily
across linux distributions; that's not really useful for us, and the way they
did it (link with cc -lsupc++) doesn't work so well with clang. just switch to
normal linking with c++. ok espie@ kirby@
   2016-06-08 02:27:04 by Kirill Bychkov | Files touched by this commit (1)
Log message:
remove patch for bsd driver which is no longer used.
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-06-03 02:11:09 by Kirill Bychkov | Files touched by this commit (6)
Log message:
update to apcupsd-3.14.14
   2016-05-26 02:34:17 by Kirill Bychkov | Files touched by this commit (1)
Log message:
unbreak build after USB_GET_STRING_DESC removal.
spotted by naddy@, thanks!
   2016-04-25 06:36:09 by Kirill Bychkov | Files touched by this commit (1)
Log message:
remove MODGETTEXT_*_DEPENDS after. gettext module is gone
   2016-04-10 06:25:46 by Kirill Bychkov | Files touched by this commit (1)
Log message:
- update homepage
- remove gettext module and regen wantlib
- bump
   2015-07-18 16:14:40 by Kirill Bychkov | Files touched by this commit (1)
Log message:
unbreak build for user not in operator group. spotted by ajacoutot@, thanks
add missing LIB_DEPEND and bump.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-07-18 06:04:54 by Kirill Bychkov | Files touched by this commit (7)
Log message:
update to apcupsd-3.14.13.
the most significatn change is added support of modbus upses.
   2015-06-18 15:52:02 by Kirill Bychkov | Files touched by this commit (2)
Log message:
tell people to disable uhidev not uhid.
input and ok from sthen@
   2015-06-18 15:52:02 by Kirill Bychkov | Files touched by this commit (2)
Log message:
tell people to disable uhidev not uhid.
input and ok from sthen@
   2015-01-22 14:23:30 by Kirill Bychkov | Files touched by this commit (3)
Log message:
Add a note that some USB devices need ugen to work.
The same note was added to sysutils/nut.
All wording by sthen@
   2015-01-22 14:23:30 by Kirill Bychkov | Files touched by this commit (3)
Log message:
Add a note that some USB devices need ugen to work.
The same note was added to sysutils/nut.
All wording by sthen@
   2015-01-22 14:23:30 by Kirill Bychkov | Files touched by this commit (3)
Log message:
Add a note that some USB devices need ugen to work.
The same note was added to sysutils/nut.
All wording by sthen@
   2015-01-22 04:45:49 by Antoine Jacoutot | Files touched by this commit (2)
Log message:
Powerdown the machine when power fails.
ok kirby@ (maintainer)
   2015-01-22 04:45:49 by Antoine Jacoutot | Files touched by this commit (2)
Log message:
Powerdown the machine when power fails.
ok kirby@ (maintainer)
   2011-05-14 15:29:04 by Antoine Jacoutot | Files touched by this commit (24)
Log message:
deve/gconf2 is about to loose its dependency on x11/gtk+2 so explicitely
register x11/gtk+2 for ports depending on gconf2 that don't have another
dependency that would bring it.
discussed with jasper@
   2011-03-07 11:54:51 by Antoine Jacoutot | Files touched by this commit (3)
Log message:
New style *_DEPENDS.
   2011-02-02 14:56:04 by Jacob Meuser | Files touched by this commit (2)
Log message:
the USB_DEVICEINFO ioctl only requires read access to the usb bus.
open the bus with O_RDONLY instead of O_RDWR to not require write
permission.
ok ajacoutot@
   2011-02-02 14:56:04 by Jacob Meuser | Files touched by this commit (2)
Log message:
the USB_DEVICEINFO ioctl only requires read access to the usb bus.
open the bus with O_RDONLY instead of O_RDWR to not require write
permission.
ok ajacoutot@
   2010-11-20 10:22:46 by Marc Espie | Files touched by this commit (296)
Log message:
new depends
   2010-11-06 10:07:01 by Marc Espie | Files touched by this commit (25)
Log message:
move gettext to new WANTLIB
   2010-10-24 15:36:04 by Antoine Jacoutot | Files touched by this commit (26)
Log message:
Remove USE_X11.
   2010-10-19 01:43:05 by Marc Espie | Files touched by this commit (132)
Log message:
USE_GROFF=Yes
   2010-10-05 03:04:11 by Antoine Jacoutot | Files touched by this commit (1)
Log message:
Move to new DEPENDS.
from Kirill Bychkov (maintainer)
   2010-06-17 12:43:43 by Stuart Henderson | Files touched by this commit (2)
Log message:
add a missing space in MESSAGE-main's sample rc.local fragment; Kirill Bychkov
   2010-06-17 12:43:43 by Stuart Henderson | Files touched by this commit (2)
Log message:
add a missing space in MESSAGE-main's sample rc.local fragment; Kirill Bychkov
   2010-05-27 04:21:39 by Stuart Henderson | Files touched by this commit (3)
Log message:
Various small fixes suggested by aja@
   2010-05-27 04:21:39 by Stuart Henderson | Files touched by this commit (3)
Log message:
Various small fixes suggested by aja@
   2010-05-27 04:21:39 by Stuart Henderson | Files touched by this commit (3)
Log message:
Various small fixes suggested by aja@