File project.diff of Package openssh
--- openssh.spec.orig
+++ openssh.spec
@@ -112,6 +112,7 @@ Source10: sshd.service
Source11: README.FIPS
Source12: cavs_driver-ssh.pl
Source100: openssh-%{version}-SUSE_patches.tar.gz
+Patch99: %{name}-rsa512-minimal-7.7.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: nonfreessh
Recommends: audit
@@ -130,6 +131,12 @@ hosts over an insecure network.
xorg-x11 (X Window System) connections and arbitrary TCP/IP ports can
also be forwarded over the secure channel.
+%package -n openssh512
+Summary: Secure Shell Client (512b RSA Key)
+Group: Productivity/Networking/SSH
+
+%description -n openssh512
+-
%package helpers
Summary: OpenSSH AuthorizedKeysCommand helpers
@@ -176,6 +183,7 @@ cat $PATCH_DIR/patch.series | while read
printf ">> applying '$p'\n"
patch -p2 < "${PATCH_DIR}/$p"
done
+%patch99 -p1
# set libexec dir in the LDAP patch
sed -i.libexec 's,@LIBEXECDIR@,%{_libexecdir}/ssh,' \
@@ -276,6 +284,10 @@ rm -f %{buildroot}%{_datadir}/Ssh.bin
# sshd keys generator wrapper
install -D -m 0755 %{SOURCE9} %{buildroot}%{_sbindir}/sshd-gen-keys-start
+# openssh512
+#install -d -m 755 $RPM_BUILD_ROOT/usr/bin
+install -m 755 $RPM_BUILD_ROOT/usr/bin/ssh $RPM_BUILD_ROOT/usr/bin/ssh512
+
# the hmac hashes - taken from openssl
#
# re-define the __os_install_post macro: the macro strips
@@ -374,6 +386,12 @@ rpm -q openssh-fips >& /dev/null && DISA
%endif
%config %{_fwdefdir}/sshd
%endif
+%exclude %{_bindir}/ssh512
+
+%files -n openssh512
+%defattr(-,root,root)
+%attr(0755,root,root) /usr/bin/ssh512
+#%attr(444,root,root) %doc %{_mandir}/man1/ssh512.1.gz
%files helpers
%defattr(-,root,root)