head	1.10;
access;
symbols
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_3_0_0:1.7
	RELEASE_2_2_7:1.7
	RELEASE_2_2_6:1.7
	RELEASE_2_2_5:1.6
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.6;
locks; strict;
comment	@# @;


1.10
date	2002.02.22.02.52.25;	author knu;	state dead;
branches;
next	1.9;

1.9
date	2000.09.02.03.56.56;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	98.11.23.07.41.52;	author kuriyama;	state dead;
branches;
next	1.7;

1.7
date	97.12.24.18.48.46;	author imp;	state Exp;
branches;
next	1.6;

1.6
date	97.04.25.05.01.06;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	97.04.16.19.48.30;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	97.03.28.23.30.39;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	97.02.27.00.44.35;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	96.12.27.08.42.41;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	96.08.12.14.17.53;	author peter;	state Exp;
branches;
next	;


desc
@@


1.10
log
@- Update to 3.1.0.

  PR:		ports/34740
  Submitted by:	larse@@ISI.EDU

- Add %%PORTDOCS%% to pkg-plist.

- Assign MAINTAINER to the submitter.

  Requested by:	issei (previous MAINTAINER)
@
text
@--- apps/ssh/ssh2_config.orig	Sun Aug 27 02:30:11 2000
+++ apps/ssh/ssh2_config	Sun Aug 27 02:30:48 2000
@@@@ -43,6 +43,7 @@@@
 ## SSH1 Compatibility
 
         Ssh1Compatibility               yes
+	Ssh1Path			/usr/bin/ssh
 	Ssh1AgentCompatibility		none
 #	Ssh1AgentCompatibility		traditional
 #	Ssh1AgentCompatibility		ssh2
@


1.9
log
@Upgrade to ssh-2.3.0.

PR:	ports/20869
Submitted by:	Issei Suzuki <issei@@issei.org> (Maintainer)
@
text
@@


1.8
log
@Oops, I forgot to remove old patches...
@
text
@d1 10
a10 27
*** sshconnect.c.orig	Wed Apr 23 08:40:11 1997
--- sshconnect.c	Fri Apr 25 12:41:59 1997
***************
*** 311,316 ****
--- 311,322 ----
      {
        struct sockaddr_in sin;
        int p;
+ #if (defined(__OpenBSD__) || defined(__FreeBSD__))  && !defined(SOCKS)
+ 	p = 1023;	/* Compat with old FreeBSD */
+       sock = rresvport(&p);
+       if (sock < 0)
+ 	fatal("rresvport: %.100s", strerror(errno));
+ #else
        for (p = 1023; p > 512; p--)
  	{
  	  sock = socket(AF_INET, SOCK_STREAM, 0);
***************
*** 338,343 ****
--- 344,350 ----
  	    }
  	  fatal("bind: %.100s", strerror(errno));
  	}
+ #endif
        debug("Allocated local port %d.", p);
      }
    else
@


1.7
log
@Merge in change requested by theo:
	OpenBSD and FreeBSD now both use rresvport.  This is a nop for
	FreeBSD, but for OpenBSD this picks random port numbers.
Submitted by:	deraadt@@cvs.openbsd.org
@
text
@@


1.6
log
@Update from ssh-1.2.19 to ssh-1.2.20.  All patches applied still, I just
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.
@
text
@d9 1
a9 1
+ #if defined(__FreeBSD__)  && !defined(SOCKS)
@


1.5
log
@Upgrade to 1.2.19
@
text
@d1 2
a2 2
*** sshconnect.c.orig	Sun Apr  6 03:57:04 1997
--- sshconnect.c	Wed Apr 16 23:04:17 1997
d4 2
a5 2
*** 302,307 ****
--- 302,313 ----
d19 2
a20 2
*** 329,334 ****
--- 335,341 ----
@


1.4
log
@Upgrade to 1.2.18
@
text
@d1 2
a2 2
*** sshconnect.c.orig	Thu Mar 27 09:04:10 1997
--- sshconnect.c	Sat Mar 29 01:16:51 1997
d4 2
a5 2
*** 298,303 ****
--- 298,309 ----
d19 2
a20 2
*** 325,330 ****
--- 331,337 ----
@


1.3
log
@Add LOGIN_CAP abilities
Submitted by: davidn
@
text
@d1 2
a2 2
*** sshconnect.c.orig	Thu Jan 30 23:00:03 1997
--- sshconnect.c	Thu Jan 30 23:00:04 1997
d4 2
a5 2
*** 239,244 ****
--- 239,250 ----
d19 2
a20 2
*** 266,271 ****
--- 272,278 ----
@


1.2
log
@Make one of our changes for -current work on 2.1.  In -current, rresvport()
ignores it's argument (it's meaningless, the kernel keeps the state), but
2.1.x use it.  ssh was effectively giving a random port to 2.1.

Originally noticed by: John Polstra <jdp@@polstra.com>
@
text
@d1 2
a2 2
*** sshconnect.c.dist	Thu Jun  6 21:47:06 1996
--- sshconnect.c	Mon Aug 12 13:26:46 1996
d4 2
a5 2
*** 235,240 ****
--- 235,246 ----
d19 2
a20 2
*** 262,267 ****
--- 267,273 ----
@


1.1
log
@Have ssh use rresvport() to get a privileged socket instead of doing it
itself.  This means it obeys the portrange sysctl's.
@
text
@d5 1
a5 1
--- 235,245 ----
d10 1
@
