Commit graph

26 commits

Author SHA1 Message Date
ghen
00bcf52691 Update Network UPS Tools (pkgsrc/sysutils/ups-nut-*) to version 2.0.5.
This release is a backport of the development version.  Many changes
have already been backported previously.  Thus it is more a
synchronisation release, though it includes many bugfixes and support
for new models.

- support for new devices: APC Smart-UPS with 6TI firmware; Belkin
  Small Enterprise F6C1500-TW-RK; Compaq R3000 XR, R5500 XR; Cyber
  Power 550SL, 725SL, 685AVR, 800AVR, 1200AVR, AE550, BC1200 and
  many similar models; Eltek; Inform GUARD; Microsol Rhino; Opti-UPS
  PowerES 420E; PowerMan RealSmart, BackPro; Powerware PW9315 3-phase;
  SOLA 305; Tripp-Lite SMART550USB, SMART2200RMXL2U, OMNI1000LCD,
  OMNI900LCD, OMNI650LCD, 1500 LCD, AVR550U; Viewsonic PowerES 420E.

- bcmxcp: added 3-phase support

- megatec: better hardware support, more instant commands

- mge-hid: support more instant commands

- newhidups: fixed APC and Tripp Lite bugs, various memory bugs,
  improved report buffering, improved Solaris support, added
  '-x explore' option for easy diagnosis of new devices

- solis: shutdown programming, support new cables, Solaris support

- tripplite_usb: updated SMARTPRO support, fixed OL/OB reporting,
  better error handling, some memory bugs

- new dummy-ups driver simulator

- added HTML interface for access to CGI scripts

- powerpanel: new driver for CyberPower BC1200 and similar models
2008-01-30 22:10:12 +00:00
ghen
f110d52906 Update to nut-2.0.4. Also set NUT_USER's homedirectory to NUT_STATEDIR.
Changes since nut-2.0.3:

 - The newhidups critical bug (segmentation fault) has been fixed. It has
   also received some more care, like buxfixes and new models support and
   enhancement for Solaris.
 - A bug has been fixed in NUT core to support resuming from suspend-to-disk.
   This should also fix other similar issues, like time synchronisation
   through the NTP - Network Time Protocol.
 - The mge-shut driver now better detects the Low Battery status, support
   new models and fixes some wrong status and data. It also fixes some
   issue where the UPS wasn't restarting (refer to mge-shut manpage).
 - The genericups custom configuration through ups.conf is working again.
 - The genericups driver type 22 also support CyberPower 725SL
   (and maybe others SL models).
 - The new megatec driver, which will replace a bunch of drivers by nut 2.2
   (refer to docs/megatec.txt and UPGRADING) has been backported from the
   trunk (Development tree). The powermust driver has also received some
   attention.
 - The new rhino driver was added to support Microsol Rhino UPS hardware
   The solis has also been improved for solaris compatibility, and
   internal / external shutdown programming. solis can now save external
   shutdown programming to ups, and support new cables for solis 3.
 - Several fixes and improvements have been made to upsrw, upsset,
   cpsups, tripplite_usb and the FAQ.

From UPGRADING:
 - users of the following drivers (powermust, blazer, fentonups, mustek,
   esupssmart, ippon, sms, masterguard) are encouraged to switch to megatec,
   which should replace all these drivers by nut 2.2. For more information,
   please refer to doc/megatec.txt
2006-08-15 12:26:07 +00:00
ghen
c7475da1eb Unify the patches and distinfo for sysutils/ups-nut and sysutils/ups-nut-cgi.
Both are under sysutils/ups-nut now.
2006-08-02 12:11:00 +00:00
abs
72b143abca Update ups-nut to 2.0.3:
Over 700 lines of changes omitted, but four new drivers added:
    bcmxcp  gamatronic  solis  upscode2
2006-03-09 18:32:33 +00:00
lukem
701f862c35 Update ups-nut to 2.0.1.
Numerous changes (see NEWS for full list), including:
* Updated support for various UPS models, including porting various
  drivers to the 2.0 tree.
* Call varargs functions with "%s" instead of raw strings from config files.
2005-05-21 01:44:57 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
martti
43fa839659 Updated ups-nut to 2.0.0nb1
* Added support for Mustek PowerMust
2004-08-03 05:21:50 +00:00
martin
f96b2ec78e Update ups-nut and ups-nut-cgi to version 2.0. 2004-04-05 22:38:09 +00:00
lukem
869cae6ccf Update to ups-nut 1.4.1.
Many changes, including
    *	various configuation file format changes
    *	most UPS drivers enhanced
    *	upsmon/upssched support a lockfile
    *	chroot jails supported
    *	various bugfixes
(Refer to http://random.networkupstools.org/source/1.4/new-1.4.1.txt
for more information)

pkg update based on work sent in private email by Daniel Farrugia,
with various fixes by me.
2004-02-15 13:14:25 +00:00
lukem
c81681ad85 Convert back to supporting INFO_RUNTIME instead of INFO_BATT_RUNTIME.
I *really* dislike how newapc changed from supporting INFO_RUNTIME
(runtime in minutes, which is what the UPS actually reports) to
INFO_BATT_RUNTIME (runtime in seconds, which is UPS result * 60),
because the latter is much less useful as a realistic guess (IMHO),
and because this broke my upslog format and ups monitoring stuff
that used '%VAR runtime'.

(Unfortunately, newapc is written in a way which precludes supporting
multiple results from the same 'UPS status code' (in this case
`j'), so we can't support both results at this time.  I decided
that INFO_RUNTIME is more useful, because '81' (minutes) is easier
to "use" than '4860' (seconds))
2002-12-31 22:47:05 +00:00
lukem
94bcc2b664 Update from nut 0.50.0 to 1.2.1.
Many changes, too many to list here.
See:
	http://www.exploits.org/nut/release/1.2/new-1.2.1.txt
and (after installation):
	/usr/pkg/share/doc/nut/UPGRADING
2002-12-13 04:23:17 +00:00
dillo
f96c9310f7 get rid of autoconf build dependency by patching configure 2002-10-02 22:30:59 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
lukem
2e7c32a306 update to nut 0.50.0. notable changes:
- change from tcp/ip port 3305 to the IANA assigned 3493
- all old-style drivers have been deprecated:
	aeg bestfort bestuferrups engetron ipt-anzen
	mgeups multilink mustekups optiups sms
	toshiba1500 ups-trust425+625 upseyeux
- newvictron renamed to victronups
- newpowercom renamed to powercom, replacing previous powercom
  and ups-trust425+625 as well
2002-07-03 11:57:11 +00:00
fredb
f08e35b60f The drivers don't have to msync() the shared, mmap()-ed file after
every write, but only once after it's fully initialized, before it's
renamed and declared open for business. Analysis by Martin Husemann.
2002-05-24 16:32:52 +00:00
fredb
712ecd8e3c On NetBSD, the drivers need to call msync() after writing to the memory
mmap()-ed shared with "upsd", so that "upsd" an read it back reliably.
This keeps "upsd" from complaining about stale data. Bump PKGREVISION.
2002-05-22 18:02:32 +00:00
lukem
86ae7d8aa1 Update ups-nut from 0.45.3 to 0.45.5. Notable changes:
- upsd.users(5) has changed formats.
  NOTE: you need to update your file for upsd(8) to function
- upsmon can reload its configuration on the fly (with '-c reload')
- upsdrvctl can power off UPS's in an orderly fashion
- new drivers:
	- tripplite - Tripp-Lite SmartUPS models
	- newvictron - IMV/Victron hardware
	- bestferrups801-807 - Best FerrUPS 8.01-8.07 firmware
	- genericups type 14 - for Online P-series units
- upsdrvctl now waits up to "maxstartdelay" (default 45) seconds for a
  driver to start before it gives up and goes to the next entry

(refer to CHANGES in the distribution, or
	http://www.exploits.org/nut/release/new-0.45.4.txt
and
	http://www.exploits.org/nut/release/new-0.45.5.txt
for a detailed list)
2002-05-13 14:40:51 +00:00
lukem
3858993760 Update to nut 0.45.3. Notable changes:
- upsd can reload its config files on the fly.
- 'upsdrvctl status' will check for presence of pid files
- upsd can be stopped with 'upsd -c stop'
- newpowercom driver added
- cyberpower driver added
- more man pages
- various bug fixes
2002-01-03 14:42:43 +00:00
jlam
9f920e162b Buildlinkify, respect ${CONFDIR}, and use general INSTALL/DEINSTALL scripts.
Also replace rc.d scripts with much better ones by Luke Mewburn
<lukem@wasabisystems.com> that were slightly editted by me to have some
minimal functionality on pre-rc.d systems.
2001-11-21 15:50:55 +00:00
simonb
503251b07d Move the individual UPS drivers from ${PREFIX}/bin to
${PREFIX}/sbin/ups-drivers.
2001-11-21 03:22:05 +00:00
lukem
7fb5bf88b1 newapc driver: chop any trailing `:'s off the end of APC_F_MINUTES fields;
specifically the RUNTIME field on my SmartUPS-1400.
2001-11-20 14:53:03 +00:00
lukem
94cca33ef8 patch man/Makefile.in to install upssched.conf(5), upsd(8) and upsmon(8) 2001-11-18 00:41:20 +00:00
lukem
6b42dd5e4e update to ups-nut 0.45.2
notable new features:
- upsdrvctl has more options. You can now say "stop" to stop all drivers, or
  "stop <ups>" to stop just one.  Also, "start <ups>" to just start one is
  now supported.
- lots of man pages
- newapc driver converted to new framework
- new masterguard ups driver
- fentonups driver now recognizes the PowerCom SMK-800A
- bestups driver now does proper locking on the serial port
- sms driver table has been updated, and sms.txt provided to explain this
2001-11-17 15:50:56 +00:00
lukem
47753fccb3 update from 0.44.3-pre5 to 0.45.1 (with an extra vendor patch).
changes include:
- ups info moved to ups.conf instead of upsd.conf
- unified driver control between ups drivers
- upsmon doesn't run as root by default any more; most of the work is
  done by an unprivileged child, with a parent only accepting shutdown
  messages
- more model support:
	- AEG Proect S. - aeg
	- SMS Ltda (Brazillian) - sms
	- SOLA 620 - bestups
	- Ever UPS - everups
- various other improvements and bugfixes

see http://www.exploits.org/nut/release/new-0.45.1.txt for more details)
2001-09-28 04:37:27 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00