git: 8fdc28d8640e - main - www/apache24: Allow overriding USERS and GROUPS via make.conf

From: Xavier Beaudouin <kiwi_at_FreeBSD.org>
Date: Fri, 27 Jun 2025 14:11:33 UTC
The branch main has been updated by kiwi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fdc28d8640e75adfbc94eb8172d6b69b3f114ae

commit 8fdc28d8640e75adfbc94eb8172d6b69b3f114ae
Author:     Xavier Beaudouin <kiwi@FreeBSD.org>
AuthorDate: 2025-06-27 14:07:47 +0000
Commit:     Xavier Beaudouin <kiwi@FreeBSD.org>
CommitDate: 2025-06-27 14:10:54 +0000

    www/apache24: Allow overriding USERS and GROUPS via make.conf
    
    It is a welcome addition for those building their own apache24 package
    with custom UID/GID.
    
    PR:     284194
    Sponsored by:   Klara, Inc.
    Approved By:    0mp (mentor)
    Approved By:    maintainer timeout
    Differential Revision:  https://reviews.freebsd.org/D48522
---
 www/apache24/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index 2de058d2e090..3b171ae3ef8c 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -33,8 +33,8 @@ SUB_FILES=	pkg-install pkg-deinstall
 # Fallback MPM after switching from static to modular MPM
 SUB_LIST+=	MPMF="000_mpm_prefork_fallback.conf"
 
-USERS=		www
-GROUPS=		www
+USERS?=		${WWWOWN}
+GROUPS?=	${WWWGRP}
 
 .include "${.CURDIR}/Makefile.options"
 .include "${.CURDIR}/Makefile.options.desc"