1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/web2ldap/files/patch-aa
Neil Blakey-Milner f77c7bc267 Add web2ldap, an web-based LDAP client.
PR:		ports/20095
Submitted by:	Oddbjorn Steffensen <oddbjorn@tricknology.org>
2000-08-01 14:48:21 +00:00

33 lines
1.0 KiB
Plaintext

*** cgi-bin/web2ldap.py.orig Sat Jul 22 02:23:06 2000
--- cgi-bin/web2ldap.py Sat Jul 22 02:23:30 2000
***************
*** 1,4 ****
! #!/usr/bin/python
########################################################################
# web2ldap
--- 1,4 ----
! #!/usr/local/bin/python
########################################################################
# web2ldap
***************
*** 12,19 ****
if os.environ.has_key('GATEWAY_INTERFACE'):
if os.name == 'posix':
! # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems
! sys.path.append('/etc/web2ldap')
else:
# For finding web2ldapcnf.py in system dirs on Windows systems
for i in ['SystemRoot','windir']:
--- 12,19 ----
if os.environ.has_key('GATEWAY_INTERFACE'):
if os.name == 'posix':
! # For finding web2ldapcnf.py in /usr/local/web2ldap/etc/web2ldap on FreeBSD systems
! sys.path.append('/usr/local/web2ldap/etc/web2ldap')
else:
# For finding web2ldapcnf.py in system dirs on Windows systems
for i in ['SystemRoot','windir']: