Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 1996 19:23:58 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@gaia.coppe.ufrj.br>
To:        jonny@gaia.coppe.ufrj.br (Joao Carlos Mendes Luis)
Cc:        ports@freebsd.org, torstenb@freebsd.org
Subject:   Re: ssh port
Message-ID:  <199609012223.TAA03487@mailhost.coppe.ufrj.br>
In-Reply-To: <199609010910.GAA25211@mailhost.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Sep 1, 96 06:10:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609012223.TAA03487>