ports/57403: [patch] create WWWOWN and WWWGRP

Edwin Groothuis edwin at mavetju.org
Tue Sep 30 11:50:10 UTC 2003


>Number:         57403
>Category:       ports
>Synopsis:       [patch] create WWWOWN and WWWGRP
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 04:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Aug 17 16:04:25 EST 2003 edwin at k7.mavetju:/usr/src/sys/compile/k7 i386


>Description:

More and more ports have kludges like WWWOWN, WWW_OWNER, WWW_USER,
WWWUSER to define which user (and group) is used for the permissions
of files installed by the webservers. This PR is to make it a generic
string and so that it is easy for people to not install these files
as www:www anymore.

>How-To-Repeat:
>Fix:

This could be in /usr/port/Mk/bsd.port.mk or in /usr/share/mk/bsd.own.mk,
but since there is no www user default on the system (or is there?)
I prefer to have it in bsd.port.mk

--- bsd.port.mk 3 Sep 2003 19:50:24 -0000       1.468
+++ bsd.port.mk 30 Sep 2003 11:44:20 -0000
@@ -1082,6 +1082,10 @@
 # Location of mounted CDROM(s) to search for files
 CD_MOUNTPTS?=  /cdrom ${CD_MOUNTPT}
   
+# Owner and group of the WWW user
+WWWOWN?=       www
+WWWGRP?=       www
+
 .endif
 # End of pre-makefile section.
      

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list