From owner-freebsd-ports Wed May 22 8:40:24 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DA4E637B419 for ; Wed, 22 May 2002 08:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4MFe1Y53166; Wed, 22 May 2002 08:40:01 -0700 (PDT) (envelope-from gnats) Received: from chrome.verticalscope.com (226.42.234.216.rev.connection.ca [216.234.42.226]) by hub.freebsd.org (Postfix) with ESMTP id 8588337B413 for ; Wed, 22 May 2002 08:36:35 -0700 (PDT) Received: from jedi.office.verticalscope.com (jedi.office.verticalscope.com [10.10.10.7]) by chrome.verticalscope.com (Postfix) with ESMTP id B01B74B8 for ; Wed, 22 May 2002 11:37:07 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by jedi.office.verticalscope.com (Postfix) with ESMTP id ED1661892 for ; Wed, 22 May 2002 11:36:28 -0400 (EDT) Received: by jedi.office.verticalscope.com (Postfix, from userid 533) id CDEC61891; Wed, 22 May 2002 11:36:26 -0400 (EDT) Message-Id: <20020522153626.CDEC61891@jedi.office.verticalscope.com> Date: Wed, 22 May 2002 11:36:26 -0400 (EDT) From: Julian Dunn Reply-To: Julian Dunn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/38423: web2ldap does not work with the version of py-ldap2 in ports Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38423 >Category: ports >Synopsis: web2ldap does not work with the version of py-ldap2 in ports >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 22 08:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Julian Dunn >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: VerticalScope Inc. >Environment: System: FreeBSD jedi.office.verticalscope.com 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #10: Thu May 9 11:17:36 EDT 2002 jdunn@jedi.office.verticalscope.com:/usr/obj/usr/src/sys/YODA i386 >Description: The version of web2ldap in ports/www/web2ldap is incompatible with the revision of the python ldap bindings in ports (in net/py-ldap2) because some of the function interfaces have changed. >How-To-Repeat: Install web2ldap in fastCGI mode. The following errors occur: [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: Traceback (most recent call last): [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: File "/usr/local/web2ldap/pylib/w2lapp/handler.py", line 406, in HandleHTTPRequest [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: ls.open(host,startTLS=0) [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: File "/usr/local/web2ldap/pylib/ldapsession.py", line 200, in open [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: self.l = self._retryConnect( [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: File "/usr/local/web2ldap/pylib/ldapsession.py", line 93, in _retryConnect [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/loc al/web2ldap/fcgi/web2ldap.py" stderr: l = ldap.open(host,port,trace_level,trace_file) [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: TypeError: too many arguments; expected 3, got 4 [Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: incomplete headers (0 bytes) received from server "/u sr/local/web2ldap/fcgi/web2ldap.py" >Fix: Upgrade the py-ldap2 port to the latest released revision as in this patch: diff -Nur py-ldap2/Makefile ../verticalscope/py-ldap2/Makefile --- py-ldap2/Makefile Tue Apr 30 15:27:24 2002 +++ ../verticalscope/py-ldap2/Makefile Wed May 22 11:35:35 2002 @@ -5,12 +5,12 @@ # $FreeBSD: ports/net/py-ldap2/Makefile,v 1.14 2002/04/29 18:31:58 ijliao Exp $ PORTNAME= ldap2 -PORTVERSION= CVS200201041716 +PORTVERSION= 2.0.0pre04 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= python-ldap PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Python-LDAP-${PORTVERSION} +DISTNAME= python-ldap-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org diff -Nur py-ldap2/distinfo ../verticalscope/py-ldap2/distinfo --- py-ldap2/distinfo Thu Feb 28 03:27:36 2002 +++ ../verticalscope/py-ldap2/distinfo Wed May 22 10:42:47 2002 @@ -1 +1 @@ -MD5 (Python-LDAP-CVS200201041716.tar.gz) = 2ab1887f971fdbfac1c58d343398f674 +MD5 (python-ldap-2.0.0pre04.tar.gz) = 4c0f4e6f59b41a02f50493f02012c9ac >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message