head	1.13;
access;
symbols
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	old_RELEASE_5_3_0:1.12
	old_RELEASE_4_10_0:1.12
	old_RELEASE_5_2_1:1.12
	old_RELEASE_5_2_0:1.12
	old_RELEASE_4_9_0:1.12
	old_RELEASE_5_1_0:1.12
	old_RELEASE_4_8_0:1.12
	old_RELEASE_5_0_0:1.12
	old_RELEASE_4_7_0:1.12
	old_RELEASE_4_6_2:1.4
	old_RELEASE_4_6_1:1.4
	old_RELEASE_4_6_0:1.4
	old_RELEASE_5_0_DP1:1.4
	old_RELEASE_4_5_0:1.4
	old_RELEASE_4_4_0:1.3;
locks; strict;
comment	@# @;


1.13
date	2006.03.15.06.30.35;	author brooks;	state dead;
branches;
next	1.12;

1.12
date	2002.06.26.15.21.27;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2002.06.26.12.22.24;	author dinoex;	state Exp;
branches;
next	1.10;

1.10
date	2002.06.26.07.06.14;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2002.06.26.04.05.57;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2002.06.25.04.52.55;	author dinoex;	state Exp;
branches;
next	1.7;

1.7
date	2002.06.24.23.17.03;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2002.06.24.23.04.37;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2002.06.22.16.24.04;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.03.15.19.23;	author dinoex;	state Exp;
branches;
next	1.3;

1.3
date	2001.08.19.15.46.02;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.01.10.56.24;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.01.14.49.32;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove the hpn-ssh port.  The functionality is now an option when
building the openssh-portable port.
@
text
@@@comment slogin must be deleted first
bin/slogin
bin/scp
bin/sftp
bin/ssh
bin/ssh-add
bin/ssh-agent
bin/ssh-keygen
bin/ssh-keyscan
%%NOTBASE%%etc/rc.d/sshd.sh.sample
%%NOTBASE%%etc/ssh/moduli
%%NOTBASE%%@@exec [ -f %D/etc/ssh_config ] && [ ! -f %D/etc/ssh/ssh_config ] && ln %D/etc/ssh_config %D/etc/ssh/ssh_config
%%NOTBASE%%@@exec [ -f %D/etc/sshd_config ] && [ ! -f %D/etc/ssh/sshd_config ] && ln %D/etc/sshd_config %D/etc/ssh/sshd_config
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_key ] && [ ! -f %D/etc/ssh/ssh_host_key ] && ln %D/etc/ssh_host_key %D/etc/ssh/ssh_host_key
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_key.pub ] && ln %D/etc/ssh_host_key.pub %D/etc/ssh/ssh_host_key.pub
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_rsa_key ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key ] && ln %D/etc/ssh_host_rsa_key %D/etc/ssh/ssh_host_rsa_key
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_rsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key.pub ] && ln %D/etc/ssh_host_rsa_key.pub %D/etc/ssh/ssh_host_rsa_key.pub
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_dsa_key ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key ] && ln %D/etc/ssh_host_dsa_key %D/etc/ssh/ssh_host_dsa_key
%%NOTBASE%%@@exec [ -f %D/etc/ssh_host_dsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key.pub ] && ln %D/etc/ssh_host_dsa_key.pub %D/etc/ssh/ssh_host_dsa_key.pub
%%NOTBASE%%@@unexec if cmp -s %D/etc/ssh/ssh_config %D/etc/ssh/ssh_config-dist; then rm -f %D/etc/ssh/ssh_config; fi
%%NOTBASE%%@@unexec if cmp -s %D/etc/ssh/sshd_config %D/etc/ssh/sshd_config-dist; then rm -f %D/etc/ssh/sshd_config; fi
%%NOTBASE%%etc/ssh/ssh_config-dist
%%NOTBASE%%etc/ssh/sshd_config-dist
%%NOTBASE%%@@exec [ ! -f %D/etc/ssh/ssh_config ] && cp %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config
%%NOTBASE%%@@exec [ ! -f %D/etc/ssh/sshd_config ] && cp %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config
%%NOTBASE%%@@dirrm etc/ssh
sbin/sshd
share/Ssh.bin
libexec/sftp-server
libexec/ssh-keysign
%%NOTBASE%%@@exec if [ ! -f %D/etc/ssh/ssh_host_key ]; then echo ">> Generating a secret RSA1 host key."; %D/bin/ssh-keygen -t rsa1 -N "" -f %D/etc/ssh/ssh_host_key; fi
%%NOTBASE%%@@exec if [ ! -f %D/etc/ssh/ssh_host_rsa_key ]; then echo ">> Generating a secret RSA host key."; %D/bin/ssh-keygen -t rsa -N "" -f %D/etc/ssh/ssh_host_rsa_key; fi
%%NOTBASE%%@@exec if [ ! -f %D/etc/ssh/ssh_host_dsa_key ]; then echo ">> Generating a secret DSA host key."; %D/bin/ssh-keygen -t dsa -N "" -f %D/etc/ssh/ssh_host_dsa_key; fi
%%NOTBASE%%@@exec mkdir -p %D/empty
%%NOTBASE%%@@dirrm empty
%%BASE%%@@exec mkdir -p %%EMPTYDIR%%
@@exec if ! pw groupshow sshd 2>/dev/null; then pw groupadd sshd -g 22; fi
@@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g sshd -u 22 -h - -d %%EMPTYDIR%% -s /nonexistent -c "sshd privilege separation"; fi
@


1.12
log
@Security FIX, Please update to this Version.

Options for both:
USE_OPENSSL_BASE=yes
	uses an older opensssl in the base system.

Options for portable:
OPENSSH_OVERWRITE_BASE=yes
	includes USE_OPENSSL_BASE=yes
	installls in the paths of the base system
@
text
@@


1.11
log
@Thanks to max@@wide.ad.jp, maxim, obraun@@informatik.unibw-muenchen.de, fjoe
Patch from current, noted by drs@@rucus.ru.ac.za:
environment variables in the 'setenv' field of login.conf are set now.
@
text
@d36 1
@


1.10
log
@Streamline OPENSSH_OVERWRITE_BASE=yes
@
text
@d22 2
a23 2
etc/ssh/ssh_config-dist
etc/ssh/sshd_config-dist
@


1.9
log
@Migrate configuration files to $PREFIX/etc/ssh/
Add ${PREFIX}/etc/rc.d/sshd.sh.sample
@
text
@d10 12
a21 12
etc/rc.d/sshd.sh.sample
etc/ssh/moduli
@@exec [ -f %D/etc/ssh_config ] && [ ! -f %D/etc/ssh/ssh_config ] && ln %D/etc/ssh_config %D/etc/ssh/ssh_config
@@exec [ -f %D/etc/sshd_config ] && [ ! -f %D/etc/ssh/sshd_config ] && ln %D/etc/sshd_config %D/etc/ssh/sshd_config
@@exec [ -f %D/etc/ssh_host_key ] && [ ! -f %D/etc/ssh/ssh_host_key ] && ln %D/etc/ssh_host_key %D/etc/ssh/ssh_host_key
@@exec [ -f %D/etc/ssh_host_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_key.pub ] && ln %D/etc/ssh_host_key.pub %D/etc/ssh/ssh_host_key.pub
@@exec [ -f %D/etc/ssh_host_rsa_key ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key ] && ln %D/etc/ssh_host_rsa_key %D/etc/ssh/ssh_host_rsa_key
@@exec [ -f %D/etc/ssh_host_rsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key.pub ] && ln %D/etc/ssh_host_rsa_key.pub %D/etc/ssh/ssh_host_rsa_key.pub
@@exec [ -f %D/etc/ssh_host_dsa_key ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key ] && ln %D/etc/ssh_host_dsa_key %D/etc/ssh/ssh_host_dsa_key
@@exec [ -f %D/etc/ssh_host_dsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key.pub ] && ln %D/etc/ssh_host_dsa_key.pub %D/etc/ssh/ssh_host_dsa_key.pub
@@unexec if cmp -s %D/etc/ssh/ssh_config %D/etc/ssh/ssh_config-dist; then rm -f %D/etc/ssh/ssh_config; fi
@@unexec if cmp -s %D/etc/ssh/sshd_config %D/etc/ssh/sshd_config-dist; then rm -f %D/etc/ssh/sshd_config; fi
d24 3
a26 3
@@exec [ ! -f %D/etc/ssh/ssh_config ] && cp %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config
@@exec [ ! -f %D/etc/ssh/sshd_config ] && cp %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config
@@dirrm etc/ssh
d31 5
a35 5
@@exec if [ ! -f %D/etc/ssh/ssh_host_key ]; then echo ">> Generating a secret RSA1 host key."; %D/bin/ssh-keygen -t rsa1 -N "" -f %D/etc/ssh/ssh_host_key; fi
@@exec if [ ! -f %D/etc/ssh/ssh_host_rsa_key ]; then echo ">> Generating a secret RSA host key."; %D/bin/ssh-keygen -t rsa -N "" -f %D/etc/ssh/ssh_host_rsa_key; fi
@@exec if [ ! -f %D/etc/ssh/ssh_host_dsa_key ]; then echo ">> Generating a secret DSA host key."; %D/bin/ssh-keygen -t dsa -N "" -f %D/etc/ssh/ssh_host_dsa_key; fi
@@exec mkdir -p %D/empty
@@dirrm empty
@


1.8
log
@Fix a typo, only affects when installing a packae on a clean system.
Submitted by:	anders@@fix.no
@
text
@d3 2
a5 1
bin/scp
d10 17
a26 1
bin/sftp
d31 3
d37 1
a37 1
@@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g sshd -u 22 -h - -d %D/empty -s /nonexistent -c "sshd privilege separation"; fi
@


1.7
log
@Create user when package is extracted
@
text
@d17 1
a17 1
@@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g smmsp -u 22 -h - -d %D/empty -s /nonexistent -c "sshd privilege separation"; fi
@


1.6
log
@Create user for privsep
@
text
@d14 1
d16 2
@


1.5
log
@Update: openssh-3.2.3p1
New manpages: ssh-keysign.8 sftp-server.8 sshd.8
New program ssh-keysign
@
text
@d14 1
@


1.4
log
@- Update to OpenSSH 2.9.9p2
- security-patch for cookie files obsolete
- MD5 password support activated

Approved by:	dwcjr@@FreeBSD.org
@
text
@d13 1
@


1.3
log
@Fix package building, slogin and its manpage is an link
@
text
@d11 1
@


1.2
log
@- slogin and manpage added to package, bumped PORTREVISION
@
text
@d1 2
a4 1
bin/slogin
@


1.1
log
@New port:
OpenSSH portable, which has GNU-configure and more.
Diffs to OpenSSH-OPenBSD are huge.
So this is here a complete diffrent branch, no repro-copy
- Did a bit cleanup in the Makefile

Submitted by:	dwcjr@@inethouston.net
@
text
@d3 1
@

