summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2024-02-06 18:59:23 +0100
committerGitHub <noreply@github.com>2024-02-06 18:59:23 +0100
commitb39119916c0daaf5e5fdfec63e18ad97f29e2e72 (patch)
treefccc2b6d576701a6355fef75ea5c4c90b6eadc61
parent[3.12] gh-112302: Backport SBOM generation tooling (#114730) (diff)
downloadcpython-b39119916c0daaf5e5fdfec63e18ad97f29e2e72.tar.gz
cpython-b39119916c0daaf5e5fdfec63e18ad97f29e2e72.tar.bz2
cpython-b39119916c0daaf5e5fdfec63e18ad97f29e2e72.zip
[3.12] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license (#115094)
Fix invalid reference to Sound eXchange (SoX) 12.17.7 license
-rw-r--r--Doc/license.rst49
-rw-r--r--Modules/audioop.c46
2 files changed, 48 insertions, 47 deletions
diff --git a/Doc/license.rst b/Doc/license.rst
index a2c48e1f0f1..21dbd8ebf43 100644
--- a/Doc/license.rst
+++ b/Doc/license.rst
@@ -1045,29 +1045,32 @@ https://www.w3.org/TR/xml-c14n2-testcases/ and is distributed under the
Audioop
-------
-The audioop module uses the code base in g771.c file of the SoX project::
-
- Programming the AdLib/Sound Blaster
- FM Music Chips
- Version 2.0 (24 Feb 1992)
- Copyright (c) 1991, 1992 by Jeffrey S. Lee
- jlee@smylex.uucp
- Warranty and Copyright Policy
- This document is provided on an "as-is" basis, and its author makes
- no warranty or representation, express or implied, with respect to
- its quality performance or fitness for a particular purpose. In no
- event will the author of this document be liable for direct, indirect,
- special, incidental, or consequential damages arising out of the use
- or inability to use the information contained within. Use of this
- document is at your own risk.
- This file may be used and copied freely so long as the applicable
- copyright notices are retained, and no modifications are made to the
- text of the document. No money shall be charged for its distribution
- beyond reasonable shipping, handling and duplication costs, nor shall
- proprietary changes be made to this document so that it cannot be
- distributed freely. This document may not be included in published
- material or commercial packages without the written consent of its
- author.
+The audioop module uses the code base in g771.c file of the SoX project.
+https://sourceforge.net/projects/sox/files/sox/12.17.7/sox-12.17.7.tar.gz
+
+ This source code is a product of Sun Microsystems, Inc. and is provided
+ for unrestricted use. Users may copy or modify this source code without
+ charge.
+
+ SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
+ THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+
+ Sun source code is provided with no support and without any obligation on
+ the part of Sun Microsystems, Inc. to assist in its use, correction,
+ modification or enhancement.
+
+ SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
+ OR ANY PART THEREOF.
+
+ In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ or profits or other special, indirect and consequential damages, even if
+ Sun has been advised of the possibility of such damages.
+
+ Sun Microsystems, Inc.
+ 2550 Garcia Avenue
+ Mountain View, California 94043
asyncio
diff --git a/Modules/audioop.c b/Modules/audioop.c
index 604306d4492..94e82f1c2e6 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -1,33 +1,31 @@
/* The audioop module uses the code base in g777.c file of the Sox project.
- * Source: https://web.archive.org/web/19970716121258/http://www.spies.com/Sox/Archive/soxgamma.tar.gz
- * Programming the AdLib/Sound Blaster
- * FM Music Chips
- * Version 2.0 (24 Feb 1992)
- *
- * Copyright (c) 1991, 1992 by Jeffrey S. Lee
- *
- * jlee@smylex.uucp
+ Source: https://sourceforge.net/projects/sox/files/sox/12.17.7/sox-12.17.7.tar.gz
+
+ Copyright of g771.c:
+
+ * This source code is a product of Sun Microsystems, Inc. and is provided
+ * for unrestricted use. Users may copy or modify this source code without
+ * charge.
*
+ * SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
+ * THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
+ * Sun source code is provided with no support and without any obligation on
+ * the part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Warranty and Copyright Policy
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
+ * OR ANY PART THEREOF.
*
- * This document is provided on an "as-is" basis, and its author makes
- * no warranty or representation, express or implied, with respect to
- * its quality performance or fitness for a particular purpose. In no
- * event will the author of this document be liable for direct, indirect,
- * special, incidental, or consequential damages arising out of the use
- * or inability to use the information contained within. Use of this
- * document is at your own risk.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * This file may be used and copied freely so long as the applicable
- * copyright notices are retained, and no modifications are made to the
- * text of the document. No money shall be charged for its distribution
- * beyond reasonable shipping, handling and duplication costs, nor shall
- * proprietary changes be made to this document so that it cannot be
- * distributed freely. This document may not be included in published
- * material or commercial packages without the written consent of its
- * author. */
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043 */
/* audioopmodule - Module to detect peak values in arrays */