Skip to content

Commit

Permalink
added license and changed depreated URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
polmr committed Sep 18, 2017
1 parent ad06964 commit b366c77
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
34 changes: 34 additions & 0 deletions 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

This comment has been minimized.

Copy link
@glensc

glensc Nov 8, 2018

Contributor

something wrong with this sentence. the word save totally confuses me

This comment has been minimized.

Copy link
@polmr

polmr Nov 12, 2018

Author Collaborator

*except

interactive MEGAcmdShell executables (mega-cmd in linux, MEGAcmdShell
in MAC and MEGAcmd.exe in Windows), distributed under the aforementioned
GNU General Public License.

2 changes: 1 addition & 1 deletion build/templates/megacmd/PKGBUILD
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion build/templates/megacmd/megacmd.spec
Expand Up @@ -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

This comment has been minimized.

Copy link
@glensc

glensc Nov 8, 2018

Contributor

does this license have spdx license name? some form of bsd license?

https://spdx.org/licenses/

This comment has been minimized.

Copy link
@polmr

polmr Nov 12, 2018

Author Collaborator

No. AFAIK yes. The license is basically that of the SDK: https://github.com/meganz/sdk/blob/develop/LICENSE (which is some form of BSD 2-Clause "Simplified" License) with the aforementioned exceptions.

Group: Applications/Others
Url: https://mega.nz
Source0: megacmd_%{version}.tar.gz
Expand Down
5 changes: 3 additions & 2 deletions src/megacmdexecuter.cpp
Expand Up @@ -5983,8 +5983,9 @@ void MegaCmdExecuter::executecommand(vector<string> words, map<string, int> *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;

Expand Down

0 comments on commit b366c77

Please sign in to comment.