[Mailman-Users] htDig in 2.0.7
R.Barrett at ftel.co.uk
Tue Nov 27 13:04:12 CET 2001
At 17:03 26/11/2001 -0800, Marc MERLIN wrote:
>On Mon, Nov 26, 2001 at 07:50:46PM +0100, Andre Dieball wrote:
> > Hi
> > I'm trying to install htdig with Mailman 2.0.7.
> > I saw, that there are several patches available for that, but all of
> > them are for 2.0.6
>The changes between .6 and .7 should be so minor that the patch should apply
The versions of these patches for MM 2.0.6 can be applied without problems
to MM 2.0.7. I've added a comment to the patches on sourceforge to that effect.
>BTW, I had to apply this patch for htdig to work on my system:
Presumably this was because the value of DEFAULT_URL set in either
Default.py or mm_cfg.py on the system used the 'https' addressing scheme.
If the DEFAULT_URL on a system uses the 'http' addressing scheme this patch
shouldn't be necessary.
>--- HyperArch.py Tue Oct 9 17:38:33 2001
>+++ /var/local/mailman/Mailman/Archiver/HyperArch.py Mon Oct 15
>@@ -810,6 +810,8 @@
> upath = os.path.join(mm_cfg.HTDIG_ARCHIVE_URL, listname)
> ## for some reason when I add index.html to the following URL, run fails ??
> starturl = self.maillist.GetScriptURL('htdig') + '/'
>+ # some servers have https, but htdig doesn't dig that :-) -- Marc
>+ starturl = re.sub("^https", "http", starturl)
> # htdig MUST go via the file system to generate its indices so
> # we need the url which maps to the list's private archive
> urlpath = starturl
Due to some additional lines added to HyperArch.py in the latest version of
patch 444884 (file htdig-2.0.6-03.patch) applying the above patch changing
'https' to 'http' will generate a warning - something like "Hunk #1
succeeded at 829 with fuzz 1 (offset 19 lines)." - but the patch succeeds.
More information about the Mailman-Users