On 9/15/2020 3:06 PM, Mark Sapiro wrote:
>
> If you are in the directory that you unpacked the Mailman 2.1.34 tarball
> into, do
>
> patch -p1 < /path/to/mailman-FHS.patch
>
>
Hi Mark,

I guess there is still something wrong:

# patch -p1 <../mailman-FHS.patch
patching file bin/check_perms
Hunk #1 succeeded at 183 with fuzz 1 (offset 19 lines).
patching file configure.in
Hunk #1 succeeded at 321 (offset 141 lines).
Hunk #2 succeeded at 348 with fuzz 2 (offset 141 lines).
Hunk #3 succeeded at 821 (offset 147 lines).
patching file Mailman/Defaults.py.in
Hunk #1 succeeded at 1751 (offset 553 lines).
Hunk #2 succeeded at 1766 (offset 553 lines).
Hunk #3 succeeded at 1780 (offset 553 lines).
patching file Mailman/MTA/Postfix.py
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file Mailman/MTA/Postfix.py.rej
patching file Makefile.in
patching file misc/mailman.in
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file misc/mailman.in.rej
patching file misc/Makefile.in
Hunk #1 succeeded at 27 (offset 1 line).
Hunk #2 succeeded at 94 with fuzz 1 (offset 4 lines).

# cat Postfix.py.rej
--- Mailman/MTA/Postfix.py    2003-03-31 16:49:43.000000000 -0500
+++ Mailman/MTA/Postfix.py    2004-10-08 16:02:20.000000000 -0400
@@ -32,8 +32,8 @@
 from Mailman.Logging.Syslog import syslog
 
 LOCKFILE = os.path.join(mm_cfg.LOCK_DIR, 'creator')
-ALIASFILE = os.path.join(mm_cfg.DATA_DIR, 'aliases')
-VIRTFILE = os.path.join(mm_cfg.DATA_DIR, 'virtual-mailman')
+ALIASFILE = os.path.join(mm_cfg.CONFIG_DIR, 'aliases')
+VIRTFILE = os.path.join(mm_cfg.CONFIG_DIR, 'virtual-mailman')
 
 try:
     True, False



Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to