aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-06-17 21:00:56 +0800
committerthierry <thierry@FreeBSD.org>2006-06-17 21:00:56 +0800
commit232d0b02d6d5d92fb51c657be17caad552bd12b8 (patch)
treed5ff5f2fdd989c83f96777f467f6fd8dbf90e6e4 /www
parent3eefa6ba3c46dbc65489cb05bb0de0c7b44e1ae3 (diff)
downloadfreebsd-ports-gnome-232d0b02d6d5d92fb51c657be17caad552bd12b8.tar.gz
freebsd-ports-gnome-232d0b02d6d5d92fb51c657be17caad552bd12b8.tar.zst
freebsd-ports-gnome-232d0b02d6d5d92fb51c657be17caad552bd12b8.zip
Change user/group from apache to www.
PR: ports/98984 Submitted by: Thomas Abthorpe <thomas (at) goodking.ca> Approved by: Babak Farrokhi <babak (at) farrokhi.net> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/eventum/Makefile5
-rw-r--r--www/eventum/files/patch-misc-monitor.php31
2 files changed, 35 insertions, 1 deletions
diff --git a/www/eventum/Makefile b/www/eventum/Makefile
index 97820416279a..fae0645bea69 100644
--- a/www/eventum/Makefile
+++ b/www/eventum/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eventum
PORTVERSION= 1.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= eventum
@@ -44,6 +44,9 @@ pre-everything::
@${ECHO_MSG} "WWWGRP " ${WWWGRP}
@${ECHO_MSG} ""
+pre-configure:
+ @${RM} ${WRKSRC}/misc/monitor.php.orig
+
pre-install:
@${MV} ${WRKSRC}/setup.conf.php ${WRKSRC}/setup.conf.php-dist
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-dist
diff --git a/www/eventum/files/patch-misc-monitor.php b/www/eventum/files/patch-misc-monitor.php
new file mode 100644
index 000000000000..499a06768ca5
--- /dev/null
+++ b/www/eventum/files/patch-misc-monitor.php
@@ -0,0 +1,31 @@
+--- misc/monitor.php.orig Thu Mar 30 21:13:13 2006
++++ misc/monitor.php Sat Jun 17 14:53:41 2006
+@@ -39,17 +39,17 @@
+ $required_files = array(
+ APP_PATH . 'config.inc.php' => array(
+ 'check_owner' => true,
+- 'owner' => 'apache',
++ 'owner' => 'www',
+ 'check_group' => true,
+- 'group' => 'apache',
++ 'group' => 'www',
+ 'check_permission' => true,
+ 'permission' => 755,
+ ),
+ APP_PATH . 'setup.conf.php' => array(
+ 'check_owner' => true,
+- 'owner' => 'apache',
++ 'owner' => 'www',
+ 'check_group' => true,
+- 'group' => 'apache',
++ 'group' => 'www',
+ 'check_permission' => true,
+ 'permission' => 750,
+ 'check_filesize' => true,
+@@ -60,4 +60,4 @@
+ Monitor::checkDatabase();
+ Monitor::checkMailQueue();
+ Monitor::checkIRCBot();
+-?>
+\ No newline at end of file
++?>