From 778ba258b1ba001c71aed299a2a8f313ad5a261e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 7 Oct 2007 15:22:44 +0200 Subject: [PATCH] Added collectd.overrides. This overrides shlib-with-non-pic-code errors of plugins liked against static libraries which have not been linked with -fPIC. --- debian/changelog | 3 +++ debian/collectd.overrides | 4 ++++ debian/rules | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 debian/collectd.overrides diff --git a/debian/changelog b/debian/changelog index eb675ed..d2f81a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 6 Oct 2007 21:49:39 +0200 diff --git a/debian/collectd.overrides b/debian/collectd.overrides new file mode 100644 index 0000000..83cabc4 --- /dev/null +++ b/debian/collectd.overrides @@ -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 + diff --git a/debian/rules b/debian/rules index fab97fe..3ab7f12 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.30.2