Lines 18-27
Link Here
|
18 |
|
18 |
|
19 |
OPTIONS_DEFINE= CGI BIND DEBUG GCRYPT VIRT |
19 |
OPTIONS_DEFINE= CGI BIND DEBUG GCRYPT VIRT |
20 |
OPTIONS_MULTI= INPUT OUTPUT |
20 |
OPTIONS_MULTI= INPUT OUTPUT |
21 |
OPTIONS_MULTI_OUTPUT= RRDTOOL RRDCACHED WRITE_GRAPHITE WRITE_HTTP |
21 |
OPTIONS_MULTI_OUTPUT= RRDTOOL RRDCACHED WRITE_GRAPHITE WRITE_HTTP NOTIFYEMAIL |
22 |
OPTIONS_MULTI_INPUT= APACHE APCUPS CURL CURL_JSON CURL_XML DBI DISK \ |
22 |
OPTIONS_MULTI_INPUT= APACHE APCUPS CURL CURL_JSON CURL_XML DBI DISK \ |
23 |
GCRYPT NUTUPS INTERFACE IPMI MBMON MEMCACHED MYSQL NGINX OPENVPN \ |
23 |
GCRYPT NUTUPS INTERFACE IPMI MBMON MEMCACHED MYSQL NGINX \ |
24 |
PDNS PGSQL PING PYTHON ROUTEROS SNMP TOKYOTYRANT XMMS |
24 |
OPENVPN PDNS PGSQL PING PYTHON ROUTEROS SNMP \ |
|
|
25 |
TABLE TOKYOTYRANT VARNISH XMMS |
25 |
OPTIONS_DEFAULT= BIND INTERFACE PING SNMP RRDTOOL RRDCACHED |
26 |
OPTIONS_DEFAULT= BIND INTERFACE PING SNMP RRDTOOL RRDCACHED |
26 |
|
27 |
|
27 |
CGI_DESC= Install collection.cgi (requires RRDTOOL) |
28 |
CGI_DESC= Install collection.cgi (requires RRDTOOL) |
Lines 43-48
Link Here
|
43 |
MBMON_DESC= MBMon |
44 |
MBMON_DESC= MBMon |
44 |
MEMCACHED_DESC= Memcached |
45 |
MEMCACHED_DESC= Memcached |
45 |
MYSQL_DESC= MySQL |
46 |
MYSQL_DESC= MySQL |
|
|
47 |
NOTIFYEMAIL_DESC= Email notifications (libesmtp) |
46 |
NGINX_DESC= Nginx |
48 |
NGINX_DESC= Nginx |
47 |
OPENVPN_DESC= OpenVPN statistics |
49 |
OPENVPN_DESC= OpenVPN statistics |
48 |
PDNS_DESC= PowerDNS |
50 |
PDNS_DESC= PowerDNS |
Lines 51-57
Link Here
|
51 |
PYTHON_DESC= Python plugin |
53 |
PYTHON_DESC= Python plugin |
52 |
ROUTEROS_DESC= RouterOS plugin |
54 |
ROUTEROS_DESC= RouterOS plugin |
53 |
SNMP_DESC= SNMP |
55 |
SNMP_DESC= SNMP |
|
|
56 |
TABLE_DESC= Table plugin |
54 |
TOKYOTYRANT_DESC= Tokyotyrant database |
57 |
TOKYOTYRANT_DESC= Tokyotyrant database |
|
|
58 |
VARNISH_DESC= Varnish plugin |
55 |
XMMS_DESC= XMMS |
59 |
XMMS_DESC= XMMS |
56 |
# OUTPUT |
60 |
# OUTPUT |
57 |
RRDTOOL_DESC= RRDTool |
61 |
RRDTOOL_DESC= RRDTool |
Lines 264-271
Link Here
|
264 |
.endif |
268 |
.endif |
265 |
|
269 |
|
266 |
.if ${PORT_OPTIONS:MIPMI} |
270 |
.if ${PORT_OPTIONS:MIPMI} |
|
|
271 |
USE_PKGCONFIG= yes |
267 |
CONFIGURE_ARGS+=--enable-ipmi |
272 |
CONFIGURE_ARGS+=--enable-ipmi |
268 |
LIB_DEPENDS+= openipmi:${PORTSDIR}/sysutils/openipmi |
273 |
LIB_DEPENDS+= OpenIPMI:${PORTSDIR}/sysutils/openipmi |
269 |
PLIST_SUB+= IPMI="" |
274 |
PLIST_SUB+= IPMI="" |
270 |
.else |
275 |
.else |
271 |
CONFIGURE_ARGS+=--disable-ipmi |
276 |
CONFIGURE_ARGS+=--disable-ipmi |
Lines 300-305
Link Here
|
300 |
PLIST_SUB+= MYSQL="@comment " |
305 |
PLIST_SUB+= MYSQL="@comment " |
301 |
.endif |
306 |
.endif |
302 |
|
307 |
|
|
|
308 |
.if ${PORT_OPTIONS:MNOTIFYEMAIL} |
309 |
LIB_DEPENDS+= esmtp:${PORTSDIR}/mail/libesmtp |
310 |
CONFIGURE_ARGS+=--enable-notify_email |
311 |
CONFIGURE_ARGS+=--with-libesmtp=${PREFIX} |
312 |
PLIST_SUB+= NOTIFYEMAIL="" |
313 |
.else |
314 |
CONFIGURE_ARGS+=--disable-notify_email |
315 |
PLIST_SUB+= NOTIFYEMAIL="@comment " |
316 |
.endif |
317 |
|
303 |
.if ${PORT_OPTIONS:MNGINX} |
318 |
.if ${PORT_OPTIONS:MNGINX} |
304 |
RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx |
319 |
RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx |
305 |
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl |
320 |
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl |
Lines 390-395
Link Here
|
390 |
PLIST_SUB+= SNMP="@comment " |
405 |
PLIST_SUB+= SNMP="@comment " |
391 |
.endif |
406 |
.endif |
392 |
|
407 |
|
|
|
408 |
.if ${PORT_OPTIONS:MTABLE} |
409 |
CONFIGURE_ARGS+=--enable-table |
410 |
PLIST_SUB+= TABLE="" |
411 |
.else |
412 |
CONFIGURE_ARGS+=--disable-table |
413 |
PLIST_SUB+= TABLE="@comment " |
414 |
.endif |
415 |
|
393 |
.if ${PORT_OPTIONS:MTOKYOTYRANT} |
416 |
.if ${PORT_OPTIONS:MTOKYOTYRANT} |
394 |
LIB_DEPENDS+= tokyotyrant:${PORTSDIR}/databases/tokyotyrant |
417 |
LIB_DEPENDS+= tokyotyrant:${PORTSDIR}/databases/tokyotyrant |
395 |
CONFIGURE_ARGS+=--enable-tokyotyrant |
418 |
CONFIGURE_ARGS+=--enable-tokyotyrant |
Lines 400-405
Link Here
|
400 |
PLIST_SUB+= TOKYOTYRANT="@comment " |
423 |
PLIST_SUB+= TOKYOTYRANT="@comment " |
401 |
.endif |
424 |
.endif |
402 |
|
425 |
|
|
|
426 |
.if ${PORT_OPTIONS:MVARNISH} |
427 |
LIB_DEPENDS+= varnishapi:${PORTSDIR}/www/varnish |
428 |
CONFIGURE_ARGS+=--enable-varnish |
429 |
CONFIGURE_ARGS+=--with-libvarnish=${PREFIX} |
430 |
PLIST_SUB+= VARNISH="" |
431 |
.else |
432 |
CONFIGURE_ARGS+=--disable-varnish |
433 |
PLIST_SUB+= VARNISH="@comment " |
434 |
.endif |
435 |
|
403 |
.if ${PORT_OPTIONS:MVIRT} |
436 |
.if ${PORT_OPTIONS:MVIRT} |
404 |
CONFIGURE_ARGS+=--enable-libvirt |
437 |
CONFIGURE_ARGS+=--enable-libvirt |
405 |
LIB_DEPENDS+= virt.1000:${PORTSDIR}/devel/libvirt |
438 |
LIB_DEPENDS+= virt.1000:${PORTSDIR}/devel/libvirt |