Commit Graph

81 Commits

Author SHA1 Message Date
sthen
c8058bb098 update to NUT 2.6.5; bugfixes, cleanup, new device support, etc. 2012-08-09 12:05:16 +00:00
sthen
79ebb8082f remove unneeded patch 2012-06-30 09:48:22 +00:00
sthen
2e38342377 update to NUT 2.6.4 rolling in the patch for CVE 2012-2944 which we had locally,
adding new device support, better snmp support for various devices, and many
other fixes and improvements.
2012-06-08 21:07:02 +00:00
jasper
6d105eb08d Security fix for CVE-2012-2944: upsd can be remotely crashed
ok sthen@ (MAINTAINER)
2012-06-01 07:12:41 +00:00
ajacoutot
cbeb0bab0d Fix nut-xml after recent neon update. 2012-05-14 06:26:52 +00:00
sthen
04b42867ab Use GNU libtool, ports libtool doesn't build cgi's statically like it should.
Noted while following up on misc@ post from Pavel Pocheptsov. Bump all the
subpackages for safety though in theory only -cgi should be affected.
While there tweak pre-configure to allow 'make configure' to be re-run
after interruption.

ok ajacoutot@
2012-01-31 14:20:18 +00:00
ajacoutot
e128a0bf97 Put these users in the daemon class to be consistent with all the other
ones in ports.

discussed with and ok sthen@
2012-01-26 08:03:56 +00:00
sthen
34765332c8 tweak README 2012-01-24 12:38:44 +00:00
sthen
673fe3eeac bit of a tidy-up for NUT.
- move MESSAGE to README and flesh it out a bit

- fix libwrap detection in autoconf

- install the avahi service definition to the right place again; this got
broken when moving to using SYSCONFDIR overrides / BASESYSCONFDIR
2012-01-12 11:39:36 +00:00
sthen
0eee9917de update to NUT 2.6.3.
- nut-scanner has been changed to dlopen()ing modules, so roll it into the
main package now this can be done without bringing in excess dependencies.
2012-01-11 16:01:33 +00:00
sthen
0cb2030fea "bump everything" was supposed to include the -snmp subpackage, fix it now. 2011-12-12 22:16:39 +00:00
sthen
9ea05cb806 better SYSCONFDIR handling, get rid of CONFIGURE_STYLE=...old hack 2011-11-28 10:52:03 +00:00
sthen
9d1800ed03 fix wantlib and bump everything, nut-xml missing bump noticed by naddy 2011-11-14 15:57:21 +00:00
sthen
e9886b8d1a missing bump, thanks naddy@ 2011-11-14 14:21:18 +00:00
sthen
652bed0a74 - Handle the libusb-compat changeover, from aja@
- Move nut-scanner to a separate package, not everybody wants to
 scan their nuts and it pulls in various deps not wanted for the
 main package.

- Add missing dep on avahi (for the scanner only) and install
 static service configuration files.

ok ajacoutot
2011-11-14 08:58:07 +00:00
sthen
8103eadcb9 update to NUT 2.6.2 and add rc.d scripts
- thanks ajacoutot@ for looking over the scripts

- note that there has been some major work on apcsmart; in the event
of problems the old driver is still available as apcsmart-old
2011-09-19 15:59:57 +00:00
espie
46d3548829 normalize pkgpath 2011-09-16 11:41:38 +00:00
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
d4ebcd974d more base64 checksums 2007-04-05 17:26:05 +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