Re: git: 4854dd90a199 - main - mail/mailman: pull in the post-2.1.39 fixes upstream...

From: Craig Leres <leres_at_freebsd.org>
Date: Wed, 08 Nov 2023 23:40:02 UTC
On 11/8/23 11:42, Matthias Andree wrote:
> The branch main has been updated by mandree:
> 
> URL:https://cgit.FreeBSD.org/ports/commit/?id=4854dd90a199107cd6a94da257131e09927de3c5
> 
> commit 4854dd90a199107cd6a94da257131e09927de3c5
> Author:     Matthias Andree<mandree@FreeBSD.org>
> AuthorDate: 2023-11-08 19:40:22 +0000
> Commit:     Matthias Andree<mandree@FreeBSD.org>
> CommitDate: 2023-11-08 19:42:12 +0000
> 
>      mail/mailman: pull in the post-2.1.39 fixes upstream...

After upgrading I can no longer start mailman. Putting USES=autoreconf 
fixes this. I think it is needed because there is a patch that puts the 
default user and group into configure.in.

		Craig

dot 7 # /usr/local/mailman/bin/check_perms
Traceback (most recent call last):
   File "/usr/local/mailman/bin/check_perms", line 51, in <module>
     MAILMAN_GID = grp.getgrnam(MAILMAN_GROUP)[2]
KeyError: 'getgrnam(): name not found: '

zinc 70 # git diff b7f05445c00f2625aa19b4154ebcbce5ed2daa52 Makefile
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index 65c8df3f485..ecf88cdd756 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -1,6 +1,6 @@
  PORTNAME=      mailman
  DISTVERSION=   2.1.39
-PORTREVISION=  1
+PORTREVISION=  2
  CATEGORIES=    mail
  MASTER_SITES=  GNU \
 
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
@@ -17,7 +17,7 @@ WWW=          https://www.list.org/
  LICENSE=       GPLv2
  LICENSE_FILE=  ${WRKSRC}/gnu-COPYING-GPL

-USES=          autoreconf cpe fakeroot python:2.7 shebangfix tar:tgz
+USES=          cpe fakeroot python:2.7 shebangfix tar:tgz
  CPE_VENDOR=    gnu

  USE_RC_SUBR=   mailman