Bug 40576 - OpenSSH-portable sync with current
Summary: OpenSSH-portable sync with current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-15 01:20 UTC by Alex Vasylenko
Modified: 2002-07-24 21:49 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (546 bytes, patch)
2002-07-15 01:20 UTC, Alex Vasylenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Vasylenko 2002-07-15 01:20:01 UTC
	/usr/bin/w -n doesn't show IP addresses

Fix: Integrate a patch from the source tree:
	http://www.freebsd.org/cgi/cvsweb.cgi/src/crypto/openssh/loginrec.c.diff?r1=1.1&r2=1.2&f=h

How-To-Repeat: 	login with ssh;
	/usr/bin/w -n displays host name in 'FROM'
Comment 1 Trevor Johnson freebsd_committer freebsd_triage 2002-07-15 01:21:53 UTC
Responsible Changed
From-To: freebsd-ports->des

MFC scheduled by des
Comment 2 ru freebsd_committer freebsd_triage 2002-07-15 08:43:15 UTC
State Changed
From-To: open->closed

The fix was already merged as src/crypto/openssh/loginrec.c,v 1.1.1.1.2.2.
Comment 3 ru freebsd_committer freebsd_triage 2002-07-15 11:30:25 UTC
State Changed
From-To: closed->open

Originator reports that the PR was against ports/security/openssh. 


Comment 4 ru freebsd_committer freebsd_triage 2002-07-15 11:30:25 UTC
Responsible Changed
From-To: des->dinoex

Over to maintainer.
Comment 5 Alex Vasylenko 2002-07-15 19:03:39 UTC
On Mon, Jul 15, 2002 at 03:32:41AM -0700, Ruslan Ermilov wrote:
> Originator reports that the PR was against ports/security/openssh.

Sorry about this mess.
The patch is is intended for ports/security/openssh-portable. 
Please add+commit the code to the repository as 
ports/security/openssh-portable/files/patch-loginrec.c

thanks,
--Alex.
Comment 6 Dirk Meyer freebsd_committer freebsd_triage 2002-07-15 21:08:41 UTC
State Changed
From-To: open->closed

Fix has been committed, Thanks.
Comment 7 Dirk Meyer freebsd_committer freebsd_triage 2002-07-24 07:05:01 UTC
State Changed
From-To: closed->open

Suggested Fix breaks all builds < 4.6, 
realhostname_sa is not part of 4.5 RELEASE.
Comment 8 Alex Vasylenko 2002-07-24 20:24:53 UTC
On Tue, Jul 23, 2002 at 11:07:19PM -0700, Dirk Meyer wrote:
> Suggested Fix breaks all builds < 4.6,
> realhostname_sa is not part of 4.5 RELEASE.

disagree.

see:
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libutil/realhostname.c?rev=1.6&content-type=text/x-cvsweb-markup

realhostname_sa was introduced in 4.0-RELEASE

builds fine on FreeBSD 4.2-STABLE as of Fri Mar  2 20:31:42 PST 2001

regards,
--Alex.
Comment 9 Dirk Meyer freebsd_committer freebsd_triage 2002-07-24 21:49:03 UTC
State Changed
From-To: open->closed

Fix build for FreeBSD when realhostname_sa does not exist.