###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
PKG_NAME = collectd
-VER = 4.4.3
+VER = 4.10.7
THISAPP = collectd-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DEPS = ""
+CFLAGS += -Wno-error=deprecated-declarations
+
###############################################################################
# Top-level Rules
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 309b7a0b9b128a1575308773e1c43d9f
+$(DL_FILE)_MD5 = f4193fdb5002ddac8159c88032a726bc
install : $(TARGET)
--enable-{interface,iptables,irq,load,logfile,memory,multimeter} \
--enable-{network,nfs,ntpd,ping,processes,rrdtool,sensors,swap,syslog} \
--enable-{tcpconns,unixsock,users,wireless} \
- --with-rrdtool=/usr/share/rrdtool-1.2.15
+ --with-librrd=/usr/share/rrdtool-1.2.30
cd $(DIR_APP) && make install
- cp -vf $(DIR_SRC)/config/collectd/collectd.conf /etc/
+ cp -vf $(DIR_SRC)/config/collectd/collectd.* /etc/
ln -f -s ../init.d/collectd /etc/rc.d/rc0.d/K50collectd
- ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S21collectd
+ ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S29collectd
ln -f -s ../init.d/collectd /etc/rc.d/rc6.d/K50collectd
@rm -rf $(DIR_APP)
@$(POSTBUILD)