
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
What do I have to do to let htdig search my archives?
Thanks in advance
Rgds. Andre

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 as is. BTW, I had to apply this patch for htdig to work on my system: --- HyperArch.py Tue Oct 9 17:38:33 2001 +++ /var/local/mailman/Mailman/Archiver/HyperArch.py Mon Oct 15 18:48:13 2001 @@ -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 Marc -- Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key

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 as is.
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. http://sourceforge.net/tracker/index.php?func=detail&aid=444879&group_id=103&atid=300103 http://sourceforge.net/tracker/index.php?func=detail&aid=444884&group_id=103&atid=300103
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 18:48:13 2001 @@ -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.
Marc --

On Tue, Nov 27, 2001 at 12:04:12PM +0000, Richard Barrett wrote:
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.
Correct.
If the DEFAULT_URL on a system uses the 'http' addressing scheme this patch shouldn't be necessary.
Correct, but for the few using https, the resulting failure is rather hard to debug If you could add this to the standard patch when you get a chance, it would be nice.
Thanks, Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
participants (3)
-
Andre Dieball
-
Marc MERLIN
-
Richard Barrett