Eric Dynamic
2014-Apr-09 00:05 UTC
immediate "gotcha" in compilation!? 6.6p1 versus openssl 1.0.1g
So they released openssl 101g to patch for a hole. One then wishes to recompile openssh. After ".configure" I get this: synergy[124]# make if test "doc" = "cat"; then manpage=./`echo scp.1.out | sed 's/\.[1-9]\.out$/\.0/'`; else manpage=./`echo scp.1.out | sed 's/\.out$//'`; fi; if test "doc" = "man"; then /usr/bin/sed -e 's|/etc/ssh/ssh_config|/usr/etc/ssh_config|g' -e 's|/etc/ssh/ssh_known_hosts|/usr/etc/ssh_known_hosts|g' -e 's|/etc/ssh/sshd_config|/usr/etc/sshd_config|g' -e 's|/usr/libexec|/usr/libexec|g' -e 's|/etc/shosts.equiv|/usr/etc/shosts.equiv|g' -e 's|/etc/ssh/ssh_host_key|/usr/etc/ssh_host_key|g' -e 's|/etc/ssh/ssh_host_ecdsa_key|/usr/etc/ssh_host_ecdsa_key|g' -e 's|/etc/ssh/ssh_host_dsa_key|/usr/etc/ssh_host_dsa_key|g' -e 's|/etc/ssh/ssh_host_rsa_key|/usr/etc/ssh_host_rsa_key|g' -e 's|/etc/ssh/ssh_host_ed25519_key|/usr/etc/ssh_host_ed25519_key|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 's|/etc/moduli|/usr/etc/moduli|g' -e 's|/etc/ssh/moduli|/usr/etc/moduli|g' -e 's|/etc/ssh/sshrc|/usr/etc/sshrc|g' -e 's|/usr/X11R6/bin/xauth|undefined|g' -e 's|/var/empty|/var/empty|g' -e 's|/usr/bin:/bin:/usr/sbin:/sbin||g' ${manpage} | /bin/csh ./fixalgorithms /usr/bin/sed | nawk -f ./mdoc2man.awk > scp.1.out; else /usr/bin/sed -e 's|/etc/ssh/ssh_config|/usr/etc/ssh_config|g' -e 's|/etc/ssh/ssh_known_hosts|/usr/etc/ssh_known_hosts|g' -e 's|/etc/ssh/sshd_config|/usr/etc/sshd_config|g' -e 's|/usr/libexec|/usr/libexec|g' -e 's|/etc/shosts.equiv|/usr/etc/shosts.equiv|g' -e 's|/etc/ssh/ssh_host_key|/usr/etc/ssh_host_key|g' -e 's|/etc/ssh/ssh_host_ecdsa_key|/usr/etc/ssh_host_ecdsa_key|g' -e 's|/etc/ssh/ssh_host_dsa_key|/usr/etc/ssh_host_dsa_key|g' -e 's|/etc/ssh/ssh_host_rsa_key|/usr/etc/ssh_host_rsa_key|g' -e 's|/etc/ssh/ssh_host_ed25519_key|/usr/etc/ssh_host_ed25519_key|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 's|/etc/moduli|/usr/etc/moduli|g' -e 's|/etc/ssh/moduli|/usr/etc/moduli|g' -e 's|/etc/ssh/sshrc|/usr/etc/sshrc|g' -e 's|/usr/X11R6/bin/xauth|undefined|g' -e 's|/var/empty|/var/empty|g' -e 's|/usr/bin:/bin:/usr/sbin:/sbin||g' ${manpage} | /bin/csh ./fixalgorithms /usr/bin/sed > scp.1.out; fi Badly placed ()'s. *** [scp.1.out] Error code 1 Stop in /usr/local/openssh/openssh-6.6p1. there are no parentheses at all in the above, by the way. here was my .configure command: ./configure --prefix=/usr --with-ssl-dir=/usr/local/openssl/openssl-1.0.1g here is the system I'm running on: FreeBSD synergy.transbay.net 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Wed Dec 18 21:17:07 PST 2013 [1]root at synergy.transbay.net:/usr/src/sys/i386/compile/SYNERGY i386 is this something that can be quickly patched up? The prolog above (prior to actual compilations) can be manually performed, but I'd figure this is hitting many people and I'd rather go fresh with a patched version that gets past this (syntax?) issue. References 1. mailto:root at synergy.transbay.net:/usr/src/sys/i386/compile/SYNERGY
Darren Tucker
2014-Apr-09 07:53 UTC
immediate "gotcha" in compilation!? 6.6p1 versus openssl 1.0.1g
On Wed, Apr 9, 2014 at 2:05 AM, Eric Dynamic <ecsd at transbay.net> wrote: [...]> -e 's|/usr/bin:/bin:/usr/sbin:/sbin||g' ${manpage} | /bin/csh > ./fixalgorithmswell fixalgorithms is a Bourne shell script, so that's likely the problem. The top of the Makefile has this: # uncomment if you run a non bourne compatable shell. Ie. csh #SHELL = /bin/sh -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Dag-Erling Smørgrav
2014-Apr-10 21:12 UTC
immediate "gotcha" in compilation!? 6.6p1 versus openssl 1.0.1g
Eric Dynamic <ecsd at transbay.net> writes:> So they released openssl 101g to patch for a hole. One then wishes to > recompile openssh.That's not necessary. OpenSSH doesn't use that part of OpenSSL. DES -- Dag-Erling Sm?rgrav - des at des.no