5 dh_installlogcheck - install logcheck rulefiles into etc/logcheck/
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installlogcheck> [S<I<debhelper options>>]
18 B<dh_installlogcheck> is a debhelper program that is responsible for
19 installing logcheck rule files.
25 =item debian/I<package>.logcheck.cracking
27 =item debian/I<package>.logcheck.violations
29 =item debian/I<package>.logcheck.violations.ignore
31 =item debian/I<package>.logcheck.ignore.workstation
33 =item debian/I<package>.logcheck.ignore.server
35 =item debian/I<package>.logcheck.ignore.paranoid
37 Each of these files, if present, are installed into corresponding
38 subdirectories of F<etc/logcheck/> in package build directories.
46 foreach my $package (@{$dh{DOPACKAGES}}) {
47 my $tmp=tmpdir($package);
49 foreach my $type (qw{ignore.d.workstation ignore.d.server
50 ignore.d.paranoid cracking.d
51 violations.d violations.ignore.d}) {
54 my $logcheck=pkgfile($package,"logcheck.$typenod");
56 if (! -d "$tmp/etc/logcheck/$type") {
57 doit("install","-o",0,"-g",0,"-d","$tmp/etc/logcheck/$type");
59 my $packagenodot=$package; # run-parts..
60 $packagenodot=~s/\./_/g;
61 doit("install","-m","0644",$logcheck,"$tmp/etc/logcheck/$type/$packagenodot");
70 This program is a part of debhelper.
74 Jon Middleton <jjm@debian.org>