From owner-freebsd-ports Sun Sep 1 15:24:11 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22979 for ports-outgoing; Sun, 1 Sep 1996 15:24:11 -0700 (PDT) Received: from mailhost.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA22973; Sun, 1 Sep 1996 15:24:03 -0700 (PDT) Received: (from jonny@localhost) by mailhost.coppe.ufrj.br (8.7.5/8.7.3) id TAA03487; Sun, 1 Sep 1996 19:23:58 -0300 (EST) From: Joao Carlos Mendes Luis Message-Id: <199609012223.TAA03487@mailhost.coppe.ufrj.br> Subject: Re: ssh port To: jonny@gaia.coppe.ufrj.br (Joao Carlos Mendes Luis) Date: Sun, 1 Sep 1996 19:23:58 -0300 (EST) Cc: ports@freebsd.org, torstenb@freebsd.org In-Reply-To: <199609010910.GAA25211@mailhost.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Sep 1, 96 06:10:24 am" X-Mailer: ELM [version 2.4ME+ PL14 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Joao Carlos Mendes Luis) // Hi, // // I think there's a problem with the ssh port in FreeBSD-current. // // To fix it: // // 1) Remove patches/patch-ag. // Why is it necessary ??? // // 2) Remove LDFLAGS=-L/usr/local/lib from work/ssh-1.2.14/Makefile // It's conflicting with the internal version of ZLIB... Ops, one more problem... At file patches/patch-al: Where it says: + #if defined(__FreeBSD__) && !defined(SOCKS) + sock = rresvport(&p); + if (sock < 0) + fatal("rresvport: %.100s", strerror(errno)); + #else Probably should be something like: + #if defined(__FreeBSD__) && !defined(SOCKS) + p = IPPORT_RESERVED - 1; + sock = rresvport(&p); + if (sock < 0) + fatal("rresvport: %.100s", strerror(errno)); + #else Jonny PS: Just in case: I'm using -current ports with my 2.1.0 box, but these problems does not seen to be some kind of version conflict. -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro