commit:     f9f04d22cf5b7cfdcfffe00cffc599ec21f455ff
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Nov  7 10:43:17 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Nov  7 10:43:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9f04d22

MEGA license and cleanup

Add megasync license to licenses folder.
Remove wrong files added to overlay root from previous push.

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 licenses/MEGA         | 107 +++++++++++++++++++++++++++++++++++
 megasync-4.3.3.ebuild | 150 --------------------------------------------------
 megasync-9999.ebuild  | 142 -----------------------------------------------
 3 files changed, 107 insertions(+), 292 deletions(-)

diff --git a/licenses/MEGA b/licenses/MEGA
new file mode 100644
index 00000000..47763f32
--- /dev/null
+++ b/licenses/MEGA
@@ -0,0 +1,107 @@
+MEGA LIMITED CODE REVIEW LICENCE
+================================
+
+This licence grants you the rights, and only the rights, set out
+below, to access and review Mega's code. If you take advantage of
+these rights, you accept this licence. If you do not accept the
+licence, do not access the code.
+
+Words used in the Mega Limited Terms of Service
+[https://mega.nz/terms] have the same meaning in this licence. Where
+there is any inconsistency between this licence and those Terms of
+Service, these terms prevail.
+
+
+Section 1 -- Definitions
+------------------------
+
+- "code" means the Mega code made available from time, in our sole
+  discretion, for access under this licence at [https://github.com/].
+  Reference to code in this licence means the code and any part of it
+  and any derivative of it.
+
+- "defect" means a defect, bug, backdoor, security issue or other
+  deficiency in the code.
+
+- "review " means to access, analyse, test and otherwise review the
+  code as a reference, for the sole purpose of analysing it for
+  defects.
+
+- "you" means the licensee of rights set out in this licence.
+
+
+Section 2 -- Grant of Rights
+----------------------------
+
+1. Subject to the terms of this licence, we grant you a
+   non-transferable, non-exclusive, worldwide, royalty-free licence to
+   access and use the code solely for review purposes.
+
+2. You may provide the code to anyone else and publish excerpts of it
+   for the purposes of review and commentary, provided that when you
+   do so you make any recipient of the code aware of the terms of this
+   licence and that you attribute the code to Mega.
+
+3. Other than in respect of those parts of the code that were
+   developed by other parties and as specified strictly in accordance
+   with the open source and other licences under which those parts of
+   the code have been made available, as set out on our website or in
+   those items of code, you are not entitled to use or do anything
+   with the code for any commercial or other purpose, other than
+   review and commentary on it.
+
+4. Subject to the terms of this licence, you must at all times comply
+   with and shall be bound by our Terms of Use
+   [https://mega.nz/terms], Privacy Policy [https://mega.nz/privacy]
+   and Takedown Guidance Policy [https://mega.nz/takedown].
+
+
+Section 3 -- Limitations
+------------------------
+
+1. This licence does not grant you any rights to use Mega's name,
+   logo, or trademarks and you must not in any way indicate you are
+   authorised to speak on behalf of Mega.
+
+2. If you issue proceedings in any jurisdiction against Mega because
+   you consider Mega has infringed copyright or any patent right in
+   respect of the code (including any joinder or counterclaim), your
+   licence to the code is automatically terminated.
+
+3. THE CODE IS MADE AVAILABLE "AS-IS" AND WITHOUT ANY EXPRESS OF
+   IMPLIED GUARANTEES AS TO FITNESS, MERCHANTABILITY, NON-INFRINGEMENT
+   OR OTHERWISE. IT IS NOT BEING PROVIDED IN TRADE BUT ON A VOLUNTARY
+   BASIS ON OUR PART AND YOURS AND IS NOT MADE AVAILABE FOR CONSUMER
+   USE OR ANY OTHER USE OUTSIDE THE TERMS OF THIS LICENCE. ANYONE
+   ACCESSING THE CODE SHOULD HAVE THE REQUISITE EXPERTISE TO SECURE
+   THEIR OWN SYSTEM AND DEVICES AND TO ACCESS AND USE THE CODE FOR
+   REVIEW PURPOSES. YOU BEAR THE RISK OF ACCESSING AND USING IT. IN
+   PARTICULAR, MEGA BEARS NO LIABILITY FOR ANY INTERFERENCE WITH OR
+   ADVERSE EFFECT ON YOUR SYSTEM OR DEVICES AS A RESULT OF YOUR
+   ACCESSING AND USING THE CODE.
+
+
+Section 4 -- Termination, suspension and variation
+--------------------------------------------------
+
+1. We may suspend, terminate or vary the terms of this licence and any
+   access to the code at any time, without notice, for any reason or
+   no reason, in respect of any licensee, group of licensees or all
+   licensees.
+
+
+Section 5 -- General
+--------------------
+
+1. This licence and its interpretation and operation are governed
+   solely by New Zealand law. We and each you submit to the exclusive
+   jurisdiction of the New Zealand arbitral tribunals as further
+   described in our Terms of Service and you agree not to raise any
+   jurisdictional issue if we need to enforce an arbitral award or
+   judgment in New Zealand or another country.
+
+2. Questions and comments regarding this licence are welcomed and
+   should be addressed to [supp...@mega.nz].
+
+
+Last updated 20 January 2016.

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
deleted file mode 100644
index 91734a74..00000000
--- a/megasync-4.3.3.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=7
-
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
-HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == *9999* ]];then
-       EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-       KEYWORDS=""
-       EGIT_SUBMODULES=( '*' )
-else
-       EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-       EGIT_COMMIT="v${PV}.0${RTAG}"
-       EGIT_SUBMODULES=( '*' )
-       KEYWORDS="~x86 ~amd64"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
-
-DEPEND="
-       dev-lang/swig
-       app-doc/doxygen
-       media-libs/libmediainfo
-       media-libs/libraw
-       !qt5? ( 
-               dev-qt/qtcore:4
-               dev-qt/qtgui:4
-               dev-qt/qtdbus:4
-               dev-libs/sni-qt
-               dev-qt/qtimageformats:5
-               dev-qt/qtsvg:5
-               )
-       qt5? ( 
-               dev-qt/qtcore:5
-               dev-qt/linguist-tools
-               dev-qt/qtwidgets:5
-               dev-qt/qtgui:5
-               dev-qt/qtconcurrent:5
-               dev-qt/qtnetwork:5
-               dev-qt/qtdbus:5
-               dev-qt/qtimageformats:5
-               dev-qt/qtsvg:5
-               )"
-RDEPEND="${DEPEND}
-               x11-themes/hicolor-icon-theme
-               dev-libs/openssl
-               dev-libs/libgcrypt
-               media-libs/libpng
-               net-dns/c-ares
-               cryptopp? ( dev-libs/crypto++ )
-               app-arch/xz-utils
-               dev-libs/libuv
-               sqlite? ( dev-db/sqlite:3 )
-               dev-libs/libsodium
-               zlib? ( sys-libs/zlib )
-               curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-               freeimage? ( media-libs/freeimage )
-               readline? ( sys-libs/readline:0 )
-               dolphin? ( kde-apps/dolphin )
-               nautilus? ( >=gnome-base/nautilus-3 )
-               thunar? ( xfce-base/thunar )
-               "
-
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
-       src_prepare(){
-               if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-                       EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-               fi
-               if [ ! -z ${PATCHES} ]; then
-                       epatch ${PATCHES}
-               fi
-               if use gnome; then
-                       if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
-                               epatch "${FILESDIR}/${P}-gnome.patch"
-                       fi
-               fi
-               eapply_user
-               cd src/MEGASync/mega
-               eautoreconf
-       }
-fi
-
-src_configure(){
-       cd "${S}"/src/MEGASync/mega
-       econf \
-               "--disable-silent-rules" \
-               "--disable-curl-checks" \
-               "--disable-megaapi" \
-               $(use_with zlib) \
-               $(use_with sqlite) \
-               $(use_with cryptopp) \
-               "--with-cares" \
-               $(use_with curl) \
-               "--without-termcap" \
-               $(use_enable threads posix-threads) \
-               "--with-sodium" \
-               $(use_with freeimage) \
-               $(use_with readline) \
-               $(use_enable examples) \
-               $(use_enable java) \
-               $(use_enable php) \
-               $(use_enable python) \
-               "--enable-chat" \
-               "--enable-gcc-hardening" 
-       cd ../..
-       local myeqmakeargs=(
-               MEGA.pro
-               CONFIG+="release"
-       )
-       if use qt5; then
-               eqmake5 ${myeqmakeargs[@]}
-               use dolphin && cmake-utils_src_configure
-               $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-       else
-               eqmake4 ${myeqmakeargs[@]}
-               use dolphin && cmake-utils_src_configure
-               $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-       fi
-}
-
-src_compile(){
-       emake -C src INSTALL_ROOT="${D}" || die
-       use dolphin && cmake-utils_src_compile
-}
-
-src_install(){
-       use dolphin && cmake-utils_src_install
-       local DOCS=( CREDITS.md README.md )
-       einstalldocs
-       insinto usr/share/licenses/${PN}
-       doins LICENCE.md installer/terms.txt
-       cd src/MEGASync
-       dobin ${PN}
-       cd platform/linux/data
-       insinto usr/share/applications
-       doins ${PN}.desktop
-       cd icons/hicolor
-       for size in 16x16 32x32 48x48 128x128 256x256;do
-               doicon -s $size $size/apps/mega.png
-       done
-}

diff --git a/megasync-9999.ebuild b/megasync-9999.ebuild
deleted file mode 100644
index be2bd58f..00000000
--- a/megasync-9999.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2019 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=7
-
-inherit eutils multilib qmake-utils autotools git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
-HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-
-EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-KEYWORDS=""
-EGIT_SUBMODULES=( '*' )
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
-
-DEPEND="
-       dev-lang/swig
-       app-doc/doxygen
-       media-libs/libmediainfo
-       media-libs/libraw
-       !qt5? ( 
-               dev-qt/qtcore:4
-               dev-qt/qtgui:4
-               dev-qt/qtdbus:4
-               dev-libs/sni-qt
-               dev-qt/qtimageformats:5
-               dev-qt/qtsvg:5
-               )
-       qt5? ( 
-               dev-qt/qtcore:5
-               dev-qt/linguist-tools
-               dev-qt/qtwidgets:5
-               dev-qt/qtgui:5
-               dev-qt/qtconcurrent:5
-               dev-qt/qtnetwork:5
-               dev-qt/qtdbus:5
-               dev-qt/qtimageformats:5
-               dev-qt/qtsvg:5
-               )"
-RDEPEND="${DEPEND}
-               x11-themes/hicolor-icon-theme
-               dev-libs/openssl
-               dev-libs/libgcrypt
-               media-libs/libpng
-               net-dns/c-ares
-               cryptopp? ( dev-libs/crypto++ )
-               app-arch/xz-utils
-               dev-libs/libuv
-               sqlite? ( dev-db/sqlite:3 )
-               dev-libs/libsodium
-               zlib? ( sys-libs/zlib )
-               curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-               freeimage? ( media-libs/freeimage )
-               readline? ( sys-libs/readline:0 )
-               dolphin? ( kde-apps/dolphin )
-               nautilus? ( >=gnome-base/nautilus-3 )
-               thunar? ( xfce-base/thunar )
-               "
-
-PATCHES=( )
-
-src_prepare(){
-       if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-               EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-       fi
-       if [ ! -z ${PATCHES} ]; then
-               epatch ${PATCHES}
-       fi
-       if use gnome; then
-               if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
-                       epatch "${FILESDIR}/${P}-gnome.patch"
-               fi
-       fi
-       eapply_user
-       cd src/MEGASync/mega
-       eautoreconf
-}
-
-src_configure(){
-       cd "${S}"/src/MEGASync/mega
-       econf \
-               "--disable-silent-rules" \
-               "--disable-curl-checks" \
-               "--disable-megaapi" \
-               $(use_with zlib) \
-               $(use_with sqlite) \
-               $(use_with cryptopp) \
-               "--with-cares" \
-               $(use_with curl) \
-               "--without-termcap" \
-               $(use_enable threads posix-threads) \
-               "--with-sodium" \
-               $(use_with freeimage) \
-               $(use_with readline) \
-               $(use_enable examples) \
-               $(use_enable java) \
-               $(use_enable php) \
-               $(use_enable python) \
-               "--enable-chat" \
-               "--enable-gcc-hardening" 
-       cd ../..
-       local myeqmakeargs=(
-               MEGA.pro
-               CONFIG+="release"
-       )
-       if use qt5; then
-               eqmake5 ${myeqmakeargs[@]}
-               use dolphin && cmake-utils_src_configure
-               $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-       else
-               eqmake4 ${myeqmakeargs[@]}
-               use dolphin && cmake-utils_src_configure
-               $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-       fi
-}
-
-src_compile(){
-       emake -C src INSTALL_ROOT="${D}" || die
-       use dolphin && cmake-utils_src_compile
-}
-
-src_install(){
-       use dolphin && cmake-utils_src_install
-       local DOCS=( CREDITS.md README.md )
-       einstalldocs
-       insinto usr/share/licenses/${PN}
-       doins LICENCE.md installer/terms.txt
-       cd src/MEGASync
-       dobin ${PN}
-       cd platform/linux/data
-       insinto usr/share/applications
-       doins ${PN}.desktop
-       cd icons/hicolor
-       for size in 16x16 32x32 48x48 128x128 256x256;do
-               doicon -s $size $size/apps/mega.png
-       done
-}

Reply via email to