Commit Graph

47 Commits

Author SHA1 Message Date
sthen
56ed87fff3 Patch the error message when a USB device isn't found, pointing people
in the direction of permissions on the device nodes, this is a fairly
common problem when configuring NUT with a USB UPS.
2011-07-19 21:06:08 +00:00
sthen
35ac303ec8 update NUT to 2.6.1; bugfixes, cleanup, improvements and new device support. 2011-06-02 10:37:08 +00:00
sthen
750233cdf7 - split the netxml-ups driver into a separate package (nut-xml),
as was already done with the snmp-ups driver, to reduce dependencies
for the common case

- rewrite the various DESCR files
2011-03-09 23:32:20 +00:00
sthen
719b1efe23 adjust MESSAGE to show people how to identify device nodes for USB UPS,
so they don't need to whack permissions on usb* ugen*. with aja@
2011-03-09 12:55:04 +00:00
sthen
9124dca4c6 - update nut to 2.6.0 (major documentation revamp and support for new
devices, including APC 5G, various Eaton, HP, and Tripp Lite models,
and a number of USB HID devices)

- build the snmp package by default

- use correct user/group names in MESSAGE
2011-03-09 11:00:55 +00:00
espie
6c283d7e98 new depends 2010-11-20 17:22:40 +00:00
espie
632a3518ab move gettext to new WANTLIB 2010-11-06 16:07:00 +00:00
espie
709b054ab9 USE_GROFF=Yes 2010-10-19 07:43:00 +00:00
sthen
e8250f2824 - new-style WANTLIB/LIB_DEPENDS/REVISION
- sync WANTLIB
- suggest suitable group for serial ports in MESSAGE
- take MAINTAINER
2010-10-03 22:21:49 +00:00
sthen
484427e60a Note in MESSAGE that the _nut user must have permission to access the
relevant device nodes if using a USB UPS. Suggested by Alexey Suslikov.
2010-06-26 11:11:12 +00:00
ajacoutot
9cb31f3652 Consistency: remove the 1, 2 or even 3 empty blank lines.
sthen@ agrees
2010-04-15 14:29:16 +00:00
sthen
5c5a608f6c update to 2.4.3, tested by Denny White and Aaron Stellman
note that with USB UPS, you may have to allow permissions on
further ugen subdevices (e.g. ugen0.01 as well as ugen0.00).
2010-03-31 22:11:11 +00:00
ajacoutot
64b561914e Use gettext module.
Correctly install _ups user and group.
Add better defaults config.

looks ok to sthen@
2010-03-20 17:11:40 +00:00
sthen
88f845cf81 fix the path in a sample config file.
ok jasper@
2010-03-03 20:39:15 +00:00
sthen
8052dca2ba from upstream repository;
* base the default maxconn on available filehandles.
* change the error message to better indicate that it's an error
not a warning.

ok jasper@

while there, remove an out-of-date comment in MESSAGE-main.
2010-01-15 11:25:15 +00:00
jasper
20696471fe remove marc balmer as maintainer of all of his ports, to take away the
illusion marc still maintains them. as requested by himself.
2009-09-15 17:37:21 +00:00
sthen
94f09986bc update to 2.4.1, code cleanup and adds support for a bunch of new
UPS and also now preliminary support for PDUs.

ok mbalmer (maintainer),
"commit and we fix in-tree if i run into issues" henning
2009-04-03 15:40:12 +00:00
ajacoutot
c868c6dc18 - fix WANTLIB after neon update 2008-11-13 13:14:51 +00:00
martynas
6b99e69f75 - add neon to LIB_DEPENDS, so that netxml driver always builds
- upsimage.cgi used upsimage_cgi_LDFLAGS to tweak for -all-static,
and not *_LDADD as upsstats.cgi and upsset.cgi did.  as a result
upsimage.cgi was linked dynamically, therefore broken inside chroot
- add USE_GMAKE, so that it builds on landisk
- make lib-depends-check happy
- add @bin marker for bin/snmp-ups
- bump all PKGNAMEs
ok sthen@
2008-09-27 17:30:08 +00:00
martynas
530ab60608 Apapche -> Apache. ok wcmaier@ 2008-09-26 19:00:58 +00:00
martynas
f025b2164e update to nut-2.2.2, which contains the old agiler driver from 2.2.0
(now called agiler-old)
upses such as the below can now work again:
{0x0665, 0x5161, &agiler_old_subdriver},        /* Belkin F6C1200-UNV */
{0x06da, 0x0003, &agiler_old_subdriver},        /* Mustek Powermust */
{0x0f03, 0x0001, &agiler_old_subdriver},        /* Unitek Alpha 1200Sx *
ok sthen@
2008-09-08 19:38:30 +00:00
kili
1c44a2e934 Bring back static CGIs.
Load config files from /etc/nut.

ok mbalmer@
2008-02-03 18:06:41 +00:00
mbalmer
903d6ac650 Update to nut ver. 2.2.1.
requested by and ok henning
2008-01-30 20:55:59 +00:00
sthen
f33830cb83 add missing /, fixing -snmp
ok mbalmer@ (maintainer)
2007-10-02 09:21:50 +00:00
merdely
e8e53f5b6b Remove surrounding quotes in COMMENT-*/PERMIT_*/IGNORE 2007-09-15 21:14:00 +00:00
henning
bf3bca3741 update to 2.0.5 + a fix to make bcmxcp work correctly again
partially from and ok mbalmer
2007-05-18 12:22:45 +00:00
espie
157d1d385c new MULTI_PACKAGES 2006-11-25 19:36:43 +00:00
henning
2596ff8b6d update to nut-2.0.3, last not leas bringing many format string fixes
preserve my changes to the fentonups driver, allowing the detection logic
to be bypassed and a model to be forced - for UPSes that do implement the
protocol except the identification command, which seems to be somewhat common
the Xanto S3000R thing here behaves like that, and support for it is added
ok mbalmer
2006-05-03 17:32:09 +00:00
mbalmer
031f2f5572 Suport an additional device.
from henning
2006-04-27 19:46:24 +00:00
fgsch
9ff14ac211 fix more breakage and regen plist. sturm@ ok. 2005-10-24 05:14:13 +00:00
espie
0031945c6e Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.

Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
mbalmer
02f51a6cd8 Take maintainership. 2005-06-03 19:46:43 +00:00
alek
c3219db789 Add WANTLIB markers 2004-12-20 10:35:34 +00:00
marcm
8d07855f62 More PLIST updates... clean up the Makefile a bit and add an optional
-snmp SUBPACKAGE.

Also, remove myself as MAINTAINER.  Not that I won't continue to support
it, just that my shinny new(?) SNMP card for my UPS makes this port
not one I'll use everyday anymore.

See what happens when people give me free stuff :).
2004-10-03 03:13:10 +00:00
marcm
4170934308 Update to the 2.0 tree of Nut.
This is a feature release so if you're upgrading, take a look at the
release notes here:

http://random.networkupstools.org/source/2.0/new-2.0.0.txt
2004-09-27 03:10:24 +00:00
marcm
52c519feda Ok, actually commit the changes to user.list this time. 2004-02-21 06:16:58 +00:00
marcm
85dc249d41 Update to 1.4.1.
In addition to the standard bugfixes, this is a major port rewrite.
The port now uses a '_ups' user and the CGIs created can now run under
either chrooted Apache or non-chrooted Apache.
2004-02-09 06:48:48 +00:00
marcm
06aaa0b2ef Handle SYSCONFDIR properly and make this compile on vax (and probably the
other NO_SHARED_ARCHS as well).
2003-03-30 16:19:25 +00:00
marcm
d924e08315 Update to 1.2.1, a substantial update from 1.0.0.
Changes are listed here:
http://www.exploits.org/nut/release/1.2/new-1.2.1.txt

ok sturm@
2003-01-16 23:42:18 +00:00
naddy
9340a03413 No regression tests available. 2002-10-28 19:53:43 +00:00
marcm
dd73fa6eb5 * Update to 1.0.0
* CGIs are now a SUBPACKAGE and work with chrooted Apache

* Make myself MAINTAINER

* Mark conflict with upad-2.0

ok naddy@ and nate@
2002-10-14 16:14:33 +00:00
naddy
7957522faf Fix cgi flavor by compensating for broken autoconf setup. 2002-04-09 16:20:12 +00:00
pvalchev
f4cfe90677 simplify fix 2002-03-29 04:28:34 +00:00
pvalchev
3a362a2b2a ugly hacks in the cgi flavor to make this link with new binutils 2002-03-29 03:03:24 +00:00
espie
e529f84b99 Bad depend. 2001-10-15 22:54:50 +00:00
lebel
13b92baa7a sysutils: integrate COMMENT, bump NEED_VERSION. 2001-05-06 03:58:56 +00:00
nate
84f56fdd1a Network UPS Tools. http://www.exploits.org/nut/ 2001-02-06 22:24:03 +00:00