head 1.3; access; symbols pkgsrc-2024Q4:1.2.0.6 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.4 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.2 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @// @; 1.3 date 2025.02.15.07.40.14; author wiz; state dead; branches; next 1.2; commitid iV06rQYs809LmxJF; 1.2 date 2024.06.18.18.23.15; author bsiegert; state Exp; branches; next 1.1; commitid Jgf2fAJmfiKvHueF; 1.1 date 2024.03.11.07.49.12; author wiz; state Exp; branches; next ; commitid 2VGVRBaCCnLunI1F; desc @@ 1.3 log @net/megacmd: update to 2.0.0 Provided by Robert Bagdan in wip. - Update to version 2.0.0: * New Sync Engine: See sync-issues and sync-ignore commands * Rotating Logger: Introduced a robust rotating logging system across all platforms for better performance and debugging * Platform-specific enhancements: Addressed various file descriptor issues on Linux and macOS, and improved non-ascii support on Windows * Improved overall reliability: Fixed memory leaks, resolved potential data races, and eliminated deadlock scenarios * Fixed an issue when handling double-quoted arguments * Various fixes and refinements to enhance usability and performance - Use builtin megasdk-8.3.1 @ text @$NetBSD: patch-sdk_src_http.cpp,v 1.2 2024/06/18 18:23:15 bsiegert Exp $ NetBSD and OpenBSD don't support AI_V4MAPPED. Upstream pull req: https://github.com/meganz/sdk/pull/2664 --- sdk/src/http.cpp.orig 2024-05-17 14:19:43.000000000 +0000 +++ sdk/src/http.cpp @@@@ -270,8 +270,12 @@@@ void HttpIO::getMEGADNSservers(string *d hints.ai_family = AF_UNSPEC; #ifndef __MINGW32__ +#if defined(__NetBSD__) || defined(__OpenBSD__) + hints.ai_flags = AI_ADDRCONFIG; +#else hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; #endif +#endif if (!getaddrinfo("ns.mega.co.nz", NULL, &hints, &aiList)) { @ 1.2 log @net/megacmd: Update megacmd to 1.7.0 SDK version update to 4.31.0b. The patchset has been updated to be build-able on DragonFly, Free-, Net- and OpenBSD. Pull request is sent to upstream, but hasn't been merged yet. Changelog not available. From Robert Bagdan via pkgsrc-users. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @net/megacmd: import megacmd-1.6.3 Packaged for wip by Robert Bagdan. 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. @ text @d3 2 a4 1 * Fix build on NetBSD, missing AI_V4MAPPED d6 1 a6 1 --- sdk/src/http.cpp.orig 2023-06-20 16:04:22.829147987 +0000 d8 1 a8 1 @@@@ -270,7 +270,7 @@@@ void HttpIO::getMEGADNSservers(string *d d12 1 a12 1 - hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; d14 2 d17 1 d20 1 @