Commit graph

79 commits

Author SHA1 Message Date
lukem
085432311f no need to PROVIDE anything since this isn't part of the dependency graph 2001-11-22 00:55:51 +00:00
jlam
892b322f45 These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so change
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21 21:38:50 +00:00
jlam
878e9eaf6a Be smarter about how to control the UPS drivers. If upsdriver_type is
unset, then we use upsdrvctl to control the UPS drivers.  Otherwise, we
control the one specified by ${upsdriver_type}.
2001-11-21 20:39:40 +00:00
jlam
a896a9b92a Modify script so that it's easier to copy-and-paste when creating similar
scripts for other packages.
2001-11-21 16:29:13 +00:00
jlam
f0d6ed569c Remove an extra run_rc_commands line, and set _arg in pre-rc.d case. 2001-11-21 16:05:40 +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
jlam
ca476d0b30 Add RCS Id. 2001-11-20 16:59:10 +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
90908af1f8 remove etc/nut from PLIST; instead, remind the admin to remove it manually 2001-11-19 04:40:00 +00:00
lukem
3730441d5d cleanup (inspired by ../../databases/postgresql-server):
- use FILES_SUBST_SED mechanism
- do NOT remove user & group upon DEINSTALL; instead remind the admin to do it
2001-11-19 04:25:15 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +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
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
jlam
e085ee5316 grep isn't used anymore, so don't substitute for @GREP@ in the INSTALL
files.  Substitute for @ID@ instead of directly using 'id', and use the
value of ${ID} already set in defs.*.mk.
2001-08-14 03:41:37 +00:00
veego
e109514d03 Fix same problems with the user check:
- use 'id' instead of 'finger'. this is not a real problem, but it
  is enough and fixing the next problem makes it possible to use it.
- grep -q doesn't work on solaris, so use a different way to suppress
  the output from the user check.
- the return code check for the user was reversed.
2001-08-12 19:55:56 +00:00
jtb
c7ec78613e Add missing man page file(s) to PLIST. 2001-04-28 04:35:06 +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
martin
6e86017582 Make shared memory rights the same on systems without SHM_R/SHM_W defined
and -current. Cosmetic changes in Makefile.
2001-04-01 14:04:36 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
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-27 03:19:43 +00:00
martin
25b4e14643 Bring upsd startup script more in line with /etc/rc.d and /etc/rc.conf.
Now updating does not destroy parts of the local configuration any more.
2001-03-11 19:20:50 +00:00
martin
db088e5012 Make this LP64 save. 2001-03-11 16:22:08 +00:00
martin
078a118777 Update ups-nut to 0.44.3 prerelease 5.
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-03-11 13:46:11 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
martin
bd09772273 Initial import of ups-nut pkg (network ups tools), a collection of
tools used to monitor various UPSes. Pkg from collver@softhome.net
with minor modifications. Closes PR 11745.
2000-12-28 16:06:13 +00:00