head	1.18;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.15
	RELEASE_6_4_0:1.15
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.12
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.12
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.3;
locks; strict;
comment	@# @;


1.18
date	2011.10.21.16.18.56;	author flo;	state Exp;
branches;
next	1.17;

1.17
date	2009.12.16.16.43.21;	author amdmi3;	state Exp;
branches;
next	1.16;

1.16
date	2009.04.22.06.01.39;	author sumikawa;	state Exp;
branches;
next	1.15;

1.15
date	2006.10.04.13.53.54;	author mnag;	state Exp;
branches;
next	1.14;

1.14
date	2006.10.01.19.37.54;	author mnag;	state Exp;
branches;
next	1.13;

1.13
date	2006.02.07.20.07.53;	author mnag;	state Exp;
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.18
log
@- update to 5.8p2 [1]
- fix Kerberos knob [2]
- fix build on 9.0 [3]
- fix deinstall with various knobs [4]
- fix LPK knob [5]

PR:		ports/161818 [1], ports/144597 [2], ports/160389 [3]
		ports/150493, ports/156926 [4], ports/155456 [5]

Submitted by:	"Grzegorz Blach" <magik@@roorback.net> [1], [2], [4], [5]
		pluknet [3]
Reported by:	Jonathan <lordsith49@@hotmail.com> [2]
		Kevin Thompson <antiduh@@csh.rit.edu> [4]
		Alexey Remizov <alexey@@remizov.org> [5]
@
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/ssh/moduli
%%NOTBASE%%@@exec if [ -f %D/etc/ssh_config -a ! -f %D/etc/ssh/ssh_config ]; then ln %D/etc/ssh_config %D/etc/ssh/ssh_config ; fi
%%NOTBASE%%@@exec if [ -f %D/etc/sshd_config -a ! -f %D/etc/ssh/sshd_config ]; then ln %D/etc/sshd_config %D/etc/ssh/sshd_config ; fi
%%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
%%BASE%%@@cwd /
etc/ssh/ssh_config-dist
etc/ssh/sshd_config-dist
%%BASE%%@@cwd %%BASEPREFIX%%
%%NOTBASE%%@@exec if [ ! -f %D/etc/ssh/ssh_config ]; then cp -p %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config ; fi
%%NOTBASE%%@@exec if [ ! -f %D/etc/ssh/sshd_config ]; then cp -p %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config ; fi
%%NOTBASE%%%%X509%%@@dirrmtry etc/ssh/ca
%%NOTBASE%%@@dirrmtry etc/ssh
sbin/sshd
libexec/sftp-server
libexec/ssh-keysign
libexec/ssh-pkcs11-helper
@@exec if [ ! -d %%EMPTYDIR%% ]; then mkdir -p %%EMPTYDIR%% ; fi
%%ERASEEMPTY%%@@dirrm empty
@@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.17
log
@- Remove BROKEN on 8.x WITH_KERBEROS case. Builds fine on 8.0 and 9.0, i386 and amd64
- While here, fix minor plist issue for WITH_X509 case

PR:		141679
Submitted by:	Denis Barov <dindin@@dindin.ru> (maintainer)
@
text
@a23 1
share/Ssh.bin
d26 1
@


1.16
log
@Fix several problems with OPENSSH_OVERWRITE_BASE=1.
- Empty dir handling
- rc.d installation
- prefix modification in manuals

From:		Tsurutani Naoki <turutani@@scphys.kyoto-u.ac.jp>
PR:		ports/133412
@
text
@d21 1
@


1.15
log
@- Fix package creation. [1]
- Update HPN patch and remove IGNORE. [2]
- Bump PORTREVISION

PR:		103961
Submitted by:	Phil Oleson <oz___nixil.net> [1], ale [2]
@
text
@d26 2
a27 3
%%NOTBASE%%@@exec mkdir -p %D/empty
%%NOTBASE%%@@dirrm empty
%%BASE%%@@exec if [ ! -d %%EMPTYDIR%% ]; then mkdir -p %%EMPTYDIR%% ; fi
@


1.14
log
@- Install ssh_config-dist and sshd_config-dist in OVERWRITE_BASE too.
@
text
@d15 1
d18 1
@


1.13
log
@- Update to 4.3p1
- Use DISTVERSION
- Add most configuration in OPTIONS
- Enable support to libedit in sftp [1]
- Add OPTIONS to HPN patches [2]
- Add new rc.d script [3]
- New rc.d script are responsible to check configuration and create host keys
- Using USE_RC_SUBR
- Modify pkg-message to reflect new rc.d script
- Fix pkg-plist

Reviewd by:	dougb [3]
Submitted by:	vs [1], brooks [2]
Tested by:	me, John E Hein
@
text
@d15 2
a16 2
%%NOTBASE%%etc/ssh/ssh_config-dist
%%NOTBASE%%etc/ssh/sshd_config-dist
@


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
@a9 1
%%NOTBASE%%etc/rc.d/sshd.sh.sample
d11 2
a12 8
%%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
d17 3
a19 3
%%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
a23 3
%%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
d26 1
a26 1
%%BASE%%@@exec mkdir -p %%EMPTYDIR%%
@


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
@

