From 0a7261744c9e8fe1a15d3179bf0199c2e78e9c41 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 25 Feb 2008 12:07:02 +0100 Subject: [PATCH] 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. --- debian/bin/gen_plugin_deps.pl | 9 +++++++++ debian/control | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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, -- 2.30.2