summaryrefslogtreecommitdiff
path: root/www/horde/files
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-02-01 22:41:15 +0000
committerbouyer <bouyer@pkgsrc.org>2002-02-01 22:41:15 +0000
commit3f94bc4319168839286232affebc66b840fe6516 (patch)
tree462b79368d20ae1cc3839e53e5c135d18e6405ed /www/horde/files
parentf93398f47b6a3904fee87f64178fc841086920a4 (diff)
downloadpkgsrc-3f94bc4319168839286232affebc66b840fe6516.tar.gz
Update to horde 2.0, as 1.2.7 doesn't work with the new php.
"has been released. The 2.0 release is a massive upgrade of the Horde Application Framework. Many components have been added or streamlined. Inter-application support is much more robust, a generic MIME_Viewer framework is included, a new preferences system supports global or application scope for preferences, and more!"
Diffstat (limited to 'www/horde/files')
-rw-r--r--www/horde/files/horde.conf.dist22
-rw-r--r--www/horde/files/horde_secure.sh33
-rw-r--r--www/horde/files/horde_setup.sh27
3 files changed, 13 insertions, 69 deletions
diff --git a/www/horde/files/horde.conf.dist b/www/horde/files/horde.conf.dist
index b1e98690e99..8b35d5e2d78 100644
--- a/www/horde/files/horde.conf.dist
+++ b/www/horde/files/horde.conf.dist
@@ -1,4 +1,4 @@
-# $NetBSD: horde.conf.dist,v 1.2 2001/02/13 03:54:00 jlam Exp $
+# $NetBSD: horde.conf.dist,v 1.3 2002/02/01 22:41:16 bouyer Exp $
#
# Horde configuration file fragment for Apache
@@ -11,15 +11,7 @@
AllowOverride None
Order allow,deny
Allow from all
- <IfModule mod_php3.c>
- php3_include_path '@PHPLIBDIR@:.'
- php3_auto_prepend_file @PHPLIBDIR@/prepend.php3
- php3_magic_quotes_gpc Off
- php3_track_vars On
- </IfModule>
<IfModule mod_php4.c>
- php_value include_path '@PHPLIBDIR@:.'
- php_value auto_prepend_file @PHPLIBDIR@/prepend.php3
php_flag magic_quotes_gpc Off
php_flag track_vars On
</IfModule>
@@ -32,6 +24,10 @@
Order deny,allow
Deny from all
</Directory>
+<Directory "@HORDEDIR@/docs">
+ Order deny,allow
+ Deny from all
+</Directory>
<Directory "@HORDEDIR@/lib">
Order deny,allow
Deny from all
@@ -44,6 +40,10 @@
Order deny,allow
Deny from all
</Directory>
+<Directory "@HORDEDIR@/po">
+ Order deny,allow
+ Deny from all
+</Directory>
<Directory "@HORDEDIR@/scripts">
Order deny,allow
Deny from all
@@ -52,3 +52,7 @@
Order deny,allow
Deny from all
</Directory>
+<Directory "@HORDEDIR@/util">
+ Order deny,allow
+ Deny from all
+</Directory>
diff --git a/www/horde/files/horde_secure.sh b/www/horde/files/horde_secure.sh
deleted file mode 100644
index f07b1f3bf5f..00000000000
--- a/www/horde/files/horde_secure.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: horde_secure.sh,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
-
-HORDEDIR=@HORDEDIR@
-
-for file in config/horde.php3 imp/config/defaults.php3
-do
- if [ ! -e ${HORDEDIR}/${file} ]
- then
- echo "${HORDEDIR}/${file} could not be found."
- exit 1
- fi
- chmod 444 ${HORDEDIR}/${file}
-done
-
-for file in setup.php3 test.php3
-do
- if [ ! -e ${HORDEDIR}/${file} ]
- then
- echo "${HORDEDIR}/${file} could not be found."
- exit 1
- fi
- chmod 000 ${HORDEDIR}/${file}
-done
-
-cat << EOF
-
-The Horde/IMP configuration files have been set to read-only, and the
-setup and test pages have been set to no-access.
-
-EOF
-exit 0
diff --git a/www/horde/files/horde_setup.sh b/www/horde/files/horde_setup.sh
deleted file mode 100644
index fc093e9a0f7..00000000000
--- a/www/horde/files/horde_setup.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: horde_setup.sh,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
-
-HORDEDIR=@HORDEDIR@
-
-for file in config/horde.php3 imp/config/defaults.php3
-do
- if [ ! -e ${HORDEDIR}/${file} ]
- then
- echo "${HORDEDIR}/${file} could not be found."
- exit 1
- fi
- chmod a+rw ${HORDEDIR}/${file}
-done
-
-cat << EOF
-
-Horde/IMP may now by configured by pointing a web browser at:
-
- http://localhost/horde/setup.php3
-
-Please run 'horde_secure' after configuration is complete to re-protect
-the Horde configuration files.
-
-EOF
-exit 0