Skip to content

Import mosquitto into upstream #180

Description

@sjorge

As mentioned on #SmartOS, here is the mosquitto package.
@jperkin all mentioned issues are fixed and pkglint is happy. I've also cleaned up one of the patches to make it more platform agnostic.

[isotope :: sjorge][/data/pkgsrc/pbd/mosquitto][master ✗]
[!]$ pkglint
ERROR: Makefile:4: Invalid category "pbd".
1 error and 0 warnings found.

Is the only error remaining as I namespace all my package in pbd, this should probably live under net once upstreamed.

Source available from https://github.com/sjorge/pkgsrc-blackdot/tree/master/mosquitto

Activity

  1. sjorge commented on May 1, 2019

    @sjorge
    Author

    Just for my future self (or if anyone picks it up earlier)

    Feedback from IRC:

    • ask on #pkgsrc for non SmartOS folks to test
    • fix #ifdef _SunOS_ as it should not work (but does?) to use __sun (no longer needed on 1.6.x)
    • patch in ${PKGMANDIR} into CMakeLists.txt instead of using Makefile to move them. (no longer done in 1.6.x)
  2. added a commit that references this issue on Jul 1, 2019
  3. added a commit that references this issue on Jul 15, 2019
  4. papertigers commented on Jul 31, 2019

    @papertigers

    @sjorge have you had any time to drive this over the line? I am currently using a pkg I built from your repo but would love to have this in pkgsrc proper so I don't have to think about it anymore.

  5. sjorge commented on Jul 31, 2019

    @sjorge
    Author
  6. added a commit that references this issue on Nov 6, 2019
  7. sjorge commented on Mar 27, 2020

    @sjorge
    Author

    Some of the mentioned issues are fixed in 1.6.x, I tried bumping to 1.6.9 today but the build is broken again. Blah.

    Undefined                       first referenced
     symbol                             in file
    DL_INSERT_INORDER                   CMakeFiles/mosquitto.dir/session_expiry.c.o
    ld: fatal: symbol referencing errors. No output written to mosquitto
    collect2: error: ld returned 1 exit status
    
  8. sjorge commented on Mar 27, 2020

    @sjorge
    Author

    Fun stuff! It's an upstream bug it seems as both the debian and fedora packages have the error!
    eclipse-mosquitto/mosquitto#1637

    But pkgsrc is nice enough to catch it before finishing! <3 but also shakes fist @ upstream

  9. sjorge commented on Mar 27, 2020

    @sjorge
    Author

    Using the bundled uthash works 🤷‍♂ , I've pushed the changes to my repo.

  10. sjorge commented on Mar 27, 2020

    @sjorge
    Author

    @jperkin most of the issue are addressed now, can you see if it builds on one of your netbsd machines?

    Aside from the catogory being set to pdb (my own prefix to keep things apart)

  11. added a commit that references this issue on Apr 19, 2020
    849d1fc
  12. 86 remaining items

  13. added a commit that references this issue on Jul 30, 2026
  14. added a commit that references this issue on Aug 25, 2026
  15. added a commit that references this issue on Sep 6, 2026
  16. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions