mgeupsd is a daemon process that sits in the background and check
state of the UPS every 10 (by default) seconds. As soon as mgeupsd
senses that the power is failing it notifies init(8) and init will
execute the powerwait and powerfail entries. If mgeupsd senses that
the power has been restored, it notifies init again and init will exe-
cute the powerokwait entries. If mgeupsd senses that the UPS batteries
has less than 20% of its energy it notifies init again and init will
execute the powerfailnow entries.
A configuration file has been installed in /usr/local/etc/rc.d/mgeupsd.sh.
Examine it to make sure it is suitable for your system.
A sample script that handles the various power messages has been placed in
/usr/local/sbin/powerhandler. You will probably want to edit it to suit
your particular needs.
cleanup: Remove expired ports:
2022-07-22 math/intervaltree: Dependent ports now use GH_TUPLE
2022-07-24 security/gnomint: Abandonware, depending on gconf2
2022-07-24 japanese/im-ja: Abandonware, depending on gconf2
2022-07-25 sysutils/mgeupsd: Last release is 23 years old. It is not clear what
devices are supported.
sysutils/mgeupsd: Deprecate ancient port
Last release was in 1999. It is unclear that this port works with any hardware
that is still in production.
Give plenty of time for this change to reach 2022Q3 in case some users only
check quarterly branches.
Nevertheless, while here, reformat patches.
PR: 263028
Reported by: PauAmma <pauamma@gundo.com>
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
. trim Makefile headers;
. capitalise the first letter at COMMENT;
. add PLIST_FILES and MAN8;
. remove pkg-plist (4 lines);
. do not hard code gcc at the source Makefile, build with the
default compiler and allow a compiler to be redefined;
. the same for CFLAGS;
. make use SUB_FILES=pkg-message and enhance pkg-message.
The port's original maintainer seems to have disappeared off the face of the
earth. His email is impossible to reach. I'll take over the maintenance
of this port, since I do still happen to have an MGE UPS attached to my
server.