summaryrefslogtreecommitdiff
path: root/deskutils/nag/files
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-05-18 00:22:48 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-05-18 00:22:48 +0000
commit2209bc25ca1c3962b01c226c45bc295310776091 (patch)
tree563ca1a0f0e71aa80b50a48f5aeed67df0faa082 /deskutils/nag/files
parenthonor CFLAGS. (diff)
Add new port: deskutils/nag - Horde's task list manager.
PR: ports/36908 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=59355
Diffstat (limited to 'deskutils/nag/files')
-rw-r--r--deskutils/nag/files/httpd.conf.nag31
-rw-r--r--deskutils/nag/files/patch-aa8
-rw-r--r--deskutils/nag/files/patch-ab21
3 files changed, 60 insertions, 0 deletions
diff --git a/deskutils/nag/files/httpd.conf.nag b/deskutils/nag/files/httpd.conf.nag
new file mode 100644
index 000000000000..c5279c8245fa
--- /dev/null
+++ b/deskutils/nag/files/httpd.conf.nag
@@ -0,0 +1,31 @@
+# This is included in Apache's httpd.conf for Nag
+#
+# For security, don't serve pages from the Nag configuration and
+# library directories.
+#
+<Directory "/home/httpd/html/horde/nag/config">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/nag/lib">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/nag/locale">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/nag/po">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/nag/scripts">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/nag/templates">
+ order deny,allow
+ deny from all
+</Directory>
+# End of Nag configuration ================
+
diff --git a/deskutils/nag/files/patch-aa b/deskutils/nag/files/patch-aa
new file mode 100644
index 000000000000..2ee4d373ca48
--- /dev/null
+++ b/deskutils/nag/files/patch-aa
@@ -0,0 +1,8 @@
+--- scripts/drivers/nag_tasks.sql.orig Tue Dec 11 14:47:41 2001
++++ scripts/drivers/nag_tasks.sql Sat Dec 15 00:42:13 2001
+@@ -13,4 +13,4 @@
+ primary key (task_owner, task_id)
+ );
+
+-grant select, insert, update, delete on nag_tasks to horde;
++grant select, insert, update, delete on nag_tasks to hordemgr;
diff --git a/deskutils/nag/files/patch-ab b/deskutils/nag/files/patch-ab
new file mode 100644
index 000000000000..26192dede93d
--- /dev/null
+++ b/deskutils/nag/files/patch-ab
@@ -0,0 +1,21 @@
+--- config/conf.php.dist.orig Tue Mar 12 18:07:16 2002
++++ config/conf.php.dist Mon Apr 8 23:08:04 2002
+@@ -42,12 +42,12 @@
+ // Below is an example configuration for an sql driver, in this case
+ // MySQL.
+ $conf['storage']['params'] = array();
+-// $conf['storage']['params']['phptype'] = 'mysql';
+-// $conf['storage']['params']['hostspec'] = 'localhost';
+-// $conf['storage']['params']['username'] = 'horde';
+-// $conf['storage']['params']['password'] = '*****';
+-// $conf['storage']['params']['database'] = 'horde';
+-// $conf['storage']['params']['table'] = 'nag_tasks';
++$conf['storage']['params']['phptype'] = 'mysql';
++$conf['storage']['params']['hostspec'] = 'localhost';
++$conf['storage']['params']['username'] = 'hordemgr';
++$conf['storage']['params']['password'] = 'hordemgr';
++$conf['storage']['params']['database'] = 'horde';
++$conf['storage']['params']['table'] = 'nag_tasks';
+
+
+ /**