summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
++?>