Bug 231485 - [NEW PORT] net/megacmd: Command Line Interactive and Scriptable Application to access MEGA
Summary: [NEW PORT] net/megacmd: Command Line Interactive and Scriptable Application t...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2018-09-19 18:24 UTC by kikadf
Modified: 2020-10-19 03:30 UTC (History)
4 users (show)

See Also:
dmenelkir: maintainer-feedback+


Attachments
patch (6.54 KB, patch)
2018-09-19 18:24 UTC, kikadf
no flags Details | Diff
patch_v2 (6.64 KB, patch)
2018-10-03 09:08 UTC, kikadf
no flags Details | Diff
megacmd.patch (8.10 KB, patch)
2019-07-10 06:08 UTC, Li-Wen Hsu
no flags Details | Diff
megacmd-v3.diff (8.10 KB, patch)
2020-06-07 02:13 UTC, Daniel Menelkir
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kikadf 2018-09-19 18:24:11 UTC
Created attachment 197238 [details]
patch

MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via commands. It features synchronization, backup of local folders into your MEGA account and a webdav/streaming server. 

URL: https://mega.nz/cmd
GH: https://github.com/meganz/MEGAcmd


Portlint ok, tested on FreeBSD 11.2-RELEASE-p3 without problem.

Use multiple files, because I want to use stable releases of megacmd and sdk, instead of git source with the sdk submodule.

Use LICENSE_COMB=multi, because of license of megacmd is GPLv3[1], while sdk is BSD2CLAUSE[2].

[1] https://github.com/meganz/MEGAcmd/blob/master/LICENSE
[2] https://github.com/meganz/sdk/blob/develop/LICENSE
Comment 1 kikadf 2018-09-28 13:13:16 UTC
megacmd 1.0.0 is out, but doesn't build with the latest sdk release.
I wouldn't like to use git version of sdk, so wait for the new sdk release, after update megacmd to 1.0.0.
Comment 2 kikadf 2018-10-03 09:08:28 UTC
Created attachment 197735 [details]
patch_v2

Update to the latest 1.0.0 release.
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2019-07-10 06:08:11 UTC
Created attachment 205646 [details]
megacmd.patch

Fix some errors/warnings from portlint and poudriere. Please check this patch.
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2019-10-08 08:29:23 UTC
kikadf, are you still interested in maintaining this port?
Comment 5 Daniel Menelkir 2020-06-02 14:57:54 UTC
I'll comment here because I'm really interested in a mega solution. I was trying to make megasync work but seems to be a huge amount of effort with the knowledge I don't have it. 
Back to the topic, I've tested the megacmd.patch and works like a charm in 12-STABLE and 13-CURRENT. 
But... is this dead?
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2020-06-07 01:56:17 UTC
^Triage: Assignee timeout, open to take

Can we get confirmation of QA (portlint, poudriere at least) for the present patch, and if it needs updating, an updated patch

Since original reporter has not responded to comment 4 (re maintainership) yet, a confirmed maintainer for this port would also be good
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2020-06-07 01:57:10 UTC
A possible minor issue in the latest patch:

  --with-readline==${LOCALBASE} (double =)
Comment 8 Daniel Menelkir 2020-06-07 02:13:32 UTC
Created attachment 215306 [details]
megacmd-v3.diff

Fixed extra "=" in "--with-readline==${LOCALBASE}" and tested.
Comment 9 Daniel Menelkir 2020-10-17 08:59:03 UTC
No updates?
Comment 10 commit-hook freebsd_committer freebsd_triage 2020-10-19 03:30:07 UTC
A commit references this bug:

Author: lwhsu
Date: Mon Oct 19 03:29:22 UTC 2020
New revision: 552707
URL: https://svnweb.freebsd.org/changeset/ports/552707

Log:
  Add net/megacmd

  Command Line Interactive and Scriptable Application to access MEGA

  PR:		231485
  Submitted by:	kikadf <kikadf.01@gmail.com>
  		Daniel Menelkir <menelkir@itroll.org>

Changes:
  head/net/Makefile
  head/net/megacmd/
  head/net/megacmd/Makefile
  head/net/megacmd/distinfo
  head/net/megacmd/pkg-descr
  head/net/megacmd/pkg-plist