patch-ac: call setsid() before setlogin() in the child (when emulating rsh)
otherwise the setlogin() will fail when/if the proposed setlogin() changes
go in. Otherwise it silently fails and may leave the login name of the user
session as "root" (depending on how sshd was started). Without the proposed
kernel change, it harmlessly sets the login name of the user's session.
patch-ad: patch the #ifdef botch that stopped a ssh login from using and
updating the lastlog file. This is because we have struct lastlog defined
inside utmp.h rather than a lastlog.h include file like it was expecting.
This is the FreeBSD Ports Collection. Please refer to the FreeBSD
Handbook on what to do with them.
The FreeBSD Handbook is available from
file://localhost/usr/share/doc/handbook/handbook.html
(that's the version on your machine) and
http://www.freebsd.org/handbook/handbook.html
for the latest version from FreeBSD-current.
The section "The Ports Collection" will tell you how to use the
ports/packages and "Porting Applications" describes how you can
contribute to the ports collection.