From b242069899102685a0e8a93f5c1eb0a3c5b60a63 Mon Sep 17 00:00:00 2001 From: Andrej Rypo Date: Thu, 22 Apr 2021 20:49:14 +0200 Subject: [PATCH] License changed to Unlicense To make it clear this software is free to use for any purpose. --- composer.json | 4 +- license.md | 105 ++++++++++++-------------------------------------- readme.md | 5 ++- 3 files changed, 29 insertions(+), 85 deletions(-) diff --git a/composer.json b/composer.json index b9e0d68..ee8c1ff 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { "name": "oliva/tree", - "description": "Tree utility for handling data stored in flat data structures like databases and more.", + "description": "Utility for handling tree data structures and building trees from flat data stored in database tables and alike.", "keywords": ["tree", "utilities", "utility", "data structures"], - "license": ["BSD-2-Clause", "MIT", "GPL-3.0-or-later", "GPL-2.0-or-later"], + "license": "Unlicense", "type": "library", "authors": [ { diff --git a/license.md b/license.md index 89b6491..fdddb29 100644 --- a/license.md +++ b/license.md @@ -1,81 +1,24 @@ -# Licenses - -Permission is hereby granted to use, modify and distribute this Software -under the terms of any of the licenses listed below. - -It is not required to notify anybody under which license it is being used, -modified or distributed. - -The Software can freely be used for commercial purposes. - - -## MIT License - -Copyright (c) 2018 Andrej Rypák (https://github.com/dakujem) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the \"Software\"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -## Simplified BSD License / BSD-2-Clause - -Copyright (c) 2018 Andrej Rypák (https://github.com/dakujem) -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -## GNU General Public License - -Copyright (c) 2018 Andrej Rypák (https://github.com/dakujem) - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, -version 3 of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - - -Either version 2, version 3 or later can be used, -for the full license text see below: - -- [GPL version 2](https://www.gnu.org/licenses/gpl-2.0.html) -- [GPL version 3](https://www.gnu.org/licenses/gpl-3.0.html) +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/readme.md b/readme.md index 0fe4db9..82e85d3 100644 --- a/readme.md +++ b/readme.md @@ -8,9 +8,9 @@ Utility for handling tree data structures. > > 💿 `composer require oliva/tree` -> +> > 📖 **[documentation](doc/docs.md)** -> +> **Oliva Tree** is a powerful yet simple to use utility for handling tree data structures in PHP. @@ -59,6 +59,7 @@ Older versions of Oliva Tree run on PHP 5.4 and up and also PHP 7.0 and up. Late **1.3** - PHP 8 support added - PHP >= 7.4 required +- updated to simple permissive license (Unlicense) **1.2.3** - updated licensing to enable multi-licensing, i.e. one can now use any of GPL, MIT or BSD license, see [license.md](license.md) for more information