-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add old_openssl port group #4297
Conversation
Notifying maintainers: |
Travis Build #6407 Errored. Lint results
Port php73 success on xcode10.2. Log The build timed out. |
Here you go. Takes a little longer time than I've thought :) @macportsbot retry |
Notifying maintainers: |
Travis Build #6509 Errored. Lint results
Port php73 success on xcode10.2. Log The build timed out. |
Looks like a good start. Many thanks. One comment I would have is I would make it support 1.1 as well as 1.0, and provide an option for the port using it to select which to use. It just seems a little inconsistent to me to only use it for 1.0. If it where used for 1.1 (and future releases) as well I think it would improve maintainability going forward. |
Notifying maintainers: |
I prefer to keep ports using the latest openssl free of bothering with another port group. Once OpenSSL 3.0 is out, it should be easy to add 1.1 support.
I think the option |
Thats ok, but then I would propose renaming the PG to make it clearer its for supporting legacy openssl versions.
Yes, i guess it is ;) |
How about calling it |
Personally i would use |
This is a step in OpenSSL 1.1 migration. Ref: #3822 Ref: https://trac.macports.org/ticket/52101
They are not compatible with OpenSSL 1.1. For example, php56-openssl fails with: /opt/local/var/macports/build/_Users_yen_var_syncthing_Projects_macports-ports_lang_php/php56-openssl/work/php-5.6.40/ext/openssl.c:1904:15: error: incomplete definition of type 'struct X509_extension_st' p = extension->value->data; ~~~~~~~~~^ All ports tested with the following PHP script: <?php echo file_get_contents('https://httpbin.org/ip'); ?> Closes: https://trac.macports.org/ticket/58464
No revbump as the result binary should remain the same
Done renaming! Actually I've once considered "legacy" but the word gives me a feeling that openssl 1.0 is no longer supported upstream ;) |
Travis Build #6533 Errored. Lint results
Port php73 success on xcode10.2. Log The build timed out. |
@yan12125 your change of port:ruby looks good to me |
Thanks for checking it out! Gonna merge this - all changes keep backward compatibility IMO. And thanks for reviewing @cjones051073! |
Description
They are not compatible with OpenSSL 1.1. For example, php56-openssl
fails with:
All ports tested with the following PHP script:
Closes: https://trac.macports.org/ticket/58464
Type(s)
Tested on
macOS 10.14.4 18E226
Xcode 10.2.1 10E1001
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
? only php*-openssl ports