[Logwatch] Logwatch 7.3.1 on OpenBSD 4.0

Uwe Dippel udippel at gmail.com
Thu Dec 7 05:50:21 MST 2006

(I did send this, but never saw it coming in, so another time. My
excuses in case this is a dupe.)

now installing on OpenBSD 4.0. Properly.

The default locations are elsewhere, but that could be done by the
user, eventually. Most relevant, still, that makewhatis is elsewhere
and has no -s option on OpenBSD.

--- install_logwatch.sh.orig    Tue Nov 28 18:03:38 2006
+++ install_logwatch.sh Tue Nov 28 18:18:21 2006
@@ -36,11 +36,11 @@

 #Edit these to configure your preferred defaults

 #Talk to user
@@ -167,7 +167,7 @@
 if [ -d $MANDIR/man8 ]; then
        #Should exist in BSD and Linux
        install -m 0644 logwatch.8 $MANDIR/man8
-       makewhatis -u -s 8 $MANDIR
+       /usr/libexec/makewhatis -u $MANDIR
  if [ `uname -s` = "SunOS" ]; then
        #Go for the safe install rather then editing man.cf

.. and to make it run, one still needs to manually correct a wrongly
mangled location:

my $BaseDir = "/usr/share/logwatch";
cannot work in logwatch.pl.
are inserted in the installer script. Right !?

After I changed the entry in logwatch.pl, it did work.

With the changes as below, it installs properly.

Thanks, again, for a very useful program !


More information about the Logwatch mailing list