diff options
author | ryoon <ryoon> | 2012-12-24 01:27:35 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-12-24 01:27:35 +0000 |
commit | 1a7eb8b6bb126c7ef57d3078f6676c8746a9f3db (patch) | |
tree | 30c5123c4946b2f58b9d596122e5657cb4e86a9f /www | |
parent | 80f1ac8906aa012a7de2f5e5520d1c6f818a50c1 (diff) | |
download | pkgsrc-1a7eb8b6bb126c7ef57d3078f6676c8746a9f3db.tar.gz |
Create user and group when they do not exist.
Diffstat (limited to 'www')
-rw-r--r-- | www/php-owncloud/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/php-owncloud/Makefile b/www/php-owncloud/Makefile index 04deeaa34f3..eb576a4e47a 100644 --- a/www/php-owncloud/Makefile +++ b/www/php-owncloud/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2012/12/23 12:34:43 ryoon Exp $ +# $NetBSD: Makefile,v 1.23 2012/12/24 01:27:35 ryoon Exp $ # DISTNAME= owncloud-4.5.5 @@ -32,6 +32,14 @@ USE_TOOLS+= pax OC_DIR= share/owncloud INSTALLATION_DIRS= ${OC_DIR} +APACHE_USER?= www +APACHE_GROUP?= www +PKG_GROUPS= ${APACHE_GROUP} +PKG_USERS= ${APACHE_USER}:${APACHE_GROUP} + +PKG_USERS_VARS+= APACHE_USER +PKG_GROUPS_VARS+= APACHE_GROUP + BUILD_DEFS+= APACHE_GROUP APACHE_USER FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \ OC_DIR=${OC_DIR} |