Ignore:
Timestamp:
2010-05-30T02:16:25+02:00 (7 years ago)
Author:
nbd
Message:

collectd: add conditional dependencies for plugins (patch by NetRolller3D)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/collectd/Makefile

    r20710 r21625  
    224224 
    225225#$(eval $(call BuildPlugin,NAME,DESCRIPTION,FILES,DEPENDENCIES)) 
    226 $(eval $(call BuildPlugin,apache,apache status input,apache,+libcurl)) 
     226$(eval $(call BuildPlugin,apache,apache status input,apache,+PACKAGE_collectd_mod_apache:libcurl)) 
    227227$(eval $(call BuildPlugin,apcups,apcups status input,apcups,)) 
    228 $(eval $(call BuildPlugin,ascent,ascent status input,ascent,+libcurl +libxml2)) 
    229 $(eval $(call BuildPlugin,bind,BIND server/zone input,bind,+libcurl +libxml2)) 
     228$(eval $(call BuildPlugin,ascent,ascent status input,ascent,+PACKAGE_collectd_mod_ascent:libcurl +PACKAGE_collectd_mod_ascent:libxml2)) 
     229$(eval $(call BuildPlugin,bind,BIND server/zone input,bind,+PACKAGE_collectd_mod_bind:libcurl +PACKAGE_collectd_mod_bind:libxml2)) 
    230230$(eval $(call BuildPlugin,conntrack,connection tracking table size input,conntrack,)) 
    231231$(eval $(call BuildPlugin,contextswitch,context switch input,contextswitch,)) 
    232232$(eval $(call BuildPlugin,cpu,CPU input,cpu,)) 
    233233$(eval $(call BuildPlugin,csv,CSV output,csv,)) 
    234 $(eval $(call BuildPlugin,curl,cURL input,curl,+libcurl)) 
    235 $(eval $(call BuildPlugin,dbi,relational database input,dbi,+libdbi)) 
     234$(eval $(call BuildPlugin,curl,cURL input,curl,+PACKAGE_collectd_mod_curl:libcurl)) 
     235$(eval $(call BuildPlugin,dbi,relational database input,dbi,+PACKAGE_collectd_mod_dbi:libdbi)) 
    236236$(eval $(call BuildPlugin,df,disk space input,df,)) 
    237237$(eval $(call BuildPlugin,disk,disk usage/timing input,disk,)) 
    238 $(eval $(call BuildPlugin,dns,DNS traffic input,dns,+libpcap)) 
     238$(eval $(call BuildPlugin,dns,DNS traffic input,dns,+PACKAGE_collectd_mod_dns:libpcap)) 
    239239$(eval $(call BuildPlugin,email,email output,email,)) 
    240240$(eval $(call BuildPlugin,exec,process exec input,exec,)) 
     
    242242$(eval $(call BuildPlugin,fscache,file-system based caching framework input,fscache,)) 
    243243$(eval $(call BuildPlugin,interface,network interfaces input,interface,)) 
    244 $(eval $(call BuildPlugin,iptables,iptables status input,iptables,+iptables @(!LINUX_2_4||BROKEN))) 
     244$(eval $(call BuildPlugin,iptables,iptables status input,iptables,+PACKAGE_collectd_mod_iptables:iptables @(!LINUX_2_4||BROKEN))) 
    245245$(eval $(call BuildPlugin,irq,interrupt usage input,irq,)) 
    246246$(eval $(call BuildPlugin,load,system load input,load,)) 
    247247$(eval $(call BuildPlugin,logfile,log files output,logfile,)) 
    248248$(eval $(call BuildPlugin,madwifi,MadWifi status input,madwifi,)) 
    249 $(eval $(call BuildPlugin,mysql,MySQL status input,mysql,+libmysqlclient)) 
     249$(eval $(call BuildPlugin,mysql,MySQL status input,mysql,+PACKAGE_collectd_mod_mysql:libmysqlclient)) 
    250250$(eval $(call BuildPlugin,memory,physical memory usage input,memory,)) 
    251 $(eval $(call BuildPlugin,netlink,netlink input,netlink,+ip @(!LINUX_2_4||BROKEN))) 
     251$(eval $(call BuildPlugin,netlink,netlink input,netlink,+PACKAGE_collectd_mod_netlink:ip @(!LINUX_2_4||BROKEN))) 
    252252$(eval $(call BuildPlugin,network,network input/output,network)) 
    253 $(eval $(call BuildPlugin,nginx,nginx status input,nginx,+libcurl)) 
     253$(eval $(call BuildPlugin,nginx,nginx status input,nginx,+PACKAGE_collectd_mod_nginx:libcurl)) 
    254254$(eval $(call BuildPlugin,ntpd,NTP daemon status input,ntpd,)) 
    255255$(eval $(call BuildPlugin,nut,UPS monitoring input,nut,@BROKEN)) 
    256256$(eval $(call BuildPlugin,olsrd,OLSRd status input,olsrd,)) 
    257 $(eval $(call BuildPlugin,onewire,onewire sensor input,onewire,+libow-capi @BROKEN)) 
     257$(eval $(call BuildPlugin,onewire,onewire sensor input,onewire,+PACKAGE_collectd_mod_onewire:libow-capi @BROKEN)) 
    258258$(eval $(call BuildPlugin,openvpn,OpenVPN traffic/compression input,openvpn,)) 
    259 $(eval $(call BuildPlugin,ping,ping status input,ping,+liboping)) 
    260 $(eval $(call BuildPlugin,postgresql,PostgreSQL status input,postgresql,+libpq)) 
     259$(eval $(call BuildPlugin,ping,ping status input,ping,+PACKAGE_collectd_mod_ping:liboping)) 
     260$(eval $(call BuildPlugin,postgresql,PostgreSQL status input,postgresql,+PACKAGE_collectd_mod_postgresql:libpq)) 
    261261$(eval $(call BuildPlugin,powerdns,PowerDNS server status input,powerdns,)) 
    262262$(eval $(call BuildPlugin,processes,process status input,processes,)) 
    263263$(eval $(call BuildPlugin,protocols,network protocols input,protocols,)) 
    264 $(eval $(call BuildPlugin,rrdtool,RRDtool output,rrdtool,+librrd1)) 
    265 $(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+libsensors @BROKEN)) 
    266 $(eval $(call BuildPlugin,snmp,SNMP input,snmp,+libnetsnmp)) 
     264$(eval $(call BuildPlugin,rrdtool,RRDtool output,rrdtool,+PACKAGE_collectd_mod_rrdtool:librrd1)) 
     265$(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+PACKAGE_collectd_mod_sensors:libsensors @BROKEN)) 
     266$(eval $(call BuildPlugin,snmp,SNMP input,snmp,+PACKAGE_collectd_mod_snmp:libnetsnmp)) 
    267267$(eval $(call BuildPlugin,syslog,syslog output,syslog,)) 
    268268$(eval $(call BuildPlugin,tail,tail input,tail,)) 
     
    277277$(eval $(call BuildPlugin,vmem,virtual memory usage input,vmem,)) 
    278278$(eval $(call BuildPlugin,wireless,wireless status input,wireless,)) 
    279 $(eval $(call BuildPlugin,write_http,HTTP POST output,write_http,+libcurl)) 
     279$(eval $(call BuildPlugin,write_http,HTTP POST output,write_http,+PACKAGE_collectd_mod_write_http:libcurl)) 
Note: See TracChangeset for help on using the changeset viewer.