wok-next rev 21239

updated collect (5.1.0 -> 5.10.0)
author Hans-G?nter Theisgen
date Wed Dec 04 17:18:08 2019 +0100 (2019-12-04)
parents 5e724a85150c
children c0309708915c
files collectd/receipt
line diff
     1.1 --- a/collectd/receipt	Wed Dec 04 17:03:37 2019 +0100
     1.2 +++ b/collectd/receipt	Wed Dec 04 17:18:08 2019 +0100
     1.3 @@ -1,36 +1,37 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="collectd"
     1.7 -VERSION="5.1.0"
     1.8 +VERSION="5.10.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="System Statistics Collection Daemon"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://collectd.org/"
    1.15 +WEB_SITE="https://collectd.org/"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="http://collectd.org/files/$TARBALL"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 +WGET_URL="https://collectd.org/files/$TARBALL"
    1.21  
    1.22 -BUILD_DEPENDS="slitaz-toolchain rrdtool-dev perl curl-dev libxml2-dev"
    1.23 +BUILD_DEPENDS="curl-dev libxml2-dev perl rrdtool-dev slitaz-toolchain"
    1.24  SPLIT="$PACKAGE-dev $PACKAGE-apache:apache $PACKAGE-bind:bind"
    1.25  
    1.26 -compile_rules() {
    1.27 +compile_rules()
    1.28 +{
    1.29  	case $SET in
    1.30  		'')
    1.31  			sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' src/*.c configure*
    1.32  
    1.33 -			./configure \
    1.34 -				--enable-interface \
    1.35 -				--enable-load \
    1.36 -				--enable-cpu \
    1.37 -				--enable-disk \
    1.38 -				--enable-logfile \
    1.39 -				--enable-syslog \
    1.40 -				--enable-csv\
    1.41 -				--enable-rrdtool \
    1.42 -				--with-librrdtool=/usr/include \
    1.43 -				--disable-all-plugins \
    1.44 -				--sysconfdir=/etc/collectd \
    1.45 +			./configure				\
    1.46 +				--enable-interface		\
    1.47 +				--enable-load			\
    1.48 +				--enable-cpu			\
    1.49 +				--enable-disk			\
    1.50 +				--enable-logfile		\
    1.51 +				--enable-syslog			\
    1.52 +				--enable-csv			\
    1.53 +				--enable-rrdtool		\
    1.54 +				--with-librrdtool=/usr/include	\
    1.55 +				--disable-all-plugins		\
    1.56 +				--sysconfdir=/etc/collectd	\
    1.57  				$CONFIGURE_ARGS &&
    1.58  			fix libtool &&
    1.59  			make &&
    1.60 @@ -41,10 +42,10 @@
    1.61  			chmod 0644 $install/etc/collectd/*
    1.62  			;;
    1.63  		apache)
    1.64 -			./configure \
    1.65 -				--enable-apache \
    1.66 -				--disable-all-plugins \
    1.67 -				--sysconfdir=/etc/collectd \
    1.68 +			./configure				\
    1.69 +				--enable-apache			\
    1.70 +				--disable-all-plugins		\
    1.71 +				--sysconfdir=/etc/collectd	\
    1.72  				$CONFIGURE_ARGS &&
    1.73  			fix libtool &&
    1.74  			make &&
    1.75 @@ -53,10 +54,10 @@
    1.76  		bind)
    1.77  			sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    1.78  
    1.79 -			./configure \
    1.80 -				--enable-bind \
    1.81 -				--disable-all-plugins \
    1.82 -				--sysconfdir=/etc/collectd \
    1.83 +			./configure				\
    1.84 +				--enable-bind			\
    1.85 +				--disable-all-plugins		\
    1.86 +				--sysconfdir=/etc/collectd	\
    1.87  				$CONFIGURE_ARGS &&
    1.88  			fix libtool &&
    1.89  			make &&
    1.90 @@ -65,11 +66,12 @@
    1.91  	esac
    1.92  }
    1.93  
    1.94 -genpkg_rules() {
    1.95 +genpkg_rules()
    1.96 +{
    1.97  	case $PACKAGE in
    1.98  		collectd)
    1.99  			copy @std
   1.100 -			DEPENDS="rrdtool perl"
   1.101 +			DEPENDS="perl rrdtool"
   1.102  			CONFIG_FILES="/etc/collectd/collectd.conf"
   1.103  			;;
   1.104  		collectd-dev)
   1.105 @@ -77,7 +79,7 @@
   1.106  			;;
   1.107  		collectd-apache)
   1.108  			copy @std
   1.109 -			DEPENDS="libcurl apache"
   1.110 +			DEPENDS="apache libcurl"
   1.111  			CAT="network|Apache plugin"
   1.112  			#CONFIG_FILES="/etc/collectd/collectd.conf"
   1.113  			;;