[MacPorts] #48579: libsodium: use release download

MacPorts noreply at macports.org
Tue Jul 28 14:28:26 UTC 2020


#48579: libsodium: use release download
--------------------------+----------------------
  Reporter:  ryandesign   |      Owner:  stromnov
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:  haspatch
      Port:  libsodium    |
--------------------------+----------------------

Comment (by hostep):

 @ryandesign

 Can you consider upgrading libsodium to 1.0.18-STABLE somehow?

 We are running against a segfault issue on macOS Catalina due to the old
 1.0.18 version when we use PHP's 'sodium_crypto_pwhash_str' function.

 You should be able to reproduce it: on macOS Catalina, install
 php72-sodium using macports (php73 and php74 and others might be affected
 as well) and then execute the following on the command line:
 php -r "sodium_crypto_pwhash_str('foo', 4, 67108864);"

 It should give you "Segmentation fault: 11"


 If I understand it correctly, homebrew had the same problem and fixed it
 by using the "stable" version: https://github.com/Homebrew/homebrew-
 core/issues/45074#issuecomment-552232462 (but I might be wrong)

 Would be appreciated if you could have a look at this problem, since we
 are a bit stuck on this problem for now since upgrading to Catalina.

 If I need to open a new ticket for this, let me know!

 Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/48579#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list