From: Sebastian Harl Date: Mon, 25 Feb 2008 11:07:02 +0000 (+0100) Subject: Readded the "sensors" plugin's dependency on "lm-sensors". X-Git-Tag: collectd-4.3.0-2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a7261744c9e8fe1a15d3179bf0199c2e78e9c41;p=pkg-collectd.git Readded the "sensors" plugin's dependency on "lm-sensors". "lm-sensors" has been added to README.Debian.plugins and the list of recommended packages of the collectd binary package. This obviously got lost when merging the plugin packages. --- diff --git a/debian/bin/gen_plugin_deps.pl b/debian/bin/gen_plugin_deps.pl index 77ea6d3..fb22c73 100755 --- a/debian/bin/gen_plugin_deps.pl +++ b/debian/bin/gen_plugin_deps.pl @@ -22,6 +22,10 @@ use strict; use warnings; +my $extra_deps = { + sensors => [ 'lm-sensors' ], +}; + my $infile = "debian/README.Debian.plugins.in"; my $outfile = "debian/README.Debian.plugins"; @@ -84,6 +88,11 @@ sub print_plugin_deps ++$i; print $fh "$name:\n"; + + if (defined $extra_deps->{$name}) { + unshift @deps, @{$extra_deps->{$name}}; + } + foreach my $dep (@deps) { print $fh " * $dep\n"; } diff --git a/debian/control b/debian/control index f06f68a..d2b875a 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ Vcs-Browser: http://git.tokkee.org/?p=pkg-collectd.git Package: collectd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Recommends: perl, rrdtool, ${shlibs:Recommends} +Recommends: perl, rrdtool, lm-sensors, ${shlibs:Recommends} Suggests: collectd-dev, librrds-perl, liburi-perl, libhtml-parser-perl, libregexp-common-perl, httpd-cgi, hddtemp, mbmon Conflicts: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql,