Date: Sun, 22 Feb 2009 20:46:47 +0000 (UTC) From: Beech Rintoul <beech@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/ftp/mirror/files patch-af patch-lchat.pl Message-ID: <200902222046.n1MKkl00088800@repoman.freebsd.org>
index | next in thread | raw e-mail
beech 2009-02-22 20:46:47 UTC
FreeBSD ports repository
Added files:
ftp/mirror/files patch-lchat.pl
Removed files:
ftp/mirror/files patch-af
Log:
- The ftp/mirror port's lchat.pl file uses the old pack('S n a4 x8', ...)
method for constructing a sockaddr_in to pass to connect().
This approach breaks on more recent FreeBSDs which are more strict about
the first two bytes of sockaddr_in.
- Patch modifies lchat.pl to use perl's &Socket'pack_sockaddr_in and
&Socket'unpack_sockaddr_in functions to do the right thing.
PR: ports/131911
Submitted by: G. Paul Ziemba <p-fbsd-bugs@ziemba.us>
Revision Changes Path
1.3 +0 -58 ports/ftp/mirror/files/patch-af (dead)
1.1 +164 -0 ports/ftp/mirror/files/patch-lchat.pl (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902222046.n1MKkl00088800>
