---snip---
- Revert the partially enabled building and usage of the libgmp version
shipping with ssh introduced with the upgrade to 1.2.33. For -current
depend on math/libgmp-freebsd and use the libgmp in the base system
for -stable like this port did before. This fixes compilation on
-current and turns of the annoying errors when the configure of the
ssh-enclosed libgmp tests the optimisations using the wrong assembler-
syntax on 4-stable. The later causes configure to hang on 3-stable.
- Don't define 'REALLY_WANT_SSH=1' in the Makefile else the FORBIDDEN
for FreeBSD systems shipping with OpenSSH in the base-distribution and
not defining 'REALLY_WANT_SSH' is useless. This was also broken with
the last commit.
Tested on 5.0-current, 4-stable and 3-stable.
---snip---
Submitted by: marius@alchemy.franken.de
Submitted by: Issei Suzuki <issei@jp.FreeBSD.ORG>
Upgrade to 1.2.27.
# I'm not maintainer but it seems that torstenb is too busy to
# look the PR and many people want new version ssh port.
regenerated them to fix the line numbers. Also, I added two commented out
options in Makefile, one to tell sshd that a group writeable homedir
is OK because all users are in their own group, and the other is to allow
an unencrypted connection (which is dangerous since it can lead to
compromise of keys), but on a secure network it's damn useful for backups
etc.
security problems.
Also re-do the method we use for disconnecting ourselves from the supplied
gmp and z libraries so that this can be maintained in the future (sigh!).
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.