Added the Makefile.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile Wed May 26 00:33:35 2010 +0200
@@ -0,0 +1,7 @@
+# primitive, but it's 0:12 am
+# .hs
+
+install:
+ install -m 0755 -d /etc/exim4/bin
+ install -m 0755 check /etc/exim4/bin/
+ perl -i -pe 's{^(# local source :).*$$}{$$1 $(shell pwd)}' /etc/exim4/bin/check
--- a/check Wed May 26 00:10:07 2010 +0200
+++ b/check Wed May 26 00:33:35 2010 +0200
@@ -1,6 +1,8 @@
#! /usr/bin/perl
# © Heiko Schlittermann <hs@schlittermann.de>
-# Sources: https://keller.schlittermann.de/hg/exim-checks
+# global source: https://keller.schlittermann.de/hg/exim-checks
+# local source :
+
use strict;
use warnings;
@@ -15,7 +17,7 @@
my $opt_init = 0;
my $opt_refresh = 0;
-my $opt_dir = \'dirname($opt_config) . "/lib"';
+my $opt_dir = \'dirname($opt_config) . "/checks"';
my $opt_config = undef;
my $opt_exim = undef;
@@ -125,9 +127,11 @@
=head1 SYNOPSIS
+ check [options] [<address>...]
+
check [options] -i|--init <address>...
- check [options] [<address>...]
check [options] -r|--refresh <address>...
+
check {-h|-m}|{--help|--man}
=head1 DESCRIPTION
@@ -146,14 +150,14 @@
=item B<-d>|B<--dir> I<directory>
-The directory containing the checks (default: C<dirname($config)/lib>)
+The directory containing the checks (default: C<dirname($config)/checks>)
-=item B<-i>|B<--init>
+=item B<-i>|B<--init> I<address>
Initialize the tests (run them for the first time and remember
the results. (default: not used)
-=item B<-r>|B<--refresh>
+=item B<-r>|B<--refresh> I<address>
Refresh the results (should be used after a verified change).
(default: not used)