Skip to content

Commit 83e0976

Browse files
authored
gh-99079: Update macOS installer to use OpenSSL 3.0.9. (GH-107474)
1 parent a24e25d commit 83e0976

File tree

3 files changed

+184
-131
lines changed

3 files changed

+184
-131
lines changed

Doc/license.rst

+180-128
Original file line numberDiff line numberDiff line change
@@ -659,134 +659,186 @@ The modules :mod:`hashlib`, :mod:`posix` and :mod:`ssl` use
659659
the OpenSSL library for added performance if made available by the
660660
operating system. Additionally, the Windows and macOS installers for
661661
Python may include a copy of the OpenSSL libraries, so we include a copy
662-
of the OpenSSL license here::
663-
664-
665-
LICENSE ISSUES
666-
==============
667-
668-
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
669-
the OpenSSL License and the original SSLeay license apply to the toolkit.
670-
See below for the actual license texts. Actually both licenses are BSD-style
671-
Open Source licenses. In case of any license issues related to OpenSSL
672-
please contact openssl-core@openssl.org.
673-
674-
OpenSSL License
675-
---------------
676-
677-
/* ====================================================================
678-
* Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
679-
*
680-
* Redistribution and use in source and binary forms, with or without
681-
* modification, are permitted provided that the following conditions
682-
* are met:
683-
*
684-
* 1. Redistributions of source code must retain the above copyright
685-
* notice, this list of conditions and the following disclaimer.
686-
*
687-
* 2. Redistributions in binary form must reproduce the above copyright
688-
* notice, this list of conditions and the following disclaimer in
689-
* the documentation and/or other materials provided with the
690-
* distribution.
691-
*
692-
* 3. All advertising materials mentioning features or use of this
693-
* software must display the following acknowledgment:
694-
* "This product includes software developed by the OpenSSL Project
695-
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
696-
*
697-
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
698-
* endorse or promote products derived from this software without
699-
* prior written permission. For written permission, please contact
700-
* openssl-core@openssl.org.
701-
*
702-
* 5. Products derived from this software may not be called "OpenSSL"
703-
* nor may "OpenSSL" appear in their names without prior written
704-
* permission of the OpenSSL Project.
705-
*
706-
* 6. Redistributions of any form whatsoever must retain the following
707-
* acknowledgment:
708-
* "This product includes software developed by the OpenSSL Project
709-
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
710-
*
711-
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
712-
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
713-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
714-
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
715-
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
716-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
717-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
718-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
719-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
720-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
721-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
722-
* OF THE POSSIBILITY OF SUCH DAMAGE.
723-
* ====================================================================
724-
*
725-
* This product includes cryptographic software written by Eric Young
726-
* (eay@cryptsoft.com). This product includes software written by Tim
727-
* Hudson (tjh@cryptsoft.com).
728-
*
729-
*/
730-
731-
Original SSLeay License
732-
-----------------------
733-
734-
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
735-
* All rights reserved.
736-
*
737-
* This package is an SSL implementation written
738-
* by Eric Young (eay@cryptsoft.com).
739-
* The implementation was written so as to conform with Netscapes SSL.
740-
*
741-
* This library is free for commercial and non-commercial use as long as
742-
* the following conditions are aheared to. The following conditions
743-
* apply to all code found in this distribution, be it the RC4, RSA,
744-
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
745-
* included with this distribution is covered by the same copyright terms
746-
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
747-
*
748-
* Copyright remains Eric Young's, and as such any Copyright notices in
749-
* the code are not to be removed.
750-
* If this package is used in a product, Eric Young should be given attribution
751-
* as the author of the parts of the library used.
752-
* This can be in the form of a textual message at program startup or
753-
* in documentation (online or textual) provided with the package.
754-
*
755-
* Redistribution and use in source and binary forms, with or without
756-
* modification, are permitted provided that the following conditions
757-
* are met:
758-
* 1. Redistributions of source code must retain the copyright
759-
* notice, this list of conditions and the following disclaimer.
760-
* 2. Redistributions in binary form must reproduce the above copyright
761-
* notice, this list of conditions and the following disclaimer in the
762-
* documentation and/or other materials provided with the distribution.
763-
* 3. All advertising materials mentioning features or use of this software
764-
* must display the following acknowledgement:
765-
* "This product includes cryptographic software written by
766-
* Eric Young (eay@cryptsoft.com)"
767-
* The word 'cryptographic' can be left out if the rouines from the library
768-
* being used are not cryptographic related :-).
769-
* 4. If you include any Windows specific code (or a derivative thereof) from
770-
* the apps directory (application code) you must include an acknowledgement:
771-
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
772-
*
773-
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
774-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
775-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
776-
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
777-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
778-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
779-
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
780-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
781-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
782-
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
783-
* SUCH DAMAGE.
784-
*
785-
* The licence and distribution terms for any publically available version or
786-
* derivative of this code cannot be changed. i.e. this code cannot simply be
787-
* copied and put under another distribution licence
788-
* [including the GNU Public Licence.]
789-
*/
662+
of the OpenSSL license here. For the OpenSSL 3.0 release,
663+
and later releases derived from that, the Apache License v2 applies::
664+
665+
666+
Apache License
667+
Version 2.0, January 2004
668+
https://www.apache.org/licenses/
669+
670+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
671+
672+
1. Definitions.
673+
674+
"License" shall mean the terms and conditions for use, reproduction,
675+
and distribution as defined by Sections 1 through 9 of this document.
676+
677+
"Licensor" shall mean the copyright owner or entity authorized by
678+
the copyright owner that is granting the License.
679+
680+
"Legal Entity" shall mean the union of the acting entity and all
681+
other entities that control, are controlled by, or are under common
682+
control with that entity. For the purposes of this definition,
683+
"control" means (i) the power, direct or indirect, to cause the
684+
direction or management of such entity, whether by contract or
685+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
686+
outstanding shares, or (iii) beneficial ownership of such entity.
687+
688+
"You" (or "Your") shall mean an individual or Legal Entity
689+
exercising permissions granted by this License.
690+
691+
"Source" form shall mean the preferred form for making modifications,
692+
including but not limited to software source code, documentation
693+
source, and configuration files.
694+
695+
"Object" form shall mean any form resulting from mechanical
696+
transformation or translation of a Source form, including but
697+
not limited to compiled object code, generated documentation,
698+
and conversions to other media types.
699+
700+
"Work" shall mean the work of authorship, whether in Source or
701+
Object form, made available under the License, as indicated by a
702+
copyright notice that is included in or attached to the work
703+
(an example is provided in the Appendix below).
704+
705+
"Derivative Works" shall mean any work, whether in Source or Object
706+
form, that is based on (or derived from) the Work and for which the
707+
editorial revisions, annotations, elaborations, or other modifications
708+
represent, as a whole, an original work of authorship. For the purposes
709+
of this License, Derivative Works shall not include works that remain
710+
separable from, or merely link (or bind by name) to the interfaces of,
711+
the Work and Derivative Works thereof.
712+
713+
"Contribution" shall mean any work of authorship, including
714+
the original version of the Work and any modifications or additions
715+
to that Work or Derivative Works thereof, that is intentionally
716+
submitted to Licensor for inclusion in the Work by the copyright owner
717+
or by an individual or Legal Entity authorized to submit on behalf of
718+
the copyright owner. For the purposes of this definition, "submitted"
719+
means any form of electronic, verbal, or written communication sent
720+
to the Licensor or its representatives, including but not limited to
721+
communication on electronic mailing lists, source code control systems,
722+
and issue tracking systems that are managed by, or on behalf of, the
723+
Licensor for the purpose of discussing and improving the Work, but
724+
excluding communication that is conspicuously marked or otherwise
725+
designated in writing by the copyright owner as "Not a Contribution."
726+
727+
"Contributor" shall mean Licensor and any individual or Legal Entity
728+
on behalf of whom a Contribution has been received by Licensor and
729+
subsequently incorporated within the Work.
730+
731+
2. Grant of Copyright License. Subject to the terms and conditions of
732+
this License, each Contributor hereby grants to You a perpetual,
733+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
734+
copyright license to reproduce, prepare Derivative Works of,
735+
publicly display, publicly perform, sublicense, and distribute the
736+
Work and such Derivative Works in Source or Object form.
737+
738+
3. Grant of Patent License. Subject to the terms and conditions of
739+
this License, each Contributor hereby grants to You a perpetual,
740+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
741+
(except as stated in this section) patent license to make, have made,
742+
use, offer to sell, sell, import, and otherwise transfer the Work,
743+
where such license applies only to those patent claims licensable
744+
by such Contributor that are necessarily infringed by their
745+
Contribution(s) alone or by combination of their Contribution(s)
746+
with the Work to which such Contribution(s) was submitted. If You
747+
institute patent litigation against any entity (including a
748+
cross-claim or counterclaim in a lawsuit) alleging that the Work
749+
or a Contribution incorporated within the Work constitutes direct
750+
or contributory patent infringement, then any patent licenses
751+
granted to You under this License for that Work shall terminate
752+
as of the date such litigation is filed.
753+
754+
4. Redistribution. You may reproduce and distribute copies of the
755+
Work or Derivative Works thereof in any medium, with or without
756+
modifications, and in Source or Object form, provided that You
757+
meet the following conditions:
758+
759+
(a) You must give any other recipients of the Work or
760+
Derivative Works a copy of this License; and
761+
762+
(b) You must cause any modified files to carry prominent notices
763+
stating that You changed the files; and
764+
765+
(c) You must retain, in the Source form of any Derivative Works
766+
that You distribute, all copyright, patent, trademark, and
767+
attribution notices from the Source form of the Work,
768+
excluding those notices that do not pertain to any part of
769+
the Derivative Works; and
770+
771+
(d) If the Work includes a "NOTICE" text file as part of its
772+
distribution, then any Derivative Works that You distribute must
773+
include a readable copy of the attribution notices contained
774+
within such NOTICE file, excluding those notices that do not
775+
pertain to any part of the Derivative Works, in at least one
776+
of the following places: within a NOTICE text file distributed
777+
as part of the Derivative Works; within the Source form or
778+
documentation, if provided along with the Derivative Works; or,
779+
within a display generated by the Derivative Works, if and
780+
wherever such third-party notices normally appear. The contents
781+
of the NOTICE file are for informational purposes only and
782+
do not modify the License. You may add Your own attribution
783+
notices within Derivative Works that You distribute, alongside
784+
or as an addendum to the NOTICE text from the Work, provided
785+
that such additional attribution notices cannot be construed
786+
as modifying the License.
787+
788+
You may add Your own copyright statement to Your modifications and
789+
may provide additional or different license terms and conditions
790+
for use, reproduction, or distribution of Your modifications, or
791+
for any such Derivative Works as a whole, provided Your use,
792+
reproduction, and distribution of the Work otherwise complies with
793+
the conditions stated in this License.
794+
795+
5. Submission of Contributions. Unless You explicitly state otherwise,
796+
any Contribution intentionally submitted for inclusion in the Work
797+
by You to the Licensor shall be under the terms and conditions of
798+
this License, without any additional terms or conditions.
799+
Notwithstanding the above, nothing herein shall supersede or modify
800+
the terms of any separate license agreement you may have executed
801+
with Licensor regarding such Contributions.
802+
803+
6. Trademarks. This License does not grant permission to use the trade
804+
names, trademarks, service marks, or product names of the Licensor,
805+
except as required for reasonable and customary use in describing the
806+
origin of the Work and reproducing the content of the NOTICE file.
807+
808+
7. Disclaimer of Warranty. Unless required by applicable law or
809+
agreed to in writing, Licensor provides the Work (and each
810+
Contributor provides its Contributions) on an "AS IS" BASIS,
811+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
812+
implied, including, without limitation, any warranties or conditions
813+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
814+
PARTICULAR PURPOSE. You are solely responsible for determining the
815+
appropriateness of using or redistributing the Work and assume any
816+
risks associated with Your exercise of permissions under this License.
817+
818+
8. Limitation of Liability. In no event and under no legal theory,
819+
whether in tort (including negligence), contract, or otherwise,
820+
unless required by applicable law (such as deliberate and grossly
821+
negligent acts) or agreed to in writing, shall any Contributor be
822+
liable to You for damages, including any direct, indirect, special,
823+
incidental, or consequential damages of any character arising as a
824+
result of this License or out of the use or inability to use the
825+
Work (including but not limited to damages for loss of goodwill,
826+
work stoppage, computer failure or malfunction, or any and all
827+
other commercial damages or losses), even if such Contributor
828+
has been advised of the possibility of such damages.
829+
830+
9. Accepting Warranty or Additional Liability. While redistributing
831+
the Work or Derivative Works thereof, You may choose to offer,
832+
and charge a fee for, acceptance of support, warranty, indemnity,
833+
or other liability obligations and/or rights consistent with this
834+
License. However, in accepting such obligations, You may act only
835+
on Your own behalf and on Your sole responsibility, not on behalf
836+
of any other Contributor, and only if You agree to indemnify,
837+
defend, and hold each Contributor harmless for any liability
838+
incurred by, or claims asserted against, such Contributor by reason
839+
of your accepting any such warranty or additional liability.
840+
841+
END OF TERMS AND CONDITIONS
790842

791843

792844
expat

Mac/BuildScript/build-installer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ def library_recipes():
246246

247247
result.extend([
248248
dict(
249-
name="OpenSSL 1.1.1u",
250-
url="https://www.openssl.org/source/openssl-1.1.1u.tar.gz",
251-
checksum='e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6',
249+
name="OpenSSL 3.0.9",
250+
url="https://www.openssl.org/source/openssl-3.0.9.tar.gz",
251+
checksum='eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90',
252252
buildrecipe=build_universal_openssl,
253253
configure=None,
254254
install=None,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update macOS installer to use OpenSSL 3.0.9.

0 commit comments

Comments
 (0)