24525860 upgrade OpenSSH to 7.3p1
24320031 problem in UTILITY/OPENSSH
24461706 problem in UTILITY/OPENSSH
24752716 Eliminate hard-to-maintain manpages section-number patch in openssh 11.3SRU
15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
24597931 PAM_BUGFIX by-passes fake password for timing attack avoidance
23223069 problem in UTILITY/OPENSSH
24923674 problem in UTILITY/OPENSSH
23577308 OpenSSH Makefile: -DWITHOUT_ED25519 left behind
23140756 openssh passes bad option to configure (--with-tcp-wrappers)
24301902 Log connections dropped when exceeding MaxStartups
#!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
#
# Each time upstream puts in new features, man pages change, and more
# additional changes of our own go into man page patches. This causes patch to
# fail, requiring it to be re-hand-created. This program will fix the
# man page section numbers at gmake prep time, after all other changes
# and patches are applied.
export SOURCE_DIR
SOURCE_DIR=$1
shift
#set -x
#echo $1
for i in $* ; do
echo $SOURCE_DIR/$i
cat $SOURCE_DIR/$i | \
sed '
s/ssh_config 5/ssh_config 4/g
s/moduli 5/moduli 4/g
s/sshd_config 5/sshd_config 4/g
s/ssh-keysign 8/ssh-keysign 1M/g
s/sftp-server 8/sftp-server 1M/g
s/ssh-pkcs11-helper 8/ssh-pkcs11-helper 1M/g
s/sshd 8/sshd 1M/g' > /tmp/$i.sed
cp /tmp/$i.sed $SOURCE_DIR/$i
rm /tmp/$i.sed
done