From 202f5413057936fbdf7e07a2125697701e872a83 Mon Sep 17 00:00:00 2001 From: Demin Yin Date: Mon, 23 Sep 2019 09:17:02 -0700 Subject: [PATCH] use the Apache 2 license --- README.md | 2 +- include/phpx.h | 8 +++----- include/phpx_embed.h | 8 +++----- src/array.cc | 8 +++----- src/base.cc | 8 +++----- src/class.cc | 8 +++----- src/exec.cc | 8 +++----- src/extension.cc | 8 +++----- src/function.cc | 8 +++----- src/hash.cc | 8 +++----- src/object.cc | 8 +++----- src/string.cc | 8 +++----- src/variant.cc | 8 +++----- 13 files changed, 37 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index f10b4872..436ece9f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PHP-X [![Build Status](https://api.travis-ci.org/swoole/phpx.svg)](https://travis-ci.org/swoole/phpx) -[![License](https://img.shields.io/badge/license-GPL3.0-blue.svg)](LICENSE) +[![License](https://img.shields.io/badge/license-apache2-blue.svg)](LICENSE) C++ wrapper for Zend API diff --git a/include/phpx.h b/include/phpx.h index 30db3725..5c38c09a 100644 --- a/include/phpx.h +++ b/include/phpx.h @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/include/phpx_embed.h b/include/phpx_embed.h index a29b0182..543fa3a0 100644 --- a/include/phpx_embed.h +++ b/include/phpx_embed.h @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/array.cc b/src/array.cc index 7d2183d8..40d7cd84 100644 --- a/src/array.cc +++ b/src/array.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/base.cc b/src/base.cc index 8eee9e4f..1e2db08e 100644 --- a/src/base.cc +++ b/src/base.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/class.cc b/src/class.cc index 3f4fea56..1f6af20f 100644 --- a/src/class.cc +++ b/src/class.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/exec.cc b/src/exec.cc index 97b20c58..397e3240 100644 --- a/src/exec.cc +++ b/src/exec.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/extension.cc b/src/extension.cc index 354e4e16..294a8eb5 100644 --- a/src/extension.cc +++ b/src/extension.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/function.cc b/src/function.cc index 64f02ec7..f1273349 100644 --- a/src/function.cc +++ b/src/function.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/hash.cc b/src/hash.cc index 820e0d0e..9a1b801f 100644 --- a/src/hash.cc +++ b/src/hash.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/object.cc b/src/object.cc index 1518192e..4ba14236 100644 --- a/src/object.cc +++ b/src/object.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/string.cc b/src/string.cc index 80051335..8a50e51f 100644 --- a/src/string.cc +++ b/src/string.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ diff --git a/src/variant.cc b/src/variant.cc index 93aee8a4..6a387871 100644 --- a/src/variant.cc +++ b/src/variant.cc @@ -2,13 +2,11 @@ +----------------------------------------------------------------------+ | PHP-X | +----------------------------------------------------------------------+ - | Copyright (c) 2016-2017 The Swoole Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the GPL license, | + | This source file is subject to version 2.0 of the Apache license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | - | http://www.gnu.org/licenses/ | - | If you did not receive a copy of the GPL3.0 license and are unable | + | http://www.apache.org/licenses/LICENSE-2.0.html | + | If you did not receive a copy of the Apache2.0 license and are unable| | to obtain it through the world-wide-web, please send a note to | | license@swoole.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+