Commit graph

25 commits

Author SHA1 Message Date
Ion-Mihai Tetcu
ec377f19f3 - fix it to work with newusb on HEAD [1] [2]
- makefile cleanup and portlint petting.

PR:		ports/132548 [1]
Submitted by:	Ben Kelly [1], stass@ [2]
2009-03-12 14:10:54 +00:00
Ion-Mihai Tetcu
8f93fe176d Update to 3.14.4.
Notable changes are:
- it now builds using gmake
- NLS and POWERFLUTE are removed
- POLLTIME directive to control UPS polling interval. This directive
    specifies the number of seconds to delay between polling the UPS for
    status. Previously, NETTIME allowed this to be adjusted for network
    connections only (snmp, pcnet, nis-net). POLLTIME configures the delay
    for all connection types. NETTIME is accepted as a synonym for
    compatibility with old config files.
- you can now use the graphical client via GAPCMON OPTION
- it won't build on anything pre 6.3R

Tested by:	Stefan Lambrev <stefan.lambrev@moneybookers.com>
2008-07-10 20:03:47 +00:00
Ion-Mihai Tetcu
0a6f63b0f3 - Patch powerflute to include the "correct" ncurses header when devel/ncurses* is
installed.
- bup PORTREVISION for for this.

Reported by:	Robert Jameson
Reviewed by:	rafan@
2008-04-05 13:42:04 +00:00
Ion-Mihai Tetcu
c5e2e02c67 - update to 3.14.3
- more OPTIONS to let the user choose what he needs to have compiled
- don't allow drivers to be compiled if user wants only the client
- chase netsnmp shared lib version
- provide internationalization support
- provide backup location on my server for the pdf manual and don't IGNORE the
file in distinfo anymore
- patch apcaccess to be able to fetch the host:port from the config file [1]
- add patch to allow usb driver to compile [2]

PR:		ports/121141 [1]
Submitted by:	Adrian Penisoara [1], Stefan Lambrev [2]
2008-03-31 17:21:57 +00:00
Ion-Mihai Tetcu
a62bccf85a - Update to 3.14.2
- Now the port build depends on devel/makedepend
- Utilize ETCDIR for Makefile and pkg-plist
- Move pkg-message to FILESDIR
- No need to use USE_GETTEXT=yes, because port doesn't install any mo files
and --enable-nls option doesn't help. With --with-included-gettext apcupsd
doesn't build.

PR:		ports/116774
Submitted by:	Alexander Logvinov
2007-10-21 10:39:39 +00:00
Ion-Mihai Tetcu
d7871ae81f Update to 3.14.0
- MASTER/SLAVE networking mode removed (use NIS instead, see manual)
- PowerChute Network Shutdown driver
- New configuration directives to set paths at runtime

Note: GAPCMON GUI monitoring tool is not yet builded in this port, but it will.

PR:		ports/111253
Submitted by:	Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Poked by:	infofarmer@
2007-04-05 19:57:25 +00:00
Marcus Alves Grando
a1543c18d2 - Fix typo in rc.d script
PR:		96240
Submitted by:	Alexander Logvinov <user___blg.akavia.ru>
Approved by:	maintainer via email
2006-04-24 03:26:54 +00:00
Marcus Alves Grando
df4b7a8f49 - Update to 3.12.2
- Use new rc.d script
- Reorganize Makefile

PR:		92466
Notified by:	"Alex Samorukov" <samm___os2.kiev.ua>
Submitted by:	maintainer
2006-04-22 13:51:37 +00:00
Vasil Dimov
1981667c1f Fix literal error in files/apcupsd.sh.sample that leads to
wrong processing of "apcupsd_lockfile" parameter from /etc/rc.conf

PR:		ports/93862
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
Approved by:	portmgr (linimon @ irc), Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
2006-02-27 14:24:29 +00:00
Lars Koeller
a81237c0bc o) Update to version 3.10.18 2005-10-02 11:23:56 +00:00
Lars Koeller
0dab7742cc o) Add switch for SNMP support (ports/82765)
o) Add patch for propper power off of ups device with USB
   driver on FBSD-5 ("Mike Tancsa" <mike@sentex.net>)

PR:		ports/82765
Submitted by:	Benjamin Constant <bconstant@be.tiauto.com>, "Mike Tancsa" <mike@sentex.net>
2005-07-03 12:25:23 +00:00
Lars Koeller
41726bea73 o) Upgrade to version 3.10.13 2004-05-11 17:02:45 +00:00
Lars Koeller
655a7db9cf o) fix annoying message when killall didn't find any lost slaves 2004-03-09 20:20:05 +00:00
Lars Koeller
9ad2cfdcc0 o) Integrate a fix to work around an OpenBSD/FreeBSD pthread bug
(set/unset of O_NONBLOCK, hope, someone will fix this bug soon).

Submitted by:	Gary Bajaj <b04@interbaun.com>, Adam Kropelin
2004-03-09 20:01:43 +00:00
Lars Koeller
e53ad8e916 o) Fix Problem with forcing use of internel libgd and an installed
one in /usr/local/lib. Now alway libgd out of the ports collection
   is used.

PR:		-
Submitted by:	artur@pydo.org, stefano@merlinobbs.net, glyn@grinstead.org
2004-01-23 14:28:13 +00:00
Lars Koeller
ee3fcd6ecc o) Add option --with-nologin=/var/run
o) Modify configure to use internal libgd. This avoids compat problems
   and the overkill install of libgd and dependent ports for a apcupsd
   server machine.

Submitted by:	Neil Darlow <neil@darlow.co.uk>
2004-01-18 16:29:11 +00:00
Lars Koeller
a98e8965c6 o) Delete needlessly patches
o) Install sample config and add them to pkg-plist

Submitted by:	Andrzej Tobola <A.Tobola@wilk.2a.pl>
2004-01-05 08:13:18 +00:00
Lars Koeller
8d7399db80 o) Update to version 3.10.9
o) files dir contains a sample config for network master-slave
   which seems to be stable on my test environment
o) still lack of USB support, cause noone ports the LINUX usb code to
   FreeBSD (perhaps libusb is also a staring point)
2004-01-04 19:18:20 +00:00
Lars Koeller
a9eb0f55e5 o) Update to version 3.10.6 (USB support) 2003-11-18 20:18:17 +00:00
Kris Kennaway
8859a77027 Doing this is lame and causes the -current build to fail:
int true = 1;
       while (true) {
2002-08-23 22:10:38 +00:00
Lars Koeller
fe5ee9a8f3 * Add missing patch file to compile correctly with libwrap
* Use --disable-install-distdir instead of patching Makefile
 * Bump port revision
2001-12-05 21:15:26 +00:00
Lars Koeller
128c79b0d4 * Add HTML documentation
* Fix problems with libwrap support
2001-12-03 21:27:29 +00:00
Lars Koeller
7cbe6d42f4 Patchfile for fixing wrong path to mail binary. 2001-12-02 13:09:52 +00:00
Lars Koeller
1c4d2ad037 Fixing missing brace in startup script and wrong path to mail binary. 2001-12-02 13:07:25 +00:00
Lars Koeller
da0b33d01c Add apcupsd 3.8.3, a daemon for controlling APC UPS.
PR:		31478
Submitted by:	Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
2001-12-02 11:24:53 +00:00