aboutsummaryrefslogtreecommitdiff
path: root/www/web2ldap/files/patch-af
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-12 16:43:17 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-12 16:43:17 +0000
commitbf220cd169af14650422a80ad840143a966fe604 (patch)
tree12e9932f7c389aa52e1fe8f08b5186cf8e7700e5 /www/web2ldap/files/patch-af
parent4e4dfaa49175a45df34ce9b47753917c064efbfb (diff)
Notes
Diffstat (limited to 'www/web2ldap/files/patch-af')
-rw-r--r--www/web2ldap/files/patch-af45
1 files changed, 25 insertions, 20 deletions
diff --git a/www/web2ldap/files/patch-af b/www/web2ldap/files/patch-af
index 615fef41c80b..1f03743a1c74 100644
--- a/www/web2ldap/files/patch-af
+++ b/www/web2ldap/files/patch-af
@@ -1,25 +1,30 @@
-*** etc/web2ldap/web2ldapcnf/standalone.py.orig Sat Jul 22 02:26:12 2000
---- etc/web2ldap/web2ldapcnf/standalone.py Sat Jul 22 02:27:10 2000
+*** sbin/web2ldap.py.orig Thu Jan 11 23:46:19 2001
+--- sbin/web2ldap.py Thu Jan 11 23:47:16 2001
***************
-*** 13,22 ****
- error_log = '/var/log/web2ldap/error_log'
+*** 1,4 ****
+! #!/usr/bin/python
- # Where static documents reside
-! document_root = '/usr/lib/web2ldap/htdocs/'
+ ########################################################################
+ # web2ldap - web-based LDAP Client, see http://www.web2ldap.de
+--- 1,4 ----
+! #!/usr/local/bin/python2.0
- # Path name of mime.types file
-! mime_types = '/etc/mime.types'
-
- # Contact mail address of the server admin when running stand-alone
- server_admin = 'admin@web2ldap.de'
---- 13,22 ----
- error_log = '/var/log/web2ldap/error_log'
-
- # Where static documents reside
-! document_root = '/usr/local/web2ldap/htdocs/'
+ ########################################################################
+ # web2ldap - web-based LDAP Client, see http://www.web2ldap.de
+***************
+*** 13,19 ****
- # Path name of mime.types file
-! mime_types = '/usr/local/web2ldap/etc/mime.types'
+ if os.name == 'posix':
+ # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems
+! sys.path.insert(0,'/etc/web2ldap')
+ else:
+ # For finding web2ldapcnf.py in system dirs on Windows systems
+ for i in ['SystemRoot','windir']:
+--- 13,19 ----
- # Contact mail address of the server admin when running stand-alone
- server_admin = 'admin@web2ldap.de'
+ if os.name == 'posix':
+ # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems
+! sys.path.insert(0,'/usr/local/web2ldap/etc/web2ldap')
+ else:
+ # For finding web2ldapcnf.py in system dirs on Windows systems
+ for i in ['SystemRoot','windir']: