00bcf52691
This release is a backport of the development version. Many changes have already been backported previously. Thus it is more a synchronisation release, though it includes many bugfixes and support for new models. - support for new devices: APC Smart-UPS with 6TI firmware; Belkin Small Enterprise F6C1500-TW-RK; Compaq R3000 XR, R5500 XR; Cyber Power 550SL, 725SL, 685AVR, 800AVR, 1200AVR, AE550, BC1200 and many similar models; Eltek; Inform GUARD; Microsol Rhino; Opti-UPS PowerES 420E; PowerMan RealSmart, BackPro; Powerware PW9315 3-phase; SOLA 305; Tripp-Lite SMART550USB, SMART2200RMXL2U, OMNI1000LCD, OMNI900LCD, OMNI650LCD, 1500 LCD, AVR550U; Viewsonic PowerES 420E. - bcmxcp: added 3-phase support - megatec: better hardware support, more instant commands - mge-hid: support more instant commands - newhidups: fixed APC and Tripp Lite bugs, various memory bugs, improved report buffering, improved Solaris support, added '-x explore' option for easy diagnosis of new devices - solis: shutdown programming, support new cables, Solaris support - tripplite_usb: updated SMARTPRO support, fixed OL/OB reporting, better error handling, some memory bugs - new dummy-ups driver simulator - added HTML interface for access to CGI scripts - powerpanel: new driver for CyberPower BC1200 and similar models
28 lines
846 B
Makefile
28 lines
846 B
Makefile
# $NetBSD: Makefile,v 1.47 2008/01/30 22:10:13 ghen Exp $
|
|
|
|
.include "../../sysutils/ups-nut/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/nut/ups-nut-cgi/}
|
|
COMMENT= Network UPS Tools CGI scripts
|
|
|
|
DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
|
|
|
|
BUILD_TARGET= cgi
|
|
INSTALL_TARGET= install-cgi
|
|
|
|
CONFIGURE_ARGS+= --with-cgi
|
|
CONFIGURE_ARGS+= --with-cgipath=${NUT_CGIDIR:Q}
|
|
|
|
BUILD_DEFS+= NUT_STATEDIR
|
|
|
|
CONF_FILES= ${NUT_EGDIR}/hosts.conf.sample ${NUT_CONFDIR}/hosts.conf
|
|
CONF_FILES+= ${NUT_EGDIR}/upsset.conf.sample \
|
|
${NUT_CONFDIR}/upsset.conf
|
|
CONF_FILES+= ${NUT_EGDIR}/upsstats-single.html.sample \
|
|
${NUT_CONFDIR}/upsstats-single.html
|
|
CONF_FILES+= ${NUT_EGDIR}/upsstats.html.sample \
|
|
${NUT_CONFDIR}/upsstats.html
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|