head	1.130;
access;
symbols
	RELEASE_8_1_0:1.128
	RELEASE_7_3_0:1.128
	RELEASE_8_0_0:1.128
	RELEASE_7_2_0:1.128
	RELEASE_7_1_0:1.128
	RELEASE_6_4_0:1.128
	RELEASE_5_EOL:1.128
	RELEASE_7_0_0:1.127
	RELEASE_6_3_0:1.127
	PRE_XORG_7:1.126
	RELEASE_4_EOL:1.126
	RELEASE_6_2_0:1.126
	RELEASE_6_1_0:1.125
	RELEASE_5_5_0:1.125
	RELEASE_6_0_0:1.122
	RELEASE_5_4_0:1.122
	RELEASE_4_11_0:1.122
	RELEASE_5_3_0:1.122
	RELEASE_4_10_0:1.121
	RELEASE_5_2_1:1.116
	RELEASE_5_2_0:1.116
	RELEASE_4_9_0:1.114
	RELEASE_5_1_0:1.113
	RELEASE_4_8_0:1.113
	RELEASE_5_0_0:1.109
	RELEASE_4_7_0:1.109
	RELEASE_4_6_2:1.107
	RELEASE_4_6_1:1.107
	RELEASE_4_6_0:1.107
	RELEASE_5_0_DP1:1.105
	RELEASE_4_5_0:1.102
	RELEASE_4_4_0:1.102
	RELEASE_4_3_0:1.102
	RELEASE_4_2_0:1.101
	RELEASE_4_1_1:1.100
	RELEASE_4_1_0:1.99
	RELEASE_3_5_0:1.99
	RELEASE_4_0_0:1.92
	RELEASE_3_4_0:1.89
	RELEASE_3_3_0:1.86
	RELEASE_3_2_0:1.80
	RELEASE_3_1_0:1.78
	ssh_2_0_11:1.75
	RELEASE_2_2_8:1.73
	RELEASE_3_0_0:1.70
	RELEASE_2_2_7:1.57
	RELEASE_2_2_6:1.52
	RELEASE_2_2_5:1.46
	RELEASE_2_2_1:1.36
	RELEASE_2_2_2:1.40
	ssh_1_2_10:1.1.1.1
	YLO:1.1.1;
locks; strict;
comment	@# @;


1.130
date	2010.10.15.17.40.30;	author garga;	state dead;
branches;
next	1.129;

1.129
date	2010.09.15.18.07.42;	author marius;	state Exp;
branches;
next	1.128;

1.128
date	2008.04.19.17.53.30;	author miwi;	state Exp;
branches;
next	1.127;

1.127
date	2007.05.19.20.22.53;	author flz;	state Exp;
branches;
next	1.126;

1.126
date	2006.08.28.00.03.21;	author marius;	state Exp;
branches;
next	1.125;

1.125
date	2006.03.04.17.36.07;	author marius;	state Exp;
branches;
next	1.124;

1.124
date	2006.02.19.22.56.34;	author marius;	state Exp;
branches;
next	1.123;

1.123
date	2005.10.06.22.59.24;	author linimon;	state Exp;
branches;
next	1.122;

1.122
date	2004.07.23.19.10.16;	author anholt;	state Exp;
branches;
next	1.121;

1.121
date	2004.04.22.20.56.26;	author netchild;	state Exp;
branches;
next	1.120;

1.120
date	2004.04.20.13.49.29;	author netchild;	state Exp;
branches;
next	1.119;

1.119
date	2004.04.20.12.53.42;	author netchild;	state Exp;
branches;
next	1.118;

1.118
date	2004.01.25.09.58.39;	author netchild;	state Exp;
branches;
next	1.117;

1.117
date	2004.01.04.14.03.52;	author netchild;	state Exp;
branches;
next	1.116;

1.116
date	2003.11.07.09.28.13;	author marcus;	state Exp;
branches;
next	1.115;

1.115
date	2003.10.14.15.47.27;	author dinoex;	state Exp;
branches;
next	1.114;

1.114
date	2003.07.07.14.19.06;	author netchild;	state Exp;
branches;
next	1.113;

1.113
date	2003.02.23.22.39.05;	author edwin;	state Exp;
branches;
next	1.112;

1.112
date	2003.02.21.13.26.56;	author knu;	state Exp;
branches;
next	1.111;

1.111
date	2003.01.02.19.35.26;	author ijliao;	state Exp;
branches;
next	1.110;

1.110
date	2003.01.02.18.30.21;	author ijliao;	state Exp;
branches;
next	1.109;

1.109
date	2002.06.18.23.45.19;	author pat;	state Exp;
branches;
next	1.108;

1.108
date	2002.05.28.21.28.12;	author petef;	state Exp;
branches;
next	1.107;

1.107
date	2002.05.17.09.33.13;	author sada;	state Exp;
branches;
next	1.106;

1.106
date	2002.05.17.09.20.47;	author sada;	state Exp;
branches;
next	1.105;

1.105
date	2002.04.02.04.49.20;	author knu;	state Exp;
branches;
next	1.104;

1.104
date	2002.02.22.02.52.25;	author knu;	state Exp;
branches;
next	1.103;

1.103
date	2002.02.16.05.32.07;	author issei;	state Exp;
branches;
next	1.102;

1.102
date	2001.02.17.01.40.35;	author obrien;	state Exp;
branches;
next	1.101;

1.101
date	2000.10.30.12.57.16;	author steve;	state Exp;
branches;
next	1.100;

1.100
date	2000.09.02.03.56.56;	author kris;	state Exp;
branches;
next	1.99;

1.99
date	2000.06.02.03.18.54;	author will;	state Exp;
branches;
next	1.98;

1.98
date	2000.05.29.03.16.37;	author steve;	state Exp;
branches;
next	1.97;

1.97
date	2000.04.21.08.19.04;	author mharo;	state Exp;
branches;
next	1.96;

1.96
date	2000.04.17.00.18.43;	author reg;	state Exp;
branches;
next	1.95;

1.95
date	2000.04.14.15.04.29;	author will;	state Exp;
branches;
next	1.94;

1.94
date	2000.04.09.18.30.33;	author cpiazza;	state Exp;
branches;
next	1.93;

1.93
date	2000.04.05.22.21.42;	author will;	state Exp;
branches;
next	1.92;

1.92
date	2000.03.11.12.58.43;	author obrien;	state Exp;
branches;
next	1.91;

1.91
date	2000.01.28.19.39.20;	author obrien;	state Exp;
branches;
next	1.90;

1.90
date	99.12.24.18.39.44;	author mharo;	state Exp;
branches;
next	1.89;

1.89
date	99.11.25.21.26.38;	author cpiazza;	state Exp;
branches;
next	1.88;

1.88
date	99.11.25.21.26.03;	author cpiazza;	state Exp;
branches;
next	1.87;

1.87
date	99.11.24.21.45.32;	author sada;	state Exp;
branches;
next	1.86;

1.86
date	99.09.02.17.08.35;	author cpiazza;	state Exp;
branches;
next	1.85;

1.85
date	99.08.31.06.50.25;	author mharo;	state Exp;
branches;
next	1.84;

1.84
date	99.08.31.01.51.48;	author peter;	state Exp;
branches;
next	1.83;

1.83
date	99.08.22.18.59.56;	author mharo;	state Exp;
branches;
next	1.82;

1.82
date	99.06.24.19.29.50;	author obrien;	state Exp;
branches;
next	1.81;

1.81
date	99.06.18.20.02.11;	author ache;	state Exp;
branches;
next	1.80;

1.80
date	99.04.03.03.42.01;	author ache;	state Exp;
branches;
next	1.79;

1.79
date	99.03.15.01.18.49;	author steve;	state Exp;
branches;
next	1.78;

1.78
date	99.02.06.01.40.28;	author ache;	state Exp;
branches;
next	1.77;

1.77
date	99.02.05.20.45.16;	author ache;	state Exp;
branches;
next	1.76;

1.76
date	99.02.05.06.11.31;	author ache;	state Exp;
branches;
next	1.75;

1.75
date	98.12.01.11.10.33;	author obrien;	state Exp;
branches;
next	1.74;

1.74
date	98.12.01.09.33.58;	author obrien;	state Exp;
branches;
next	1.73;

1.73
date	98.11.23.05.15.16;	author kuriyama;	state Exp;
branches;
next	1.72;

1.72
date	98.11.22.21.53.31;	author asami;	state Exp;
branches;
next	1.71;

1.71
date	98.10.30.06.15.18;	author obrien;	state Exp;
branches;
next	1.70;

1.70
date	98.10.08.13.11.52;	author asami;	state Exp;
branches;
next	1.69;

1.69
date	98.10.08.06.17.56;	author jkh;	state Exp;
branches;
next	1.68;

1.68
date	98.10.08.06.16.18;	author jkh;	state Exp;
branches;
next	1.67;

1.67
date	98.10.08.03.42.23;	author jkh;	state Exp;
branches;
next	1.66;

1.66
date	98.10.07.23.03.44;	author jkh;	state Exp;
branches;
next	1.65;

1.65
date	98.09.26.04.42.09;	author dima;	state Exp;
branches;
next	1.64;

1.64
date	98.09.17.10.53.31;	author asami;	state Exp;
branches;
next	1.63;

1.63
date	98.09.15.21.31.53;	author asami;	state Exp;
branches;
next	1.62;

1.62
date	98.08.19.19.51.10;	author hoek;	state Exp;
branches;
next	1.61;

1.61
date	98.08.17.12.12.34;	author vanilla;	state Exp;
branches;
next	1.60;

1.60
date	98.08.17.10.42.38;	author vanilla;	state Exp;
branches;
next	1.59;

1.59
date	98.08.01.22.24.55;	author dima;	state Exp;
branches;
next	1.58;

1.58
date	98.07.25.19.46.37;	author asami;	state Exp;
branches;
next	1.57;

1.57
date	98.07.11.23.10.50;	author imp;	state Exp;
branches;
next	1.56;

1.56
date	98.06.12.11.39.32;	author ache;	state Exp;
branches;
next	1.55;

1.55
date	98.06.12.07.55.06;	author dima;	state Exp;
branches;
next	1.54;

1.54
date	98.05.23.08.53.38;	author obrien;	state Exp;
branches;
next	1.53;

1.53
date	98.05.22.06.05.43;	author mph;	state Exp;
branches;
next	1.52;

1.52
date	98.03.10.13.58.16;	author jkh;	state Exp;
branches;
next	1.51;

1.51
date	98.03.10.13.56.14;	author jkh;	state Exp;
branches;
next	1.50;

1.50
date	98.01.20.23.50.03;	author imp;	state Exp;
branches;
next	1.49;

1.49
date	97.12.24.18.46.11;	author imp;	state Exp;
branches;
next	1.48;

1.48
date	97.11.21.15.31.33;	author markm;	state Exp;
branches;
next	1.47;

1.47
date	97.11.10.22.04.42;	author dima;	state Exp;
branches;
next	1.46;

1.46
date	97.10.10.14.29.12;	author rse;	state Exp;
branches;
next	1.45;

1.45
date	97.09.16.00.13.23;	author torstenb;	state Exp;
branches;
next	1.44;

1.44
date	97.09.11.18.31.52;	author max;	state Exp;
branches;
next	1.43;

1.43
date	97.07.18.05.04.17;	author asami;	state Exp;
branches;
next	1.42;

1.42
date	97.07.01.02.39.26;	author adam;	state Exp;
branches;
next	1.41;

1.41
date	97.05.24.13.17.14;	author jfitz;	state Exp;
branches;
next	1.40;

1.40
date	97.04.25.05.01.02;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	97.04.20.13.53.01;	author wosch;	state Exp;
branches;
next	1.38;

1.38
date	97.04.16.19.48.09;	author ache;	state Exp;
branches;
next	1.37;

1.37
date	97.03.28.23.30.12;	author ache;	state Exp;
branches;
next	1.36;

1.36
date	96.11.20.12.45.41;	author adam;	state Exp;
branches;
next	1.35;

1.35
date	96.11.18.11.39.31;	author asami;	state Exp;
branches;
next	1.34;

1.34
date	96.10.16.04.55.58;	author ache;	state Exp;
branches;
next	1.33;

1.33
date	96.08.19.10.31.04;	author asami;	state Exp;
branches;
next	1.32;

1.32
date	96.08.08.13.56.52;	author peter;	state Exp;
branches;
next	1.31;

1.31
date	96.07.22.23.06.08;	author pst;	state Exp;
branches;
next	1.30;

1.30
date	96.07.18.11.33.37;	author torstenb;	state Exp;
branches;
next	1.29;

1.29
date	96.07.17.19.19.10;	author ache;	state Exp;
branches;
next	1.28;

1.28
date	96.07.16.00.33.10;	author ache;	state Exp;
branches;
next	1.27;

1.27
date	96.06.20.14.11.17;	author ache;	state Exp;
branches;
next	1.26;

1.26
date	96.06.15.17.50.17;	author jkh;	state Exp;
branches;
next	1.25;

1.25
date	96.06.15.07.03.11;	author torstenb;	state Exp;
branches;
next	1.24;

1.24
date	96.06.08.20.50.42;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	96.06.07.04.33.19;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	96.05.24.19.13.04;	author peter;	state Exp;
branches;
next	1.21;

1.21
date	96.04.17.01.07.04;	author asami;	state Exp;
branches;
next	1.20;

1.20
date	96.03.24.23.04.17;	author ache;	state Exp;
branches;
next	1.19;

1.19
date	96.03.23.23.36.32;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	96.03.21.14.44.48;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	96.03.21.14.41.19;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	96.03.16.17.23.01;	author markm;	state Exp;
branches;
next	1.15;

1.15
date	96.02.19.21.37.13;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	96.02.17.15.13.34;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	96.02.06.02.56.57;	author pst;	state Exp;
branches;
next	1.12;

1.12
date	96.01.25.04.17.28;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	96.01.25.02.08.25;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	96.01.22.18.41.57;	author markm;	state Exp;
branches;
next	1.9;

1.9
date	96.01.21.00.49.39;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	96.01.21.00.44.07;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	96.01.21.00.32.30;	author ache;	state Exp;
branches;
next	1.6;

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

1.5
date	95.11.22.13.20.15;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	95.11.09.05.58.00;	author asami;	state Exp;
branches;
next	1.3;

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

1.2
date	95.10.07.13.08.35;	author torstenb;	state Exp;
branches;
next	1.1;

1.1
date	95.10.07.01.19.27;	author torstenb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.10.07.01.19.27;	author torstenb;	state Exp;
branches;
next	;


desc
@@


1.130
log
@Remove expired ports

2010-10-15 security/ssh2: abandoned upstream
2010-10-15 security/ssh2-nox11: abandoned upstream
@
text
@# New ports collection makefile for:	ssh2
# Date created:		5 Oct 1998
# Whom:			Issei Suzuki <issei@@jp.FreeBSD.org>
#
# $FreeBSD: ports/security/ssh2/Makefile,v 1.129 2010/09/15 18:07:42 marius Exp $
#

PORTNAME=	ssh2
PORTVERSION=	3.2.9.1
PORTREVISION=	8
CATEGORIES=	security ipv6
# The list of official mirror sites is at:
# http://www.ssh.com/support/downloads/secureshellserver/non-commercial.html
MASTER_SITES=	ftp://ftp.ssh.com/pub/ssh/ \
		ftp://ftp.wiretapped.net/pub/security/cryptography/apps/ssh/SSH/ \
		http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/SSH/ \
		ftp://gd.tuwien.ac.at/utils/shells/ssh/ \
		ftp://ftp.ut.ee/pub/unix/security/ssh/ \
		ftp://ftp.funet.fi/pub/mirrors/ftp.ssh.com/pub/ssh/ \
		ftp://ftp.crihan.fr/mirrors/ftp.ssh.com/ \
		http://ftp.crihan.fr/mirrors/ftp.ssh.com/ \
		ftp://ftp.cert.dfn.de/pub/tools/net/ssh/ \
		ftp://ftp.ntua.gr/pub/security/ssh/ \
		ftp://ftp.unina.it/pub/Unix/ssh/ \
		ftp://core.ring.gr.jp/pub/net/ssh/ \
		http://core.ring.gr.jp/archives/net/ssh/ \
		ftp://ftp.ring.gr.jp/pub/net/ssh/ \
		http://www.ring.gr.jp/archives/net/ssh/ \
		ftp://ftp.wsisiz.edu.pl/pub/Unix/ssh/ \
		ftp://ftp.ulak.net.tr/ssh/ \
		ftp://metalab.unc.edu/pub/packages/security/ssh/ \
		ftp://ftp.keystealth.org/pub/ssh/ \
		ftp://ftp.epix.net/pub/ssh/ \
		ftp://mirror.pa.msu.edu/ssh/
DISTNAME=	ssh-${PORTVERSION}

MAINTAINER=	marius@@FreeBSD.org
COMMENT=	Secure shell client and server for V.2 SSH protocol

DEPRECATED=	abandoned upstream
EXPIRATION_DATE=2010-10-15

.if !defined(WITHOUT_X11)
CONFLICTS=	openssh-* ssh-* ssh2-nox11-*
.else
PKGNAMESUFFIX=	-nox11
CONFLICTS=	openssh-* ssh-* ssh2-[0-9]*
.endif

GNU_CONFIGURE=	yes
MANCOMPRESSED=	no
USE_RC_SUBR=	sshd2.sh

MAN1=		ssh2.1 ssh-keygen2.1 ssh-add2.1 ssh-agent2.1 scp2.1 sftp2.1 \
		sshregex.1 ssh-probe2.1 ssh-dummy-shell.1
MAN5=		ssh2_config.5 sshd-check-conf.5 sshd2_config.5 \
		sshd2_subconfig.5
MAN8=		sshd2.8
MLINKS=		ssh2.1 ssh.1 ssh-add2.1 ssh-add.1 ssh-agent2.1 ssh-agent.1 \
		ssh-keygen2.1 ssh-keygen.1 scp2.1 scp.1 sftp2.1 sftp.1 \
		ssh-probe2.1 ssh-probe.1 sshd2.8 sshd.8
DOCS=		CHANGES FAQ HOWTO.anonymous.sftp LICENSE NEWS README \
		REGEX-SYNTAX SSH2.QUICKSTART \
		RFC.authorization_program_protocol RFC.kbdint_plugin_protocol
EXAMPLES=	ext_authorization_example.sh kbdint_plugin_example.sh

.include <bsd.port.pre.mk>

CONFIGURE_ARGS+=	--disable-debug --with-foreign-etcdir=${PREFIX}/etc \
			--with-libwrap
PKGMESSAGE=		${WRKDIR}/pkg-message

# Define if all your users are in their own group and their homedir
# is writeable by that group.  Beware the security implications!
#
.if defined(WITH_GROUP_WRITEABILITY)
CONFIGURE_ARGS+=	--enable-group-writeability
.endif

# Kerberos5 support in ssh2 is EXPERIMENTAL and requires MIT Kerberos,
# Heimdal is unsupported.
#
.if !defined(WITHOUT_KERBEROS) && defined(KRB5_HOME) && \
	exists(${KRB5_HOME}/lib/libk5crypto.a)
LIB_DEPENDS+=		krb5.3:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+=	--with-kerberos5=${KRB5_HOME} --disable-suid-ssh-signer
EXTRA_PATCHES+=		${FILESDIR}/kerberos-patch-apps::ssh::ssh2_config \
			${FILESDIR}/kerberos-patch-apps::ssh::sshd2_config
.endif

.if !defined(WITHOUT_X11)
BUILD_DEPENDS+=		xauth:${PORTSDIR}/x11/xauth
RUN_DEPENDS+=		xauth:${PORTSDIR}/x11/xauth
USE_XORG=		x11
PLIST_SUB+=		WITH_X11:=""
.else
CONFIGURE_ARGS+=	--without-x
PLIST_SUB+=		WITH_X11:="@@comment "
.endif

pre-everything::
.if !defined(WITH_GROUP_WRITEABILITY) || (!defined(WITHOUT_KERBEROS) && \
	defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libk5crypto.a)) || \
	!defined(WITHOUT_X11)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "You may use the following build option(s):"
	@@${ECHO_MSG} ""
.if !defined(WITH_GROUP_WRITEABILITY)
	@@${ECHO_MSG} "WITH_GROUP_WRITEABILITY=yes	builds with widened permissions check of home"
	@@${ECHO_MSG} "				directories in hostbased- and publickey-"
	@@${ECHO_MSG} "				authentication. May be usefull if all users"
	@@${ECHO_MSG} "				are in their own group."
	@@${ECHO_MSG} "				Beware the security implications!"
.endif
.if !defined(WITHOUT_KERBEROS) && defined(KRB5_HOME) && \
	exists(${KRB5_HOME}/lib/libk5crypto.a)
	@@${ECHO_MSG} "WITHOUT_KERBEROS=yes		builds without MIT Kerberos support even when"
	@@${ECHO_MSG} "				security/krb5 is installed."
.endif
.if !defined(WITHOUT_X11)
	@@${ECHO_MSG} "WITHOUT_X11=yes			builds without X11 support. Setting this is"
	@@${ECHO_MSG} "				the same as compiling security/ssh2-nox11."
.endif
	@@${ECHO_MSG} ""
.endif

post-patch:
.for i in ${MAN1} ${MAN5} ${MAN8} ssh2_config sshd2_config
	@@${REINPLACE_CMD} -e 's|\/etc\/ssh2|${PREFIX}&|g; \
		s|\/usr\/local|${LOCALBASE}|g' \
		${WRKSRC}/apps/ssh/${i}
.endfor
.for i in anonymous.example host_ext.example host_int.example
	@@${REINPLACE_CMD} -e 's|\/etc\/ssh2|${PREFIX}&|g' \
		${WRKSRC}/apps/ssh/subconfig/${i}
.endfor
	@@${FIND} ${WRKSRC} -name Makefile.in -print0 -type f | \
		${XARGS} -0 ${REINPLACE_CMD} -E -e \
		's|-I\$$\(top_srcdir\)\/lib\/zlib||g; \
		s|\$$\(top_builddir\)\/lib\/zlib\/libz.a||g'
	@@${REINPLACE_CMD} -e 's|\/etc\/ssh2|${PREFIX}&|g' \
		${WRKSRC}/HOWTO.anonymous.sftp
	@@${REINPLACE_CMD} -e \
		's|$$PATH:\/usr\/X11R6\/bin:\/usr\/X11\/bin|${LOCALBASE}\/bin|' \
		${WRKSRC}/configure
	@@${REINPLACE_CMD} -E -e 's|\$$\(ETCDIR\)|${PREFIX}\/etc|g' \
		${WRKSRC}/apps/ssh/ssh_dummy_shell.out
	@@${REINPLACE_CMD} -E -e 's|(^TESTS.+)(t-filecopy)|\1|g' \
		${WRKSRC}/apps/ssh/tests/Makefile.in
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g' \
		${PKGDIR}/pkg-message > ${WRKDIR}/pkg-message

pre-install:
# Make sure there's no startup script left over from a previous installation.
	@@${RM} -f ${PREFIX}/etc/rc.d/sshd2.sh

post-install:
	@@${MKDIR} ${EXAMPLESDIR}
.for i in ${EXAMPLES}
	@@${INSTALL_DATA} ${WRKSRC}/$i ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif
	@@${CAT} ${WRKDIR}/pkg-message

test:	build
	@@-cd ${WRKSRC}/lib/sshcrypto/tests && ${MAKE} check-TESTS
	@@-cd ${WRKSRC}/apps/ssh/lib/sshproto/tests && ${MAKE} check-TESTS
	@@-cd ${WRKSRC}/apps/ssh/tests && ${MAKE} check-TESTS

.include <bsd.port.post.mk>
@


1.129
log
@Mark DEPRECATED: abandoned upstream.

Approved by:	netchild
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.128
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d40 3
@


1.127
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	7
d89 3
a91 3
BUILD_DEPENDS+=		${X11BASE}/bin/xauth:${X_CLIENTS_PORT}
RUN_DEPENDS+=		${X11BASE}/bin/xauth:${X_CLIENTS_PORT}
USE_XLIB=		yes
d141 1
a141 1
		's|$$PATH:\/usr\/X11R6\/bin:\/usr\/X11\/bin|${X11BASE}\/bin|' \
@


1.126
log
@- Cast the arguments of ssh_conn_send_channel_data_type() and
  ssh_encode_{array_alloc,buffer}() calls as appropriate in order to
  fix argument size problems on 64-bit platforms and that manifest
  themselves on amd64 and ia64. [1]
- Allow the tcsetattr(3) calls in ssh_rl_{restore,set}_tty_modes_for_fd()
  to be interrupted by signal. This fixes occasional problems when
  connecting to a host for the first time.
- Use the base zlib instead of the one shipping with SSH; although the
  latter has an enhancement allowing a minor SSH-specific optimization,
  using the base one has the benefit of not needing to track security
  vulnerabilities of zlib in this port (SSH 3.2.9.1 ships with zlib
  1.1.4 which is not know to be vulnerable though).
- Try to make the description of the WITHOUT_X11 option of the port
  Makefile to be more sentence-like.

PR:		98016 [1]
Approved by:	netchild
Obtained from:	NetBSD [1]
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.125
log
@Add a patch which fixes a format string vulnerability in the SFTP server.

Submitted by:	Jarkko Santala <jake@@iki.fi>
Approved by:	portmgr (erwin)
Security:	http://vuxml.freebsd.org/594ad3c5-a39b-11da-926c-0800209adf0e.html
@
text
@d10 1
a10 1
PORTREVISION=	5
d118 2
a119 2
	@@${ECHO_MSG} "WITHOUT_X11=yes			builds without X11 support. Same as compiling"
	@@${ECHO_MSG} "				security/ssh2-nox11."
d134 4
@


1.124
log
@- Switch to a rc.d startup script.
- Move the generation of the host key (if not present) from the package/
  port installation to the startup script in order to be in line with
  what the base OpenSSH and the OpenSSH-portable port do.
- Flush stdout when updating the transfer progress bar of sftp2 and scp2
  so the info displayed is up to date. [1]
- Remove obsolete USE_REINPLACE, remove trailing white space in Makefile.

PR:		91262 [1]
Approved by:	netchild
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.123
log
@Remove obsolete mastersites.

Source:		distfile survey
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
a47 1
USE_REINPLACE=	yes
d49 1
d90 1
a90 1
RUN_DEPENDS+=		${X11BASE}/bin/xauth:${X_CLIENTS_PORT} 
a142 3
	@@${REINPLACE_CMD} -E -e 's|(^ETCDIR=).+|\1${PREFIX}\/etc\/ssh2|; \
		s|(^SBINDIR=).+|\1${PREFIX}\/sbin|' \
		${WRKSRC}/startup/solaris/sshd2
d146 4
a150 2
	@@${INSTALL_SCRIPT} ${WRKSRC}/startup/solaris/sshd2 \
		${PREFIX}/etc/rc.d/sshd2.sh.sample
a160 7
	@@if [ "`${GREP} ssh /etc/inetd.conf | ${GREP} -v ^#ssh`" = "" ]; then \
	    if [ ! -f ${PREFIX}/etc/rc.d/sshd2.sh ]; then \
		${ECHO_CMD} "Installing ${PREFIX}/etc/sshd2.sh startup file."; \
		${INSTALL_SCRIPT} ${WRKSRC}/startup/solaris/sshd2 \
			${PREFIX}/etc/rc.d/sshd2.sh; \
	    fi; \
	fi
@


1.122
log
@- Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
  and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
@
text
@a24 1
		ftp://ftp.win.ne.jp/pub/ssh/ \
a28 3
		ftp://ftp.ayamura.org/pub/ssh/ \
		ftp://linux.sarang.net/mirror/network/daemon/security/ssh/ \
		ftp://giswitch.sggw.waw.pl/pub/ssh/ \
a29 1
		ftp://ftp.kreonet.re.kr/pub/security/ssh/ \
a31 1
		ftp://ftp.in-span.net/pub/mirrors/ftp.ssh.com/ \
@


1.121
log
@- Register dependency on x11/XFree86-4-clients for xauth(1).
- Make configure explicitly look in X11BASE/bin for xauth(1) in order to
  also catch non-standard locations.

Submitted by:	maintainer (marius)
Approved by:	portmgr (marcus)
@
text
@d95 2
a96 4
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+=		${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS+=		${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients 
.endif
@


1.120
log
@Use the @@FreeBSD.org address of the maintainer.

Approved by:	marius
@
text
@d10 1
a10 1
PORTREVISION=	2
d95 4
d144 3
@


1.119
log
@- Display the available build knobs via a pre-everything target.
- Remove the autodetection for X11 support and the WITH_X11 knob, instead
  always build with X11 support and add a WITHOUT_X11 knob. Together with
  an additional ssh2-nox11 slave port this allows easier handling of these
  two variants and to have pre-compiled packages for both (ssh2 with X11
  support depends on X11 libraries).

Submitted by:	maintainer (marius)
@
text
@d43 1
a43 1
MAINTAINER=	marius@@alchemy.franken.de
@


1.118
log
@---snip---
Improve Kerberos support in ssh2:
- Change the WITH_KERBEROS knob into a WITHOUT_KERBEROS knob so kerberized
  ssh2 automatically is built when MIT Kerberos is installed, unless the
  WITHOUT_KERBEROS knob is defined.
- Check for a library unique to MIT Kerberos to make sure it's not Heimdal
  that KRB5_HOME accidentally points to.
- Add dependency on security/krb5 when built with Kerberos support.
- When compiled with Kerberos support also turn it on by default in client
  and server config files and set "PermitRootLogin" to "nopwd" to only allow
  those with root tickets declared in ~root/.k5login" to login as root. [1]

Ssh2 now should work out of the box in an environment using MIT Kerberos.

Submitted by:	Peter Losher <Peter_Losher@@isc.org> [1] (kerberos-patch-*)
Tested by:	Peter Losher <Peter_Losher@@isc.org>
---snip---

Submitted by:					maintainer
Strange commit log formatting to prevent
ambiguous "Submitted by" lines by:		committer
@
text
@d10 1
a10 1
PORTREVISION=	1
d46 6
a51 1
CONFLICTS=	openssh-* openssh-portable-* openssh-gssapi-* ssh-1.*
d94 1
a94 2
.if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \
	&& exists(${X11BASE}/bin/xauth) && !defined(WITHOUT_X11))
d100 26
@


1.117
log
@HEADS-UP: Traditionally this port automatically installs a start-up script for
	  sshd2 unless it detects an entry for ssh in /etc/inetd.conf. As there
	  are three ways to automatically start sshd2 and /etc/rc.conf is the
	  simplest one (at least on FreeBSD 4, with rcNG once /etc/rc.d/sshd is
	  fixed to not be tailored to the base sshd) this version of the port
	  is the last one to do so. Beginning with next version it will only
	  install a sample start-up script. To prevent foot shooting when
	  updating to the next version this port won't remove an existing
	  start-up scripting on deinstall. Please see also the pkg-message that
	  gets displayed on installation.

- Update to 3.2.9.1. This is _not_ a security update. For the non-commercial
  version the only change worth mentioning since 3.2.5 is the addition of the
  config option "DisableVersionFallback", see sshd2_config(5) for further
  details.
- Use sites from the official list of mirrors for MASTER_SITES.
- Adjust COMMENT to justify why this port is security/ssh2, not security/ssh3.
- Revise list of installed documentation. No longer install MANIFEST (list of
  source files) and INSTALL, install RFCs referenced in sshd2_config(5) and
  HOWTO.anonymous.sftp (patched to better fit FreeBSD).
- Remove WITH_STATIC_SFTP knob. Using the internal sftp-server instead of the
  external (static) one is much simpler to set up and maintain (using the
  external one requires to install a copy of it in the home directory of the
  anonymous sftp user which has to be manually updated when installing a newer
  version of the port).
- Remove WITHOUT_TCPWRAP knob, libwarp is part of FreeBSD since 3.2.
- Install examples scripts for the ExternalAuthorizationProgram and
  AuthKbdInt.Plugin config options in EXAMPLESDIR. See sshd2_config(5) for
  further information.
- Replace references to /etc/ssh2/* in config files with PREFIX/etc/ssh2/*.
- Add a pkg-message displaying the different methods to automatically start
  sshd2.
- Switch to the start-up script for Solaris which is part of the tarball, it
  handles the name of the pidfile better.
- Fix detection of X11 headers, this enables compilation with support for X11
  SECURITY extension. See TrustX11Applications in ssh2_config(5) for further
  information.
- Add a test target to the Makefile of the port, the tests seem a bit outdated
  and buggy but it's enough to e.g. do a bit of speed comparison when building
  with different compilers.
- Minor changes and clean-up (sort pkg-plist, don't add /usr/local/lib to
  the library search path when compiling, etc.).

Revive some local modifications lost with the update to 3.1.0:
- Use login_cap(3)/login_class(3) facilities to set environment variables,
  prority and shell, get motd, copyright, hushlogin and nologin, respect
  ignorenologin and requirehome. This changes are roughly based on former
  patch-ah and patch-ai and patches of security/openssh.
- Don't print "No mail.", it's not FreeBSD login style.

Submitted by:	maintainer
@
text
@d10 1
d81 3
a83 2
.if defined(WITH_KERBEROS) && defined(KRB5_HOME) && \
	exists(${KRB5_HOME}/lib/libkrb5.a)
d85 2
@


1.116
log
@Rename PORTDOCS to MYPORTDOCS to avoid a conflict with the recently added
bsd.port.mk macro.

Submitted by:	Oliver Eikemeier <eikemeier@@fillmore-labs.com>
@
text
@d9 1
a9 1
PORTVERSION=	3.2.5
d11 2
d14 23
a36 1
		ftp://sunsite.unc.edu/pub/packages/security/ssh/ \
d38 2
a39 4
		ftp://metalab.unc.edu/pub/packages/security/ssh/ \
		ftp://ftp.nsysu.edu.tw/Unix/Security/ssh/ \
		ftp://ftp.cronyx.ru/mirror/ssh/ \
		ftp://ftp.univie.ac.at/applications/ssh.com/
d43 1
a43 1
COMMENT=	Secure shell client and server (remote login program)
a45 2
GNU_CONFIGURE=	YES
USE_REINPLACE=	YES
d47 3
a49 1
CONFIGURE_ARGS=	--with-etcdir=${SSH2_ETC} --disable-debug
d51 12
a62 3
SSH2_ETC=	${PREFIX}/etc/ssh2
SSH2_RCD=	${PREFIX}/etc/rc.d
CONFIG_FILES=	ssh2_config sshd2_config
d66 4
a84 13
.if exists(/usr/include/tcpd.h) && !defined(WITHOUT_TCPWRAP)
CONFIGURE_ARGS+=	--with-libwrap
.endif

# This is necessary for a working ssh-chrootmgr. Added by mic@@nethack.at.
#
.if defined(WITH_STATIC_SFTP)
CONFIGURE_ARGS+=	--enable-static
PLIST_SUB=		STATIC=""
.else
PLIST_SUB=		STATIC="@@comment "
.endif

d87 2
a88 2
USE_XLIB=	yes
PLIST_SUB+=	WITH_X11:=""
d91 1
a91 1
PLIST_SUB+=	WITH_X11:="@@comment "
a93 13
MAN1=		ssh2.1 ssh-keygen2.1 ssh-add2.1 ssh-agent2.1 scp2.1 sftp2.1 \
		sshregex.1 ssh-probe2.1 ssh-dummy-shell.1
MAN5=		ssh2_config.5 sshd-check-conf.5 sshd2_config.5 \
		sshd2_subconfig.5
MAN8=		sshd2.8
MLINKS=		ssh2.1 ssh.1 ssh-add2.1 ssh-add.1 ssh-agent2.1 ssh-agent.1 \
		ssh-keygen2.1 ssh-keygen.1 scp2.1 scp.1 sftp2.1 sftp.1 \
		ssh-probe2.1 ssh-probe.1 sshd2.8 sshd.8
MANCOMPRESSED=	no

MYPORTDOCS=	CHANGES FAQ INSTALL LICENSE MANIFEST NEWS README \
		REGEX-SYNTAX SSH2.QUICKSTART

d95 3
a97 2
.for i in ${MAN1} ${MAN5} ${MAN8}
	@@${REINPLACE_CMD} -e 's|\/etc\/ssh2|${PREFIX}&|g;' \
d100 7
a106 1
	@@${REINPLACE_CMD} -E -e 's|\$$\(ETCDIR\)|${PREFIX}\/etc|g;' \
d108 7
d117 6
d124 3
a126 3
	${MKDIR} ${DOCSDIR}
.for i in ${MYPORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
d129 5
a133 6
	if [ "`${GREP} ssh /etc/inetd.conf | ${GREP} -v ^#ssh`" = "" ]; then \
	    if [ ! -f ${SSH2_RCD}/sshd.sh ]; then \
		${ECHO} "Installing ${SSH2_RCD}/sshd.sh startup file."; \
		${SED} -e 's+!!PREFIX!!+${PREFIX}+' < ${FILESDIR}/sshd.sh \
			> ${SSH2_RCD}/sshd.sh; \
		${CHMOD} 751 ${SSH2_RCD}/sshd.sh; \
d136 6
@


1.115
log
@- add CONFLICTS
Submitted by:   eikemeier@@fillmore-labs.com
Approved by:    kris
@
text
@d82 1
a82 1
PORTDOCS=	CHANGES FAQ INSTALL LICENSE MANIFEST NEWS README \
d96 1
a96 1
.for i in ${PORTDOCS}
@


1.114
log
@Update to 3.2.5:

        * Fixed a critical security bug with RSA signature
          verification. Mitigating factors: DSA is used by default (not
          vulnerable). Also, the attack requires that attacker has the
          public key and the attacker needs to precompute the signature
          data so, that it looks like a valid PKCS#1 signature. This is a
          non-trivial task to perform without the private
          key. Nonetheless, all users should update their servers and
          clients as soon as convenient. Workarounds are to not use RSA
          keys as host keys (though connecting to existing hosts with RSA
          hostkeys poses a serious risk with a vulnerable client), and
          disabling publickey authentication. Update your clients and
          servers.

 Update MASTER_SITES, remove sites that are down or no langer carry ssh2
  and add some new.
- Turn Kerberos and group writeability support into knobs so one hasn't to
  edit the Makefile.
- Remove dependency on security/tcp_wrapper for tcp-wrapper support on
  systems < FreeBSD 4.0, that port is no longer persistent.
- Fix pkg-plist for WITH_STATIC_SFTP case.
- Replace referneces to /etc/ssh2/* in man pages with references to
  PREFIX/etc/ssh2/* in order to better fit for FreeBSD.
- Replace "$(ETCDIR)" in ssh_dummy_shell.out with PREFIX/etc.
- Remove duplicated mechanism for generating the host key if an old one isn't
  found in the post-install target in the Makefile of the port, this is
  already done by the generate-host-key target in WRKSRC/apps/ssh/Makefile.
- Fix differences between the install action done when installing the
  package versus installing the port. I.e. make the package create the host
  key with what ever bits ssh-keygen2 defaults to (currently 2048) instead
  of 1024 bits, copy over the configuration files for ssh2 and sshd2 from
  the examples if not already existent and create the directories for the
  global host keys and known hosts files.
- Add some foo to pkg-plist to remove as much as possible from PREFIX/etc/ssh2,
  i.e. configuration files that don't differ from the corresponding examples
  and empty directories. Inform the user to remove what's left over if any.
- Use _PATH_STDPATH instead of _PATH_DEFPATH so that the default PATH gets
  set to "/usr/bin:/bin:/usr/sbin:/sbin:PREFIX/bin" instead of
  "/usr/bin:/bin:PREFIX/bin". Using _PATH_STDPATH is consistent with OpenSSH
  and seems more usefull. One might want to patch ssh2 to also use login_cap(3)
  so that e.g. PATH gets picked up from whatever is defined in /etc/login.conf.
- Change MAINTAINER.
- Replace "share/doc/ssh2" with %%DATADIR%% in pkg-plist.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
Approved by:	maintainer
@
text
@d23 1
@


1.113
log
@Update port: security/ssh2 3.2.2 -> 3.2.3

PR:		ports/48542
Submitted by:	Lars Eggert <larse@@isi.edu>
@
text
@d9 1
a9 1
PORTVERSION=	3.2.3
a12 2
		ftp://ftp.kyoto.wide.ad.jp/pub/security/ssh/ \
		ftp://ftp.cis.fed.gov/pub/ssh/ \
a13 1
		ftp://mirror.chpc.utah.edu/pub/ssh/ \
d15 3
a17 1
		ftp://herbie.ucs.indiana.edu/pub/security/ssh/
d20 1
a20 1
MAINTAINER=	larse@@ISI.EDU
d24 1
d32 3
a34 1
# Uncomment if all your users are in their own group and their homedir
d37 3
a39 1
#CONFIGURE_ARGS+=	--enable-group-writeability
d41 2
a42 1
# Kerberos support is untested.
d44 4
a47 3
#.if defined(KRB5_HOME) && exists(${KRB5_HOME})
#CONFIGURE_ARGS+=--with-kerberos5=${KRB5_HOME} --disable-suid-ssh-signer
#.endif
d49 1
a49 4
# Auto-configure tcp_wrappers support.
#
.if exists(/usr/include/tcpd.h) && !defined(WITHOUT_TCPWRAP) && \
	!defined(WITHOUT_TCPWRAP)
a50 4
.elif defined(WITH_TCPWRAP)
CONFIGURE_ARGS+=	--with-libwrap="-L${LOCALBASE}/lib -lwrap"

LIB_DEPENDS+=	wrap.7:${PORTSDIR}/security/tcp_wrapper
d53 1
a53 3
.include <bsd.port.pre.mk>

# This is necessary for a working ssh-chrootmgr. Added by mic@@nethack.at
d57 3
d65 1
a65 1
PLIST_SUB=	WITH_X11:=""
d68 1
a68 1
PLIST_SUB=	WITH_X11:="@@comment "
d84 8
d99 1
a99 5
	@@if [ ! -f ${SSH2_ETC}/hostkey ]; then \
	    ${ECHO} "Generating a secret host key..."; \
	    ${PREFIX}/bin/ssh-keygen2 -P -b 1024 -t dsa ${SSH2_ETC}/hostkey; \
	fi; \
	if [ "`grep ssh /etc/inetd.conf|grep -v ^#ssh`" = "" ]; then \
@


1.112
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	3.2.2
d72 3
a74 3
		sshregex.1 ssh-probe2.1 ssh-dummy-shell.1 ssh-pubkeymgr.1 \
		ssh-chrootmgr.1
MAN5=		ssh2_config.5 sshd-check-conf.5 sshd2_config.5
d84 1
a84 1
post-install: install-config-files
a102 8

install-config-files:
.for file in ${CONFIG_FILES}
	${INSTALL_DATA} ${WRKSRC}/apps/ssh/${file} ${SSH2_ETC}/${file}.sample
.if !exists(${SSH2_ETC}/${file})
	${INSTALL_DATA} ${WRKSRC}/apps/ssh/${file} ${SSH2_ETC}
.endif
.endfor
@


1.111
log
@1.)	If WITH_STATIC_SFTP is defined, ssh-chrootmgr works.
2.)	If libX11.a exists and xauth not, the build of ssh2 fails. This
	patch fix this.
3.)	ssh2/files/sshd.sh looks for the wrong pid file in /var/run.
	This patch fix this and adds 2> /dev/null to the sshd2 startup

PR:		46012
Submitted by:	maintainer
@
text
@d22 1
@


1.110
log
@upgrade to 3.2.2

PR:		45876
Submitted by:	maintainer
@
text
@d55 6
d62 1
a62 1
	&& !defined(WITHOUT_X11))
@


1.109
log
@Update to 3.2.0

PR:		39491
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.2.0
@


1.108
log
@Update to 3.1.2 which fixes a recent security problem described at:
http://www.ssh.com/products/ssh/advisories/authentication.cfm

PR:		38592
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.1.2
a22 2
#RESTRICTED=	"Crypto; export-controlled"

d74 1
a74 1
PORTDOCS=	BUG.REPORT CHANGES FAQ INSTALL LICENSE MANIFEST NEWS README \
@


1.107
log
@Oops, ".include <bsd.port.pre.mk>" line must be placed here.
@
text
@d9 1
a9 2
PORTVERSION=	3.1.0
PORTREVISION=	1
@


1.106
log
@Install default config files as *.sample instead of overwriting existing ones.
Note:	The PR includes diffs to cope with WITHOUT_X11 env,
	but this was already committed by knu-san.
	So I just added CONFIGURE_ARGS line, please verify it.
PR:	ports/35385
Submitted by:	maintainer
@
text
@d56 2
a65 2

.include <bsd.port.pre.mk>
@


1.105
log
@ssh_askpass2 is built only when X11 is installed.  Support
{WITH,WITHOUT}_X11 and detect ${X11BASE}/lib/libX11.a.

Reported by:	bento
Obtained from:	security/ssh (partly)
@
text
@d10 2
a11 1
CATEGORIES=	security
d28 9
a36 3
CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc/ssh2
#Uncomment if all your users are in their own group and their homedir
#is writeable by that group.  Beware the security implications!
d39 5
a43 1
.include <bsd.port.pre.mk>
d45 4
a48 4
# Include tcp_wrappers support (automaticlly YES if /usr/include/tcpd.h exists)
#WITH_TCPWRAP=	yes

.if exists(/usr/include/tcpd.h) && !defined(WITHOUT_TCPWRAP)
d52 1
d61 1
d65 2
d80 1
a80 1
post-install:
d87 7
a93 4
#
	@@if [ "`grep ssh /etc/inetd.conf|grep -v ^#ssh`" = "" ]; then \
	    if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \
		${ECHO} "Installing ${PREFIX}/etc/rc.d/sshd.sh startup file."; \
d95 2
a96 2
			> ${PREFIX}/etc/rc.d/sshd.sh; \
		${CHMOD} 751 ${PREFIX}/etc/rc.d/sshd.sh; \
d99 8
@


1.104
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
@d44 8
@


1.103
log
@Remove myself from MAINTAINER
@
text
@d9 1
a9 1
PORTVERSION=	2.3.0
d13 6
a18 1
		ftp://ftp.kyoto.wide.ad.jp/pub/security/ssh/
d21 1
a21 1
MAINTAINER=	ports@@FreeBSD.org
d27 1
a27 1
CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc --disable-compiler-optimizations
d30 1
a30 1
#CONFIGURE_ARGS+= --enable-group-writeability
d38 1
a38 1
CONFIGURE_ARGS+= --with-libwrap
d40 1
a40 1
CONFIGURE_ARGS+= --with-libwrap="-L ${PREFIX}/lib -lwrap"
d44 9
a52 5
MAN1=	scp.1 sftp.1 scp2.1 sftp2.1 sshregex.1 ssh-probe2.1 ssh-dummy-shell.1 \
	ssh-pubkeymgr.1 ssh2.1 ssh-chrootmgr.1 ssh-agent.1 ssh-keygen.1 \
	ssh-add.1 ssh-add2.1 ssh-agent2.1 ssh-keygen2.1
MAN5=	ssh2_config.5 sshd2_config.5
MAN8=	sshd.8 sshd2.8
d54 2
a55 2
PORTDOCS=	BUG.REPORT CHANGES FAQ INSTALL LICENSE README \
		SSH2.QUICKSTART
a57 2
	${RM} ${PREFIX}/man/man1/ssh.1
	${RM} ${PREFIX}/man/man1/ssh-probe.1
d59 1
a59 1
	-${MKDIR} ${PREFIX}/share/doc/ssh2
d61 1
a61 1
	${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/ssh2
@


1.102
log
@Unrestrict to match the ssh port.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.101 2000/10/30 12:57:16 steve Exp $
d16 1
a16 1
MAINTAINER=	issei@@jp.FreeBSD.org
@


1.101
log
@Don't install etc/rc.d/sshd.sh if sshd is being started from inetd.conf.

PR:		15691
Submitted by:	Roger Marquis <marquis@@roble.com>
Reviewed by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.100 2000/09/02 03:56:56 kris Exp $
d18 1
a18 1
RESTRICTED=	"Crypto; export-controlled"
@


1.100
log
@Upgrade to ssh-2.3.0.

PR:	ports/20869
Submitted by:	Issei Suzuki <issei@@issei.org> (Maintainer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.99 2000/06/02 03:18:54 will Exp $
d58 2
a59 1
	@@if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \
d64 1
@


1.99
log
@Remove redundant/inappropriate CATEGORIES.  People need to start reading
the Porter's Handbook.  :-)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.98 2000/05/29 03:16:37 steve Exp $
d9 1
a9 1
PORTVERSION=	2.1.0p2
d11 1
a11 1
MASTER_SITES=	ftp://ftp.cs.hut.fi/pub/ssh/ \
d14 1
a14 5
DISTNAME=	ssh-secure-shell-2.1.0-noncommercial

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	ssh-2.1.0-patch1
PATCH_DIST_STRIP=	-p1
d22 1
a22 1
CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc --enable-debug
a28 2
# Don't support for ssh1 client backward compatibility
#WITHOUT_SSH1=	yes
a30 10
# Warning: untested!
# Include support for the TIS authentication server
#WITH_TIS=	yes
# Include support for the SecureID card
#WITH_SECUREID=	yes

.if ${OSVERSION} < 400016 && !defined(WITHOUT_SSH1)
BUILD_DEPENDS+=	ssh1:${PORTSDIR}/security/ssh
RUN_DEPENDS+=	ssh1:${PORTSDIR}/security/ssh
.endif
a31 6
.if defined(WITH_SECUREID)
CONFIGURE_ARGS+= --with-secureid
.endif
.if defined(WITH_TIS)
CONFIGURE_ARGS+= --with-tis
.endif
d39 5
a43 12
MAN1=	ssh-add2.1 ssh-agent2.1 scp2.1 sftp2.1 sshregex.1 ssh-probe2.1 \
	ssh-dummy-shell.1 ssh-pubkeymgr.1 ssh2.1 ssh-keygen2.1
MAN8=	sshd2.8

MLINKS=	scp2.1 scp.1 \
	sftp2.1 sftp.1 \
	ssh-add2.1 ssh-add.1 \
	ssh-agent2.1 ssh-agent.1 \
	ssh-keygen2.1 ssh-keygen.1 \
	ssh-probe2.1 ssh-probe.1 \
	ssh2.1 ssh.1  \
	sshd2.8 sshd.8
d45 1
a45 1
PORTDOCS=	BUG.REPORT CHANGES FAQ INSTALL LICENSING README \
a46 8
.if ${OSVERSION} >= 400016 || defined(WITHOUT_SSH1)
PLIST=		${PKGDIR}/PLIST.ssh2_only
.endif

.if exists(/usr/sbin/sshd)
post-patch:
	@@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/use-base-openssh.diff
.endif
d49 2
a50 7
.if ${OSVERSION} < 400016 && !defined(WITHOUT_SSH1)
.for i in ssh ssh-keygen ssh-add ssh-agent scp
	${MV} -f ${PREFIX}/man/man1/${i}.1${MAN_SUFX} ${PREFIX}/man/man1/${i}.old.1${MAN_SUFX}
.endfor
	${MV} -f ${PREFIX}/man/man8/sshd.8${MAN_SUFX} ${PREFIX}/man/man8/sshd.old.8${MAN_SUFX}
.endif
#
@


1.98
log
@Update to version 2.1.0pl2.

PR:		18620
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.97 2000/04/21 08:19:04 mharo Exp $
d10 1
a10 1
CATEGORIES=	security net
@


1.97
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.96 2000/04/17 00:18:43 reg Exp $
a6 2
# Maximal ssh2 package requires YES values for
# WITH_SSH1, WITH_TCPWRAP
d9 1
a9 1
PORTVERSION=	2.0.13
d14 1
a14 1
DISTNAME=	ssh-2.0.13
d16 2
a17 2
PATCHFILES=	patch-${DISTNAME}-bsd.tty.chown
PATCH_SITES=	http://www.ssh.org/patches/
d61 2
a62 2
MAN1=	ssh2.1 ssh-keygen2.1 ssh-add2.1 ssh-agent2.1 \
	scp2.1 sftp2.1
d65 2
a66 2
MLINKS=	ssh2.1 ssh.1 \
	ssh-keygen2.1 ssh-keygen.1 \
d69 3
a71 2
	scp2.1 scp.1 \
	sftp2.1 sftp.1 \
d74 3
a76 2
PORTDOCS=	CHANGES LICENSING README
.if defined(WITHOUT_SSH1)
d86 1
a86 1
.if !defined(WITHOUT_SSH1)
@


1.96
log
@Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.95 2000/04/14 15:04:29 will Exp $
d11 1
a11 1
PORTVERSION= 	2.0.13
d28 1
a28 1
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --enable-debug
d60 1
a60 1
LIB_DEPENDS+=   wrap.7:${PORTSDIR}/security/tcp_wrapper
@


1.95
log
@Sorry to everyone, the commits previously broke installing for these ports.
Thanks to those who reported this.

PRs:		17927, 17937
Submitted by:	Keith Davey <redlance@@primenet.com>
		maintainer (ssh2)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.94 2000/04/09 18:30:33 cpiazza Exp $
d8 1
a8 1
# USE_SSH1, USE_TCPWRAP
d35 2
a36 2
# Include support for ssh1 client backward compatibility
USE_SSH1?=	YES
d38 2
a39 2
USE_TCPWRAP?=	NO
# Warning: untested !
d41 1
a41 1
USE_TIS?=	NO
d43 1
a43 1
USE_SECUREID?=	NO
d45 1
a45 1
.if ${OSVERSION} < 400016 && defined(USE_SSH1) && ${USE_SSH1} == YES
d50 1
a50 1
.if defined(USE_SECUREID) && ${USE_SECUREID} == YES
d53 1
a53 1
.if defined(USE_TIS) && ${USE_TIS} == YES
d56 1
a56 1
.if exists(/usr/include/tcpd.h)
d58 1
a58 2
.else
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
a61 1
.endif
d76 1
a76 1
.if !defined(USE_SSH1) || (defined(USE_SSH1) && ${USE_SSH1} != YES)
d86 1
a86 1
.if defined(USE_SSH1) && ${USE_SSH1} == YES
@


1.94
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.93 2000/04/05 22:21:42 will Exp $
d105 1
a105 1
			> ${PREFIX}/etc/rc.d/sshd.sh
@


1.93
log
@Add better sshd startup scripts; specifically, allow restarting and
stopping the server.

Martti's submission did not include -h, which I added because if I had
added the scripts the way he submitted them, the server wouldn't be
started on startup.

PR:		10196
Submitted by:	Martti Kuparinen <martti.kuparinen@@ericsson.com>
Reviewed by:	kris (partially)
No response:	maintainers (PR opened February 22, 1999)
@
text
@a1 1
# Version required:     2.0.*
d5 1
a5 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.92 2000/03/11 12:58:43 obrien Exp $
d10 2
a11 2
DISTNAME=	ssh-2.0.13
PKGNAME=	ssh2-2.0.13
d16 1
@


1.92
log
@Support OpenSSH in the base system as the ssh1 component.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.91 2000/01/28 19:39:20 obrien Exp $
d104 2
a105 2
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/sshd.sh; \
		${ECHO} "[ -x ${PREFIX}/sbin/sshd ] && ${PREFIX}/sbin/sshd && ${ECHO} -n ' sshd'" >> ${PREFIX}/etc/rc.d/sshd.sh; \
@


1.91
log
@Make pkgname match the directory the port lives in, and to reduce collsion
with the ssh1 port.

Asked for by:	several on the ports list over time
[the maintainer has not responded to multiple emails asking about this change]
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.90 1999/12/24 18:39:44 mharo Exp $
d33 2
d45 1
a45 1
.if defined(USE_SSH1) && ${USE_SSH1} == YES
d49 1
d82 5
d109 1
a109 1
.include <bsd.port.mk>
@


1.90
log
@remove --prefix=${PREFIX} when GNU_CONFIGURE=yes and other minor cleanups

PR:		14759
Submitted by:	Jeremy Lea <reg@@shale.csir.co.za>
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.89 1999/11/25 21:26:38 cpiazza Exp $
d11 2
a12 1
DISTNAME=       ssh-2.0.13
d14 1
a14 1
MASTER_SITES=   ftp://ftp.cs.hut.fi/pub/ssh/ \
@


1.89
log
@Forgot a line
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.88 1999/11/25 21:26:03 cpiazza Exp $
d27 1
a27 1
CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc --enable-debug
@


1.88
log
@Patches are now available from www.ssh.org/patches

Submitted by:	Issei Suzuki <issei@@jp.freebsd.org>
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.87 1999/11/24 21:45:32 sada Exp $
d19 1
@


1.87
log
@Removed an obsoleted patch.

PR:		15059
Submitted by:	Maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.86 1999/09/02 17:08:35 cpiazza Exp $
d16 3
@


1.86
log
@Path for problem with tty ownership with chflags and chown in BSD 4.4
variants.  Fixes a security bug in tty allocation.

PR:		13515
PR:		13536
Submitted by: 	Issei Suzuki <issei@@jp.FreeBSD.org> (ssh2 maintainer)
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.85 1999/08/31 06:50:25 mharo Exp $
a15 4

PATCH_SITES=	http://www.ssh.fi/sshprotocols2/patches/
PATCHFILES=	patch-${DISTNAME}-bsd.tty.chown
PATCH_DIST_STRIP= -p1
@


1.85
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/ssh2/Makefile,v 1.84 1999/08/31 01:51:48 peter Exp $
d16 4
@


1.84
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# Whom:			Issei Suzuki <issei@@jp.FreeBSD.ORG>
d6 1
a6 1
# $FreeBSD$
@


1.83
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.82 1999/06/24 19:29:50 obrien Exp $
@


1.82
log
@Add comment that USE_TCPWRAP ==> YES if /usr/include/tcpd.h exists.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.81 1999/06/18 20:02:11 ache Exp $
d61 8
a72 5
.if defined(NOMANCOMPRESS)
MAN_SUFX=	""
.else
MAN_SUFX=	.gz
.endif
a81 9
.if !defined(NOMANCOMPRESS)
.for i in ssh ssh-keygen ssh-add ssh-agent scp sftp
	${RM} -f ${PREFIX}/man/man1/${i}.1
	${LN} -sf ${i}2.1.gz ${PREFIX}/man/man1/${i}.1.gz
.endfor
	${RM} -f ${PREFIX}/man/man8/sshd.8
	${LN} -sf sshd2.8.gz ${PREFIX}/man/man8/sshd.8.gz
.endif
#
d93 1
a93 1
		chmod 751 ${PREFIX}/etc/rc.d/sshd.sh; \
@


1.81
log
@upgrade to 2.0.13
XXXtgetent from original PR fixed

PR: 12279
Submitted by: Issei Suzuki <issei@@issei.org>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.80 1999/04/03 03:42:01 ache Exp $
d30 1
a30 1
# Include tcp_wrappers support
@


1.80
log
@detect/use -current libwrap
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.79 1999/03/15 01:18:49 steve Exp $
d11 1
a11 1
DISTNAME=       ssh-2.0.12
@


1.79
log
@Re-order definition of a couple of variables so the ssh1 dependency
is picked up correctly.

PR:		10577
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.78 1999/02/06 01:40:28 ache Exp $
d48 3
d54 1
@


1.78
log
@Use setusercontext() now to set all sort of login things including env.
variables and priority!
Enable light debugging for compatibility with -v option
Don't print "No mail." - not in BSD login style.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.75 1998/12/01 11:10:33 obrien Exp $
d27 1
a27 1
#
d29 9
a41 2
# Warning: untested !
# Include support for the SecureID card
a45 1
# Include support for the TIS authentication server
a47 1
# Include tcp_wrappers support
a56 4
USE_SSH1?=	YES
USE_TCPWRAP?=	NO
USE_TIS?=	NO
USE_SECUREID?=	NO
@


1.77
log
@remove lines which do chmod -x on recently installed rc.d/sshd.sh
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.76 1999/02/05 06:11:31 ache Exp $
d23 1
a23 1
CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc
@


1.76
log
@upgrade to 2.0.12
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.75 1998/12/01 11:10:33 obrien Exp $
a94 3
	fi
	@@if [ -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \
		chmod -x ${PREFIX}/etc/rc.d/sshd.sh; \
@


1.75
log
@1. Update base ssh2 version from 2.0.9 to 2.0.11
   Ssh 2.0.9 has bugs abount updating utmp/wtmp file.

2. Now you can compile ssh2 to support TCP_Wrapper
   (security/tcp_wrapper) when you define USE_TCPWRAP=YES

3. Fix typo in MASTER_SITES
   (Thanks to Chris Piazza <norn@@home.net>)

4. Use /usr/lib/libz.so.* instead of libz in ssh2 source file.

5. Delete some obsolute pathes.

PR:		ports/8916
Submitted by:	issei@@jp.FreeBSD.ORG
@
text
@d2 1
a2 1
# Version required:     2.0.11
d6 1
a6 1
# $Id: Makefile,v 1.74 1998/12/01 09:33:58 obrien Exp $
d11 1
a11 1
DISTNAME=       ssh-2.0.11
@


1.74
log
@fix typo in a URL
@
text
@d2 1
a2 1
# Version required:     2.0.9
d6 1
a6 1
# $Id: Makefile,v 1.73 1998/11/23 05:15:16 kuriyama Exp $
d11 1
a11 1
DISTNAME=       ssh-2.0.9
a16 3
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	${DISTNAME}-configure-patch

a21 2
MAKE_ENV=	SSH_SERVER_DIR="${PREFIX}/etc/ssh2" \
		SSH_CLIENT_GLOBAL_CONFIG_FILE="${PREFIX}/etc/ssh2/ssh2_config"
d44 1
a44 1
CONFIGURE_ARGS+= --with-libwrap
@


1.73
log
@Secure shell client and server (remote login program).

PR:		ports/8204
Submitted by:	Issei Suzuki <issei@@jp.FreeBSD.ORG>
@
text
@d6 1
a6 1
# $Id$
d13 1
a13 1
MASTER_SITES=   ftp://tp.cs.hut.fi/pub/ssh/ \
@


1.72
log
@Mark this broken as it awaits upgrade after repository copy.
@
text
@d1 4
a4 4
# New ports collection makefile for:	ssh
# Version required:     1.2.25
# Date created:		30 Jul 1995
# Whom:			torstenb@@FreeBSD.ORG
d6 1
a6 4
# $Id: Makefile,v 1.71 1998/10/30 06:15:18 obrien Exp $
#
# Maximal ssh package requires YES values for
# USE_PERL, USE_TCPWRAP
d8 2
d11 1
a11 1
DISTNAME=       ssh-1.2.26
d13 3
a15 16
MASTER_SITES=   ftp://ftp.funet.fi/pub/unix/security/login/ssh/

MAINTAINER=	torstenb@@FreeBSD.ORG

BROKEN=		update

# You can set USA_RESIDENT appropriately in /etc/make.conf if this bugs you..

.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
MASTER_SITES=	\
	ftp://ftp.funet.fi/pub/unix/security/login/ssh/ \
	ftp://nic.funet.fi/pub/crypt/mirrors/ftp.dsi.unimi.it/applied-crypto/ \
	ftp://rzsun2.informatik.uni-hamburg.de/pub/virus/crypt/ripem/ \
	ftp://idea.sec.dsi.unimi.it/pub/security/crypt/math/ \
	ftp://ftp.univie.ac.at/security/crypt/cryptography/asymmetric/rsa/ \
	ftp://isdec.vc.cvut.cz/pub/security/unimi/crypt/applied-crypto/
d17 2
a18 4
CONFIGURE_ARGS+= --with-rsaref
LIB_DEPENDS+=	rsaref.2:${PORTSDIR}/security/rsaref
BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/security/rsaref:extract
.endif
d20 1
a20 10
#
# Use Phil Karn's asm patches to speed up DES on intel.
# Download by hand from http://www.cryptography.org/cgi-bin/crypto.cgi/ssh/  
# and put in distfiles directory.
#
# Disabled for now, since there's not such a patchkit for 1.2.25 version.
#.if defined(FAST_DES_PATCHKIT) && ${FAST_DES_PATCHKIT} == YES
#PATCHFILES=ssh-1.2.22-patchkit
#PATCH_DIST_STRIP=-p1
#.endif
a22 1
IS_INTERACTIVE=	YES
d25 2
d28 1
a28 2
CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/etc

d32 5
a36 8

#Uncomment if you want to allow ssh to emulate an unencrypted rsh connection
#over a secure medium.  This is normally dangerous since it can lead to the
#disclosure keys and passwords.
#CONFIGURE_ARGS+= --with-none

.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+=--with-kerberos5=${KRB5_HOME} --enable-kerberos-tgt-passing
d38 1
a38 1

a39 1
# Warning: untested !
d43 8
a50 6

# Don't use IDEA. IDEA can be freely used for non-commercial use. However,
# commercial use may require a licence in a number of countries
# Warning: untested !
.if defined(DONT_USE_IDEA) && ${DONT_USE_IDEA} == YES
CONFIGURE_ARGS+= --without-idea
d53 11
a63 2
.if !exists(${X11BASE}/bin/xauth)
CONFIGURE_ARGS+= --without-x
d65 4
a68 21

MAN1=		scp1.1 ssh-add1.1 ssh-agent1.1 ssh-keygen1.1 ssh1.1 \
		make-ssh-known-hosts1.1
MAN8=		sshd1.8


pre-patch:
	@@${MV} -f ${WRKSRC}/make-ssh-known-hosts.pl \
	    ${WRKSRC}/make-ssh-known-hosts.pl.in

fetch-depends:
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
	@@echo
	@@echo You must set the variable USA_RESIDENT to YES if you are a
	@@echo United States resident, otherwise NO.
	@@echo If you are a US resident then this port must also fetch
	@@echo the RSAREF2 library from sources abroad \(RSA Inc. holds a
	@@echo patent on RSA and public key crypto in general in the United
	@@echo States so using RSA implementations other than RSAREF there
	@@echo may violate US patent law\).
	@@false
d72 7
a78 4
	@@if [ ! -f ${PREFIX}/etc/ssh_host_key ]; then \
		echo "Generating a secret host key..."; \
		${PREFIX}/bin/ssh-keygen -f ${PREFIX}/etc/ssh_host_key -N ""; \
	fi
d80 13
a92 13
	for file in make-ssh-known-hosts scp ssh-add ssh-agent \
	    ssh-keygen ssh; do \
		rm -f ${PREFIX}/man/man1/$${file}.1; \
		ln -sf $${file}1.1.gz ${PREFIX}/man/man1/$${file}.1.gz; \
	done
	rm -f ${PREFIX}/man/man1/slogin.1
	rm -f ${PREFIX}/man/man1/slogin1.1
	rm -f ${PREFIX}/man/man8/sshd.8
	ln -sf ssh.1.gz ${PREFIX}/man/man1/slogin.1.gz
	ln -sf ssh1.1.gz ${PREFIX}/man/man1/slogin1.1.gz
	ln -sf sshd1.8.gz ${PREFIX}/man/man8/sshd.8.gz
.else
	${ECHO} Warning---some manpages not installed.  See port Makefile
d94 1
d96 3
a98 3
		echo "Installing ${PREFIX}/etc/rc.d/sshd.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/sshd.sh; \
		echo "[ -x ${PREFIX}/sbin/sshd ] && ${PREFIX}/sbin/sshd && echo -n ' sshd'" >> ${PREFIX}/etc/rc.d/sshd.sh; \
d101 3
a105 24

# Following stuff must be after <bsd.port.mk> to expand exists() properly

.if defined(USE_PERL) && ${USE_PERL} == YES || \
    exists(${PERL5}) && (!defined(USE_PERL) || ${USE_PERL} != NO)
BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PERL5}
.else
CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path
.endif

# Include tcp-wrapper support (call remote identd)
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES || \
    exists(${PREFIX}/lib/libwrap.a) && \
    (!defined(USE_TCPWRAP) || ${USE_TCPWRAP} != NO)
CONFIGURE_ENV+= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ARGS+= --with-libwrap
LIB_DEPENDS+=   wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif

# Include SOCKS firewall support
.if defined(USE_SOCKS) && ${USE_SOCKS} == YES
CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5" --with-socks5
.endif
@


1.71
log
@configure with "--without-x" if X11BASE/bin/xauth is missing.

Requested by:	Studded@@gorean.org
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.70 1998/10/08 13:11:52 asami Exp $
d17 2
@


1.70
log
@Um, be careful when you copy stuff around -- change the second
CONFIGURE_ARGS defintion to use "+=" so it won't override the first.

While I'm here, GNU_CONFIGURE implies --prefix=${PREFIX} so take it out.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.69 1998/10/08 06:17:56 jkh Exp $
d76 4
@


1.69
log
@Better depends.
Also Suggested by:	asami
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.68 1998/10/08 06:16:18 jkh Exp $
d50 1
a50 1
CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc
@


1.68
log
@Clean this file up a bit.
Suggested by:	asami
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.67 1998/10/08 03:42:23 jkh Exp $
d30 2
a31 1
BUILD_DEPENDS+= ${PORTSDIR}/security/rsaref/work/.extract_done:${PORTSDIR}/security/rsaref
@


1.67
log
@Properly reference the rsaref sources, which are required during the build
of ssh now.  If anyone knows of a way of making the build dependency here
less gross, I'm listening! :)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.66 1998/10/07 23:03:44 jkh Exp $
a20 1
DISTFILES=	${DISTNAME}.tar.gz
d28 3
d32 1
a58 5

.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
CONFIGURE_ARGS+= --with-rsaref
BUILD_DEPENDS+= ${PORTSDIR}/security/rsaref/work/.extract_done:${PORTSDIR}/security/rsaref
.endif
@


1.66
log
@Depend on ports collection rsaref, since we have it now already
available "broken out."
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.65 1998/09/26 04:42:09 dima Exp $
d59 1
a59 1
LIB_DEPENDS+=	rsaref.2:${PORTSDIR}/security/rsaref
@


1.65
log
@Make RSA stuff work on alpha (or on any other 64bit architecture)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.64 1998/09/17 10:53:31 asami Exp $
d21 1
a21 1
DISTFILES=	${DISTNAME}.tar.gz rsaref2.tar.gz
d59 1
a98 6
.endif

post-extract:
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
	@@mv ${WRKDIR}/rsaref2 ${WRKSRC}/rsaref2
	@@(cd ${WRKSRC} && patch -s -p < ${FILESDIR}/rsa64.diff)
@


1.64
log
@tcp_wrapper is now converted to ELF.  While I'm here, fix smail Makefile:
libwrap is a shared library so it should be LIB_DEPENDS, and delete
some spaces and tab-only lines.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.63 1998/09/15 21:31:53 asami Exp $
d103 1
@


1.63
log
@Use ${PERL5} wherever appropriate.  Largely untested; hope my eyeball
checks haven't missed anything.

Submitted by:	dima
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.62 1998/08/19 19:51:10 hoek Exp $
d150 1
a150 1
LIB_DEPENDS+=   wrap\\.7\\.:${PORTSDIR}/security/tcp_wrapper
@


1.62
log
@The pkg_create(1) handles symlinks correctly.  Delist manpages.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.61 1998/08/17 12:12:34 vanilla Exp $
d137 1
a137 2
    exists(${PREFIX}/bin/perl${PERL_VERSION}) && \
    (!defined(USE_PERL) || ${USE_PERL} != NO)
d139 1
a139 1
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl${PERL_VERSION}
@


1.61
log
@Use ${PERL_VERSION} on perl version.
Reminded by: asami
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.60 1998/08/17 10:42:38 vanilla Exp $
d122 2
@


1.60
log
@Change perl version to 5.00502.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.59 1998/08/01 22:24:55 dima Exp $
d135 1
a135 1
    exists(${PREFIX}/bin/perl5.00502) && \
d137 2
a138 2
BUILD_DEPENDS+= perl5.00502:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00502
@


1.59
log
@If KRB5_HOME is defined, compile ssh with krb5 support.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.58 1998/07/25 19:46:37 asami Exp $
d135 1
a135 1
    exists(${PREFIX}/bin/perl5.00404) && \
d137 2
a138 2
BUILD_DEPENDS+= perl5.00404:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00404
@


1.58
log
@Fix up slogin1.1 -> ssh1.1 symlink too.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.57 1998/07/11 23:10:50 imp Exp $
d59 4
@


1.57
log
@upgrade to 1.2.26 for security improvements
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.56 1998/06/12 11:39:32 ache Exp $
d113 1
d116 1
@


1.56
log
@Do not install slogin1.1 manpage, no such program
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.55 1998/06/12 07:55:06 dima Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.25
@


1.55
log
@1.2.22 -> 1.2.25

Somebody needs to go through patch-af to check it, since I'm not sure
about some of the stuff.

This version fixes a security flaw in previous version.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.54 1998/05/23 08:53:38 obrien Exp $
a112 1
	rm -f ${PREFIX}/man/man1/slogin1.1
a114 1
	ln -sf ssh1.1.gz ${PREFIX}/man/man1/slogin1.1.gz
@


1.54
log
@Two "/usr/local" --> ${PREFIX}
@
text
@d2 1
a2 1
# Version required:     1.2.22
d6 1
a6 1
# $Id: Makefile,v 1.53 1998/05/22 06:05:43 mph Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.22
d35 5
a39 4
.if defined(FAST_DES_PATCHKIT) && ${FAST_DES_PATCHKIT} == YES
PATCHFILES=ssh-1.2.22-patchkit
PATCH_DIST_STRIP=-p1
.endif
d74 3
a76 3
MAN1=		scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 \
		make-ssh-known-hosts.1
MAN8=		sshd.8
d107 5
d113 2
d116 2
@


1.53
log
@Allow use of Phil Karn's patchkit that implements DES/DES3 in
fast assembly code.  Patchfile must be manually placed in DISTDIR,
as described in the Makefile.

PR:		6446
Submitted by:	Jonathan Hanna <pangolin@@rogers.wave.ca>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.52 1998/03/10 13:58:16 jkh Exp $
d112 1
a112 1
		echo "[ -x /usr/local/sbin/sshd ] && /usr/local/sbin/sshd && echo -n ' sshd'" >> ${PREFIX}/etc/rc.d/sshd.sh; \
@


1.52
log
@Further adjustments to english.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.51 1998/03/10 13:56:14 jkh Exp $
d29 9
@


1.51
log
@Clean up and clarify some english user prompts in the Makefile which
have been bugging me for many months. :)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.50 1998/01/20 23:50:03 imp Exp $
d76 3
a78 3
	@@echo You must set variable USA_RESIDENT to YES if you are a USA
	@@echo resident or NO otherwise.
	@@echo If you are a USA resident then this port must also fetch
@


1.50
log
@Upgrade to ssh 1.2.22.  Please send problems with the upgrade to me.
1.2.22 fixes a security hole with ssh-agent, so users are encouraged
to upgrade.

OK'd by: Torsten Blum (torstenb@@freebsd.org)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.49 1997/12/24 18:46:11 imp Exp $
d78 5
a82 5
	@@echo If you are a USA resident you have to get the RSAREF2
	@@echo library \(RSA Inc. holds a patent on RSA and public key
	@@echo cypto in general - using RSA implementations other than
	@@echo RSAREF will violate the US patent law\)
	@@echo and extract it to ${WRKSRC}.
@


1.49
log
@Make the SOCKS support  from USE_SOCKS play nicely with the socks5 port.
@
text
@d2 1
a2 1
# Version required:     1.2.21
d6 1
a6 1
# $Id: Makefile,v 1.48 1997/11/21 15:31:33 markm Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.21
@


1.48
log
@Change to use perl5.004_04
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp $
d131 1
a131 1
CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5"
@


1.47
log
@ftp.dsi.unimi.it -> idea.sec.dsi.unimi.it
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.46 1997/10/10 14:29:12 rse Exp $
d112 1
a112 1
    exists(${PREFIX}/bin/perl5.00401) && \
d114 2
a115 2
BUILD_DEPENDS+= perl5.00401:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00401
@


1.46
log
@fixed little typo.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.45 1997/09/16 00:13:23 torstenb Exp $
d26 1
a26 1
	ftp://ftp.dsi.unimi.it/pub/security/crypt/math/ \
@


1.45
log
@Upgrade to 1.2.21
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.44 1997/09/11 18:31:52 max Exp $
d80 1
a80 1
	@@echo cypto in general - using RSA implementations other thann
@


1.44
log
@mv -> ${MV}.
@
text
@d2 1
a2 1
# Version required:     1.2.20
d6 1
a6 1
# $Id: Makefile,v 1.43 1997/07/18 05:04:17 asami Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.20
@


1.43
log
@Update name of perl executable in dependencies to "perl5.00401".
Use USE_PERL5 when appropriate (i.e., defined in both BUILD_DEPENDS
and RUN_DEPENDS).
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.42 1997/07/01 02:39:26 adam Exp $
d70 1
a70 1
	@@mv -f ${WRKSRC}/make-ssh-known-hosts.pl \
@


1.42
log
@typo in comment
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.41 1997/05/24 13:17:14 jfitz Exp $
d112 1
a112 1
    exists(${PREFIX}/bin/perl5.004) && \
d114 2
a115 2
BUILD_DEPENDS+= perl5.004:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.004
@


1.41
log
@Upgrade all ports requiring perl5.003 to perl5.004
Remove p5-CGI.pm and p5-ExtUtils-Embed; they are now part of the perl5.004 distribution.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.40 1997/04/25 05:01:02 peter Exp $
d58 1
a58 1
# commercial use may require a licence in a number of countried
@


1.40
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
@d6 1
a6 1
# $Id: Makefile,v 1.39 1997/04/20 13:53:01 wosch Exp $
d112 1
a112 1
    exists(${PREFIX}/bin/perl5.003) && \
d114 2
a115 2
BUILD_DEPENDS+= perl5.003:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.003
@


1.39
log
@Add virtual category 'perl5'.
@
text
@d2 1
a2 1
# Version required:     1.2.19
d6 1
a6 1
# $Id: Makefile,v 1.38 1997/04/16 19:48:09 ache Exp $
d12 2
a13 2
DISTNAME=       ssh-1.2.19
CATEGORIES=	security net perl5
d37 9
@


1.38
log
@Upgrade to 1.2.19
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.37 1997/03/28 23:30:12 ache Exp $
d13 1
a13 1
CATEGORIES=	security net
@


1.37
log
@Upgrade to 1.2.18
@
text
@d2 1
a2 1
# Version required:     1.2.18
d6 1
a6 1
# $Id: Makefile,v 1.36 1996/11/20 12:45:41 adam Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.18
@


1.36
log
@1.2.16 --> 1.2.17
(new agent forwarding protocol that is said to work this time)
@
text
@d2 1
a2 1
# Version required:     1.2.17
d6 1
a6 1
# $Id: Makefile,v 1.35 1996/11/18 11:39:31 asami Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.17
@


1.35
log
@Use MAN? macros.  CATEGORIES+= -> CATEGORIES.
@
text
@d2 1
a2 1
# Version required:     1.2.16
d6 1
a6 1
# $Id: Makefile,v 1.34 1996/10/16 04:55:58 ache Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.16
d14 1
a14 1
MASTER_SITES=   ftp://ftp.cs.hut.fi/pub/ssh/
d23 1
a23 1
	ftp://ftp.cs.hut.fi/pub/ssh/ \
@


1.34
log
@Upgrade to official 1.2.16
Fix PLIST
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.33 1996/08/19 10:31:04 asami Exp $
d55 5
a87 4
	gzip -9nf ${PREFIX}/man/man1/scp.1 ${PREFIX}/man/man1/ssh-add.1 \
		${PREFIX}/man/man1/ssh-agent.1 ${PREFIX}/man/man1/ssh-keygen.1 \
		${PREFIX}/man/man1/ssh.1 ${PREFIX}/man/man8/sshd.8 \
		${PREFIX}/man/man1/make-ssh-known-hosts.1
@


1.33
log
@Remove LIB_DEPENDS on libz, it's in /usr/src now.
@
text
@d2 1
a2 1
# Version required:     1.2.14
d6 1
a6 1
# $Id: Makefile,v 1.32 1996/08/08 13:56:52 peter Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.14
@


1.32
log
@Several fixes/improvements :-
 - protect the secret RSA etc/ssh_host_key.  It is now generated on install
   (either by pkg_add or make install) if not already present and is not
   ever added to a package since it's your host's credentials.  It should
   not be removed on pkg_delete, since you are in big trouble if you did
   this (for example) pkg_delete ssh-1.2.14; pkg_add ssh-1.2.15.tgz.
 - fix the broken manpage symlink when compressing man pages (slogin.1
   has been causing /etc/weekly to generate cron messages)
 - zlib 1.0.4 is now "blessed" again, the ssh working sources now use this
   instead of v0.95. The decompression problem was fixed in either 1.0.3
   or 1.0.4.  Also, the current version of cvs uses zlib 1.0.4 as well..
 - perl5.002 -> perl5.003

Reviewed by: torstenb
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.31 1996/07/22 23:06:08 pst Exp $
a14 1
LIB_DEPENDS=    z\\.1\\.:${PORTSDIR}/devel/libz
@


1.31
log
@If using socks, make sure you find socks library
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.30 1996/07/18 11:33:37 torstenb Exp $
d15 1
d79 5
d88 3
d103 1
a103 1
    exists(${PREFIX}/bin/perl5.002) && \
d105 2
a106 2
BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.002
@


1.30
log
@Back out andrews change - 1.2.14.1 is not an official ssh release.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.27 1996/06/20 14:11:17 ache Exp $
a41 6
# Include SOCKS firewall support
# Warning: untested !
.if defined(USE_SOCKS) && ${USE_SOCKS} == YES
CONFIGURE_ARGS+= --with-socks
.endif

d111 4
@


1.29
log
@Use += for USA_RESIDENT MASTER_SITES
@
text
@d2 1
a2 1
# Version required:     1.2.14.1
d6 1
a6 1
# $Id: Makefile,v 1.28 1996/07/16 00:33:10 ache Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.14.1
d14 1
a14 3
MASTER_SITES=   http://ssh.fi/ \
		ftp://ftp.relcom.ru/unix/crypto/
#MASTER_SITES=   ftp://ftp.cs.hut.fi/pub/ssh/
a17 4
# WARNING: you need libz 1.0.3 or above, previous versions have a bug

LIB_DEPENDS=    z\\.1\\.0:${PORTSDIR}/devel/libz

d22 2
a23 1
MASTER_SITES+=   \
d36 1
a36 1
CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/etc --no-recursion
a87 2
	rm ${PREFIX}/man/man1/slogin.1
	ln -fs ${PREFIX}/man/man1/ssh.1.gz ${PREFIX}/man/man1/slogin.1.gz
d100 1
a100 1
    exists(${PREFIX}/bin/perl5.003) && \
d102 2
a103 2
BUILD_DEPENDS+= perl5.003:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.003
@


1.28
log
@Upgrade to 1.2.14.1
Misc bugfixes
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.27 1996/06/20 14:11:17 ache Exp $
d28 1
a28 2
MASTER_SITES=	\
	ftp://ftp.cs.hut.fi/pub/ssh/ \
@


1.27
log
@Remove reminder about host key generation, it autogenerated on install
@
text
@d2 1
a2 1
# Version required:     1.2.14
d6 1
a6 1
# $Id: Makefile,v 1.26 1996/06/15 17:50:17 jkh Exp $
d12 1
a12 1
DISTNAME=       ssh-1.2.14
d14 3
a16 1
MASTER_SITES=   ftp://ftp.cs.hut.fi/pub/ssh/
d20 4
d42 1
a42 1
CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc
d94 2
d108 1
a108 1
    exists(${PREFIX}/bin/perl5.002) && \
d110 2
a111 2
BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.002
@


1.26
log
@Install an sshd.sh startup file.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.25 1996/06/15 07:03:11 torstenb Exp $
a87 4
	@@echo "---------------------------------------------------------------"
	@@echo "If you are installing for the first time, do not forget to run:"
	@@echo "   ssh-keygen -b 1024 -f $(PREFIX)/etc/ssh_host_key -N '' "
	@@echo "---------------------------------------------------------------"
@


1.25
log
@Path on master site has changed
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.24 1996/06/08 20:50:42 ache Exp $
d92 6
@


1.24
log
@Return back to distributed libz 0.95
All libzs 0.99-1.0.2 produce deflate error on certain files (with ssh)
I don't know, is it ssh error or libz error
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.23 1996/06/07 04:33:19 peter Exp $
d23 1
a23 1
	ftp://ftp.cs.hut.fi/pub/ssh/snapshots/ \
@


1.23
log
@Update ssh-1.2.13 -> ssh-1.2.14
ssh-askpass no longer uses wish, so chop the make rules that attempt to
locate it.
Go further to try and protect the ssh_host_key, since it's critical to
the operation and security of the machine.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.22 1996/05/24 19:13:04 peter Exp $
a14 1
LIB_DEPENDS=    z\\.1\\.:${PORTSDIR}/devel/libz
@


1.22
log
@Update the hack for locating wish/wish4.0 to also look for wish4.1 now
that we have that one too.
@
text
@d2 1
a2 1
# Version required:     1.2.13
d6 1
a6 1
# $Id: Makefile,v 1.21 1996/04/17 01:07:04 asami Exp $
d9 1
a9 1
# USE_PERL, USE_WISH, USE_TCPWRAP
d12 1
a12 1
DISTNAME=       ssh-1.2.13
d14 1
a14 1
MASTER_SITES=   ftp://ftp.cs.hut.fi/pub/ssh/snapshots/
d19 2
d89 4
a96 18

.if defined(USE_WISH) && ${USE_WISH} == YES || \
    (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish4.1) || \
     exists(${PREFIX}/bin/wish)) && \
    (!defined(USE_WISH) || ${USE_WISH} != NO)
.if exists(${PREFIX}/bin/wish4.1)
BUILD_DEPENDS+= wish4.1:${PORTSDIR}/x11/tk41
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.1
.elif exists(${PREFIX}/bin/wish4.0)
BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0
.else
BUILD_DEPENDS+= wish:${PORTSDIR}/x11/tk
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish
.endif
.else
CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path
.endif
@


1.21
log
@Change NO_PACKAGE to RESTRICTED.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.20 1996/03/24 23:04:17 ache Exp $
d93 2
a94 1
    (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish)) && \
d96 4
a99 1
.if exists(${PREFIX}/bin/wish4.0)
@


1.20
log
@Auto-sense installed perl & wish
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.19 1996/03/23 23:36:32 ache Exp $
d30 1
a30 1
NO_PACKAGE=	YES
@


1.19
log
@Move perl depends under USE_PERL
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.18 1996/03/21 14:44:48 ache Exp $
d92 3
a94 1
.if defined(USE_WISH) && ${USE_WISH} == YES
d106 3
a108 1
.if defined(USE_PERL) && ${USE_PERL} == YES
@


1.18
log
@Check USE_WISH for YES value as other parts of Makefile does
@
text
@d6 4
a9 1
# $Id: Makefile,v 1.17 1996/03/21 14:41:19 ache Exp $
a15 1
BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5
d98 1
d102 7
@


1.17
log
@Use wish only if USE_WISH defined.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.16 1996/03/16 17:23:01 markm Exp $
d90 1
a90 1
.if defined(USE_WISH)
@


1.16
log
@Update for perl5.002
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1996/02/19 21:37:13 ache Exp $
d90 1
a90 1
.if exists(${X11BASE}/bin/xauth)
@


1.15
log
@Use libz 1.0
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1996/02/17 15:13:34 ache Exp $
d13 1
a13 1
BUILD_DEPENDS+= perl5.001:${PORTSDIR}/lang/perl5
@


1.14
log
@Upgrade to 1.2.13
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1996/02/06 02:56:57 pst Exp $
d12 1
a12 1
LIB_DEPENDS=    z\\.0\\.:${PORTSDIR}/devel/libz
@


1.13
log
@Upgrade to snapshot of ssh.  1.1.12a was recalled due to even worse
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!).
@
text
@d2 1
a2 1
# Version required:     1.2.12a
d6 1
a6 1
# $Id: Makefile,v 1.12 1996/01/25 04:17:28 ache Exp $
d9 1
a9 1
DISTNAME=       ssh-1.2.12.92
@


1.12
log
@Understands shared libwrap now
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1996/01/25 02:08:25 ache Exp $
d9 1
a9 1
DISTNAME=       ssh-1.2.12a
@


1.11
log
@Autopick any wish present even wish4.0
Autopick libwrap.a
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1996/01/22 18:41:57 markm Exp $
d105 1
a105 1
BUILD_DEPENDS+= ${PREFIX}/lib/libwrap.a:${PORTSDIR}/security/tcp_wrapper
d107 1
@


1.10
log
@Damn. Forgot to include the makefile diffs in the last lot.
Make the Makefile aware of libz dependancies.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1996/01/21 00:49:39 ache Exp $
a12 1
BUILD_DEPENDS+= wish:${PORTSDIR}/x11/tk
a44 7
# Include tcp-wrapper support (call remote identd)
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
CONFIGURE_ENV=  LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
BUILD_DEPENDS+= safe_finger:${PORTSDIR}/security/tcp_wrapper
CONFIGURE_ARGS+= --with-libwrap
.endif

d87 22
@


1.9
log
@Remove ftp.funet.fi from master list, it not contains rsaref
and not contains ssh in this directory. Another directory there have
obsoleted ssh version.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1996/01/21 00:44:07 ache Exp $
d12 1
@


1.8
log
@Add BUILD_DEPENDS of wish and perl5, both checked exactly in build process
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/01/21 00:32:30 ache Exp $
a20 1
	ftp://ftp.funet.fi/pub/unix/security/ \
@


1.7
log
@Upgrade to 1.2.12a (security bugfix)
Fix installation bug too (scripts not installed)
Fix PLIST (missing files)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1995/11/23 17:19:00 peter Exp $
d12 2
@


1.6
log
@Update ssh from 1.2.10 to 1.2.12..  This is for two reasons:
1) It eliminated the need for my horrible kludge patch-ad
2) 1.2.12 has data stream compression (like gzip).
(I'm talking with the author about the remining three patches)
@
text
@d2 1
a2 1
# Version required:	1.2.10
d6 1
a6 1
# $Id: Makefile,v 1.5 1995/11/22 13:20:15 asami Exp $
d9 1
a9 1
DISTNAME=	ssh-1.2.12
d11 1
a11 2
MASTER_SITES=	ftp://ftp.funet.fi/pub/unix/security/ \
		ftp://ftp.cs.hut.fi/pub/ssh/snapshots/
d72 1
a72 1
	@@echo resident.
@


1.5
log
@Change category "networking" to "net".
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1995/11/09 05:58:00 asami Exp $
d9 1
a9 1
DISTNAME=	ssh-1.2.10
@


1.4
log
@Add torstenb as maintainer.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1995/10/10 17:02:24 ache Exp $
d10 1
a10 1
CATEGORIES=	security networking
@


1.3
log
@Fix tcp_wrapper support
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1995/10/07 13:08:35 torstenb Exp $
d13 2
@


1.2
log
@add "networking" to the categories list
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1995/10/07 01:19:27 torstenb Exp $
d43 4
a46 3
# Include tcp-wrapper support and identd support
# Warning: untested !
.if defined(USE_TCPWRAP_AND_IDENTD) && ${USE_TCPWRAP_AND_IDENTD} == YES
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d10 1
a10 1
CATEGORIES=	security
@


1.1.1.1
log
@Ssh is a secure rlogin/rsh/rcp replacement with strong authentication
(.rhosts together with RSA based host authentication, and pure RSA
authentication) and improved privacy (all communications are automatically
and transparently encrypted).
@
text
@@
