diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-12-01 22:32:25 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-12-01 22:32:25 +0000 |
commit | 9d1c4a507ac33cbdb1ce32fff83b57cfa81a2135 (patch) | |
tree | 4d57095402e9e099385c35b25504168d2956784b /sysutils/apcupsd/patches/patch-ae | |
parent | 215a13281c7310c8fd884357ab55e2fa002e88d0 (diff) | |
download | pkgsrc-9d1c4a507ac33cbdb1ce32fff83b57cfa81a2135.tar.gz |
Update to 3.8.5. Summary of changes since 3.6.2:
. New network interface to publish to clients the UPS status
. New master/server network code that is more fault tolerant
. Internationalization
. Use GNU getopt
. Logging on syslog
. Events logged in a file like APC's PowerChute
. Sync code removed: now only async processes are used
. Updated documentation (HTTP version)
. Bug fixes and enhancements: too many to tell them all
. no more powersc script, is has been remplaced with apccontrol
. In master/slave configurations, all masters and slaves
must be updated at the same time. Version 3.8.0 is not
compatible with versions prior to 3.8.0-pre4.
. Support for the Back-UPS Office series of UPSes
. Fixed dumb UPSes working with the Custom Simple cable.
. Correction of a buffer overflow on certain newer UPSes.
. More fault tolerant on startup in master/slave configuration.
. Additional STATUS variables (number of times on battery,
amount of time on batteries, time/date of last transfer to
batteries, apcupsd start time/date).
. apctest program for testing serial ports.
. Automatic notification of certain events by email.
. Detects Self Test and reports it as such rather than a
Power Failure.
. For SmartUPSes, apcupsd does a much better job of adapting
to the actual features of the UPS and is more efficient.
. Add Battery Runtime Calibration to apctest
. UPSNAME now sets upsname if given. Otherwise, apcupsd attempts to get name
from UPS, if not found, uses hostname, finally "default".
. Added Ambient Temperature and Humidity to multimon (Carl Erhorn)
A number of the configuration statements have changed since versions 3.6.2.
You should either take the new apcupsd.conf file and modify it, or update your
existing file. In general, we recommend starting with the new file.
If you have used a prior version of apcupsd, the CONTROL script file
(/sbin/powersc) has now been replaced by $SYSCONFDIR/apcupsd/apccontrol.
Consequently, the CONTROL configuration statement is obsolete. The following
configuration statements have been replaced by scripts called from
SYSCONDFIR/apcupsd/apccontrol, and thus are obsolete:
BATTCMD, LIMITCMN, LOADCMD, PWRCMD, REBOOTCMD, REMOTECMD, RETCMD, and TIMECMD.
If you use the master/slave networking code, please be aware that the
Diffstat (limited to 'sysutils/apcupsd/patches/patch-ae')
-rw-r--r-- | sysutils/apcupsd/patches/patch-ae | 78 |
1 files changed, 22 insertions, 56 deletions
diff --git a/sysutils/apcupsd/patches/patch-ae b/sysutils/apcupsd/patches/patch-ae index 1fff35506f7..ae2279939ab 100644 --- a/sysutils/apcupsd/patches/patch-ae +++ b/sysutils/apcupsd/patches/patch-ae @@ -1,61 +1,27 @@ -$NetBSD: patch-ae,v 1.2 2000/08/05 07:31:19 jlam Exp $ +$NetBSD: patch-ae,v 1.3 2002/12/01 22:32:27 bouyer Exp $ ---- configure.in.orig Thu Jul 29 03:46:32 1999 -+++ configure.in Sat Aug 5 02:52:40 2000 -@@ -17,23 +17,28 @@ - dnl Check for local host architecture. - dnl - AC_CANONICAL_HOST dnl Check for host type. +--- autoconf/configure.in.orig Fri Dec 14 16:09:12 2001 ++++ autoconf/configure.in Sun Dec 1 15:42:34 2002 +@@ -57,13 +57,6 @@ + if test x$sysconfdir = x'${prefix}/etc' ; then + sysconfdir='/etc/apcupsd' + fi +- -dnl -+ -+ -+AC_PROG_CC dnl Determine a C compiler to use. -+AC_LANG_C -+ -+dnl Try to get a POSIX.1 environment -+AC_AIX -+AC_MINIX -+AC_ISC_POSIX -+ - dnl - dnl Check for programs. - dnl --AC_PROG_CC dnl Determine a C compiler to use. - AC_PROG_CPP dnl Determine a C pre-processor to use. - AC_PROG_CC_C_O dnl Determine if C compiler support -c -o. - AC_PROG_GCC_TRADITIONAL dnl Determine if ioctl() need -traditional. - AC_PROG_INSTALL dnl Determine a BSD install program. - - dnl Now check for programs --AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, -- [echo 'ERROR: shutdown program not found !']) --AC_PATH_PROGS(RANLIB, ranlib true, -- [echo 'ERROR: ranlib program not found !']) --AC_PATH_PROGS(WALL, wall, -- [echo 'ERROR: wall program not found !']) -+AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, shutdown, $PATH:/sbin:/usr/sbin) -+AC_PATH_PROGS(RANLIB, ranlib, true) -+AC_PATH_PROGS(WALL, wall, cat) +-dnl If the user has not set -sbindir, we set our default as /sbin +-dnl +- if test x$sbindir = x'${exec_prefix}/sbin' ; then +- sbindir='/sbin' +- fi + fi - dnl Check for libraries. dnl -@@ -112,6 +117,7 @@ - - AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPTLONG), - [EXTRASRC="$EXTRASRC \$(srcdir)/lib/getopt.c \$(srcdir)/lib/getopt1.c" -+ CPPFLAGS="-Ilib" - EXTRAOBJ="$EXTRAOBJ lib/getopt.o lib/getopt1.o"]) +@@ -155,7 +148,7 @@ + AC_SUBST(UTILPROGS) - dnl -@@ -172,11 +178,6 @@ - AC_SYS_LONG_FILE_NAMES dnl Check for long file names. - AC_SYS_RESTARTABLE_SYSCALLS dnl Check interrupted syscalls will restart. - dnl --dnl --dnl UNIX variants --AC_AIX dnl Check for aix. --AC_ISC_POSIX dnl Check for isc. --AC_MINIX dnl Check for minix. - dnl - dnl - dnl Check for enable particular features. + dnl Now check for programs +-AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, no) ++AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, no, $PATH:/sbin:/usr/sbin) + if test "$SHUTDOWN" = "no" + then + if test "$ac_cv_cygwin" = no |