provide example conf, fix wrong man dir
The manpage went to /home/heiko/… that's wrong.
And now we provide a README in /etc/amanda as a template for the
configuration files
--- a/Build.PL Mon Dec 22 20:01:27 2014 +0100
+++ b/Build.PL Mon Dec 22 20:16:46 2014 +0100
@@ -18,6 +18,9 @@
'plugins/check_amanda-client' =>
'nagios/plugins/ius/check_amanda-client',
},
+ etc_files => {
+ 'etc/amanda-client.conf' => 'etc/amanda/README',
+ },
license => 'perl',
requires => { perl => 5.014, 'Const::Fast' => 0.011 },
build_requires => { 'Test::Exception' => 0, },
@@ -35,6 +38,7 @@
$builder->bindoc_dirs([@{ $builder->bindoc_dirs }, 'blib/nagios/plugins/ius']);
$builder->add_build_element('checks');
+$builder->add_build_element('etc');
$builder->create_build_script;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/dirs Mon Dec 22 20:16:46 2014 +0100
@@ -0,0 +1,1 @@
+/etc/amanda
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/install Mon Dec 22 20:16:46 2014 +0100
@@ -0,0 +1,1 @@
+blib/etc/amanda/README etc/amanda
--- a/debian/rules Mon Dec 22 20:01:27 2014 +0100
+++ b/debian/rules Mon Dec 22 20:16:46 2014 +0100
@@ -1,4 +1,8 @@
#! /usr/bin/make -f
+PERL5LIB=
+PERL_MM_OPT=
+PERL_MB_OPT=
+
%:
@dh $@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/amanda-client.conf Mon Dec 22 20:16:46 2014 +0100
@@ -0,0 +1,7 @@
+# Copy this file to /etc/amanda/<config>
+# and complete and uncomment the lines
+#conf "<config>"
+#auth "bsdtcp"
+#tape-server "<server>"
+#index-server "<server>"
+#amdump-server "<server>"