Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= collectd |
8 |
PORTNAME= collectd |
9 |
PORTVERSION= 5.0.1 |
9 |
PORTVERSION= 5.0.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= net-mgmt |
11 |
CATEGORIES= net-mgmt |
11 |
MASTER_SITES= http://collectd.org/files/ |
12 |
MASTER_SITES= http://collectd.org/files/ |
12 |
|
13 |
|
Lines 34-46
Link Here
|
34 |
NUTUPS "Input: NUT UPS daemon" Off \ |
35 |
NUTUPS "Input: NUT UPS daemon" Off \ |
35 |
INTERFACE "Input: Network interfaces (libstatgrab)" On \ |
36 |
INTERFACE "Input: Network interfaces (libstatgrab)" On \ |
36 |
MBMON "Input: MBMon" Off \ |
37 |
MBMON "Input: MBMon" Off \ |
|
|
38 |
MEMCACHED "Input: Memcahed" Off \ |
37 |
MYSQL "Input: MySQL" Off \ |
39 |
MYSQL "Input: MySQL" Off \ |
38 |
NGINX "Input: Nginx" Off \ |
40 |
NGINX "Input: Nginx" Off \ |
39 |
OPENVPN "Input: OpenVPN statistics" Off \ |
41 |
OPENVPN "Input: OpenVPN statistics" Off \ |
40 |
PDNS "Input: PowerDNS" Off \ |
42 |
PDNS "Input: PowerDNS" Off \ |
41 |
PGSQL "Input: PostgreSQL" Off \ |
43 |
PGSQL "Input: PostgreSQL" Off \ |
42 |
PING "Input: Network latency (liboping)" On \ |
44 |
PING "Input: Network latency (liboping)" On \ |
|
|
45 |
PYTHON "Input: Python plugin" Off \ |
43 |
SNMP "Input: SNMP" On \ |
46 |
SNMP "Input: SNMP" On \ |
|
|
47 |
TOKYOTYRANT "Input: Tokyotyrant database" Off \ |
44 |
XMMS "Input: XMMS" Off \ |
48 |
XMMS "Input: XMMS" Off \ |
45 |
RRDTOOL "Output: RRDTool" On \ |
49 |
RRDTOOL "Output: RRDTool" On \ |
46 |
RRDCACHED "Output: RRDTool Cached (require RRDTOOL)" On |
50 |
RRDCACHED "Output: RRDTool Cached (require RRDTOOL)" On |
Lines 90-95
Link Here
|
90 |
--disable-ipvs \ |
94 |
--disable-ipvs \ |
91 |
--disable-irq \ |
95 |
--disable-irq \ |
92 |
--disable-java \ |
96 |
--disable-java \ |
|
|
97 |
--without-java \ |
93 |
--disable-libvirt \ |
98 |
--disable-libvirt \ |
94 |
--disable-madwifi \ |
99 |
--disable-madwifi \ |
95 |
--disable-match_empty_counter \ |
100 |
--disable-match_empty_counter \ |
Lines 99-106
Link Here
|
99 |
--disable-match_value \ |
104 |
--disable-match_value \ |
100 |
--disable-memcachec \ |
105 |
--disable-memcachec \ |
101 |
--disable-modbus \ |
106 |
--disable-modbus \ |
|
|
107 |
--without-libmodbus \ |
102 |
--disable-multimeter \ |
108 |
--disable-multimeter \ |
103 |
--disable-netapp \ |
109 |
--disable-netapp \ |
|
|
110 |
--without-libnetapp \ |
104 |
--disable-netlink \ |
111 |
--disable-netlink \ |
105 |
--disable-nfs \ |
112 |
--disable-nfs \ |
106 |
--disable-notify_desktop \ |
113 |
--disable-notify_desktop \ |
Lines 110-118
Link Here
|
110 |
--disable-oracle \ |
117 |
--disable-oracle \ |
111 |
--disable-perl \ |
118 |
--disable-perl \ |
112 |
--disable-pinba \ |
119 |
--disable-pinba \ |
113 |
--disable-python \ |
|
|
114 |
--disable-protocols \ |
120 |
--disable-protocols \ |
115 |
--disable-routeros \ |
121 |
--disable-routeros \ |
|
|
122 |
--without-librouteros \ |
116 |
--disable-sensors \ |
123 |
--disable-sensors \ |
117 |
--disable-serial \ |
124 |
--disable-serial \ |
118 |
--disable-table \ |
125 |
--disable-table \ |
Lines 124-130
Link Here
|
124 |
--disable-teamspeak2 \ |
131 |
--disable-teamspeak2 \ |
125 |
--disable-ted \ |
132 |
--disable-ted \ |
126 |
--disable-thermal \ |
133 |
--disable-thermal \ |
127 |
--disable-tokyotyrant \ |
|
|
128 |
--disable-users \ |
134 |
--disable-users \ |
129 |
--disable-vmem \ |
135 |
--disable-vmem \ |
130 |
--disable-vserver \ |
136 |
--disable-vserver \ |
Lines 132-137
Link Here
|
132 |
--disable-write_http \ |
138 |
--disable-write_http \ |
133 |
--disable-zfs_arc \ |
139 |
--disable-zfs_arc \ |
134 |
--without-perl-bindings \ |
140 |
--without-perl-bindings \ |
|
|
141 |
--without-librabbitmq \ |
142 |
--disable-varnish \ |
143 |
--without-libvarnish \ |
144 |
--without-libcredis \ |
145 |
--without-libganglia \ |
146 |
--without-libupsclient \ |
147 |
--without-libesmtp \ |
135 |
--disable-static |
148 |
--disable-static |
136 |
|
149 |
|
137 |
.if defined(WITH_DEBUG) |
150 |
.if defined(WITH_DEBUG) |
Lines 144-149
Link Here
|
144 |
${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper \ |
157 |
${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper \ |
145 |
${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser |
158 |
${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser |
146 |
PLIST_SUB+= CGI="" |
159 |
PLIST_SUB+= CGI="" |
|
|
160 |
WITH_RRDTOOL= YES |
147 |
.else |
161 |
.else |
148 |
PLIST_SUB+= CGI="@comment " |
162 |
PLIST_SUB+= CGI="@comment " |
149 |
.endif |
163 |
.endif |
Lines 193-199
Link Here
|
193 |
LIB_DEPENDS+= yajl:${PORTSDIR}/devel/yajl |
207 |
LIB_DEPENDS+= yajl:${PORTSDIR}/devel/yajl |
194 |
PLIST_SUB+= CURL_JSON="" |
208 |
PLIST_SUB+= CURL_JSON="" |
195 |
.else |
209 |
.else |
196 |
CONFIGURE_ARGS+=--disable-curl_json |
210 |
CONFIGURE_ARGS+=--disable-curl_json --without-libyajl |
197 |
PLIST_SUB+= CURL_JSON="@comment " |
211 |
PLIST_SUB+= CURL_JSON="@comment " |
198 |
.endif |
212 |
.endif |
199 |
|
213 |
|
Lines 214-220
Link Here
|
214 |
LIB_DEPENDS+= dbi.1:${PORTSDIR}/databases/libdbi |
228 |
LIB_DEPENDS+= dbi.1:${PORTSDIR}/databases/libdbi |
215 |
PLIST_SUB+= DBI="" |
229 |
PLIST_SUB+= DBI="" |
216 |
.else |
230 |
.else |
217 |
CONFIGURE_ARGS+=--disable-dbi |
231 |
CONFIGURE_ARGS+=--disable-dbi --without-libdbi |
218 |
PLIST_SUB+= DBI="@comment " |
232 |
PLIST_SUB+= DBI="@comment " |
219 |
.endif |
233 |
.endif |
220 |
|
234 |
|
Lines 260-265
Link Here
|
260 |
PLIST_SUB+= MBMON="@comment " |
274 |
PLIST_SUB+= MBMON="@comment " |
261 |
.endif |
275 |
.endif |
262 |
|
276 |
|
|
|
277 |
.if defined(WITH_MEMCACHED) |
278 |
LIB_DEPENDS+= memcached.8:${PORTSDIR}/databases/libmemcached |
279 |
CONFIGURE_ARGS+=--enable-memcached |
280 |
CONFIGURE_ARGS+=--with-libmemcahed=${LOCALBASE} |
281 |
PLIST_SUB+= MEMCACHED="" |
282 |
.else |
283 |
CONFIGURE_ARGS+=--disable-memcached --without-libmemcahed |
284 |
PLIST_SUB+= MEMCACHED="@comment " |
285 |
.endif |
286 |
|
263 |
.if defined(WITH_MYSQL) |
287 |
.if defined(WITH_MYSQL) |
264 |
USE_MYSQL= yes |
288 |
USE_MYSQL= yes |
265 |
CONFIGURE_ARGS+=--enable-mysql |
289 |
CONFIGURE_ARGS+=--enable-mysql |
Lines 315-320
Link Here
|
315 |
PLIST_SUB+= PING="@comment " |
339 |
PLIST_SUB+= PING="@comment " |
316 |
.endif |
340 |
.endif |
317 |
|
341 |
|
|
|
342 |
.if defined(WITH_PYTHON) |
343 |
USE_PYTHON= yes |
344 |
.include "${PORTSDIR}/Mk/bsd.python.mk" |
345 |
CONFIGURE_ARGS+=--enable-python |
346 |
PLIST_SUB+= PYTHON="" |
347 |
.else |
348 |
CONFIGURE_ARGS+=--disable-python |
349 |
PLIST_SUB+= PYTHON="@comment " |
350 |
.endif |
351 |
|
318 |
.if defined(WITH_RRDTOOL) |
352 |
.if defined(WITH_RRDTOOL) |
319 |
LIB_DEPENDS+= rrd:${PORTSDIR}/databases/rrdtool |
353 |
LIB_DEPENDS+= rrd:${PORTSDIR}/databases/rrdtool |
320 |
CONFIGURE_ARGS+=--enable-rrdtool |
354 |
CONFIGURE_ARGS+=--enable-rrdtool |
Lines 341-346
Link Here
|
341 |
PLIST_SUB+= SNMP="@comment " |
375 |
PLIST_SUB+= SNMP="@comment " |
342 |
.endif |
376 |
.endif |
343 |
|
377 |
|
|
|
378 |
.if defined(WITH_TOKYOTYRANT) |
379 |
LIB_DEPENDS+= tokyotyrant.3:${PORTSDIR}/databases/tokyotyrant |
380 |
CONFIGURE_ARGS+=--enable-tokyotyrant |
381 |
CONFIGURE_ARGS+=--with-libtokyotyrant=${LOCALBASE} |
382 |
PLIST_SUB+= TOKYOTYRANT="" |
383 |
.else |
384 |
CONFIGURE_ARGS+=--disable-tokyotyrant --without-libtokyotyrant |
385 |
PLIST_SUB+= TOKYOTYRANT="@comment " |
386 |
.endif |
387 |
|
344 |
.if defined(WITH_XMMS) |
388 |
.if defined(WITH_XMMS) |
345 |
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms |
389 |
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms |
346 |
CONFIGURE_ARGS+=--enable-xmms |
390 |
CONFIGURE_ARGS+=--enable-xmms |