Code

Added collectd.overrides.
authorSebastian Harl <sh@tokkee.org>
Sun, 7 Oct 2007 13:22:44 +0000 (15:22 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 7 Oct 2007 13:22:44 +0000 (15:22 +0200)
This overrides shlib-with-non-pic-code errors of plugins liked against
static libraries which have not been linked with -fPIC.

debian/changelog
debian/collectd.overrides [new file with mode: 0644]
debian/rules

index eb675ed0b58e767cb392006f724f56256989faba..d2f81a2f5cabb4a14c19e49f5b55c948672b485f 100644 (file)
@@ -11,6 +11,9 @@ collectd (4.1.2-1) experimental; urgency=low
   * Merged all plugin packages into the collectd binary package.
   * Added README.Debian.plugins and gen_plugin_deps.pl to document the plugin
     dependencies.
+  * Added collectd.overrides to override shlib-with-non-pic-code errors of
+    plugins liked against static libraries which have not been linked with
+    -fPIC.
 
  -- Sebastian Harl <sh@tokkee.org>  Sat,  6 Oct 2007 21:49:39 +0200
 
diff --git a/debian/collectd.overrides b/debian/collectd.overrides
new file mode 100644 (file)
index 0000000..83cabc4
--- /dev/null
@@ -0,0 +1,4 @@
+collectd: shlib-with-non-pic-code usr/lib/collectd/nut.so
+collectd: shlib-with-non-pic-code usr/lib/collectd/iptables.so
+collectd: shlib-with-non-pic-code usr/lib/collectd/netlink.so
+
index fab97fe574448b8bf76d5c435533dbac29da3363..3ab7f129c318ba178aa1296d41b488ca04d2f4ed 100755 (executable)
@@ -95,6 +95,10 @@ install-arch: build
        done
        
        perl ./debian/bin/gen_plugin_deps.pl
+       
+       mkdir -p debian/collectd/usr/share/lintian/overrides/
+       cp debian/collectd.overrides \
+               debian/collectd/usr/share/lintian/overrides/collectd
 
 binary-indep: install-indep
        dh_testdir