From e72c5c9b02b9c5964aebf10366be11b5508340c2 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 19 Aug 2005 13:38:55 +0000 Subject: [PATCH] - Really fix the ownership of installed files Approved by: portmgr (kris) --- games/phpua-bf/Makefile | 2 +- games/phpua-bf/pkg-plist | 3 +-- games/phpua-cod/Makefile | 2 +- games/phpua-cod/pkg-plist | 3 +-- games/phpua-engine/Makefile | 4 ++-- games/phpua-engine/pkg-plist | 3 +-- games/phpua-hl/Makefile | 2 +- games/phpua-hl/pkg-plist | 3 +-- games/phpua-q3/Makefile | 2 +- games/phpua-q3/pkg-plist | 3 +-- games/phpua-ut/Makefile | 2 +- games/phpua-ut/pkg-plist | 3 +-- games/phpua-ut2003/Makefile | 2 +- games/phpua-ut2003/pkg-plist | 3 +-- 14 files changed, 15 insertions(+), 22 deletions(-) diff --git a/games/phpua-bf/Makefile b/games/phpua-bf/Makefile index 81452889dcde..cbf15d2310a2 100644 --- a/games/phpua-bf/Makefile +++ b/games/phpua-bf/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-bf/pkg-plist b/games/phpua-bf/pkg-plist index c89456baf58e..80b6c837798a 100644 --- a/games/phpua-bf/pkg-plist +++ b/games/phpua-bf/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/plugins/plugin_bf/plugin_bf.inc %%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_info.inc %%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_rules.inc @@ -11,6 +9,7 @@ %%PHPUA%%/templates/default/plugin_bf/x.js %%PHPUA%%/templates/javascript/plugin_bf/info.tpl %%PHPUA%%/templates/wap/plugin_bf/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_bf @dirrm %%PHPUA%%/templates/javascript/plugin_bf @dirrm %%PHPUA%%/templates/default/plugin_bf diff --git a/games/phpua-cod/Makefile b/games/phpua-cod/Makefile index 7e2555ffac58..0bb303d850b5 100644 --- a/games/phpua-cod/Makefile +++ b/games/phpua-cod/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-cod/pkg-plist b/games/phpua-cod/pkg-plist index 7209bdd657f5..e89deb53aa64 100644 --- a/games/phpua-cod/pkg-plist +++ b/games/phpua-cod/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/images/plugin_cod/maps/mp_brecourt.jpg %%PHPUA%%/images/plugin_cod/maps/mp_carentan.jpg %%PHPUA%%/images/plugin_cod/maps/mp_chateau.jpg @@ -24,6 +22,7 @@ %%PHPUA%%/templates/default/plugin_cod/x.js %%PHPUA%%/templates/javascript/plugin_cod/info.tpl %%PHPUA%%/templates/wap/plugin_cod/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_cod @dirrm %%PHPUA%%/templates/javascript/plugin_cod @dirrm %%PHPUA%%/templates/default/plugin_cod diff --git a/games/phpua-engine/Makefile b/games/phpua-engine/Makefile index 67d8be522063..7d0a76bbec5a 100644 --- a/games/phpua-engine/Makefile +++ b/games/phpua-engine/Makefile @@ -7,7 +7,7 @@ PORTNAME= phpua-engine PORTVERSION= 1.1.0b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpua @@ -19,7 +19,7 @@ NO_BUILD= yes USE_APACHE= yes USE_PHP= yes -PLIST_SUB+= PHPUADIR=${PHPUADIR} +PLIST_SUB+= PHPUADIR=${PHPUADIR} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} # Dynamic custom variables WWWDOC?= www/data diff --git a/games/phpua-engine/pkg-plist b/games/phpua-engine/pkg-plist index 013fb783c2bb..6ba18bff30ae 100644 --- a/games/phpua-engine/pkg-plist +++ b/games/phpua-engine/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUADIR%%/index.php %%PHPUADIR%%/install.php %%PHPUADIR%%/phpua.cfg.php @@ -166,6 +164,7 @@ %%PHPUADIR%%/templates/wap/index_offline.tpl %%PHPUADIR%%/templates/wap/index_online.tpl %%PHPUADIR%%/wap/index.php +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUADIR%% @dirrm %%PHPUADIR%%/doc @dirrm %%PHPUADIR%%/images/templates/default diff --git a/games/phpua-hl/Makefile b/games/phpua-hl/Makefile index 59daceb97c20..56e347e49d58 100644 --- a/games/phpua-hl/Makefile +++ b/games/phpua-hl/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-hl/pkg-plist b/games/phpua-hl/pkg-plist index a7efa9dd57ad..3d53c7988dc6 100644 --- a/games/phpua-hl/pkg-plist +++ b/games/phpua-hl/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/images/templates/default/plugin_hl/bomb.png %%PHPUA%%/images/templates/default/plugin_hl/bomb_planted.png %%PHPUA%%/images/templates/default/plugin_hl/dispenser.png @@ -54,6 +52,7 @@ %%PHPUA%%/templates/default/plugin_hl/x.js %%PHPUA%%/templates/javascript/plugin_hl/info.tpl %%PHPUA%%/templates/wap/plugin_hl/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_hl @dirrm %%PHPUA%%/templates/javascript/plugin_hl @dirrm %%PHPUA%%/templates/default/plugin_hl diff --git a/games/phpua-q3/Makefile b/games/phpua-q3/Makefile index 07f1a758a576..c7051cac79c8 100644 --- a/games/phpua-q3/Makefile +++ b/games/phpua-q3/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-q3/pkg-plist b/games/phpua-q3/pkg-plist index c75fb7db48b2..bea657d4e339 100644 --- a/games/phpua-q3/pkg-plist +++ b/games/phpua-q3/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/images/plugin_q3/maps/pro-q3dm13.jpg %%PHPUA%%/images/plugin_q3/maps/pro-q3dm6.jpg %%PHPUA%%/images/plugin_q3/maps/pro-q3tourney2.jpg @@ -67,6 +65,7 @@ %%PHPUA%%/templates/default/plugin_q3/x.js %%PHPUA%%/templates/javascript/plugin_q3/info.tpl %%PHPUA%%/templates/wap/plugin_q3/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_q3 @dirrm %%PHPUA%%/templates/javascript/plugin_q3 @dirrm %%PHPUA%%/templates/default/plugin_q3 diff --git a/games/phpua-ut/Makefile b/games/phpua-ut/Makefile index 703097dc0f81..9a2bb873c3d0 100644 --- a/games/phpua-ut/Makefile +++ b/games/phpua-ut/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-ut/pkg-plist b/games/phpua-ut/pkg-plist index d24ee8bf4a9a..9f173b204938 100644 --- a/games/phpua-ut/pkg-plist +++ b/games/phpua-ut/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/images/plugin_ut/faces/CommandoSkins.Blake.jpg %%PHPUA%%/images/plugin_ut/faces/CommandoSkins.Boris.jpg %%PHPUA%%/images/plugin_ut/faces/CommandoSkins.Gorn.jpg @@ -89,6 +87,7 @@ %%PHPUA%%/templates/default/plugin_ut/x.js %%PHPUA%%/templates/javascript/plugin_ut/info.tpl %%PHPUA%%/templates/wap/plugin_ut/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_ut @dirrm %%PHPUA%%/templates/javascript/plugin_ut @dirrm %%PHPUA%%/templates/default/plugin_ut diff --git a/games/phpua-ut2003/Makefile b/games/phpua-ut2003/Makefile index 20995edb4594..417fb4e2dcff 100644 --- a/games/phpua-ut2003/Makefile +++ b/games/phpua-ut2003/Makefile @@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts NO_BUILD= yes -PLIST_SUB+= PHPUA=${PHPUA} +PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP} options: @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:" diff --git a/games/phpua-ut2003/pkg-plist b/games/phpua-ut2003/pkg-plist index d3a910b1d56c..08dd48e29f39 100644 --- a/games/phpua-ut2003/pkg-plist +++ b/games/phpua-ut2003/pkg-plist @@ -1,5 +1,3 @@ -@owner www -@group www %%PHPUA%%/plugins/plugin_ut2003/plugin_ut2003.inc %%PHPUA%%/plugins/plugin_ut2003/plugin_ut2003_mode_info.inc %%PHPUA%%/plugins/plugin_ut2003/plugin_ut2003_mode_rules.inc @@ -11,6 +9,7 @@ %%PHPUA%%/templates/default/plugin_ut2003/x.js %%PHPUA%%/templates/javascript/plugin_ut2003/info.tpl %%PHPUA%%/templates/wap/plugin_ut2003/info.tpl +@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_ut2003 @dirrm %%PHPUA%%/templates/javascript/plugin_ut2003 @dirrm %%PHPUA%%/templates/default/plugin_ut2003