Date: Wed, 08 Nov 2000 15:17:45 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22690: Further port fix: devel/fnorb (MAINTAINER) Message-ID: <E13tV6n-000KgC-00@fling.sanbi.ac.za>
next in thread | raw e-mail | index | archive | help
>Number: 22690 >Category: ports >Synopsis: Further port fix: devel/fnorb (MAINTAINER) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 08 05:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 3.5-STABLE i386 >Organization: Electric Genetics >Environment: >Description: - Further patches to make Fnorb 1.1 compatible with the tighter socket binding code in Python 2.0. Again, compatibility with Python 1.5.2 should be maintained. - Thanks to Brad Chapman <chapmanb@arches.uga.edu> for his help. - I may still not have caught the last of these. :-( >How-To-Repeat: >Fix: diff -ruN fnorb.bak/Makefile fnorb/Makefile --- fnorb.bak/Makefile Wed Nov 8 14:57:28 2000 +++ fnorb/Makefile Wed Nov 8 15:09:56 2000 @@ -7,7 +7,7 @@ PORTNAME= fnorb PORTVERSION= 1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= http://www.fnorb.org/download/ \ ftp://ftp.dstc.edu.au/DSTC/fnorb/ diff -ruN fnorb.bak/files/patch-aa fnorb/files/patch-aa --- fnorb.bak/files/patch-aa Wed Nov 8 14:57:28 2000 +++ fnorb/files/patch-aa Wed Nov 8 15:12:59 2000 @@ -1,8 +1,7 @@ Allow the port to work with Python 2.0. This should be fixed in the next -release of Fnorb. (Caveat: There may be more broken calls to -socket.connect.) +release of Fnorb. (Caveat: There may be more broken calls.) -Thanks to Mike Meyer <mwm@mired.org> for submitting this. +Thanks to Mike Meyer <mwm@mired.org>, Brad Chapman <chapmanb@arches.uga.edu>. -- Johann <johann@egenetics.com> @@ -18,3 +17,34 @@ # Set the socket by default to NON-blocking mode. self.__socket.setblocking(0) +--- ../orb/IIOPAcceptor.py.orig Mon Apr 3 16:08:34 2000 ++++ ../orb/IIOPAcceptor.py Wed Nov 8 15:06:29 2000 +@@ -65,7 +65,7 @@ + try: + # Create a socket on which to listen for connection requests. + self.__socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +- self.__socket.bind(host, port) ++ self.__socket.bind((host, port)) + self.__socket.listen(5) + + # Get the host name, the IP address and the port number of the +--- ../orb/Nudger.py.orig Mon Apr 3 16:08:34 2000 ++++ ../orb/Nudger.py Wed Nov 8 15:06:50 2000 +@@ -54,7 +54,7 @@ + try: + # Create a socket on which to listen for connection requests. + listen_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +- listen_socket.bind(host, port) ++ listen_socket.bind((host, port)) + listen_socket.listen(1) + + # Get the host name, the IP address and the port number of the +@@ -85,7 +85,7 @@ + # has been performed on the listening socket! If you don't believe + # me read Stevens' Network Programming ;^) + self.__client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +- self.__client.connect(listen_host, listen_port) ++ self.__client.connect((listen_host, listen_port)) + + # And finally, we do an 'accept' to complete the connection. + (self.__server, address) = listen_socket.accept() >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13tV6n-000KgC-00>