Package Details: megatools 1.11.0+20220519-1

Git Clone URL: https://aur.archlinux.org/megatools.git (read-only, click to copy)
Package Base: megatools
Description: CLI for MEGA
Upstream URL: https://megatools.megous.com
Licenses: GPL2
Submitter: megous
Maintainer: eugene
Last Packager: eugene
Votes: 116
Popularity: 0.90
First Submitted: 2013-04-11 20:56 (UTC)
Last Updated: 2022-05-21 01:07 (UTC)

Latest Comments

megous commented on 2022-04-06 18:15 (UTC)

try WKD... or https://xff.cz/key.txt

Eremiell commented on 2022-04-06 11:59 (UTC)

Can't build latest as I can't find the PGP key anywhere. None of the usual keyservers seems to serve it and I'm not seeing it on the project page either. Any pointers?

megous commented on 2022-02-24 12:59 (UTC)

smoak: I think all packages assume you have base-devel group installed and packages from this group don't need to be in makedepends.

See https://megous.com/dl/tmp/ee10f58a6c52e55d.png

https://wiki.archlinux.org/title/PKGBUILD

smoak commented on 2022-02-24 04:21 (UTC)

It seems that meson errors without pkgconf being installed:

megatools-1.11.0-git-20211030/meson.build:12:0: ERROR: Pkg-config binary for machine 1 not found. Giving up.  

You should probably add pkgconf to the makedepends:

diff --git a/PKGBUILD b/PKGBUILD
index b6458a2..c66c69a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ arch=(i686 x86_64 armv6h armv7h aarch64)
 url=https://megatools.megous.com
 license=(GPL2)
 depends=(curl glib2)
-makedepends=(asciidoc docbook2x meson)
+makedepends=(asciidoc docbook2x meson pkgconf)
 source=(https://megatools.megous.com/builds/experimental/$pkgname-$_pkgver.tar.gz)
 sha512sums=('29b23cd647bf1b53823927f58a33cc3b357a659751eca8a1d4a3b8837e127dfc5852a32f2f7ccb6fc274d5f7d30fc3e8d6d5f846d7790f4441598ef4f082064f')

That seems to fix it for me anyway.

patlefort commented on 2021-10-30 02:56 (UTC)

I get 404 error when downloading the source. Looks like it's been replaced by https://megatools.megous.com/builds/experimental/megatools-1.11.0-git-20211030.tar.gz

petrol commented on 2021-10-29 15:28 (UTC) (edited on 2021-10-29 15:29 (UTC) by petrol)

There's a possible patch regarding the upload/copy-issue mentioned in https://github.com/megous/megatools/issues/462

https://megous.com/git/megatools/commit/?id=4adc57ff3c95868607510e1f4fcb08fd76cfd37b

Eremiell commented on 2021-05-19 03:15 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 12347dc..c95b73f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Ondrej Jirman <megous@megous.com>

 pkgname=megatools
-pkgver=1.11.0+20200830
+pkgver=1.11.0+20210505
 _pkgver=${pkgver/+/-git-}
 pkgrel=1
 pkgdesc='CLI for MEGA'
@@ -12,7 +12,7 @@ license=(GPL2)
 depends=(curl glib2)
 makedepends=(asciidoc docbook2x meson)
 source=(https://megatools.megous.com/builds/experimental/$pkgname-$_pkgver.tar.gz)
-sha512sums=('a64158b7248ea99d72b1aa790c28deb00ceca3065396565b187e371c415b27c05d782df45bd2f41bfae0b7439c303c4b44d820ea7c44b5fa733dbdf70d68cfa8')
+sha512sums=('ef683129dd795f551718b99c40ea81a271a76c2f16bb6468a156c03236151883d4bd5daf4288f916b28b3b40ec9debc90d37342806e456b881bcb435b272c40b')

 build() {
   arch-meson $pkgname-$_pkgver build -D symlinks=true -D man=true

flacks commented on 2020-10-17 20:42 (UTC)

Builds fine in a clean chroot. Please do that.

LeonidasXIV commented on 2020-10-17 20:40 (UTC)

FTBFS:

[17/56] Generating megatools-mxml with a custom command
FAILED: megatools.mxml 
/usr/bin/db2x_xsltproc -s man --param xref-on-link=0 megatools.xml -o megatools.mxml
warning: failed to load external entity "megatools.xml"
unable to parse megatools.xml
[19/56] Generating megarc-mxml with a custom command
FAILED: megarc.mxml 
/usr/bin/db2x_xsltproc -s man --param xref-on-link=0 megarc.xml -o megarc.mxml
warning: failed to load external entity "megarc.xml"
unable to parse megarc.xml
[20/56] Generating megatools-df-mxml with a custom command
FAILED: megatools-df.mxml 
/usr/bin/db2x_xsltproc -s man --param xref-on-link=0 megatools-df.xml -o megatools-df.mxml
warning: failed to load external entity "megatools-df.xml"
unable to parse megatools-df.xml
[22/56] Compiling C object megatools.p/tools_shell.c.o
ninja: build stopped: subcommand failed.

flacks commented on 2020-09-26 13:34 (UTC)

Adopted! :)

megous commented on 2020-09-26 13:26 (UTC)

@flacks You can adopt the package if you like.

flacks commented on 2020-09-26 13:22 (UTC)

License is also GPL2 not, GPL.

flacks commented on 2020-09-26 13:20 (UTC) (edited on 2020-09-26 13:22 (UTC) by flacks)

openssl is also not needed as a depends, as per namcap.

flacks commented on 2020-09-26 13:20 (UTC)

-D man=true as a meson parameter and docbook2x as a makedepends are both missing to generate documentation as well.

ratijas commented on 2020-09-26 13:04 (UTC)

Version 1.11.0.git.20200404 either never existed, or was removed on purpose. Latest version for today is 1.11.0-git-20200830.

hol430 commented on 2020-09-05 07:45 (UTC)

I get a 404 when attempting to install:

curl: (22) The requested URL returned error: 404 
==> ERROR: Failure while downloading https://megatools.megous.com/builds/experimental/megatools-1.11.0-git-20200404.tar.gz
    Aborting...

This fixed it for me:

diff --git a/PKGBUILD b/PKGBUILD
index 348dc9d..e68b4d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Ondrej Jirman <megous@megous.com>

 pkgname=megatools
-pkgver=1.11.0.git.20200404
-_pkgver=1.11.0-git-20200404
+pkgver=1.11.0.git.20200830
+_pkgver=1.11.0-git-20200830
 pkgrel=1
 pkgdesc="Command line client application for Mega.nz"
 arch=('i686' 'x86_64' 'armv7h')
@@ -11,7 +11,7 @@ license=('GPL')
 depends=('curl' 'glib2' 'openssl')
 makedepends=(asciidoc meson)
 source=("https://megatools.megous.com/builds/experimental/megatools-${_pkgver}.tar.gz")
-sha256sums=('999404dd065ecadbc117311e4de431d85eca98a2c4bfd3f29a4c30372e213b9c')
+sha256sums=('a6ac5b8c9e51f180dff4af82ac431eee04d73ee35366191d1fe47def6ebc3b65')

 build() {
   meson --prefix /usr --buildtype=plain megatools-${_pkgver} build -Dsymlinks=true

tyjak commented on 2020-02-16 16:34 (UTC) (edited on 2020-02-16 16:37 (UTC) by tyjak)

ERROR: Can't login to mega.nz: API call 'us' failed: Server returned error EEXPIRED

Can't use it since my account was created after 11/6/2018

Here is the disclaimer from megatools website:

Read this issue if you've registered an account via mega.nz web client since 11/6/2018. You'll not be able to use your account with megatools. You can still use megatools to download publicly exported files for free, or use accounts created before 11/6/2018. You may also be able to register accounts with megatools, and those will work with megatools. You just can't use the new style accounts that mega's website creates now.

natzei commented on 2019-02-02 17:17 (UTC)

It also work for armv6h architecture ;)

megous commented on 2017-03-26 05:49 (UTC)

Re-build with debug options, run in gdb and send a bactrace report to https://github.com/megous/megatools/issues I don't see anything obviously relevant in testing, that could cause issues.

colemickens commented on 2017-03-26 05:28 (UTC)

I don't know why, but in the last two days. 'megadl' seg faults on any input I've given it. I have testing repos enabled.

megous commented on 2016-12-02 13:48 (UTC)

> checking for pkg-config... no You're missing base-devel packages. pkgconfig in particular.

megous commented on 2016-11-13 17:55 (UTC)

Fixed, thanks.

sekret commented on 2016-11-13 16:36 (UTC)

==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.32.0... yes (version 2.50.1) checking for OPENSSL... yes checking for LIBCURL... yes checking for a2x... no configure: error: a2x is required to build docs, install asciidoc ==> ERROR: A failure occurred in build(). Please add asciidoc to makedepends! After adding it and building the package namcap shows Checking megatools-1.9.98-1-x86_64.pkg.tar.xz megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megadf') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megaget') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megarm') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megaput') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megacopy') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megamkdir') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megadl') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megareg') megatools W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/megals') megatools E: Dependency glib2 detected and not included (libraries ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libgio-2.0.so.0', 'usr/lib/libglib-2.0.so.0'] needed in files ['usr/bin/megadl', 'usr/bin/megamkdir', 'usr/bin/megacopy', 'usr/bin/megarm', 'usr/bin/megaput', 'usr/bin/megaget', 'usr/bin/megareg', 'usr/bin/megadf', 'usr/bin/megals']) So please also add glib2 to depends! I think this line "Unused shared library '/usr/lib/libpthread.so.0' by file xxx" can be ignored...

sekret commented on 2016-08-25 13:42 (UTC)

Build fails with In file included from mega/include/mega/types.h:56:0, from mega/include/mega/utils.h:25, from mega/include/mega/attrmap.h:25, from mega/src/attrmap.cpp:22: mega/include/mega/crypto/sodium.h:27:20: fatal error: sodium.h: No such file or directory #include <sodium.h> ^ compilation terminated. make[1]: *** [Makefile:2262: attrmap.o] Error 1 make[1]: Leaving directory '/build/megasync-git/src/megasync/src/MEGASync' make: *** [Makefile:43: sub-MEGASync-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The config option --without-sodium doesn't exist (anymore), so libsodium is definitely a dependency now.

megous commented on 2016-02-02 23:20 (UTC) (edited on 2016-02-02 23:22 (UTC) by megous)

madnessmike: added Upgrade recommended, because 1.9.96 started failing on big remote directories since mega.nz started compressing some server responses.

mike.cuche commented on 2016-01-28 17:58 (UTC)

Hello, can you add support for armv7h architecture in the PKGBUILD? I compiled it on a Raspberry Pi 2 and it works just fine :)

petronny commented on 2015-09-09 02:54 (UTC)

Please add 'autoreconf -fi' after 'cd "megatools-${pkgver}"' in build() to avoid "./libtool: line 7905: func_munge_path_list: command not found" Error.

robertfoster commented on 2015-01-28 16:03 (UTC)

python2 is required in makedeps

megous commented on 2014-10-30 12:56 (UTC)

dlh: There's something wrong with your OpenSSL installation.

dlh commented on 2014-10-28 09:02 (UTC)

Build failed: https://gist.github.com/anonymous/1b9e2c78808e6a3034f9

SnowyMan commented on 2014-09-21 17:37 (UTC)

Hey, so I've tried to mount the MEGA drive as a filesystem and here's what comes up at the login stage: ERROR: Can't login to mega.co.nz: API call 'us' failed: Server returned error EARGS Any ideas?

megous commented on 2014-08-28 09:10 (UTC)

I don't plan to make any new releases soon, unless someone will report some significant bug, or mega changes API.

megous commented on 2014-08-28 09:09 (UTC)

@xavier83: It's not planned to have any significant new features. 1.9.92 is a stable branch (on github). If there will be 2.0, it will be based on this stable branch, and not on the master branch. Master branch is not maintained, nor developed.

xavier83 commented on 2014-08-28 03:12 (UTC)

@megous: is a 2.0 planned very soon? hope the licensing issues have been resolved.

megous commented on 2014-08-24 22:10 (UTC)

Megatools is alive and well, with newest set of updates from 2014-08-24.

megous commented on 2014-02-04 21:22 (UTC)

Unflagged. Indeed, it's uptodate.

prg commented on 2014-02-04 18:05 (UTC)

This package still functions and is not out of date. Although 1.9.91 is the final version of this software, it is not out of date.

ConnorBehan commented on 2013-09-20 06:43 (UTC)

Out of date just because the author no longer endorses it? 1.9.91 is the newest version and it still works.

delphos.sensei commented on 2013-08-27 07:41 (UTC)

el paquete esta roto, porque los builds de megous estan con error 404.

ericthefish commented on 2013-07-17 15:59 (UTC)

Megatools is no more, it seems. From the authors website: http://megatools.megous.com/ "Dear users, I decided to pull down megatools, because of uncertainty around the new Mega API license. There are several clauses that make megatools either useless in certain situations, or complicate its use. For example: API user can't make the API Key available to anyone else or use another person's or entity's API Key; Therefore megatools can't have API key included, and each user will need to get theirs. You need an account to get one. And you need API key to create and account with megatools. Catch 22. Megatools also don't support API keys at all ATM. Any use of megatools thus violates the new license/TOS. On reasonable notice, you will allow MEGA access to your systems, data, and logs as well as any communications, legal documents, and source code related to or arising out of your User Application or your use of the API to check compliance with your obligations under these API/SDK terms. No, I don't agree to grant access to my systems for these vague puropses at Mega's discretion. 3.6 YOU WILL INDEMNIFY, PAY THE COSTS OF DEFENSE, AND HOLD HARMLESS MEGA AGAINST ANY LOSSES, COSTS (INCLUDING SOLICITOR AND CLIENT COSTS), DAMAGES, EXPENSES, DEMANDS OR LIABILITY, WHETHER DIRECT, INDIRECT, CONSEQUENTIAL, OR OTHERWISE, AND WHETHER ARISING IN CONTRACT, TORT (INCLUDING IN EACH CASE NEGLIGENCE), OR EQUITY OR OTHERWISE, ARISING OUT OF YOUR USE OF THE API, YOUR RELATIONSHIP WITH THE END USER, ANY USE OF APPROVED DATA BY YOU OR ANY END USER, OR ANY USE OF YOUR USER APPLICATION, OR WHICH IS SUFFERED OR INCURRED BY MEGA AS A RESULT OF ANY BREACH BY YOU OF YOUR OBLIGATIONS EXPRESSED OR IMPLIED IN THESE API/SDK TERMS. Well. No, I will not take any responsibility for the actions of megatools users, even if they were allowed by my violation of API license terms. The source code is still available on github, because it's impossible to pull down GPL code once it was published, but I don't endorse its use." A great shame, it was a fine set of tools.

commented on 2013-07-01 19:33 (UTC)

hola me pasa esto al intentar instalar desde yaourt en este paquete: ==> Descargando PKGBUILD desde AUR... x PKGBUILD megatools 1.9.91-1 (jue abr 11 22:56:10 CEST 2013) (Paquete sin soporte: podría ser peligroso!) ==> Quiere editar PKGBUILD? [S/n] ("A" para anular) ==> ----------------------------------------------- ==> n ==> dependencias de megatools: - curl (ya instalado) - glib-networking (ya instalado) - fuse (ya instalado) - gobject-introspection (ya instalado) ==> Continuar compilando megatools? [S/n] ==> ------------------------------------- ==> ==> Compilando e instalando el paquete ==> Creando el paquete: megatools 1.9.91-1 (dom jun 30 22:54:19 CEST 2013) ==> Resolviendo dependencias... ==> Verificando conflictos... ==> Recibiendo fuentes... -> Descargando megatools-1.9.91.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 439k 100 439k 0 0 294k 0 0:00:01 0:00:01 --:--:-- 294k ==> Validando el archivo fuente con md5sums... megatools-1.9.91.tar.gz ... Aprobado ==> Descomprimiendo fuentes... -> Extrayendo megatools-1.9.91.tar.gz con bsdtar ==> Iniciando build()... /tmp/yaourt-tmp-lolo/aur-megatools/./PKGBUILD: línea 20: ./configure: Permiso denegado ==> ERROR: Se produjo un error en build(). Cancelando... ==> ERROR: Makepkg no ha podido compilar megatools. ==> Reiniciar la compilación de megatools? [s/N] ==> -------------------------------------------- ==> q puede pasar?? gracias de antemano