aboutsummaryrefslogtreecommitdiff
path: root/www/eventum
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-06-17 13:00:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-06-17 13:00:56 +0000
commit81d8704624e3fdad90cec3345dd3f6c1c5f357c0 (patch)
tree180adb97b2ffc641b4f0c6d9903fa55d443f34a6 /www/eventum
parent4406c66a27ba71d4c3c82f3a91ad92bb1f8a2e8f (diff)
downloadports-81d8704624e3fdad90cec3345dd3f6c1c5f357c0.tar.gz
ports-81d8704624e3fdad90cec3345dd3f6c1c5f357c0.zip
Notes
Diffstat (limited to 'www/eventum')
-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
++?>