The NetBSD Project

CVS log for pkgsrc/sysutils/apcupsd/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / apcupsd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 12 21:06:48 2019 UTC (4 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.18: +12 -12 lines
Diff to previous 1.18 (colored)

sysutils/apcupsd: fix location of HTML documentation

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 1 22:29:55 2018 UTC (5 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Sort PLIST files.

Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 28 15:51:34 2016 UTC (7 years, 10 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.16: +12 -21 lines
Diff to previous 1.16 (colored)

Update apcupsd to 3.14 branch revision r2365

3.14.14 was tagged but not released, 3.14.13 is the last release, hence
apcupsd-3.14.13r2365.

- Remove use of BSD USB driver; all platforms except Linux use generic-usb now
- i18n support removed


3.14.14 -- 30 May 2015

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


3.14.13 -- 02 February 2015

NEW FEATURES

  * MODBUS USB support

    Previous releases supported MODBUS serial (RS232). This release adds
    support for MODBUS over USB. This protocol is preferable to the normal
    USB HID driver because it offers access to more UPS data readouts and
    controls. The only configuration file change needed versus MODBUS serial
    is to change UPSCABLE to usb and use an empty DEVICE setting. See the
    MODBUS section of the apcupsd manual for more details.

  * Support for Apple Notification Center on Mac OS X (replaces Growl)

  * Apple install packages and binaries are signed with an Apple Developer
    key for compatibility with Gate Keeper

  * Windows USB driver has been updated with additional USB identifiers to
    support future APC products.

BUG FIXES

  * Use launchd for startup on Mac OS X as the old Startup Items mechanism is
    no longer supported in 10.10 and above

  * Fix apcaccess on ARM systems where char is unsigned by default

  * Fix several potential issues identified by Coverity static analysis

  * Numerous other fixes and improvements all over the code, many of them
    submitted by users...Thank you!

MISC

  * Windows port now builds with the same configure and make system as the
    other targets, no need to maintain a special hardcoded Makefile.

  * Many cleanups to the Windows port codebase

  * Prebuilt binaries for Mac OS X no longer support PowerPC systems or
    Mac OS X 10.4 and older


3.14.12 -- 29 March 2014             (Maintenance Release)

NEW FEATURES

  * apcaccess and apcupsd status format updates to ease parsing by scripts

  * UPS name is included in subject line of emails in default scripts

  * Default event scripts pull SYSADMIN and APCUPSD_MAIL definitions from a
    common config file so they can easily be configured in one place

BUG FIXES

  * Fix issue with certain Back-UPS USB models repeatedly cycling power on/off
    after killpower is issued

  * Fix display of battery level during MODBUS calibration

  * Fix apctest EEPROM setting on various models

  * Close and reopen serial port during extended COMMLOST in apcsmart driver
    (helps recover connection when USB serial port dongles are reconnected)

  * Avoid probing non-APC USB devices as it can cause lockups

  * Fix issue with service failing to start on Windows during boot with USB UPS

  * Fix bogus lock file error when config file error forces early termination

  * Fix MODBUS NOMOUTV reading for voltages other than 120VAC

  * Fix LOADPCT (CI_LOAD) on MODBUS driver

  * Fix issue with net driver not reporting MODEL value


3.14.11 -- 31 January 2014           (Maintenance Release)

NEW FEATURES

  * MODBUS protocol support

    Over the summer, APC publicly released documentation[1] on a new UPS
    control and monitoring protocol, loosely referred to as MODBUS (after the
    historic industrial control protocol it is based on). The new protocol
    operates over RS232 serial lines as well as USB connections and is intended
    to supplement APC's proprietary Microlink protocol. Microlink is not going
    away, but APC has realized that third parties require access to UPS status
    and control information. Rather than publicly open Microlink, they have
    created another protocol to operate along side it.

    Many existing Microlink UPSes can be upgraded to support MODBUS via a
    firmware update. See [2]. Certain older models are not upgradeable. APC
    support will be your best contact for determining if your UPS supports a
    MODBUS upgrade the information linked below does not make it clear.

    For now, apcupsd supports MODBUS over RS232 serial only. It DOES NOT yet
    support MODBUS over USB. See the apcupsd manual[3] for information on
    setting up apcupsd.conf for MODBUS UPSes.

    [1] http://www.apc.com/whitepaper/?an=176
    [2] http://www.schneider-electric.us/support/index?page=content&country=ITB&lang=EN&id=FA164737
    [3] http://www.apcupsd.com/manual/manual.html

  * Windows USB driver is now digitally signed thanks to Jernej Simoncic
    <jernej's-sflist@eternallybored.org>


3.14.10 -- 13 September 2011         (Maintenance Release)

BUG FIXES

  * Fix missing status and spurrious incorrect status on newer BackUPS CS
    models using USB interface.

  * USB compatibility fixes for Mac OS X Lion

  * USB driver support for newer Microlink models on Mac OS X Lion and Windows

  * Ignore transitions to battery due to calibration (possible if user
    initiates calibration, then exits apctest and starts apcupsd before
    calibration completes.

  * Fix truncation of long UPS model names such as "Smart-UPS RT 5000 XL"

  * Fix MODEL vs. APCMODEL confusion. Remove APCMODEL and rename old MODEL
    aka 'mode' to DRIVER.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 11 14:05:14 2014 UTC (9 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Remove example rc.d scripts from PLISTs.

These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 22 09:07:50 2012 UTC (11 years, 10 months ago) by shattered
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.14: +15 -13 lines
Diff to previous 1.14 (colored)

Actually install the manual (manual.html), but don't install WML-formatted
docs.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 14 21:42:14 2011 UTC (12 years, 3 months ago) by shattered
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

PR/38104 - remove conflict with nut: rename upsimage.cgi to apcupsimage.cgi

OK by maintainer.

Revision 1.12.18.1 / (download) - annotate - [select for diffs], Sun Aug 7 09:39:48 2011 UTC (12 years, 3 months ago) by tron
Branch: pkgsrc-2011Q2
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pullup ticket #3493 - requested by bouyer
sysutils/apcupsd: build fix

Revisions pulled up:
- sysutils/apcupsd/Makefile                                     1.62
- sysutils/apcupsd/PLIST                                        1.13
- sysutils/apcupsd/distinfo                                     1.15
- sysutils/apcupsd/options.mk                                   1.3
- sysutils/apcupsd/patches/patch-aa                             deleted
- sysutils/apcupsd/patches/patch-ae                             1.7
- sysutils/apcupsd/patches/patch-af                             1.7
- sysutils/apcupsd/patches/patch-ag                             1.5
- sysutils/apcupsd/patches/patch-ai                             1.5
- sysutils/apcupsd/patches/patch-aj                             1.8
- sysutils/apcupsd/patches/patch-al                             1.5
- sysutils/apcupsd/patches/patch-an                             1.6
- sysutils/apcupsd/patches/patch-ao                             1.7

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Mon Aug  1 14:54:51 UTC 2011

   Modified Files:
   	pkgsrc/sysutils/apcupsd: Makefile PLIST distinfo options.mk
   	pkgsrc/sysutils/apcupsd/patches: patch-ae patch-af patch-ag patch-ai
   	    patch-aj patch-al patch-an patch-ao
   Removed Files:
   	pkgsrc/sysutils/apcupsd/patches: patch-aa

   Log Message:
   Update to 3.14.9.
   Dragonfly users, please test that is still builds !
   pkgsrc change: as snmp support doesn't depend on net-snmp
   anymore, remove snmp option and always build snmp support.
   cgi option now depend on graphics/gd/

   User-visible changes sinces 3.14.3:

   2010-08-30 14:18  adk0212

           * src/drivers/snmplite/: mge-mib.cpp, mge-oids.h, mibs.cpp:

           Add support for MGE SNMP MIB. Contributed by Lars Tr
           <taeuber@bbaw.de>

   2010-07-30 18:04  adk0212

           * src/drivers/snmplite/: apc-mib.cpp, apc-oids.h, mib.cpp, oids.h,
           rfc1628-mib.cpp, rfc1628-oids.h, snmplite.cpp, snmplite.h:

           Add support for RFC1628 SNMP MIB. Refactor APC MIB and create
           MibStrategy struct for associating MIB/CI mapping with
           corresponding processing function. RFC1628 strategy is coded per
           the MIB but untested.

   2010-01-10 10:29  adk0212

           * include/defines.h, src/apctest.c, src/drivers/usb/usb.c:

           Add apctest support for reading/setting self-test interval on USB.
           Also show current setting in UPS status. Contributed by James
           Belleau <jpbelleau@gmail.com>

   2009-10-25 11:03  adk0212

           * configure, autoconf/config.h.in, autoconf/configure.in,
           autoconf/variables.mak.in, include/struct.h,
           platforms/etc/apcupsd.conf.in, src/drivers/Makefile,
           src/drivers/drivers.c, src/drivers/snmplite/Makefile,
           src/drivers/snmplite/asn.cpp, src/drivers/snmplite/asn.h,
           src/drivers/snmplite/mib.cpp, src/drivers/snmplite/snmp.cpp,
           src/drivers/snmplite/snmp.h, src/drivers/snmplite/snmplite.cpp,
           src/drivers/snmplite/snmplite.h, src/lib/apcconfig.c,
           src/lib/apcstatus.c:

           Add SNMP Lite driver which does not depend on net-snmp library.
           This makes it more portable and eliminates need to move libsnmp.so
           to /lib in order to do a killpower on systems where /usr is
           unmounted.

   2009-09-01 20:30  adk0212

           * src/apctest.c:

           Implement battery calibration in apctest for USB models.  Thanks to
           James Belleau <james@belleau.net> for the original implementation
           which has been modified somewhat in this commit.

   2009-05-02 10:30  adk0212

           * src/action.c:

           Change log level of UPS self-test messages to WARNING from ALERT.
           Given that self-test messages are routine, they do not belong at
           LOG_ALERT.  Contributed by Dave Ewart <davee@ceu.ox.ac.uk>.

   2009-04-25 10:58  adk0212

           * src/lib/apcconfig.c:

           Remove EVENTFILE, EVENTFILEMAX config directives. These were
           replaced by the plural versions that are in use today (EVENTSFILE,
           EVENTSFILEMAX) almost 10 years ago. It's time to kill the old
           names.  (h/t Trevor Roydhouse <trev@sentry.org>)

   2009-03-02 17:48  adk0212

           * doc/apcupsd.man, include/drivers.h, include/extern.h,
           src/action.c, src/apctest.c, src/apcupsd.c, src/device.c,
           src/options.c, src/drivers/drivers.c,
           src/drivers/apcsmart/apcsmart.h, src/drivers/apcsmart/smart.c,
           src/drivers/apcsmart/smartoper.c, src/drivers/usb/usb.c,
           src/drivers/usb/usb.h, src/lib/apclock.c:

           Add support for turning the UPS off completely. This complements
           existing hibernate (aka killpower) functionality. Turn-off is
           implemented for apcsmart and USB drivers, subject to support for
           the relevant commands in the UPS itself. Contributed by Keith
           Campbell <campbell@econnectix.com>.

   2008-06-29 11:12  adk0212

           * src/action.c:

           Fix bug in LOWBATT glitch handling. We must examine LOWBATT for
           changes every time thru the status loop, not just during the
           OnBattery state.  Otherwise we can miss the initial LOWBATT
           assertion, which defeats the glitch rejection logic.

   2008-05-06 20:16  skoona

           * src/gapcmon/gapcmon.c:

           Corrected the use of NOMPOWER and the calc of current usage amount

   2008-05-04 11:13  adk0212

           * src/drivers/usb/usb.c:

           Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes
           (RS 500) report decivolts instead of volts. Reported by Kirill S.
           Bychkov <yason@linklevel.net>.

   2008-01-27 12:00  adk0212

           * include/struct.h, platforms/etc/apcupsd.conf.in,
           platforms/mingw/apcupsd.conf.in, src/device.c,
           src/drivers/net/net.c, src/drivers/snmp/drv_powernet.c,
           src/lib/apcconfig.c:

           Add POLLTIME directive to control UPS polling interval. NETTIME is
           accepted as a synonym for compatibility with old config files.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 1 14:54:51 2011 UTC (12 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Update to 3.14.9.
Dragonfly users, please test that is still builds !
pkgsrc change: as snmp support doesn't depend on net-snmp
anymore, remove snmp option and always build snmp support.
cgi option now depend on graphics/gd/

User-visible changes sinces 3.14.3:

2010-08-30 14:18  adk0212

        * src/drivers/snmplite/: mge-mib.cpp, mge-oids.h, mibs.cpp:

        Add support for MGE SNMP MIB. Contributed by Lars Täer
        <taeuber@bbaw.de>

2010-07-30 18:04  adk0212

        * src/drivers/snmplite/: apc-mib.cpp, apc-oids.h, mib.cpp, oids.h,
        rfc1628-mib.cpp, rfc1628-oids.h, snmplite.cpp, snmplite.h:

        Add support for RFC1628 SNMP MIB. Refactor APC MIB and create
        MibStrategy struct for associating MIB/CI mapping with
        corresponding processing function. RFC1628 strategy is coded per
        the MIB but untested.

2010-01-10 10:29  adk0212

        * include/defines.h, src/apctest.c, src/drivers/usb/usb.c:

        Add apctest support for reading/setting self-test interval on USB.
        Also show current setting in UPS status. Contributed by James
        Belleau <jpbelleau@gmail.com>

2009-10-25 11:03  adk0212

        * configure, autoconf/config.h.in, autoconf/configure.in,
        autoconf/variables.mak.in, include/struct.h,
        platforms/etc/apcupsd.conf.in, src/drivers/Makefile,
        src/drivers/drivers.c, src/drivers/snmplite/Makefile,
        src/drivers/snmplite/asn.cpp, src/drivers/snmplite/asn.h,
        src/drivers/snmplite/mib.cpp, src/drivers/snmplite/snmp.cpp,
        src/drivers/snmplite/snmp.h, src/drivers/snmplite/snmplite.cpp,
        src/drivers/snmplite/snmplite.h, src/lib/apcconfig.c,
        src/lib/apcstatus.c:

        Add SNMP Lite driver which does not depend on net-snmp library.
        This makes it more portable and eliminates need to move libsnmp.so
        to /lib in order to do a killpower on systems where /usr is
        unmounted.

2009-09-01 20:30  adk0212

        * src/apctest.c:

        Implement battery calibration in apctest for USB models.  Thanks to
        James Belleau <james@belleau.net> for the original implementation
        which has been modified somewhat in this commit.

2009-05-02 10:30  adk0212

        * src/action.c:

        Change log level of UPS self-test messages to WARNING from ALERT.
        Given that self-test messages are routine, they do not belong at
        LOG_ALERT.  Contributed by Dave Ewart <davee@ceu.ox.ac.uk>.

2009-04-25 10:58  adk0212

        * src/lib/apcconfig.c:

        Remove EVENTFILE, EVENTFILEMAX config directives. These were
        replaced by the plural versions that are in use today (EVENTSFILE,
        EVENTSFILEMAX) almost 10 years ago. It's time to kill the old
        names.  (h/t Trevor Roydhouse <trev@sentry.org>)

2009-03-02 17:48  adk0212

        * doc/apcupsd.man, include/drivers.h, include/extern.h,
        src/action.c, src/apctest.c, src/apcupsd.c, src/device.c,
        src/options.c, src/drivers/drivers.c,
        src/drivers/apcsmart/apcsmart.h, src/drivers/apcsmart/smart.c,
        src/drivers/apcsmart/smartoper.c, src/drivers/usb/usb.c,
        src/drivers/usb/usb.h, src/lib/apclock.c:

        Add support for turning the UPS off completely. This complements
        existing hibernate (aka killpower) functionality. Turn-off is
        implemented for apcsmart and USB drivers, subject to support for
        the relevant commands in the UPS itself. Contributed by Keith
        Campbell <campbell@econnectix.com>.

2008-06-29 11:12  adk0212

        * src/action.c:

        Fix bug in LOWBATT glitch handling. We must examine LOWBATT for
        changes every time thru the status loop, not just during the
        OnBattery state.  Otherwise we can miss the initial LOWBATT
        assertion, which defeats the glitch rejection logic.

2008-05-06 20:16  skoona

        * src/gapcmon/gapcmon.c:

        Corrected the use of NOMPOWER and the calc of current usage amount

2008-05-04 11:13  adk0212

        * src/drivers/usb/usb.c:

        Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes
        (RS 500) report decivolts instead of volts. Reported by Kirill S.
        Bychkov <yason@linklevel.net>.

2008-01-27 12:00  adk0212

        * include/struct.h, platforms/etc/apcupsd.conf.in,
        platforms/mingw/apcupsd.conf.in, src/device.c,
        src/drivers/net/net.c, src/drivers/snmp/drv_powernet.c,
        src/lib/apcconfig.c:

        Add POLLTIME directive to control UPS polling interval. NETTIME is
        accepted as a synonym for compatibility with old config files.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 14 18:16:00 2009 UTC (14 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Branch point for: pkgsrc-2011Q2
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Remove @dirrm entries from PLISTs

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 12 22:43:12 2008 UTC (15 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 29 12:40:58 2007 UTC (16 years, 1 month ago) by sborrill
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Add cgi and snmp options (on by default)

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 19 22:22:55 2007 UTC (16 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Properly handle config files in $PREFIX/etc. Not sure how this worked with
the previous version of the package ...
Pointed out by Bernd Ernesti.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 15 21:15:39 2007 UTC (16 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Use a more up-to-date config file as example
Add rc.d keywords to the startup script
both suggested by Bernd Ernesti.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 15 19:05:56 2007 UTC (16 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.6: +8 -4 lines
Diff to previous 1.6 (colored)

Update to 3.14.1, based on patches sent in PR pkg/35594 and pkg/36246.
As a side effect this should make apcupsd build on netbsd-4 and current.

pkgsrc changes: cgi and snmp are now enabled by default.
Relevant changes since 3.12.4:
Unreliable MASTER/SLAVE networking mode is removed
PowerChute Network Shutdown driver (protocol available in the AP9617 family
    of smart slot modules)
New configuration directives to set paths at runtime

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 22 19:01:25 2007 UTC (16 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 15 21:46:25 2006 UTC (17 years ago) by bouyer
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.4: +19 -71 lines
Diff to previous 1.4 (colored)

Update to 3.12.4.
Summary of changes since 3.8.6:
* Support for USB UPSe (not enabled in pkgsrc)
* new networking driver (net) that uses the NIS interface rather than the
  older master/slave networking
* The apctest program has been enhanced to do EEPROM programming in a much
  more interactive way than the prior versions.
* Added a ONBATTERYDELAY config, time to switch to onbattery state after
  a power failure. New event "offbattery", which is the same as mainsback but
  only sent if we got to state onbattery
* new snmp driver, with trap support.
* Battery disconnect and reconnect events

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 2 20:34:05 2005 UTC (18 years, 7 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 23 22:07:59 2004 UTC (19 years, 7 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 1 22:32:25 2002 UTC (21 years ago) by bouyer
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4, netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.1: +74 -6 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 31 22:52:51 2001 UTC (22 years, 1 month ago) by zuntum
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2

Move pkg/ files into package's toplevel directory

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>