Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2019 20:50:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238508] mail/mailman: wrong paths in cron/rundig
Message-ID:  <bug-238508-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238508

            Bug ID: 238508
           Summary: mail/mailman: wrong paths in cron/rundig
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mandree@FreeBSD.org
          Reporter: asp-freebsd@partan.com
          Assignee: mandree@FreeBSD.org
             Flags: maintainer-feedback?(mandree@FreeBSD.org)

I installed mailman with htdig with:
        cd /usr/ports/mail/malman
        make config
                - add HTDIG
        make install

I set things up and ran ~mailman/cron/nightly_htdig.  It failed
when running ~mailman/cron/rundig because the paths in ~mailman/cron/rundig
were not updated.

I fixed the paths in ~mailman/cron/rundig to match the paths in
/usr/local/bin/rundig and then things worked.

% cd ~mailman
% diff -u cron/rundig.orig cron/rundig
--- cron/rundig.orig    2019-06-08 18:53:23.120474000 -0400
+++ cron/rundig 2019-06-08 22:15:45.675837000 -0400
@@ -7,10 +7,10 @@
 #
 # This is a sample script to create a search database for ht://Dig.
 #
-DBDIR=3D/opt/www/var/htdig
-COMMONDIR=3D/opt/www/share/htdig
-BINDIR=3D/opt/www/bin
-conffile=3D/opt/www/conf/htdig.conf
+DBDIR=3D/usr/local/share/htdig/database
+COMMONDIR=3D/usr/local/share/htdig/common
+BINDIR=3D/usr/local/bin
+conffile=3D/usr/local/etc/htdig/htdig.conf

 # To help debug problems, try running rundig -vvv
 # This will add lots of debugging output to all of the programs



% pkg which ~mailman/cron/rundig
/usr/local/mailman/cron/rundig was installed by package
mailman-with-htdig-2.1.29_5
% pkg which /usr/local/bin/rundig=20
/usr/local/bin/rundig was installed by package htdig-3.2.0.b6_6
% uname -a
FreeBSD mail 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #0: Mon May 13 21:20=
:50
UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  a=
md64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238508-7788>