aboutsummaryrefslogtreecommitdiff
path: root/www/horde4-base/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
commit281a55555a7d66ba836bf27f7eb1ad250cadafa4 (patch)
treeaee2285517dec3476da0b7107d9ebce773a63698 /www/horde4-base/files
parentffdf5e4fc2c28121e636af8ef16c4715d166e533 (diff)
downloadports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.tar.gz
ports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.zip
Notes
Diffstat (limited to 'www/horde4-base/files')
-rw-r--r--www/horde4-base/files/patch-secure.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/horde4-base/files/patch-secure.sh b/www/horde4-base/files/patch-secure.sh
new file mode 100644
index 000000000000..49e97c6c2b92
--- /dev/null
+++ b/www/horde4-base/files/patch-secure.sh
@@ -0,0 +1,28 @@
+--- secure.sh.orig Sun May 28 05:09:52 2000
++++ secure.sh Sun Jul 7 11:37:19 2002
+@@ -1,17 +1,17 @@
+ #!/bin/sh
+
+ # Horde Items
+-chmod 444 config/horde.php3 > /dev/null 2> /dev/null
+-chmod 444 lib/horde.lib > /dev/null 2> /dev/null
+-chmod 444 lib/mime.lib > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/config/horde.php3 > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/lib/horde.lib > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/lib/mime.lib > /dev/null 2> /dev/null
+
+ # IMP Items
+-chmod 444 imp/config/defaults.php3 > /dev/null 2> /dev/null
+-chmod 444 imp/lib/imp.lib > /dev/null 2> /dev/null
+-chmod 444 imp/lib/mimetypes.lib > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/imp/config/defaults.php3 > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/imp/lib/imp.lib > /dev/null 2> /dev/null
++chmod 444 %%HORDEDIR%%/imp/lib/mimetypes.lib > /dev/null 2> /dev/null
+
+-chmod 000 setup.php3 > /dev/null 2> /dev/null
+-chmod 000 test.php3 > /dev/null 2> /dev/null
++chmod 000 %%HORDEDIR%%/setup.php3 > /dev/null 2> /dev/null
++chmod 000 %%HORDEDIR%%/test.php3 > /dev/null 2> /dev/null
+
+ echo
+ echo I have made your configuration files, and libraries mode 0444