[mosh-devel] (fwd) Fw: Re: Mosh 1.2.6 release candidate available for testing]

Ryan Steinmetz zi at freebsd.org
Tue Jun 7 10:15:28 EDT 2016


On (06/07/16 00:28), john hood wrote:
>The week of travel turned out to be busier than I expected.  But I've
>checked over the FreeBSD issues a bit:
>
>* Not a post-1.2.5 regression, neither 1.2.5 nor 1.2.4 will configure
>automatically for me on FreeBSD 10.3 without the OpenSSL package.  (But
>definitely still a wart.)
>
>* It sounds like Peter has found a decent solution for the port.  Is
>that correct?
>

If it works, it's functional.  I tend to view setting environment
variables during complication time as a less-clean way of addressing an
issue though.  I usually prefer that configure does the right thing or
will do the right thing with an argument.

>* Software should support both base and ports OpenSSL on FreeBSD, but
>which is the preferred option?  (Obviously if private libcrypto+libssl
>ever happens, ports will be the only option.)  Would sidestepping the
>issue with Nettle be favored or not?
>

I hate having two copies of openssl, kerberos or any other library
installed on a system.  I try to avoid it if at all possible.

Nettle just adds another unnecessary dependency--the system already has
OpenSSL available.

>(I am really rather tempted to switch configure's default for FreeBSD to
>Nettle and say "Done.")

Just another dep.

-r

>
>regards,
>
>  --jh
>
>On 5/31/16 4:51 PM, Keith Winstein wrote:
>> (adding mosh-devel list)
>>
>> Thanks, Ryan. This may have come from 0eb61480
>> (https://github.com/mobile-shell/mosh/commit/0eb61480), when we made it
>> a fatal error if pkg-config fails to find the desired library (when
>> adding support for Apple Common Crypto and Nettle alongside OpenSSL).
>>
>> Perhaps we should just make it a warning...?
>>
>> On Tue, May 31, 2016 at 1:02 PM, Ryan Steinmetz <zi at freebsd.org
>> <mailto:zi at freebsd.org>> wrote:
>>
>>     Keith,
>>
>>     FreeBSD ships with OpenSSL, however, (as mentioned) does not provide .pc
>>     files.  .pc files are only installed alongside the openssl/libressl
>>     ports.
>>
>>     mosh's configure smarts should:
>>     - Look for the openssl libraries in a couple of default locations
>>      (/usr/lib and /usr/local/lib).
>>     - Should provide a --with-openssl-libs and --with-openssl-includes
>>      configure options.
>>
>>     The existing configure script from mosh 1.2.5 finds the libraries fine.
>>
>>
>>     Let me know if you have any questions, thanks,
>>     -r
>>
>>     ----- Forwarded message from Peter Jeremy <peter at rulingia.com
>>     <mailto:peter at rulingia.com>> -----
>>
>>     Date: Wed, 1 Jun 2016 05:57:15 +1000
>>     From: Peter Jeremy <peter at rulingia.com <mailto:peter at rulingia.com>>
>>     To: zi at FreeBSD.org
>>     Subject: Fw: Re: [mosh-devel] Mosh 1.2.6 release candidate available
>>     for testing]
>>     User-Agent: Mutt/1.6.1 (2016-04-27)
>>
>>     Sorry, I should have copied you on the attached.
>>
>>     --
>>     Peter Jeremy
>>
>>     Date: Tue, 31 May 2016 20:45:02 +1000
>>     From: Peter Jeremy <peter at server.rulingia.com
>>     <mailto:peter at server.rulingia.com>>
>>     To: Keith Winstein <keithw at mit.edu <mailto:keithw at mit.edu>>
>>     Cc: Richard Woodbury <rpwoodbu at mybox.org <mailto:rpwoodbu at mybox.org>>
>>     Subject: Re: [mosh-devel] Mosh 1.2.6 release candidate available for
>>     testing
>>     User-Agent: Mutt/1.6.1 (2016-04-27)
>>
>>     Hi Keith,
>>
>>     On 2016-May-30 00:33:27 -0700, Keith Winstein <keithw at mit.edu
>>     <mailto:keithw at mit.edu>> wrote:
>>
>>         Could you please send in some positive testing reports on the
>>         Mosh 1.2.6
>>         release candidate?
>>
>>
>>     It won't configure with the base OpenSSL on FreeBSD 10.3 because FreeBSD
>>     doesn't include the pkg-config files;
>>
>>     configure:8821: checking for CRYPTO
>>     configure:8828: $PKG_CONFIG --exists --print-errors "openssl"
>>     Package openssl was not found in the pkg-config search path.
>>     Perhaps you should add the directory containing `openssl.pc'
>>     to the PKG_CONFIG_PATH environment variable
>>     Package 'openssl', required by 'world', not found
>>
>>     Possibly the port maintainer can work around that.
>>
>>     If I install OpenSSL or LibreSSL from ports then mosh builds and works.
>>     I've tried 1.2.5.95rc1 as a server with both itself 1.2.4a as a client
>>     and don't see any obvious issues.
>>
>>     Note that most of the self tests are skipped:
>>
>>     make  check-TESTS
>>     PASS: ocb-aes
>>     PASS: encrypt-decrypt
>>     PASS: base64
>>     SKIP: e2e-success.test
>>     SKIP: e2e-failure.test
>>     SKIP: emulation-ascii-iso-8859.test
>>     SKIP: emulation-80th-column.test
>>     SKIP: emulation-attributes-vt100.test
>>     SKIP: emulation-attributes-16color.test
>>     SKIP: emulation-attributes-256color8.test
>>     SKIP: emulation-attributes-256color248.test
>>     SKIP: emulation-back-tab.test
>>     SKIP: emulation-cursor-motion.test
>>     SKIP: emulation-multiline-scroll.test
>>     SKIP: emulation-wrap-across-frames.test
>>     SKIP: prediction-unicode.test
>>     SKIP: pty-deadlock.test
>>     SKIP: server-network-timeout.test
>>     SKIP: server-signal-timeout.test
>>     SKIP: window-resize.test
>>     SKIP: unicode-combine-fallback-assert.test
>>     SKIP: unicode-later-combining.test
>>
>>     --
>>     Peter Jeremy
>>
>>
>>
>>
>>
>>
>>     ----- End forwarded message -----
>>
>>     --
>>     Ryan Steinmetz
>>     PGP: 9079 51A3 34EF 0CD4 F228  EDC6 1EF8 BA6B D028 46D7
>>
>>
>>
>>
>> _______________________________________________
>> mosh-devel mailing list
>> mosh-devel at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>>
>

-- 
Ryan Steinmetz
PGP: 9079 51A3 34EF 0CD4 F228  EDC6 1EF8 BA6B D028 46D7


More information about the mosh-devel mailing list