From owner-freebsd-ports@FreeBSD.ORG Wed Apr 2 19:36:09 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0244106566C; Wed, 2 Apr 2008 19:36:09 +0000 (UTC) (envelope-from david.roger@cox.net) Received: from fed1rmmtai106.cox.net (fed1rmmtai106.cox.net [68.230.241.54]) by mx1.freebsd.org (Postfix) with ESMTP id A2F908FC16; Wed, 2 Apr 2008 19:36:09 +0000 (UTC) (envelope-from david.roger@cox.net) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080402191503.EVCQ28792.fed1rmmtao101.cox.net@fed1rmimpo01.cox.net>; Wed, 2 Apr 2008 15:15:03 -0400 Received: from w2kpro-b.cox.net ([72.197.246.151]) by fed1rmimpo01.cox.net with bizsmtp id 8jEr1Z00C3GjPKc03jEtm9; Wed, 02 Apr 2008 15:14:53 -0400 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 02 Apr 2008 12:14:50 -0700 To: obrien@FreeBSD.org From: "David.Roger" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20080402191503.EVCQ28792.fed1rmmtao101.cox.net@fed1rmimpo01.cox.net> Cc: ports@FreeBSD.org Subject: FreeBSD Port: aub-2.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 19:36:10 -0000 OBrien, I have been a user of AUB for years. Just installed FreeBSD 7.0 - AUB fails to connect to NNTP Server. Runs okay on 6.3 machine - same version of AUB 2.2.. at line 1494 is: local($packing_template) = "S n a4 x8"; at line 1518 is: $them = pack($packing_template, AF_INET, $port, $theiraddr); This caused the problem because AF_INET is being set to a specific value. Reference O'Reilly Programming Perl, 2nd Edition, Page 348/349 - using their example code (page 349) to test both 6.3 & 7.0 - example worked on both ( I changed the 'localhost' to my news server, and port to 119. I commented out line 1518 and added the following: $them = sockaddr_in($port, $theiraddr); I tested this on 6.3 and 7.0 - all okay now.... Hope this helps... Dave Roger Ramona, CA