Port details
megatools Command line tools for MEGA.NZ cloud drive
1.11.1.20230212_1 net Σ=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.11.1.20230212_1Version of this port present on the latest quarterly branch. upstream: 1.11.5.20250706A newer version was found upstream by portscout, first on 2025-07-07.
Maintainer: max@kostikov.co search for ports maintained by this maintainer
Port Added: 2014-12-11 23:07:06
Last Update: 2024-09-23 23:29:42
Commit Hash: e1a8cfc
People watching this port, also watch: mutt, curl, openssl, ocaml, phpMyAdmin-php85
License: GPLv2
WWW:
https://megatools.megous.com/
Description: #
Megatools is a collection of programs for accessing Mega service from a command line of your desktop or server. Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
Expand this list (13 items)
pkg-plist: as obtained via: make generate-plist #
Expand this list (35 items)
Collapse this list.
  1. /usr/local/share/licenses/megatools-1.11.1.20230212_1/catalog.mk
  2. /usr/local/share/licenses/megatools-1.11.1.20230212_1/LICENSE
  3. /usr/local/share/licenses/megatools-1.11.1.20230212_1/GPLv2
  4. @comment bin/megacopy
  5. @comment bin/megadf
  6. @comment bin/megadl
  7. @comment bin/megaexport
  8. @comment bin/megaget
  9. @comment bin/megals
  10. @comment bin/megamkdir
  11. @comment bin/megaput
  12. @comment bin/megareg
  13. @comment bin/megarm
  14. @comment bin/megatest
  15. bin/megatools
  16. share/man/man1/megatools-copy.1.gz
  17. share/man/man1/megatools-df.1.gz
  18. share/man/man1/megatools-dl.1.gz
  19. share/man/man1/megatools-export.1.gz
  20. share/man/man1/megatools-get.1.gz
  21. share/man/man1/megatools-ls.1.gz
  22. share/man/man1/megatools-mkdir.1.gz
  23. share/man/man1/megatools-put.1.gz
  24. share/man/man1/megatools-reg.1.gz
  25. share/man/man1/megatools-rm.1.gz
  26. share/man/man1/megatools-test.1.gz
  27. share/man/man1/megatools.1.gz
  28. share/man/man5/megarc.5.gz
  29. share/doc/megatools/LICENSE
  30. share/doc/megatools/NEWS
  31. share/doc/megatools/README
  32. share/doc/megatools/TODO
  33. @owner
  34. @group
  35. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • megatools>0:net/megatools
To install the port: #
cd /usr/ports/net/megatools/ && make install clean
To add the package, run one of these commands:
  • pkg install net/megatools
  • pkg install megatools
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: megatools
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1700745558 SHA256 (megatools-1.11.1.20230212.tar.gz) = ecfa2ee4b277c601ebae648287311030aa4ca73ea61ee730bc66bef24ef19a34 SIZE (megatools-1.11.1.20230212.tar.gz) = 105339

Packages (timestamps in pop-ups are UTC): #
megatools
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.11.1.20230212_11.11.1.20230212_11.10.31.11.1.20230212_11.11.1.20230212_1
FreeBSD:14:quarterly1.11.1.20230212_11.11.1.20230212_1-1.11.1.20230212_11.11.1.20230212_1
FreeBSD:15:latest1.11.1.20230212_11.11.1.20230212_1n/a1.11.1.20230212_1n/a
FreeBSD:15:quarterly1.11.1.20230212_11.11.1.20230212_1n/a-n/a
FreeBSD:16:latest CURRENT1.11.1.20230212_11.11.1.20230212_1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. asciidoc : textproc/asciidoc
  2. db2x_manxml : textproc/docbook2X
  3. gettext-runtime>=0.22_1 : devel/gettext-runtime
  4. gmake>=4.4.1 : devel/gmake
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. meson : devel/meson
  7. ninja : devel/ninja
Library dependencies: #
  1. libcurl.so : ftp/curl
  2. libintl.so : devel/gettext-runtime
  3. libglib-2.0.so : devel/glib20
  4. libintl.so : devel/gettext-runtime
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for megatools-1.11.1.20230212_1: DOCS=on: Build and/or install documentation MANPAGES=on: Build and/or install manual pages SYMLINKS=off: Create symlinks for old commands ===> Use 'make config' to modify these settings
Options name: #
net_megatools
USES: #
compiler:c11 gettext-runtime gmake gnome pathfix pkgconfig ssl meson
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://megatools.megous.com/builds/
Collapse this list.

Number of commits found: 23 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.11.1.20230212_1
23 Sep 2024 23:29:42
commit hash: e1a8cfc14d5c061b5e77aa88eedf37b3a1a7836ccommit hash: e1a8cfc14d5c061b5e77aa88eedf37b3a1a7836ccommit hash: e1a8cfc14d5c061b5e77aa88eedf37b3a1a7836ccommit hash: e1a8cfc14d5c061b5e77aa88eedf37b3a1a7836c files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
net/megatools: Remove libtool as dependency

Not used in project

Approved by:	portmgr (blanket)
1.11.1.20230212_1
12 Jan 2024 22:40:48
commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sanitize MANPREFIX for meson ports

Approved by:	portmgr
1.11.1.20230212
30 Nov 2023 11:49:23
commit hash: 133c39b3bb5dff64bd390439b6f64168eb6b1a22commit hash: 133c39b3bb5dff64bd390439b6f64168eb6b1a22commit hash: 133c39b3bb5dff64bd390439b6f64168eb6b1a22commit hash: 133c39b3bb5dff64bd390439b6f64168eb6b1a22 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Ale
net/megatools: update port to 1.11.1.20230212

Current port does not work:

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

PR:             275281
Reported by:    discipline@tiscali.it
Approved by:	max@kostikov.co (maintainer)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.10.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.10.3
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.10.3
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.10.3
30 Apr 2020 07:15:20
Revision:533413commit hash: a141396b68a07f79baabcb9e89895532f18a77a8commit hash: a141396b68a07f79baabcb9e89895532f18a77a8commit hash: a141396b68a07f79baabcb9e89895532f18a77a8commit hash: a141396b68a07f79baabcb9e89895532f18a77a8Original commit files touched by this commit
tagattie search for other commits by this committer
- Update to 1.10.3
- Make portclippy happy

PR:		245660
Submitted by:	Max Kostikov <max@kostikov.co> (maintainer)
Approved by:	ehaupt (mentor)
Changelog:	https://megatools.megous.com/builds/NEWS
1.10.2_2
26 Jul 2019 20:46:57
Revision:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.10.2_1
12 Dec 2018 01:35:36
Revision:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
1.10.2
29 Nov 2018 11:07:58
Revision:486166commit hash: 7f22c4c6db08100e740ebfaf7fa4f9278394776acommit hash: 7f22c4c6db08100e740ebfaf7fa4f9278394776acommit hash: 7f22c4c6db08100e740ebfaf7fa4f9278394776acommit hash: 7f22c4c6db08100e740ebfaf7fa4f9278394776aOriginal commit files touched by this commit
linimon search for other commits by this committer
Megatools dev doesn't state what GCC version is the minimum required
for building, but they imply at least 5.4 should be used:

https://github.com/megous/megatools/issues/381

Thus, add USES=compiler:c11, since the port doesn't build with base GCC.

PR:		233592
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
1.10.2
10 Sep 2018 13:14:52
Revision:479406commit hash: e1bfdfbe5665c963621e06f6bbfbbc2c000a804ecommit hash: e1bfdfbe5665c963621e06f6bbfbbc2c000a804ecommit hash: e1bfdfbe5665c963621e06f6bbfbbc2c000a804ecommit hash: e1bfdfbe5665c963621e06f6bbfbbc2c000a804eOriginal commit files touched by this commit
mat search for other commits by this committer
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
1.10.2
01 Sep 2018 12:31:27
Revision:478677commit hash: 4d7080226b11754db1101eafe8ef4cd563f822dfcommit hash: 4d7080226b11754db1101eafe8ef4cd563f822dfcommit hash: 4d7080226b11754db1101eafe8ef4cd563f822dfcommit hash: 4d7080226b11754db1101eafe8ef4cd563f822dfOriginal commit files touched by this commit
wen search for other commits by this committer
- Update to 1.10.2

PR:		231062
Submitted by:	max@kostikov.co(maintainer)
1.10.1
28 Jul 2018 14:43:05
Revision:475575commit hash: b559e82b39a2096b88e31bae6975a1d1f23e6b8bcommit hash: b559e82b39a2096b88e31bae6975a1d1f23e6b8bcommit hash: b559e82b39a2096b88e31bae6975a1d1f23e6b8bcommit hash: b559e82b39a2096b88e31bae6975a1d1f23e6b8bOriginal commit files touched by this commit
miwi search for other commits by this committer
- Update to 1.10.1

PR:		230108
Sponsored by:	iXsystems Inc.
1.10.0
25 Jul 2018 12:52:25
Revision:475312commit hash: bb98a543f936d40896b62f4abb5ff9c3129a23b1commit hash: bb98a543f936d40896b62f4abb5ff9c3129a23b1commit hash: bb98a543f936d40896b62f4abb5ff9c3129a23b1commit hash: bb98a543f936d40896b62f4abb5ff9c3129a23b1Original commit files touched by this commit
swills search for other commits by this committer
net/megatools: update to 1.10.0

PR:		230033
Submitted by:	Max Kostikov <max@kostikov.co> (maintainer)
1.9.98_1
23 Aug 2017 17:13:22
Revision:448631commit hash: 294a7d337903979e1cc1c607d3ae2bd4f52466b0commit hash: 294a7d337903979e1cc1c607d3ae2bd4f52466b0commit hash: 294a7d337903979e1cc1c607d3ae2bd4f52466b0commit hash: 294a7d337903979e1cc1c607d3ae2bd4f52466b0Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update MASTER_SITES to https
- Remove unneeded dependency
- While here, update WWW

PR:		221718
Submitted by:	xmj
Approved by:	max@kostikov.com (maintainer)
1.9.98
06 Nov 2016 14:16:11
Revision:425492commit hash: b8891ea0337baf798d44ca99ef56b0e0d8c23edbcommit hash: b8891ea0337baf798d44ca99ef56b0e0d8c23edbcommit hash: b8891ea0337baf798d44ca99ef56b0e0d8c23edbcommit hash: b8891ea0337baf798d44ca99ef56b0e0d8c23edbOriginal commit files touched by this commit
jhale search for other commits by this committer
Update to 1.9.98

PR:		214212
Submitted by:	Max Kostikov <max@kostikov.co> (maintainer)
1.9.97
29 Apr 2016 21:32:20
Revision:414295commit hash: 1378a5e5d79e7a79492646fe237bc7053720e08ccommit hash: 1378a5e5d79e7a79492646fe237bc7053720e08ccommit hash: 1378a5e5d79e7a79492646fe237bc7053720e08ccommit hash: 1378a5e5d79e7a79492646fe237bc7053720e08cOriginal commit files touched by this commit
robak search for other commits by this committer
net/megatools: update 1.9.96 -> 1.9.97

PR:		209131
Submitted by:	Max Kostikov <max@kostikov.co> (maintainer)
1.9.96
01 Apr 2016 14:16:20
Revision:412348commit hash: 8d6597e0bb9591c40fc6d0c6e2159fca51178d56commit hash: 8d6597e0bb9591c40fc6d0c6e2159fca51178d56commit hash: 8d6597e0bb9591c40fc6d0c6e2159fca51178d56commit hash: 8d6597e0bb9591c40fc6d0c6e2159fca51178d56Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.9.96
24 Jan 2016 18:17:19
Revision:407170commit hash: f66fade0544e2bf9d59272075abb3f9d18617cc9commit hash: f66fade0544e2bf9d59272075abb3f9d18617cc9commit hash: f66fade0544e2bf9d59272075abb3f9d18617cc9commit hash: f66fade0544e2bf9d59272075abb3f9d18617cc9Original commit files touched by this commit
riggs search for other commits by this committer
Update to upstream version 1.9.96

PR:		206163
Submitted by:	max@kostikov.co (maintainer)
1.9.95
15 May 2015 23:20:41
Revision:386491commit hash: 501ecc3ae6f4909c609d3d7b7489b3827ef3939ecommit hash: 501ecc3ae6f4909c609d3d7b7489b3827ef3939ecommit hash: 501ecc3ae6f4909c609d3d7b7489b3827ef3939ecommit hash: 501ecc3ae6f4909c609d3d7b7489b3827ef3939eOriginal commit files touched by this commit
jbeich search for other commits by this committer
net/megatools: update to 1.9.95

Changes:	http://megatools.megous.com/builds/NEWS
PR:		200077
Submitted by:	max@kostikov.co (maintainer)
1.9.94
04 Jan 2015 20:03:17
Revision:376268commit hash: 3cdcd811fe9942b00217612c04bcbccc9626bfc0commit hash: 3cdcd811fe9942b00217612c04bcbccc9626bfc0commit hash: 3cdcd811fe9942b00217612c04bcbccc9626bfc0commit hash: 3cdcd811fe9942b00217612c04bcbccc9626bfc0Original commit files touched by this commit
pawel search for other commits by this committer
- Update to version 1.9.94 [1]
- Use USES=pathfix to fix pkgconfig install path

PR:		196461 [1]
Submitted by:	max@kostikov.co (maintainer)
1.9.93
11 Dec 2014 23:06:14
Revision:374555commit hash: a770b14f8eba194c3a5c77710f374934dd79647ecommit hash: a770b14f8eba194c3a5c77710f374934dd79647ecommit hash: a770b14f8eba194c3a5c77710f374934dd79647ecommit hash: a770b14f8eba194c3a5c77710f374934dd79647eOriginal commit files touched by this commit
amdmi3 search for other commits by this committer
Megatools is a collection of programs for accessing Mega
service from a command line of your desktop or server.

Megatools allow you to copy individual files as well as
entire directory trees to and from the cloud. You can also
perform streaming downloads for example to preview videos
and audio files, without needing to download the entire
file.

WWW: http://megatools.megous.com/

PR:		195723
Submitted by:	max@kostikov.co

Number of commits found: 23