5 dh_installlogcheck - install logcheck rulefiles into etc/logcheck/
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installlogcheck> [S<B<debhelper options>>]
18 dh_installlocgheck is a debhelper program that is responsible for
19 installing logcheck rule files into subdirectories of etc/logcheck/ in
20 package build directories. The files debian/package.logcheck.cracking,
21 debian/package.logcheck.violations,
22 debian/package.logcheck.violations.ignore,
23 debian/package.logcheck.ignore.workstation,
24 debian/package.logcheck.ignore.server and
25 debian/package.logcheck.ignore.paranoid are installed if present.
31 foreach my $package (@{$dh{DOPACKAGES}}) {
32 my $tmp=tmpdir($package);
34 foreach my $type (qw{ignore.d.workstation ignore.d.server
35 ignore.d.paranoid cracking.d
36 violations.d violations.ignore.d}) {
39 my $logcheck=pkgfile($package,"logcheck.$typenod");
41 if (! -d "$tmp/etc/logcheck/$type") {
42 doit("install","-o",0,"-g",0,"-d","$tmp/etc/logcheck/$type");
44 my $packagenodot=$package; # run-parts..
45 $packagenodot=~s/\./_/g;
46 doit("install","-m",600,$logcheck,"$tmp/etc/logcheck/$type/$packagenodot");
55 This program is a part of debhelper.
59 Jon Middleton <jjm@debian.org>