ports/98984: [PATCH] www/eventum: change user/group in misc/monitor.php
Thomas Abthorpe
thomas at goodking.ca
Thu Jun 15 16:50:16 UTC 2006
>Number: 98984
>Category: ports
>Synopsis: [PATCH] www/eventum: change user/group in misc/monitor.php
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 15 16:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Thomas Abthorpe
>Release: FreeBSD 6.1-RELEASE-p2 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD stjames.stthomasanglican.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #18: Wed Jun 14 18:14:38 EDT 2006
>Description:
Modify the misc/monitor.php to change the owner/group from apache to www,
the generally accepted user/group in FreeBSD Apache port.
Added file(s):
- files/patch-misc-monitor.php
Port maintainer (babak at farrokhi.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- eventum-1.7.1_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/eventum/Makefile /usr/home/ports/www/eventum/Makefile
--- /usr/ports/www/eventum/Makefile Mon Jun 12 09:16:23 2006
+++ /usr/home/ports/www/eventum/Makefile Thu Jun 15 12:38:07 2006
@@ -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
diff -ruN --exclude=CVS /usr/ports/www/eventum/files/patch-misc-monitor.php /usr/home/ports/www/eventum/files/patch-misc-monitor.php
--- /usr/ports/www/eventum/files/patch-misc-monitor.php Wed Dec 31 19:00:00 1969
+++ /usr/home/ports/www/eventum/files/patch-misc-monitor.php Thu Jun 15 12:34:10 2006
@@ -0,0 +1,31 @@
+--- misc/monitor.php.orig Thu Mar 30 14:13:13 2006
++++ misc/monitor.php Thu Jun 15 12:32:05 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
++?>
--- eventum-1.7.1_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list