Changeset 17847


Ignore:
Timestamp:
2009-10-04T05:55:36+02:00 (7 years ago)
Author:
nbd
Message:

collectd: add mod-memory (patch from #5591)

Location:
packages/utils/collectd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/collectd/Makefile

    r17846 r17847  
    1010PKG_NAME:=collectd 
    1111PKG_VERSION:=4.4.4 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    2929 
    3030define Package/collectd/description 
    31         collectd is a small daemon which collects system information periodically  
     31        collectd is a small daemon which collects system information periodically 
    3232        and provides mechanismns to store the values in a variety of ways. 
    3333endef 
     
    155155endef 
    156156 
     157define Package/collectd-mod-memory 
     158        $(call Package/collectd/common_info) 
     159        TITLE:=collectd - physical memory usage input plugin 
     160        DEPENDS:=collectd 
     161endef 
     162 
    157163define Package/collectd-mod-netlink 
    158164        $(call Package/collectd/common_info) 
     
    253259 
    254260 
    255 define Package/collectd/conffiles  
    256 /etc/collectd.conf  
     261define Package/collectd/conffiles 
     262/etc/collectd.conf 
    257263endef 
    258264 
     
    408414        $(INSTALL_DIR) $(1)/usr/lib/collectd 
    409415        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/collectd/logfile.so $(1)/usr/lib/collectd/ 
     416endef 
     417 
     418define Package/collectd-mod-memory/install 
     419        $(INSTALL_DIR) $(1)/usr/lib/collectd 
     420        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/collectd/memory.so $(1)/usr/lib/collectd/ 
    410421endef 
    411422 
     
    522533$(eval $(call BuildPackage,collectd-mod-load)) 
    523534$(eval $(call BuildPackage,collectd-mod-logfile)) 
     535$(eval $(call BuildPackage,collectd-mod-memory)) 
    524536$(eval $(call BuildPackage,collectd-mod-netlink)) 
    525537$(eval $(call BuildPackage,collectd-mod-network)) 
  • packages/utils/collectd/patches/010-rrdtool-link-zlib.patch

    r12549 r17847  
    1 Index: collectd-4.4.3/configure 
    2 =================================================================== 
    3 --- collectd-4.4.3.orig/configure       2008-09-08 11:14:03.000000000 +0200 
    4 +++ collectd-4.4.3/configure    2008-09-08 11:14:21.000000000 +0200 
    5 @@ -31446,7 +31446,7 @@ 
     1--- a/configure 
     2+++ b/configure 
     3@@ -31446,7 +31446,7 @@ if test "${with_rrdtool+set}" = set; the 
    64   withval=$with_rrdtool;       if test "x$withval" != "xno" && test "x$withval" != "xyes" 
    75        then 
  • packages/utils/collectd/patches/100-rrdtool-add-rrasingle-option.patch

    r11854 r17847  
    1 Index: collectd-4.4.2/src/rrdtool.c 
    2 =================================================================== 
    3 --- collectd-4.4.2.orig/src/rrdtool.c   2008-07-17 19:30:00.000000000 +0200 
    4 +++ collectd-4.4.2/src/rrdtool.c        2008-07-17 19:30:44.000000000 +0200 
    5 @@ -87,6 +87,7 @@ 
     1--- a/src/rrdtool.c 
     2+++ b/src/rrdtool.c 
     3@@ -87,6 +87,7 @@ static const char *config_keys[] = 
    64        "HeartBeat", 
    75        "RRARows", 
     
    119 }; 
    1210 static int config_keys_num = STATIC_ARRAY_SIZE (config_keys); 
    13 @@ -1077,6 +1078,14 @@ 
     11@@ -1077,6 +1078,14 @@ static int rrd_config (const char *key,  
    1412                } 
    1513                xff = tmp; 
Note: See TracChangeset for help on using the changeset viewer.