From b366c77370c277223be123e05e5ef15fafbce185 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Mon, 18 Sep 2017 17:38:49 +0200 Subject: [PATCH] added license and changed depreated URLs --- LICENSE | 34 ++++++++++++++++++++++++++++ build/templates/megacmd/PKGBUILD | 2 +- build/templates/megacmd/megacmd.spec | 2 +- src/megacmdexecuter.cpp | 5 ++-- 4 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..3b57baea --- /dev/null +++ b/LICENSE @@ -0,0 +1,34 @@ +Copyright (c) 2013, Mega Limited +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. 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. + +The previous applies to all sources and binaries save +those explicitly distributed under the terms of the GNU General Public +License (see http://www.gnu.org/copyleft/gpl.txt for details), and the +interactive MEGAcmdShell executables (mega-cmd in linux, MEGAcmdShell +in MAC and MEGAcmd.exe in Windows), distributed under the aforementioned +GNU General Public License. + diff --git a/build/templates/megacmd/PKGBUILD b/build/templates/megacmd/PKGBUILD index edb4d448..3f92493c 100644 --- a/build/templates/megacmd/PKGBUILD +++ b/build/templates/megacmd/PKGBUILD @@ -24,7 +24,7 @@ epoch= pkgdesc="MEGA Command Line Interactive and Scriptable Application" arch=('i686' 'x86_64') url="http://mega.nz/cmd" -license=("https://github.com/meganz/sdk/blob/megacmd/LICENSE") +license=("https://github.com/meganz/meganz/blob/master/LICENSE") groups=() depends=('glibc' 'gcc-libs' 'sqlite' 'openssl' 'zlib' 'libpsl' 'icu' 'bash-completion' 'pcre') makedepends=('unzip' 'wget' 'ca-certificates') diff --git a/build/templates/megacmd/megacmd.spec b/build/templates/megacmd/megacmd.spec index 5287c148..818f3c21 100644 --- a/build/templates/megacmd/megacmd.spec +++ b/build/templates/megacmd/megacmd.spec @@ -2,7 +2,7 @@ Name: megacmd Version: megacmd_VERSION Release: 1%{?dist} Summary: MEGA Command Line Interactive and Scriptable Application -License: https://github.com/meganz/sdk/blob/megacmd/LICENSE +License: https://github.com/meganz/meganz/blob/master/LICENSE Group: Applications/Others Url: https://mega.nz Source0: megacmd_%{version}.tar.gz diff --git a/src/megacmdexecuter.cpp b/src/megacmdexecuter.cpp index ad30272d..97a4609b 100644 --- a/src/megacmdexecuter.cpp +++ b/src/megacmdexecuter.cpp @@ -5983,8 +5983,9 @@ void MegaCmdExecuter::executecommand(vector words, map *clf { OUTSTREAM << "MEGA SDK version: " << MEGA_MAJOR_VERSION << "." << MEGA_MINOR_VERSION << "." << MEGA_MICRO_VERSION << endl; - OUTSTREAM << "Credits: https://github.com/meganz/sdk/blob/master/CREDITS.md" << endl; - OUTSTREAM << "License: https://github.com/meganz/sdk/blob/megacmd/LICENSE" << endl; + OUTSTREAM << "MEGA SDK Credits: https://github.com/meganz/sdk/blob/master/CREDITS.md" << endl; + OUTSTREAM << "MEGA SDK License: https://github.com/meganz/sdk/blob/master/LICENSE" << endl; + OUTSTREAM << "MEGAcmd License: https://github.com/meganz/megacmd/blob/master/LICENSE" << endl; OUTSTREAM << "Features enabled:" << endl;