packages: collectd/collectd.spec, collectd/collectd-as_needed.patch (NEW) -...

megabajt megabajt at pld-linux.org
Tue Jun 2 20:32:25 CEST 2009


Author: megabajt                     Date: Tue Jun  2 18:32:25 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link sensors plugin with libsensors

---- Files affected:
packages/collectd:
   collectd.spec (1.71 -> 1.72) , collectd-as_needed.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/collectd/collectd.spec
diff -u packages/collectd/collectd.spec:1.71 packages/collectd/collectd.spec:1.72
--- packages/collectd/collectd.spec:1.71	Tue Jun  2 17:43:41 2009
+++ packages/collectd/collectd.spec	Tue Jun  2 20:32:19 2009
@@ -39,6 +39,7 @@
 Source10:	%{name}-df.conf
 Source11:	%{name}-rrdtool.conf
 Patch0:		%{name}-collection.patch
+Patch1:		%{name}-as_needed.patch
 URL:		http://collectd.org/
 %{?with_ipmi:BuildRequires:	OpenIPMI-devel >= 2.0.14-3}
 BuildRequires:	autoconf
@@ -887,6 +888,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -1527,6 +1529,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2009/06/02 18:32:19  megabajt
+- link sensors plugin with libsensors
+
 Revision 1.71  2009/06/02 15:43:41  blues
 - release 2 - check configuration while restarting
 

================================================================
Index: packages/collectd/collectd-as_needed.patch
diff -u /dev/null packages/collectd/collectd-as_needed.patch:1.1
--- /dev/null	Tue Jun  2 20:32:25 2009
+++ packages/collectd/collectd-as_needed.patch	Tue Jun  2 20:32:19 2009
@@ -0,0 +1,12 @@
+diff -urN collectd-4.7.0/src/Makefile.am collectd-4.7.0.new/src/Makefile.am
+--- collectd-4.7.0/src/Makefile.am	2009-05-12 08:59:15.000000000 +0200
++++ collectd-4.7.0.new/src/Makefile.am	2009-06-02 20:22:02.222297769 +0200
+@@ -765,7 +765,7 @@
+ sensors_la_SOURCES = sensors.c
+ sensors_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBSENSORS_CFLAGS)
+ sensors_la_LDFLAGS = -module -avoid-version
+-sensors_la_LIBADD = $(BUILD_WITH_LIBSENSORS_LDFLAGS)
++sensors_la_LIBADD = $(BUILD_WITH_LIBSENSORS_LDFLAGS) -lsensors
+ collectd_LDADD += "-dlopen" sensors.la
+ collectd_DEPENDENCIES += sensors.la
+ endif
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/collectd/collectd.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list