summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2004-02-15Update to ups-nut 1.4.1.lukem1-10/+17
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.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-2/+2
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2002-12-31Convert back to supporting INFO_RUNTIME instead of INFO_BATT_RUNTIME.lukem1-1/+2
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-13Update from nut 0.50.0 to 1.2.1.lukem1-15/+16
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-10-02get rid of autoconf build dependency by patching configuredillo1-6/+1
2002-09-19Take advantage of the auto-generation and installation of rc.d scripts.jlam1-9/+1
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-2/+2
have been converted to USE_BUILDLINK2.
2002-07-03update to nut 0.50.0. notable changes:lukem1-9/+10
- 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-05-22On NetBSD, the drivers need to call msync() after writing to the memoryfredb1-1/+2
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-13Update ups-nut from 0.45.3 to 0.45.5. Notable changes:lukem1-3/+6
- 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-01-03Update to nut 0.45.3. Notable changes:lukem1-3/+3
- 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
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-3/+1
automatically, so no need to do it ourselves.
2001-11-26Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.jlam1-8/+9
2001-11-25PKG_SYSCONFDIR is where the configuration files for a package may be found.jlam1-2/+3
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
2001-11-21Buildlinkify, respect ${CONFDIR}, and use general INSTALL/DEINSTALL scripts.jlam1-44/+48
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-21Move the individual UPS drivers from ${PREFIX}/bin tosimonb1-2/+3
${PREFIX}/sbin/ups-drivers.
2001-11-19cleanup (inspired by ../../databases/postgresql-server):lukem1-23/+18
- use FILES_SUBST_SED mechanism - do NOT remove user & group upon DEINSTALL; instead remind the admin to do it
2001-11-17update to ups-nut 0.45.2lukem1-8/+4
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-09-28update from 0.44.3-pre5 to 0.45.1 (with an extra vendor patch).lukem1-6/+8
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-08-27Use wildcard dependence on "autoconf" package.tron1-2/+2
2001-08-14grep isn't used anymore, so don't substitute for @GREP@ in the INSTALLjlam1-2/+2
files. Substitute for @ID@ instead of directly using 'id', and use the value of ${ID} already set in defs.*.mk.
2001-04-01Make shared memory rights the same on systems without SHM_R/SHM_W definedmartin1-2/+2
and -current. Cosmetic changes in Makefile.
2001-03-27Change BUILD_DEPENDS semantics:hubertf1-2/+2
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
2001-03-11Bring upsd startup script more in line with /etc/rc.d and /etc/rc.conf.martin1-2/+2
Now updating does not destroy parts of the local configuration any more.
2001-03-11Update ups-nut to 0.44.3 prerelease 5.martin1-8/+12
Changes are too much to list here, see "Changes" in the distribution for a detailed list. Various bugfixes and enhancements. Based on a package provided by collver@linuxfreemail.com.
2001-02-25Cleanup MKDIR usage => INSTALL_*_DIRhubertf1-3/+3
XXX need to teach pkglint to be more picky about this
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz1-1/+2
2000-12-28Initial import of ups-nut pkg (network ups tools), a collection ofmartin1-0/+78
tools used to monitor various UPSes. Pkg from collver@softhome.net with minor modifications. Closes PR 11745.