# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1419275806 -3600 # Node ID f457c233ae496be022180c9653257714754b4f70 # Parent 27c0c47097b2bafa7797fc9c56e856b816b3df37 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 diff -r 27c0c47097b2 -r f457c233ae49 Build.PL --- 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; diff -r 27c0c47097b2 -r f457c233ae49 debian/dirs --- /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 diff -r 27c0c47097b2 -r f457c233ae49 debian/install --- /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 diff -r 27c0c47097b2 -r f457c233ae49 debian/rules --- 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 $@ diff -r 27c0c47097b2 -r f457c233ae49 etc/amanda-client.conf --- /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/ +# and complete and uncomment the lines +#conf "" +#auth "bsdtcp" +#tape-server "" +#index-server "" +#amdump-server ""