Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 16:22:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270916] net/megacmd: Update to 1.6.1
Message-ID:  <bug-270916-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270916

            Bug ID: 270916
           Summary: net/megacmd: Update to 1.6.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kikadf.01@gmail.com

Created attachment 241567
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241567&action=
=3Dedit
patch_v1

Update to 1.6.1, no specific changelog. Update megasdk version to 4.17.1a, =
not
the latest, but current megacmd release uses this sdk version.

Fix the segmentation fault, what is reported in bug #269979

The fix: add -DCRYPTOPP_DISABLE_ASM to CXXFLAGS on i386 and amd64, as
cryptopp-8.7.0 build with this option by default on i386 and amd64.=20

>From cryptopp-8.7.0 Makefile:

OPTIONS_DEFINE=3D         DEBUG DOCS FULL_DEBUG TOOLS
OPTIONS_DEFINE_amd64=3D   SIMD
OPTIONS_DEFINE_i386=3D    SIMD
...
OPTIONS_DEFAULT=3D        TOOLS
...
.if !${PORT_OPTIONS:MSIMD}
CXXFLAGS+=3D      -DCRYPTOPP_DISABLE_ASM
.endif

I think the fix should works on other cryptopp-8.7.0 relevant segmentation
faults as well, like bug #266866 and bug #267216.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270916-7788>