summaryrefslogtreecommitdiff
path: root/sysutils/nut/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sysutils/nut: Guarantee that devfs is startedCy Schubert2021-08-311-1/+1
| | | | | | | | | | devfs does not always win the race with nut causing nut to fail to start in some installations. PR: 258190 Submitted by: hsakamt@tsnr.com Reported by: hsakamt@tsnr.com MFH: 2021Q3
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-063-9/+0
|
* Properly check USB errors using sys/errno.h.Cy Schubert2020-11-149-420/+10
|
* Move default log location so it can be rotated without root privileges.Cy Schubert2019-03-233-2/+12
| | | | | | | | | | Add syslog.conf and newsyslog.conf files for installation into their respective .d directories in $PREFIX. Allow upslog log format to be customized. PR: 236700 Submitted by: Daniel O'Connor <darius@dons.net.au> (90%)
* Fix incorrect script default parameter expansion.Cy Schubert2018-11-092-2/+2
| | | | PR: 233083
* Fix openssl111 build and build under current and stable/12.Cy Schubert2018-10-241-0/+10
| | | | MFH: 2018Q4
* Avoid $nut_upsshut is not set properly messages by defining a default.Cy Schubert2018-08-121-0/+1
| | | | | MFH: 2018Q3 Suggested by: Dan Mahoney <dmahoney@isc.org>
* Fix build with SERIAL option.Cy Schubert2017-10-202-1/+17
| | | | PR: 223122
* Nut USB drivers report a "permission error" without visible reasonsCy Schubert2017-10-208-0/+404
| | | | | | | | | | | | | | | | | for the error even though permissions are OK (or the driver is run as root). Nut uses libusb-0.1 API, assuming return cods of < 0. FreeBSD provides a libusb-0.1 wrapper howerver it uses libusb-1.0 error codes (which are negative). This set of patches "teaches" nut libusb-1.0 error codes as produced by FreeBSD. Network UPS Tools (networkupstools.org) has a project to use libusb-1.0. This commit is a stopgap fix until our upline implments lubusb-1.0 support in nut. PR: 223117 Submitted by: lev
* If nut_upsshut is YES in rc.conf and POWERDOWNFLAG directive is inCy Schubert2017-06-141-1/+6
| | | | | | | upsmon.conf, send a powerdown signal to the UPS to shut down at poweroff. Suggested by: Alexander Milanov <a@amilanov.com>
* Fixup "use default values" assignments for real.Cy Schubert2017-06-143-9/+9
|
* Revert r443550. An unintended patch was included. Will try again.Cy Schubert2017-06-143-15/+10
|
* Fixup "use default values" assignments.Cy Schubert2017-06-143-10/+15
|
* Shut down upsmon gracefully.Cy Schubert2017-06-121-0/+7
|
* The build adds "*" to its devd conf file prior to install. Really fixCy Schubert2014-07-171-819/+0
| | | | | | PR 191777. PR: 191777
* Fix permissions /dev permissions.Cy Schubert2014-07-151-0/+819
| | | | PR: 191777
* Point rc script to the new upsdrvctl path.Cy Schubert2014-07-051-2/+2
|
* Update 2.6.5 --> 2.7.2, stagify and modernize, assume maintainership.Cy Schubert2014-07-042-31/+0
| | | | Approved by: itetcu (maintainer)
* Move the rc.d scripts of the form *.sh.in to *.inDoug Barton2012-08-053-0/+0
| | | | | | Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-143-3/+3
| | | | | | | | | | | literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other.
* Update to 2.6.1. Main changes:Ion-Mihai Tetcu2011-08-028-76/+33
| | | | | | | | | | | - IPv6 always compiled in (drop IPV6 option) - megatec and megatec_usb drivers replaced by blazer_ser and blazer_usb. - liebertgxt2 renamed to liebert-esp2 - s/PREFIX/LOCALBASE/ for gd includes/libs (grrr!) - add OPTIONal bash completion PR: 152866 [1], 157925 [2], Submitted by: John Bayly <freebsd.ports@tipstrade.net> [1], lev@ [2]
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-273-3/+3
| | | | s#. %%RC_SUBR%%#. /etc/rc.subr#
* - Chase libusb20 rename in r189585.Stanislav Sedov2009-03-091-0/+31
| | | | | | | | - Mark sane-backends broken on current due to changes in USB stack. Reviewed by: thompsa (old version), miwi Tested by: miwi
* - Update to 2.4.1Beat Gaetzi2009-02-201-0/+11
| | | | | | | | - Add patch for problem reported in ports/131812 PR: ports/131885 Submitted by: Joerg Pulz <Joerg.Pulz AT frm2.tum.de> (maintainer) Approved by: miwi (mentor)
* - Forgot to commit these in my last commit (my mistake)Martin Matuska2008-06-122-6/+6
| | | | - Match with 2.2.2
* - Update to 2.2.2Martin Matuska2008-06-111-11/+0
| | | | | | | | | | - Add new OPTIONS - Other minor changes - Depend on pkgconfig PR: ports/124451 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer) Reviewed by: mm
* - Update to 2.2.1Martin Matuska2008-02-191-5/+5
| | | | | | | PR: ports/119777 Submitted by: Mikle Davidkin <skylord at vt.net.ru> Tested by: mm Approved by: maintainer (timeout)
* Fix configure check for IPv6 detection, and add an IPV6 OPTIONTilman Keskinoz2008-01-021-0/+13
| | | | | PR: 117144 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
* - Upgrade to 2.2.0Martin Matuska2007-10-075-44/+42
| | | | | | PR: ports/115898 Submitted by: mm Approved by: maintainer (timeout)
* - Update to 2.0.3Pav Lucistnik2006-03-295-23/+95
| | | | | | | | - Split rc.d script into three - one for each daemon - Introduce user configurable variable NUT_USER, defaults to uucp PR: ports/95015 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer)
* - Update to 2.0.2Sergey Matveychuk2005-07-143-13/+42
| | | | | | | | | | | | - Make the port as master for soon-coming new ports - Resort MASTER_SITES - Homour portlint - Improve rcNG script - New maintainer PR: ports/83318 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> Approved by: DougB
* From the PR, with some small mods from me:Doug Barton2005-06-251-59/+35
| | | | | | | | | | | 1. Upgrade to the latest version, 2.0.1 2. Convert to rc.d style startup/shutdown script 3. Improve permissions on /var/db/nut Download pgp signature file for the tarball. PR: ports/81591 Submitted by: Dmitry A Grigorovich
* Update to use the upsdrvctl program to start and stop. This shouldDoug Barton2004-09-031-6/+4
| | | | | | | remove the need to edit this file for 99% of users. Editing the config files will still be necessary however. Submitted by: Rob MacGregor <rob.macgregor@gmail.com>
* Update to version 2.0.0, the latest (and newest) stable version.Doug Barton2004-08-291-1/+1
|
* For some reason, these man pages were left out of the 'all' targetDoug Barton2004-02-081-0/+11
|
* This patch has been incorporated into the new release.Doug Barton2004-02-081-11/+0
|
* Improve the command line arguments for upslog.Doug Barton2004-02-081-1/+1
| | | | | PR: ports/57031 Submitted by: truckman
* Upgrade to version 1.4.0, the latest stable version.Doug Barton2003-09-101-0/+11
| | | | | | Re-enable the CGI programs, now that they build. Kind assistance provided by: Guido Falsi <mad@madpilot.net>
* Since the distribution no longer comes with a sample FreeBSD scriptDoug Barton2003-01-132-26/+72
| | | | | (which I hope to remedy), the patch is now superfluous. So instead, provide a sample script here.
* Upgrade to 0.45.3, which has several new UPS modules, and many new man pagesDoug Barton2001-12-221-12/+0
|
* Update to version 0.45.0James E. Housley2001-07-021-22/+0
|
* Update to version 0.44.3James E. Housley2001-03-233-50/+48
| | | | | | | - Updaet gd dependancy - Added missing MAN8 - Merged pkg-plist.(doc|cgi) into pkg-plist - General cleanup
* Update to 0.44.2.Boris Popov2001-01-041-34/+39
| | | | | | File layout changed again: all ups drivers now located in the ${PREFIX}/libexec/nut. Some of the tools moved to ${PREFIX}/bin directory. Startup script renamed to nut.sh.sample.
* Update to version 0.44.1Boris Popov2000-10-161-26/+12
| | | | Note: state files moved from /var/state/ups to /var/db.
* Upgrade to version 0.44.0Boris Popov2000-07-181-33/+47
|
* Upgrade to version 0.43.1Boris Popov2000-03-061-37/+40
| | | | Submitted by: "Lowkrantz, Goran" <Goran.Lowkrantz@infologigruppen.se>
* New port for 'nut' package. It supports wide variety of UPS hardwareBoris Popov2000-01-111-0/+54
(including Smart and Back UPS for APPC), has ability to shutdown multiple hosts without additional hardware and provides CGI scripts to monitor UPS status via WEB interface.