Skip to content

Commit

Permalink
mail/mailman: fix empty group/user name regression in 2.1.39_2
Browse files Browse the repository at this point in the history
...and drop files/patch-configure-in, which is no longer needed;
neither is autoreconf needed to be reinstated.

We can cheat the test -z "$VAR" inside the MM_FIND_{GROUP,USER}...
configure[.in] macros by putting the proper contents into the
proper environment variables.

To fix the regression in...
PR:		274991
Reported by:	leres@
  • Loading branch information
mandree committed Nov 10, 2023
1 parent b4c952b commit 12264af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 68 deletions.
8 changes: 7 additions & 1 deletion mail/mailman/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mailman
DISTVERSION= 2.1.39
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
Expand Down Expand Up @@ -34,6 +34,12 @@ CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} \
--with-permcheck=no \
--with-mailhost=localhost \
--with-urlhost=localhost
# setting these defeats the automated check for users in configure[.in], as of 2.1.39,
# implemented in MM_FIND_* macros:
CONFIGURE_ENV+= CGI_GROUP=${CGI_GID} \
MAIL_GROUP=${MAIL_GID} \
MAILMAN_USER=${MM_USERNAME} \
MAILMAN_GROUP=${MM_GROUPNAME}

CONFLICTS= ja-mailman-2.1.* mailman*exim* mailman*postfix*

Expand Down
67 changes: 0 additions & 67 deletions mail/mailman/files/patch-configure-in

This file was deleted.

0 comments on commit 12264af

Please sign in to comment.