Date: Thu, 23 Jul 2015 02:51:11 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47051 - head/share/mk Message-ID: <201507230251.t6N2pBE7084919@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Thu Jul 23 02:51:10 2015 New Revision: 47051 URL: https://svnweb.freebsd.org/changeset/doc/47051 Log: Allow installing website as an unprivileged user. Reviewed by: hrs Approved by: doceng (implicit) Modified: head/share/mk/web.site.mk Modified: head/share/mk/web.site.mk ============================================================================== --- head/share/mk/web.site.mk Wed Jul 22 21:57:34 2015 (r47050) +++ head/share/mk/web.site.mk Thu Jul 23 02:51:10 2015 (r47051) @@ -11,6 +11,7 @@ # clean -- remove anything generated by processing # +.include "doc.install.mk" .include "doc.commands.mk" .if exists(${.CURDIR}/../Makefile.inc) @@ -24,17 +25,17 @@ DESTDIR?= ${HOME}/public_html _ID?= /usr/bin/id _UID!= ${_ID} -u -WEBOWN?= ${USER} +WEBOWN?= ${USERNAME} .if (${_UID} > 0) -WEBGRP?= ${USER} +WEBGRP?= ${GROUPNAME} .else WEBGRP?= www .endif WEBMODE?= 664 -CGIOWN?= ${USER} +CGIOWN?= ${USERNAME} .if (${_UID} > 0) -CGIGRP?= ${USER} +CGIGRP?= ${GROUPNAME} .else CGIGRP?= www .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507230251.t6N2pBE7084919>