- up to 5.5.0; todo: package new modules auto/th/collectd-5.5.0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Dec 2015 22:00:28 +0000 (23:00 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Dec 2015 22:00:28 +0000 (23:00 +0100)
collectd.spec
libiptc.patch [deleted file]
no-Werror.patch
noquote.patch
pld.patch [deleted file]

index f65bac8..d615d4a 100644 (file)
@@ -1,18 +1,61 @@
 # TODO:
 #warning: Installed (but unpackaged) file(s) found:
-#      /etc/collectd.d/aggregation.conf
-#      /etc/collectd.d/cgroups.conf
-#      /etc/collectd.d/lvm.conf
-#      /etc/collectd.d/statsd.conf
-#      /etc/collectd.d/tail_csv.conf
-#      /etc/collectd.d/target_v5upgrade.conf
-#      /usr/bin/collectd-tg
-#      /usr/lib64/collectd/aggregation.so
-#      /usr/lib64/collectd/cgroups.so
-#      /usr/lib64/collectd/lvm.so
-#      /usr/lib64/collectd/statsd.so
-#      /usr/lib64/collectd/tail_csv.so
-#      /usr/share/man/man1/collectd-tg.1.gz
+#    /etc/collectd.d/aggregation.conf
+#    /etc/collectd.d/ceph.conf
+#    /etc/collectd.d/cgroups.conf
+#    /etc/collectd.d/drbd.conf
+#    /etc/collectd.d/fhcount.conf
+#    /etc/collectd.d/ipc.conf
+#    /etc/collectd.d/java.conf
+#    /etc/collectd.d/log_logstash.conf
+#    /etc/collectd.d/lvm.conf
+#    /etc/collectd.d/openldap.conf
+#    /etc/collectd.d/pinba.conf
+#    /etc/collectd.d/redis.conf
+#    /etc/collectd.d/sigrok.conf
+#    /etc/collectd.d/smart.conf
+#    /etc/collectd.d/statsd.conf
+#    /etc/collectd.d/tail_csv.conf
+#    /etc/collectd.d/target_v5upgrade.conf
+#    /etc/collectd.d/turbostat.conf
+#    /etc/collectd.d/write_log.conf
+#    /etc/collectd.d/write_redis.conf
+#    /etc/collectd.d/write_riemann.conf
+#    /etc/collectd.d/write_sensu.conf
+#    /etc/collectd.d/write_tsdb.conf
+#    /etc/collectd.d/zfs_arc.conf
+#    /etc/collectd.d/zookeeper.conf
+#    /usr/bin/collectd-tg
+#    /usr/lib64/collectd/aggregation.so
+#    /usr/lib64/collectd/ceph.so
+#    /usr/lib64/collectd/cgroups.so
+#    /usr/lib64/collectd/drbd.so
+#    /usr/lib64/collectd/fhcount.so
+#    /usr/lib64/collectd/ipc.so
+#    /usr/lib64/collectd/java.so
+#    /usr/lib64/collectd/log_logstash.so
+#    /usr/lib64/collectd/lvm.so
+#    /usr/lib64/collectd/openldap.so
+#    /usr/lib64/collectd/pinba.so
+#    /usr/lib64/collectd/redis.so
+#    /usr/lib64/collectd/sigrok.so
+#    /usr/lib64/collectd/smart.so
+#    /usr/lib64/collectd/statsd.so
+#    /usr/lib64/collectd/tail_csv.so
+#    /usr/lib64/collectd/turbostat.so
+#    /usr/lib64/collectd/write_log.so
+#    /usr/lib64/collectd/write_redis.so
+#    /usr/lib64/collectd/write_riemann.so
+#    /usr/lib64/collectd/write_sensu.so
+#    /usr/lib64/collectd/write_tsdb.so
+#    /usr/lib64/collectd/zfs_arc.so
+#    /usr/lib64/collectd/zookeeper.so
+#    /usr/share/collectd/collection3/README
+#    /usr/share/collectd/collection3/bin/.htaccess
+#    /usr/share/collectd/collection3/test.px
+#    /usr/share/collectd/java/collectd-api.jar
+#    /usr/share/collectd/java/generic-jmx.jar
+#    /usr/share/man/man1/collectd-tg.1.gz
 #
 # - package contrib scripts as %doc
 # - perl modules with Collectd classes package to separate package
 Summary:       Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
-Version:       5.4.1
-Release:       2
+Version:       5.5.0
+Release:       1
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 6f56c71c96573a7f4f7fb3bfab185974
+# Source0-md5: c39305ef5514b44238b0d31f77e29e6a
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}-http.conf
@@ -97,8 +140,7 @@ Source11:    %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
 Patch1:                compile.patch
 Patch2:                noquote.patch
-Patch3:                libiptc.patch
-Patch4:                pld.patch
+
 Patch5:                no-Werror.patch
 Patch6:                %{name}-modbus.patch
 URL:           http://collectd.org/
@@ -1278,13 +1320,12 @@ Perl files from Collectd package
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p0
-%patch4 -p0
+
 %patch5 -p1
 #%patch6 -p1
 
 %build
-%{__libtoolize}
+%{__libtoolize} --ltdl
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -1327,7 +1368,7 @@ Perl files from Collectd package
        --disable-ipvs
 
 
-%{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
+%{__make} -j1 LDFLAGS="%{rpmldflags} -lstatgrab" \
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
        BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
 
@@ -1731,8 +1772,8 @@ fi
 %if %{with libvirt}
 %files libvirt
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
-%attr(755,root,root) %{_libdir}/%{name}/libvirt.so
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/virt.conf
+%attr(755,root,root) %{_libdir}/%{name}/virt.so
 %endif
 
 %files load
diff --git a/libiptc.patch b/libiptc.patch
deleted file mode 100644 (file)
index 80cc2aa..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.am.orig       2012-05-07 18:58:56.000000000 +0200
-+++ src/Makefile.am    2012-05-07 19:05:57.000000000 +0200
-@@ -447,7 +447,7 @@
- iptables_la_SOURCES = iptables.c
- iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS)
- iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS)
--iptables_la_LIBADD = -liptc
-+iptables_la_LIBADD = -lip4tc -lip6tc
- collectd_LDADD += "-dlopen" iptables.la
- collectd_DEPENDENCIES += iptables.la
- endif
index 00e9ce4..d318828 100644 (file)
@@ -24,7 +24,7 @@
        # (see issues #41 and #42)
 -      CFLAGS="$CFLAGS $PERL_CFLAGS -Wall -Werror"
 +      CFLAGS="$CFLAGS $PERL_CFLAGS -Wall"
-       LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
+       LIBS="$LIBS $PERL_LIBS"
  
        AC_CACHE_CHECK([for broken Perl_load_module()],
 --- collectd-5.4.1/src/Makefile.am~    2014-10-04 22:34:10.000000000 +0200
index 419cc7d..f54552f 100644 (file)
@@ -1,11 +1,12 @@
 --- collectd-5.0.0/src/collectd.conf.in.wiget  2011-08-15 17:26:34.433454586 +0200
 +++ collectd-5.0.0/src/collectd.conf.in        2011-08-15 17:27:49.809878542 +0200
-@@ -1002,7 +1002,7 @@
+@@ -1457,7 +1457,7 @@
  # the collectd-threshold(5) manual page.                                     #
  ##############################################################################
  
 -#@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
 +#@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin threshold
- #<Plugin "threshold">
+ #<Plugin threshold>
  #  <Type "foo">
  #    WarningMin    0.00
+
diff --git a/pld.patch b/pld.patch
deleted file mode 100644 (file)
index 3d4d9e7..0000000
--- a/pld.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./src/collectd.conf.in.org 2011-10-22 21:55:04.649429413 +0200
-+++ ./src/collectd.conf.in     2011-10-22 21:55:40.707756274 +0200
-@@ -108,7 +108,7 @@
- #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
- #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
- #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
--#@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
-+#@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
- #@BUILD_PLUGIN_PERL_TRUE@  Globals true
- #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
- #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
-@@ -117,7 +117,7 @@
- #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
- #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
- #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
--#@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
-+#@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
- #@BUILD_PLUGIN_PYTHON_TRUE@  Globals true
- #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
- #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
This page took 0.138297 seconds and 4 git commands to generate.