[Bug 297568] net/mosquitto: Rework port

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297568

            Bug ID: 297568
           Summary: net/mosquitto: Rework port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 273807
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273807&action=edit
Patch for mosquitto

* Unbundle uthash as recommended by Porters Handbook [1]
* Unbundle (lib)websockets as recommended by Porters Handbook [1]
* Make (lib)websockets mandatory, this is default in all major distros
* Use sqlite helper [2]
* Prefer libedit as upstream provides no way of selecting either libedit or
readline and it'll try to find libedit first
* Remove hack for adding path(s) to localbase, use helper instead [3]
* Disable WITH_HTTP_API as port will otherwise pick up libmicrohttpd in unclean
environments
* Remove REINPLACE_CMD for CMakeLists.txt files as it does nothing

1: https://docs.freebsd.org/en/books/porters-handbook/book/#bundled-libs
2: https://docs.freebsd.org/en/books/porters-handbook/book/#uses-sqlite
3: https://docs.freebsd.org/en/books/porters-handbook/book/#uses-localbase

Poudriere testport ok on 14.4 (amd64) and 15.1 (amd64)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.