pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
megacmd: update to 2.4.0
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sun Feb 8 19:45:37 2026 +0100
Changeset: 3f576a2565204384fc54d139fcec95a3699a356b
Modified Files:
megacmd/Makefile
megacmd/PLIST
megacmd/distinfo
megacmd/patches/patch-sdk_src_posix_fs.cpp
Added Files:
megacmd/COMMIT_MSG
megacmd/patches/patch-sdk_include_mega_localpath.h
Removed Files:
megacmd/patches/patch-sdk_include_mega_filesystem.h
megacmd/patches/patch-sdk_include_megaapi__impl.h
Log Message:
megacmd: update to 2.4.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3f576a2565204384fc54d139fcec95a3699a356b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
megacmd/COMMIT_MSG | 23 +++++++++++++++
megacmd/Makefile | 5 ++--
megacmd/PLIST | 1 +
megacmd/distinfo | 17 +++++------
.../patches/patch-sdk_include_mega_filesystem.h | 31 --------------------
megacmd/patches/patch-sdk_include_mega_localpath.h | 17 +++++++++++
megacmd/patches/patch-sdk_include_megaapi__impl.h | 15 ----------
megacmd/patches/patch-sdk_src_posix_fs.cpp | 34 +++++++++++-----------
8 files changed, 68 insertions(+), 75 deletions(-)
diffs:
diff --git a/megacmd/COMMIT_MSG b/megacmd/COMMIT_MSG
new file mode 100644
index 0000000000..2bfa458e92
--- /dev/null
+++ b/megacmd/COMMIT_MSG
@@ -0,0 +1,23 @@
+net/megacmd: update to 2.4.0
+
+Tue Dec 16 17:14:02 CET 2025 - linux%mega.co.nz@localhost
+- Update to version 2.4.0:
+ * Improvements in uploads UX/UI: put now supports printing tag. Fixes in transfers table
+ * Stability improvements: crashes fixes, FUSE deadlocks, ...
+ * Performance boosts: lockless download URL retrievals, removed CPU bottlenecks for large accounts processing, db operations improvements, transfers improvements ...
+ * Typos and other improvements
+
+Tue Sep 2 16:43:10 CEST 2025 - linux%mega.co.nz@localhost
+- Update to version 2.3.0:
+ * FUSE (beta): Added fuse commands on Windows to allow your MEGA folders to be directly mounted to your local drive
+ * Other fixes and improvements to enhance reliability and performance
+
+Tue Jun 3 23:20:12 CEST 2025 - linux%mega.co.nz@localhost
+- Update to version 2.2.0:
+ * Support building for ARM64 in linux
+ * New command "configure" to allow configuring some settings
+ * Support setting max number of nodes in memory
+ * Support setting number of SDK instances used for login in folders to download/import
+ * Other fixes and improvements to enhance reliability and performance
+
+- Use builtin mekasdk-10.3.1
diff --git a/megacmd/Makefile b/megacmd/Makefile
index c6da55c8c8..798a25ed83 100644
--- a/megacmd/Makefile
+++ b/megacmd/Makefile
@@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.17 2026/02/06 10:05:35 wiz Exp $
-DISTNAME= megacmd-2.1.1
-PKGREVISION= 4
+DISTNAME= megacmd-2.4.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=meganz/}
GITHUB_PROJECT= MEGAcmd
GITHUB_TAG= ${PKGVERSION_NOREV}_Linux
-SDK_VERSION= v9.1.1
+SDK_VERSION= v10.3.1
GITHUB_SUBMODULES= meganz sdk ${SDK_VERSION} sdk
diff --git a/megacmd/PLIST b/megacmd/PLIST
index 38afe55d16..6b0b70c938 100644
--- a/megacmd/PLIST
+++ b/megacmd/PLIST
@@ -6,6 +6,7 @@ bin/mega-cat
bin/mega-cd
bin/mega-cmd
bin/mega-cmd-server
+bin/mega-configure
bin/mega-confirm
bin/mega-confirmcancel
bin/mega-cp
diff --git a/megacmd/distinfo b/megacmd/distinfo
index 1d627eb49d..e096a12bea 100644
--- a/megacmd/distinfo
+++ b/megacmd/distinfo
@@ -1,23 +1,22 @@
$NetBSD: distinfo,v 1.5 2026/01/08 17:52:19 kikadf Exp $
-BLAKE2s (megacmd-2.1.1.tar.gz) = 493c50974e425b54d952dea2f066b10d8d4dec13721b52808c7cba36074eac5d
-SHA512 (megacmd-2.1.1.tar.gz) = 5b510cca8a1cc8480aa759856ca6f4af5a81967f34b05a03af66334a0004ebe295f7825b3d560d86371f71a57ab60952b3dc8b020480a47b35fee2ec781962bc
-Size (megacmd-2.1.1.tar.gz) = 2087992 bytes
-BLAKE2s (meganz-sdk-v9.1.1.tar.gz) = 3923b242bae105806d10959978ff58a0c0db9e494a1ce04bc59a5bb6cf5946cf
-SHA512 (meganz-sdk-v9.1.1.tar.gz) = bb39b0c5d35caeeed70f373fc9b94dd19b995931d4ba843f1d45a28525a4d4ab681c7d5f992f4e0eb4506a44303fcc771c4e31b216edc0b97b5692bd466b0021
-Size (meganz-sdk-v9.1.1.tar.gz) = 4151889 bytes
+BLAKE2s (megacmd-2.4.0.tar.gz) = 0b1a9fdbb4006f718484510f1562247ad7d7a53006f60de68ccd3be70f547da3
+SHA512 (megacmd-2.4.0.tar.gz) = 7bc4a46007f515d45334acb737cbdb5d7cfb36cc2c4f41c0738b6c58b3b27b22545a9ccf13eb55bf2da6200fe86b8e6b2a0b98f96f2ba2655acf13106b3de964
+Size (megacmd-2.4.0.tar.gz) = 2101729 bytes
+BLAKE2s (meganz-sdk-v10.3.1.tar.gz) = 7d589775be3671a9de6260e858b51dc246904903a228125e94f8d8a1da2bead4
+SHA512 (meganz-sdk-v10.3.1.tar.gz) = 11ee09606d0b848d3137670a8ce29d3bd7487ef4ac6595fa7324ad3b955f0fb5e50a707835d62aa0138e5e181de6ad0d427f83ce5c9bf5ed1c17bd79427f27e4
+Size (meganz-sdk-v10.3.1.tar.gz) = 4421476 bytes
SHA1 (patch-CMakeLists.txt) = 66d843860251fc55eba4e08858b0418dbc9e7fb1
SHA1 (patch-build_cmake_modules_megacmd__libraries.cmake) = afabd22177c0437fbe1d13fdf6601832bc60cd96
SHA1 (patch-sdk_cmake_config.h.in) = 4cc3eab8be8c11571f4aab834690749335c764ec
SHA1 (patch-sdk_cmake_modules_sdklib__libraries.cmake) = 65125e82d0921571a9ba44cfbbb816776a8fc987
SHA1 (patch-sdk_cmake_modules_sdklib__target.cmake) = 33f5b16dc561e37f076c60fa537a4c5b8d8c992e
-SHA1 (patch-sdk_include_mega_filesystem.h) = 827dd8098b72ddc397790c60b1a21163a5df45a5
+SHA1 (patch-sdk_include_mega_localpath.h) = fe25a6c2f6cf890f7e8ed4c8903f51817a641753
SHA1 (patch-sdk_include_mega_posix_megafs.h) = a87e49a8a9d387f5325bf41df3fbd27ecd453b02
SHA1 (patch-sdk_include_mega_sync.h) = 7b73c2619a5fbf33a4df012164876cc4dccfdb84
-SHA1 (patch-sdk_include_megaapi__impl.h) = cd5cd30d989d11d58d0030ebb7a34b3b0963d6fb
SHA1 (patch-sdk_src_filesystem.cpp) = 3890ea10a66cd2a99925af57b0a3558c617cd6e3
SHA1 (patch-sdk_src_node.cpp) = c9fe20a7825edd0345dd28b4947097b3d141493b
-SHA1 (patch-sdk_src_posix_fs.cpp) = 7b3923a465dfd98d86dc2ceabf914450b62dc066
+SHA1 (patch-sdk_src_posix_fs.cpp) = 0dd8ecfafcd7c92cbd45a7b70e02d063ca92ccee
SHA1 (patch-sdk_src_syncfilter.cpp) = 15d5209c9df3925ad45214c6a327938297f9d69b
SHA1 (patch-sdk_src_utils.cpp) = a96bb75ab6de83bb5dc838726f3c183d06aafbb2
SHA1 (patch-src_megacmdcommonutils.cpp) = 92bb24ee05c541f6040577e3ddad0fa7414f0868
diff --git a/megacmd/patches/patch-sdk_include_mega_filesystem.h b/megacmd/patches/patch-sdk_include_mega_filesystem.h
deleted file mode 100644
index 241d45f204..0000000000
--- a/megacmd/patches/patch-sdk_include_mega_filesystem.h
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-sdk_include_mega_filesystem.h,v 1.1 2025/05/16 19:43:58 wiz Exp $
-
-* Add BSD supported filesystems
-
---- sdk/include/mega/filesystem.h.orig 2025-04-02 09:16:59.000000000 +0200
-+++ sdk/include/mega/filesystem.h
-@@ -51,6 +51,10 @@ enum FileSystemType
- FS_SMB = 12,
- FS_SMB2 = 13,
- FS_LIFS = 14,
-+ FS_FFS = 15,
-+ FS_HAMMER = 16,
-+ FS_UFS = 17,
-+ FS_ZFS = 18,
- };
-
- typedef void (*asyncfscallback)(void *);
-@@ -233,11 +237,13 @@ class MEGA_API LocalPath
- friend class ScopedSyncPathRestore;
- friend class WinFileSystemAccess;
- friend class PosixFileSystemAccess;
-+ friend class FallbackFileSystemAccess;
- friend struct WinDirAccess;
- friend struct WinDirNotify;
- friend class LinuxDirNotify;
- friend class MacDirNotify;
- friend class PosixDirNotify;
-+ friend class FallbackDirNotify;
- friend class WinFileAccess;
- friend class PosixFileAccess;
- friend void RemoveHiddenFileAttribute(LocalPath& path);
diff --git a/megacmd/patches/patch-sdk_include_mega_localpath.h b/megacmd/patches/patch-sdk_include_mega_localpath.h
new file mode 100644
index 0000000000..70a055f917
--- /dev/null
+++ b/megacmd/patches/patch-sdk_include_mega_localpath.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Add filesystem support to BSDs
+
+--- sdk/include/mega/localpath.h.orig 2026-02-08 19:23:32.037218658 +0100
++++ sdk/include/mega/localpath.h
+@@ -33,6 +33,10 @@ enum FileSystemType
+ FS_SMB = 12,
+ FS_SMB2 = 13,
+ FS_LIFS = 14,
++ FS_FFS = 15,
++ FS_HAMMER = 16,
++ FS_UFS = 17,
++ FS_ZFS = 18,
+ };
+
+ #ifdef WIN32
diff --git a/megacmd/patches/patch-sdk_include_megaapi__impl.h b/megacmd/patches/patch-sdk_include_megaapi__impl.h
deleted file mode 100644
index 6b97ea9baf..0000000000
--- a/megacmd/patches/patch-sdk_include_megaapi__impl.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-sdk_include_megaapi__impl.h,v 1.1 2025/05/16 19:43:58 wiz Exp $
-
-* Use FallbackFileSystemAccess if USE_PERIODIC defined
-
---- sdk/include/megaapi_impl.h.orig 2025-05-12 14:53:36.536485792 +0200
-+++ sdk/include/megaapi_impl.h
-@@ -90,6 +90,8 @@ class MegaSemaphore : public CppSemaphor
- class MegaWaiter : public PosixWaiter {};
- #ifdef __APPLE__
- class MegaFileSystemAccess : public MacFileSystemAccess {};
-+ #elif defined(USE_PERIODIC)
-+ class MegaFileSystemAccess : public FallbackFileSystemAccess {};
- #else
- class MegaFileSystemAccess : public LinuxFileSystemAccess {};
- #endif
diff --git a/megacmd/patches/patch-sdk_src_posix_fs.cpp b/megacmd/patches/patch-sdk_src_posix_fs.cpp
index 1e32c53cea..fd42c1bc24 100644
--- a/megacmd/patches/patch-sdk_src_posix_fs.cpp
+++ b/megacmd/patches/patch-sdk_src_posix_fs.cpp
@@ -6,7 +6,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
* Fallback funcs
* Fix ctype(3) tolower usage
---- sdk/src/posix/fs.cpp.orig 2025-04-02 09:16:59.000000000 +0200
+--- sdk/src/posix/fs.cpp.orig 2026-01-13 02:44:33.000000000 +0100
+++ sdk/src/posix/fs.cpp
@@ -22,7 +22,8 @@
* You should have received a copy of the license along with this
@@ -28,7 +28,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
#include <sys/types.h>
#include <sys/utsname.h>
#ifdef TARGET_OS_MAC
-@@ -1018,6 +1022,18 @@ int LinuxFileSystemAccess::checkevents([
+@@ -1112,6 +1116,18 @@ int LinuxFileSystemAccess::checkevents([
return result;
}
@@ -47,7 +47,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
#endif // __linux__
-@@ -1417,7 +1433,8 @@ string getDistro()
+@@ -1537,7 +1553,8 @@ string getDistro()
{
distro = distro.substr(0, 20);
}
@@ -57,7 +57,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
return distro;
}
-@@ -1433,7 +1450,8 @@ string getDistroVersion()
+@@ -1553,7 +1570,8 @@ string getDistroVersion()
{
version = version.substr(0, 10);
}
@@ -67,7 +67,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
return version;
}
#endif
-@@ -1749,6 +1767,16 @@ void LinuxDirNotify::removeWatch(WatchMa
+@@ -1860,6 +1878,16 @@ void LinuxDirNotify::removeWatch(WatchMa
}
#endif // USE_INOTIFY
@@ -84,7 +84,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
#endif // __linux__
#endif //ENABLE_SYNC
-@@ -1805,8 +1833,8 @@ private:
+@@ -1916,8 +1944,8 @@ private:
// open with O_NOATIME if possible
int open(const char *path)
{
@@ -95,7 +95,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
int fd = ::open(path, O_RDONLY) ;
#else
// for sync in particular, try to open without setting access-time
-@@ -2065,6 +2093,7 @@ ScanResult PosixFileSystemAccess::direct
+@@ -2167,6 +2195,7 @@ ScanResult PosixFileSystemAccess::direct
}
#ifndef __APPLE__
@@ -103,7 +103,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
// Determine which device contains the specified path.
static std::string deviceOf(const std::string& database,
-@@ -2233,6 +2262,7 @@ static std::string deviceOf(const std::s
+@@ -2335,6 +2364,7 @@ static std::string deviceOf(const std::s
// No database has a mapping for this path.
return std::string();
}
@@ -111,7 +111,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
// Compute legacy filesystem fingerprint.
static std::uint64_t fingerprintOf(const std::string& path)
-@@ -2261,6 +2291,7 @@ static std::uint64_t fingerprintOf(const
+@@ -2363,6 +2393,7 @@ static std::uint64_t fingerprintOf(const
return ++value;
}
@@ -119,7 +119,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
// Determine the UUID of the specified device.
static std::string uuidOf(const std::string& device)
{
-@@ -2337,6 +2368,7 @@ static std::string uuidOf(const std::str
+@@ -2439,6 +2470,7 @@ static std::string uuidOf(const std::str
// Couldn't determine device's UUID.
return std::string();
}
@@ -127,15 +127,15 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
fsfp_t FileSystemAccess::fsFingerprint(const LocalPath& path) const
{
-@@ -2347,6 +2379,7 @@ fsfp_t FileSystemAccess::fsFingerprint(c
+@@ -2449,6 +2481,7 @@ fsfp_t FileSystemAccess::fsFingerprint(c
if (!fingerprint)
return fsfp_t();
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
// What device contains the specified path?
- auto device = deviceOf(path.localpath);
+ auto device = deviceOf(path.toPath(false));
-@@ -2360,6 +2393,7 @@ fsfp_t FileSystemAccess::fsFingerprint(c
+@@ -2462,6 +2495,7 @@ fsfp_t FileSystemAccess::fsFingerprint(c
if (!uuid.empty())
return fsfp_t(fingerprint, std::move(uuid));
}
@@ -143,7 +143,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
// Couldn't determine filesystem UUID.
return fsfp_t(fingerprint, std::string());
-@@ -2452,6 +2486,15 @@ DirNotify* LinuxFileSystemAccess::newdir
+@@ -2554,6 +2588,15 @@ DirNotify* LinuxFileSystemAccess::newdir
return new LinuxDirNotify(*this, root, rootPath);
}
#endif
@@ -158,8 +158,8 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
+
#endif
- bool PosixFileSystemAccess::issyncsupported(const LocalPath& localpathArg, bool& isnetwork, SyncError& syncError, SyncWarning& syncWarning)
-@@ -2526,18 +2569,26 @@ bool PosixFileSystemAccess::getlocalfsty
+ bool PosixFileSystemAccess::issyncsupported(const LocalPath& localpathArg,
+@@ -2635,18 +2678,26 @@ bool PosixFileSystemAccess::getlocalfsty
}
#endif /* __linux__ || __ANDROID__ */
@@ -187,7 +187,7 @@ $NetBSD: patch-sdk_src_posix_fs.cpp,v 1.5 2026/01/08 17:52:19 kikadf Exp $
}; /* filesystemTypes */
struct statfs statbuf;
-@@ -2555,7 +2606,7 @@ bool PosixFileSystemAccess::getlocalfsty
+@@ -2664,7 +2715,7 @@ bool PosixFileSystemAccess::getlocalfsty
type = FS_UNKNOWN;
return true;
}
Home |
Main Index |
Thread Index |
Old Index