diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-01 14:48:21 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-01 14:48:21 +0000 |
commit | f77c7bc267a6580d05f1c4479625b29d3af52c90 (patch) | |
tree | 571cb2bed1fe2b705a8d0b663943f7479ecff60a /www/web2ldap | |
parent | 0c3d0f016a9bbf06db24a56d03741969d0ac408b (diff) | |
download | ports-f77c7bc267a6580d05f1c4479625b29d3af52c90.tar.gz ports-f77c7bc267a6580d05f1c4479625b29d3af52c90.zip |
Notes
Diffstat (limited to 'www/web2ldap')
-rw-r--r-- | www/web2ldap/Makefile | 35 | ||||
-rw-r--r-- | www/web2ldap/distinfo | 1 | ||||
-rw-r--r-- | www/web2ldap/files/patch-aa | 32 | ||||
-rw-r--r-- | www/web2ldap/files/patch-ab | 86 | ||||
-rw-r--r-- | www/web2ldap/files/patch-ac | 13 | ||||
-rw-r--r-- | www/web2ldap/files/patch-ad | 32 | ||||
-rw-r--r-- | www/web2ldap/files/patch-ae | 19 | ||||
-rw-r--r-- | www/web2ldap/files/patch-af | 25 | ||||
-rw-r--r-- | www/web2ldap/pkg-comment | 1 | ||||
-rw-r--r-- | www/web2ldap/pkg-descr | 5 | ||||
-rw-r--r-- | www/web2ldap/pkg-message | 8 | ||||
-rw-r--r-- | www/web2ldap/pkg-plist | 102 |
12 files changed, 359 insertions, 0 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile new file mode 100644 index 000000000000..448d9ad4f112 --- /dev/null +++ b/www/web2ldap/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: web2ldap +# Date created: 21 July 2000 +# Whom: Oddbjorn Steffensen <oddbjorn@tricknology.org> +# +# $FreeBSD$ +# + +PORTNAME= web2ldap +PORTVERSION= 0.7.7 +CATEGORIES= www +MASTER_SITES= http://sites.inka.de/ms/python/web2ldap/download/ + +MAINTAINER= oddbjorn@tricknology.org + +RUN_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python \ + ${LOCALBASE}/lib/python1.5/site-packages/ldapmodule.so:${PORTSDIR}/net/ldapmodule + +NO_BUILD= yes + +do-install: + @${MKDIR} ${PREFIX}/${PORTNAME} + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/cgi-bin/web2ldap.py.orig + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/web2ldap.py.orig + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/misc.py.orig + @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/standalone.py.orig + @${LOCALBASE}/bin/python ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py + @${CP} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ ${PREFIX}/${PORTNAME} + @if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/www/web2ldap/distinfo b/www/web2ldap/distinfo new file mode 100644 index 000000000000..0073b895ae3f --- /dev/null +++ b/www/web2ldap/distinfo @@ -0,0 +1 @@ +MD5 (web2ldap-0.7.7.tar.gz) = 6af96080f7929795db7080605b7708c2 diff --git a/www/web2ldap/files/patch-aa b/www/web2ldap/files/patch-aa new file mode 100644 index 000000000000..62c0e0acf52e --- /dev/null +++ b/www/web2ldap/files/patch-aa @@ -0,0 +1,32 @@ +*** 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']: diff --git a/www/web2ldap/files/patch-ab b/www/web2ldap/files/patch-ab new file mode 100644 index 000000000000..bb46b2ca1d52 --- /dev/null +++ b/www/web2ldap/files/patch-ab @@ -0,0 +1,86 @@ +*** /dev/null Sat Jul 22 02:21:51 2000 +--- etc/mime.types Sat Jul 22 02:24:24 2000 +*************** +*** 0 **** +--- 1,81 ---- ++ # ++ # sample mime.types ++ # ++ ++ application/andrew-inset ez ++ application/excel xls ++ application/octet-stream bin ++ application/oda oda ++ application/pdf pdf ++ application/pgp pgp ++ application/postscript ps PS eps ++ application/rtf rtf ++ application/x-arj-compressed arj ++ application/x-bcpio bcpio ++ application/x-chess-pgn pgn ++ application/x-cpio cpio ++ application/x-csh csh ++ application/x-debian-package deb ++ application/x-msdos-program com exe bat ++ application/x-dvi dvi ++ application/x-gtar gtar ++ application/x-gunzip gz ++ application/x-hdf hdf ++ application/x-latex latex ++ application/x-mif mif ++ application/x-netcdf cdf nc ++ application/x-perl pl pm ++ application/x-rar-compressed rar ++ application/x-sh sh ++ application/x-shar shar ++ application/x-sv4cpio sv4cpio ++ application/x-sv4crc sv4crc ++ application/x-tar tar ++ application/x-tar-gz tgz tar.gz ++ application/x-tcl tcl ++ application/x-tex tex ++ application/x-texinfo texi texinfo ++ application/x-troff t tr roff ++ application/x-troff-man man ++ application/x-troff-me me ++ application/x-troff-ms ms ++ application/x-ustar ustar ++ application/x-wais-source src ++ application/x-zip-compressed zip ++ ++ audio/basic snd ++ audio/midi mid midi ++ audio/ulaw au ++ audio/x-aiff aif aifc aiff ++ audio/x-wav wav ++ ++ image/gif gif ++ image/ief ief ++ image/jpeg jpe jpeg jpg ++ image/png png ++ image/tiff tif tiff ++ image/x-cmu-raster ras ++ image/x-portable-anymap pnm ++ image/x-portable-bitmap pbm ++ image/x-portable-graymap pgm ++ image/x-portable-pixmap ppm ++ image/x-rgb rgb ++ image/x-xbitmap xbm ++ image/x-xpixmap xpm ++ image/x-xwindowdump xwd ++ ++ text/html html htm ++ text/plain asc txt ++ text/richtext rtx ++ text/tab-separated-values tsv ++ text/x-setext etx ++ ++ video/dl dl ++ video/fli fli ++ video/gl gl ++ video/mpeg mp2 mpe mpeg mpg ++ video/quicktime mov qt ++ video/x-msvideo avi ++ video/x-sgi-movie movie ++ ++ x-world/x-vrml vrm vrml wrl diff --git a/www/web2ldap/files/patch-ac b/www/web2ldap/files/patch-ac new file mode 100644 index 000000000000..06ddb993a6ad --- /dev/null +++ b/www/web2ldap/files/patch-ac @@ -0,0 +1,13 @@ +*** sbin/compile.py.orig Sat Jul 22 02:24:55 2000 +--- sbin/compile.py Sat Jul 22 02:25:07 2000 +*************** +*** 1,4 **** +! #!/usr/bin/python + + import compileall + +--- 1,4 ---- +! #!/usr/local/bin/python + + import compileall + diff --git a/www/web2ldap/files/patch-ad b/www/web2ldap/files/patch-ad new file mode 100644 index 000000000000..be25133e5c52 --- /dev/null +++ b/www/web2ldap/files/patch-ad @@ -0,0 +1,32 @@ +*** sbin/web2ldap.py.orig Sat Jul 22 02:24:59 2000 +--- sbin/web2ldap.py Sat Jul 22 02:25:26 2000 +*************** +*** 1,4 **** +! #!/usr/bin/python + + ######################################################################## + # web2ldap +--- 1,4 ---- +! #!/usr/local/bin/python + + ######################################################################## + # web2ldap +*************** +*** 10,17 **** + import sys,os + + 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']: +--- 10,17 ---- + import sys,os + + 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']: diff --git a/www/web2ldap/files/patch-ae b/www/web2ldap/files/patch-ae new file mode 100644 index 000000000000..4764bb013e53 --- /dev/null +++ b/www/web2ldap/files/patch-ae @@ -0,0 +1,19 @@ +*** etc/web2ldap/web2ldapcnf/misc.py.orig Sat Jul 22 02:26:08 2000 +--- etc/web2ldap/web2ldapcnf/misc.py Sat Jul 22 02:26:48 2000 +*************** +*** 4,10 **** + ######################################################################## + + # A list with directories containing additional Python modules +! pylibdirs = ['/usr/lib/web2ldap/pylib'] + + ######################################################################## + # HTTP-Options +--- 4,10 ---- + ######################################################################## + + # A list with directories containing additional Python modules +! pylibdirs = ['/usr/local/web2ldap/pylib'] + + ######################################################################## + # HTTP-Options diff --git a/www/web2ldap/files/patch-af b/www/web2ldap/files/patch-af new file mode 100644 index 000000000000..615fef41c80b --- /dev/null +++ b/www/web2ldap/files/patch-af @@ -0,0 +1,25 @@ +*** 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 +*************** +*** 13,22 **** + error_log = '/var/log/web2ldap/error_log' + + # Where static documents reside +! document_root = '/usr/lib/web2ldap/htdocs/' + + # 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/' + + # Path name of mime.types file +! mime_types = '/usr/local/web2ldap/etc/mime.types' + + # Contact mail address of the server admin when running stand-alone + server_admin = 'admin@web2ldap.de' diff --git a/www/web2ldap/pkg-comment b/www/web2ldap/pkg-comment new file mode 100644 index 000000000000..c550f505513f --- /dev/null +++ b/www/web2ldap/pkg-comment @@ -0,0 +1 @@ +Python-based WWW gateway to LDAP server diff --git a/www/web2ldap/pkg-descr b/www/web2ldap/pkg-descr new file mode 100644 index 000000000000..2010919330d8 --- /dev/null +++ b/www/web2ldap/pkg-descr @@ -0,0 +1,5 @@ +web2ldap.py is a full-featured web-based LDAP v2+ client written in Python. + +WWW: http://www.web2ldap.de/ + +- oddbjorn (oddbjorn@tricknology.org) diff --git a/www/web2ldap/pkg-message b/www/web2ldap/pkg-message new file mode 100644 index 000000000000..4303e1c3f335 --- /dev/null +++ b/www/web2ldap/pkg-message @@ -0,0 +1,8 @@ +Run /usr/local/web2ldap/sbin/web2ldap.py to start the standalone version +of web2ldap. By default it only accepts connections from localhost, but +this can be modified in + + /usr/local/web2ldap/etc/web2ldap/web2ldapcnf/standalone.py + +For instructions on installing the CGI version of web2ldap, please look +at the enclosed documentation in /usr/local/web2ldap/htdocs/. diff --git a/www/web2ldap/pkg-plist b/www/web2ldap/pkg-plist new file mode 100644 index 000000000000..c82f3dca59a1 --- /dev/null +++ b/www/web2ldap/pkg-plist @@ -0,0 +1,102 @@ +web2ldap/cgi-bin/web2ldap.py +web2ldap/cgi-bin/web2ldap.pyc +web2ldap/contrib/occonf2ldapoc-esj.py +web2ldap/contrib/occonf2ldapoc-esj.pyc +web2ldap/etc/mime.types +web2ldap/etc/web2ldap/ldapoc.py +web2ldap/etc/web2ldap/ldapoc.pyc +web2ldap/etc/web2ldap/web2ldapcnf/__init__.py +web2ldap/etc/web2ldap/web2ldapcnf/__init__.pyc +web2ldap/etc/web2ldap/web2ldapcnf/cgibin.py +web2ldap/etc/web2ldap/web2ldapcnf/cgibin.pyc +web2ldap/etc/web2ldap/web2ldapcnf/hosts.py +web2ldap/etc/web2ldap/web2ldapcnf/hosts.pyc +web2ldap/etc/web2ldap/web2ldapcnf/misc.py +web2ldap/etc/web2ldap/web2ldapcnf/misc.pyc +web2ldap/etc/web2ldap/web2ldapcnf/standalone.py +web2ldap/etc/web2ldap/web2ldapcnf/standalone.pyc +web2ldap/htdocs/css/redandgreen.css +web2ldap/htdocs/demo.html +web2ldap/htdocs/doc/changes.html +web2ldap/htdocs/doc/files.html +web2ldap/htdocs/doc/install.html +web2ldap/htdocs/doc/roadmap.html +web2ldap/htdocs/doc/security.html +web2ldap/htdocs/doc/web2ldapcnf.html +web2ldap/htdocs/features.html +web2ldap/htdocs/feedback.html +web2ldap/htdocs/web2ldap.html +web2ldap/pylib/cgiforms.py +web2ldap/pylib/cgiforms.pyc +web2ldap/pylib/cgihelper.py +web2ldap/pylib/cgihelper.pyc +web2ldap/pylib/cgisession.py +web2ldap/pylib/cgisession.pyc +web2ldap/pylib/cgissl.py +web2ldap/pylib/cgissl.pyc +web2ldap/pylib/charset.py +web2ldap/pylib/charset.pyc +web2ldap/pylib/dsml.py +web2ldap/pylib/dsml.pyc +web2ldap/pylib/ipadr.py +web2ldap/pylib/ipadr.pyc +web2ldap/pylib/ldapbase.py +web2ldap/pylib/ldapbase.pyc +web2ldap/pylib/ldif.py +web2ldap/pylib/ldif.pyc +web2ldap/pylib/msbase.py +web2ldap/pylib/msbase.pyc +web2ldap/pylib/w2ladd.py +web2ldap/pylib/w2ladd.pyc +web2ldap/pylib/w2laddmodifyform.py +web2ldap/pylib/w2laddmodifyform.pyc +web2ldap/pylib/w2lcore.py +web2ldap/pylib/w2lcore.pyc +web2ldap/pylib/w2ldelete.py +web2ldap/pylib/w2ldelete.pyc +web2ldap/pylib/w2lhandler.py +web2ldap/pylib/w2lhandler.pyc +web2ldap/pylib/w2llogin.py +web2ldap/pylib/w2llogin.pyc +web2ldap/pylib/w2lmodify.py +web2ldap/pylib/w2lmodify.pyc +web2ldap/pylib/w2lmodrdn.py +web2ldap/pylib/w2lmodrdn.pyc +web2ldap/pylib/w2lpasswd.py +web2ldap/pylib/w2lpasswd.pyc +web2ldap/pylib/w2lread.py +web2ldap/pylib/w2lread.pyc +web2ldap/pylib/w2lsearch.py +web2ldap/pylib/w2lsearch.pyc +web2ldap/pylib/w2lsearchform.py +web2ldap/pylib/w2lsearchform.pyc +web2ldap/pylib/w2lsecinfo.py +web2ldap/pylib/w2lsecinfo.pyc +web2ldap/pylib/w2lserver.py +web2ldap/pylib/w2lserver.pyc +web2ldap/sbin/compile.py +web2ldap/sbin/compile.pyc +web2ldap/sbin/occonf2ldapoc.py +web2ldap/sbin/occonf2ldapoc.pyc +web2ldap/sbin/web2ldap.py +web2ldap/sbin/web2ldap.pyc +web2ldap/templates/read_bankArrangement.html +web2ldap/templates/read_inetOrgPerson.html +web2ldap/templates/read_musician.html +web2ldap/templates/read_musician.html.de +web2ldap/templates/read_posixAccount.html +web2ldap/templates/searchform_Base.html +web2ldap/templates/searchform_Base.html.de +web2ldap/templates/searchform_rfc2307.html +@dirrm web2ldap/cgi-bin +@dirrm web2ldap/contrib +@dirrm web2ldap/etc/web2ldap/web2ldapcnf +@dirrm web2ldap/etc/web2ldap +@dirrm web2ldap/etc +@dirrm web2ldap/htdocs/css +@dirrm web2ldap/htdocs/doc +@dirrm web2ldap/htdocs +@dirrm web2ldap/pylib +@dirrm web2ldap/sbin +@dirrm web2ldap/templates +@dirrm web2ldap |