Skip to content

Commit 6c785b8

Browse files
bjornmugipulla
authored andcommitted
Bug #30145579 UPDATE README IN SOURCE TREE TO NEW FORMAT
This also involves removing COPYING and replacing it with the License Book. Packaging changes accordingly. Change-Id: I501aa36117634e915a12bc74a9bce351001ed446 (cherry picked from commit cdbce8c9ce28e50e88924d4c1e5a821fedb89beb)
1 parent 7d6436b commit 6c785b8

27 files changed

+4538
-545
lines changed

CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -635,12 +635,10 @@ ENDIF()
635635
# RPM installs documentation directly from the source tree
636636
#
637637
IF(NOT INSTALL_LAYOUT MATCHES "RPM")
638-
INSTALL(FILES COPYING LICENSE.mysql
639-
DESTINATION ${INSTALL_DOCREADMEDIR}
640-
COMPONENT Readme
641-
OPTIONAL
642-
)
643-
INSTALL(FILES README DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme)
638+
INSTALL(FILES
639+
README
640+
LICENSE
641+
DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme)
644642
INSTALL(FILES ${CMAKE_BINARY_DIR}/Docs/INFO_SRC ${CMAKE_BINARY_DIR}/Docs/INFO_BIN DESTINATION ${INSTALL_DOCDIR})
645643
# MYSQL_DOCS_LOCATON is used in "make dist", points to the documentation directory
646644
SET(MYSQL_DOCS_LOCATION "" CACHE PATH "Location from where documentation is copied")

COPYING

Lines changed: 0 additions & 339 deletions
This file was deleted.

LICENSE

Lines changed: 4434 additions & 0 deletions
Large diffs are not rendered by default.

README

Lines changed: 10 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,17 @@
1-
MySQL Server 5.6
2-
3-
This is a release of MySQL, a dual-license SQL database server.
4-
For the avoidance of doubt, this particular copy of the software
5-
is released under the version 2 of the GNU General Public License.
6-
MySQL is brought to you by Oracle.
7-
81
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
92

10-
License information can be found in the COPYING file.
11-
12-
MySQL FOSS License Exception
13-
We want free and open source software applications under certain
14-
licenses to be able to use specified GPL-licensed MySQL client
15-
libraries despite the fact that not all such FOSS licenses are
16-
compatible with version 2 of the GNU General Public License.
17-
Therefore there are special exceptions to the terms and conditions
18-
of the GPLv2 as applied to these client libraries, which are
19-
identified and described in more detail in the FOSS License
20-
Exception at
21-
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.
3+
This is a release of MySQL, an SQL database server.
224

23-
This distribution may include materials developed by third
24-
parties. For license and attribution notices for these
25-
materials, please refer to the documentation that accompanies
26-
this distribution (see the "Licenses for Third-Party Components"
27-
appendix) or view the online documentation at
28-
<http://dev.mysql.com/doc/>.
5+
License information can be found in the LICENSE file.
296

30-
GPLv2 Disclaimer
31-
For the avoidance of doubt, except that if any license choice
32-
other than GPL or LGPL is available it will apply instead,
33-
Oracle elects to use only the General Public License version 2
34-
(GPLv2) at this time for any software where a choice of GPL
35-
license versions is made available with the language indicating
36-
that GPLv2 or any later version may be used, or where a choice
37-
of which version of the GPL is applied is otherwise unspecified.
7+
This distribution may include materials developed by third parties.
8+
For license and attribution notices for these materials,
9+
please refer to the LICENSE file.
3810

39-
For further information about MySQL or additional documentation,
40-
see:
41-
- The latest information about MySQL: http://www.mysql.com
42-
- The current MySQL documentation: http://dev.mysql.com/doc
11+
For further information on MySQL or additional documentation, visit
12+
http://dev.mysql.com/doc/
4313

44-
Some Reference Manual sections of special interest:
45-
- If you are migrating from an older version of MySQL, please
46-
read the "Upgrading from..." section.
47-
- To see what MySQL can do, take a look at the features section.
48-
- For installation instructions, see the Installing and Upgrading
49-
chapter.
50-
- For the new features/bugfix history, see the MySQL Change History
51-
appendix.
14+
For additional downloads and the source of MySQL, visit
15+
http://dev.mysql.com/downloads/
5216

53-
You can browse the MySQL Reference Manual online or download it
54-
in any of several formats at the URL given earlier in this file.
55-
Source distributions include a local copy of the manual in the
56-
Docs directory.
17+
MySQL is brought to you by the MySQL team at Oracle.

packaging/WiX/CMakeLists.txt

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -88,22 +88,18 @@ FIND_PROGRAM(CANDLE_EXECUTABLE candle ${WIX_DIR})
8888
FIND_PROGRAM(LIGHT_EXECUTABLE light ${WIX_DIR})
8989

9090
# WiX wants the license text as rtf; if there is no rtf license,
91-
# we create a fake one from the plain text COPYING file.
92-
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.rtf")
93-
SET(COPYING_RTF "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.rtf")
91+
# we create a fake one from the plain text LICENSE file.
92+
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.rtf")
93+
SET(LICENSE_RTF "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.rtf")
9494
ELSE()
95-
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE.mysql")
96-
SET(LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE.mysql")
97-
ELSE()
98-
SET(LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../COPYING")
99-
ENDIF()
95+
SET(LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE")
10096
FILE(READ ${LICENSE_FILE} CONTENTS)
10197
STRING(REGEX REPLACE "\n" "\\\\par\n" CONTENTS "${CONTENTS}")
10298
STRING(REGEX REPLACE "\t" "\\\\tab" CONTENTS "${CONTENTS}")
103-
FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/COPYING.rtf" "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\\viewkind4\\uc1\\pard\\lang1031\\f0\\fs15")
104-
FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/COPYING.rtf" "${CONTENTS}")
105-
FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/COPYING.rtf" "\n}\n")
106-
SET(COPYING_RTF "${CMAKE_CURRENT_BINARY_DIR}/COPYING.rtf")
99+
FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.rtf" "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\\viewkind4\\uc1\\pard\\lang1031\\f0\\fs15")
100+
FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.rtf" "${CONTENTS}")
101+
FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.rtf" "\n}\n")
102+
SET(LICENSE_RTF "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.rtf")
107103
ENDIF()
108104
SET(CPACK_WIX_CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/CPackWixConfig.cmake)
109105
SET(CPACK_WIX_INCLUDE "${CMAKE_CURRENT_BINARY_DIR}/mysql_server_extra.wxs;${CMAKE_CURRENT_SOURCE_DIR}/custom_ui.wxs")

packaging/WiX/create_msi.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -33,7 +33,7 @@ SET(MINOR_VERSION "@MINOR_VERSION@")
3333
SET(PATCH_VERSION "@PATCH_VERSION@")
3434
SET(CMAKE_SIZEOF_VOID_P @CMAKE_SIZEOF_VOID_P@)
3535
SET(MANUFACTURER "@MANUFACTURER@")
36-
SET(COPYING_RTF "@COPYING_RTF@")
36+
SET(LICENSE_RTF "@LICENSE_RTF@")
3737
SET(CPACK_WIX_CONFIG "@CPACK_WIX_CONFIG@")
3838
SET(CPACK_WIX_INCLUDE "@CPACK_WIX_INCLUDE@")
3939

packaging/WiX/mysql_server.wxs.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
33

44
<!--
5-
Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
5+
Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
66

77
This program is free software; you can redistribute it and/or modify
88
it under the terms of the GNU General Public License, version 2.0,
@@ -207,7 +207,7 @@
207207
<!-- License -->
208208
<WixVariable
209209
Id="WixUILicenseRtf"
210-
Value="@COPYING_RTF@"/>
210+
Value="@LICENSE_RTF@"/>
211211

212212
<!-- Installation root-->
213213
<Directory Id='TARGETDIR' Name='SourceDir'>

packaging/deb-in/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -48,7 +48,6 @@ IF (DEB_PRODUCT STREQUAL "commercial")
4848
SET (DEB_PRODUCTNAMEC "Commercial")
4949
SET (DEB_NOTPRODUCTNAME "community")
5050
SET (DEB_LICENSENAME "Advanced")
51-
SET (DEB_INSTALL_LICENSEFILE "LICENSE.mysql")
5251
SET (DEB_SERVERVERSION "${VERSION}+commercial-1")
5352
SET (DEB_PLUGIN_SETPERMISSION "")
5453
SET (DEB_MAN_SETPERMISSION "")
@@ -91,12 +90,12 @@ ELSE()
9190
SET (DEB_PRODUCTNAMEC "Community")
9291
SET (DEB_NOTPRODUCTNAME "commercial")
9392
SET (DEB_LICENSENAME "GPL")
94-
SET (DEB_INSTALL_LICENSEFILE "COPYING")
9593
SET (DEB_SERVERVERSION "${VERSION}-1")
9694
SET (DEB_REMOVEPATTERN "com.in")
9795
SET (DEB_PLUGIN_SETPERMISSION "usr/bin/mysql_setpermission")
9896
SET (DEB_MAN_SETPERMISSION "usr/share/man/man1/mysql_setpermission.1")
9997
ENDIF()
98+
SET (DEB_INSTALL_LICENSEFILE "LICENSE")
10099

101100
# Platform specifics. The differences are generally only distro version
102101
# and whether or not systemd and/or apparmor are available

packaging/deb-in/copyright.com.in

Lines changed: 12 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,61 +4,21 @@ Upstream-Contact: MySQL Release Engineering <[email protected]>
44
Source: http://dev.mysql.com/
55

66
Files: *
7-
Copyright: 2000, 2018, Oracle and/or its affiliates. All rights reserved.
7+
Copyright: 2000, 2019, Oracle and/or its affiliates. All rights reserved.
88
License: Commercial
9-
This is a release of MySQL, a dual-license SQL database server.
10-
For the avoidance of doubt, this particular copy of the software
11-
is released under a commercial license and the GNU General Public
12-
License does not apply. MySQL is brought to you by Oracle.
9+
This is a release of MySQL, an SQL database server.
1310
.
14-
This distribution may include materials developed by third
15-
parties. For license and attribution notices for these
16-
materials, please refer to the documentation that accompanies
17-
this distribution (see the "Licenses for Third-Party Components"
18-
appendix) or view the online documentation at
19-
<http://dev.mysql.com/doc/>.
11+
License information can be found in the LICENSE file.
2012
.
21-
This software and related documentation are provided under a license
22-
agreement containing restrictions on use and disclosure and are protected by
23-
intellectual property laws. Except as expressly permitted in your license
24-
agreement or allowed by law, you may not use, copy, reproduce, translate,
25-
broadcast, modify, license, transmit, distribute, exhibit, perform, publish,
26-
or display any part, in any form, or by any means. Reverse engineering,
27-
disassembly, or decompilation of this software, unless required by law for
28-
interoperability, is prohibited.
13+
This distribution may include materials developed by third parties.
14+
For license and attribution notices for these materials,
15+
please refer to the LICENSE file.
2916
.
30-
If this software or related documentation is delivered to the U.S.
31-
Government or anyone licensing it on behalf of the U.S. Government, the
32-
following notice is applicable:
17+
For more information on MySQL, visit
18+
https://docs.oracle.com/cd/E17952_01/mysql-5.6-en/index.html
19+
or http://dev.mysql.com/doc/
3320
.
34-
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related
35-
documentation and technical data delivered to U.S. Government customers are
36-
"commercial computer software" or "commercial technical data" pursuant to
37-
the applicable Federal Acquisition Regulation and agency-specific
38-
supplemental regulations. As such, the use, duplication, disclosure,
39-
modification, and adaptation shall be subject to the restrictions and
40-
license terms set forth in the applicable Government contract, and, to the
41-
extent applicable by the terms of the Government contract, the additional
42-
rights set forth in FAR 52.227-19, Commercial Computer Software License
43-
(December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA
44-
94065.
21+
For additional downloads of MySQL, visit
22+
https://support.oracle.com/
4523
.
46-
This software is developed for general use in a variety of information
47-
management applications. It is not developed or intended for use in any
48-
inherently dangerous applications, including applications which may create a
49-
risk of personal injury. If you use this software in dangerous applications,
50-
then you shall be responsible to take all appropriate fail-safe, backup,
51-
redundancy, and other measures to ensure the safe use of this software.
52-
Oracle Corporation and its affiliates disclaim any liability for any damages
53-
caused by use of this software in dangerous applications.
54-
.
55-
Oracle is a registered trademark of Oracle Corporation and/or its
56-
affiliates. Other names may be trademarks of their respective owners.
57-
.
58-
This software and documentation may provide access to or information on
59-
content, products, and services from third parties. Oracle Corporation and
60-
its affiliates are not responsible for and expressly disclaim all warranties
61-
of any kind with respect to third-party content, products, and services.
62-
Oracle Corporation and its affiliates will not be responsible for any loss,
63-
costs, or damages incurred due to your access to or use of third-party
64-
content, products, or services.
24+
MySQL is brought to you by the MySQL team at Oracle.

packaging/deb-in/copyright.gpl.in

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,20 @@ Upstream-Name: @DEB_COPYRIGHT_UPSTREAMNAME@
33
Upstream-Contact: MySQL Release Engineering <[email protected]>
44
Source: http://dev.mysql.com/
55

6-
Copyright: 2000, 2018, Oracle and/or its affiliates. All rights reserved.
6+
Copyright: 2000, 2019, Oracle and/or its affiliates. All rights reserved.
77
License:
8-
This is a release of MySQL, a dual-license SQL database server.
9-
For the avoidance of doubt, this particular copy of the software
10-
is released under the version 2 of the GNU General Public License.
11-
MySQL is brought to you by Oracle.
8+
This is a release of MySQL, an SQL database server.
129
.
13-
MySQL FOSS License Exception
14-
We want free and open source software applications under certain
15-
licenses to be able to use specified GPL-licensed MySQL client
16-
libraries despite the fact that not all such FOSS licenses are
17-
compatible with version 2 of the GNU General Public License.
18-
Therefore there are special exceptions to the terms and conditions
19-
of the GPLv2 as applied to these client libraries, which are
20-
identified and described in more detail in the FOSS License
21-
Exception at
22-
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.
10+
License information can be found in the LICENSE file.
2311
.
24-
This distribution may include materials developed by third
25-
parties. For license and attribution notices for these
26-
materials, please refer to the documentation that accompanies
27-
this distribution (see the "Licenses for Third-Party Components"
28-
appendix) or view the online documentation at
29-
<http://dev.mysql.com/doc/>.
12+
This distribution may include materials developed by third parties.
13+
For license and attribution notices for these materials,
14+
please refer to the LICENSE file.
3015
.
31-
GPLv2 Disclaimer
32-
For the avoidance of doubt, except that if any license choice
33-
other than GPL or LGPL is available it will apply instead,
34-
Oracle elects to use only the General Public License version 2
35-
(GPLv2) at this time for any software where a choice of GPL
36-
license versions is made available with the language indicating
37-
that GPLv2 or any later version may be used, or where a choice
16+
For further information on MySQL or additional documentation, visit
17+
http://dev.mysql.com/doc/
3818
.
39-
The full text of the GNU General Public License version 2 can
40-
be found in the file
41-
`/usr/share/mysql/doc/@DEB_INSTALL_LICENSEFILE@'.
19+
For additional downloads and the source of MySQL, visit
20+
http://dev.mysql.com/downloads/
21+
.
22+
MySQL is brought to you by the MySQL team at Oracle.

0 commit comments

Comments
 (0)