Commit Graph

44 Commits

Author SHA1 Message Date
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Nikolay Korotkiy
5621fb9e2d
mosquitto: fix pkg-config files
- Fix prefix in pkg-config files
- Use uthash from nixpkgs instead of bundled one (preffered way)
- No need make -C man, manpages are generated by default
- No need -DWITH_THREADING=ON, it's ON by default
2023-12-15 09:04:07 +04:00
Martin Weinelt
facbafb04b
mosquitto: add nixos test into passthru.tests 2023-10-22 01:11:35 +02:00
datafoo
98a1618021
mosquitto: 2.0.17 -> 2.0.18
https://mosquitto.org/blog/2023/09/version-2-0-18-released/
2023-10-22 01:07:24 +02:00
Doron Behar
91d118af62
Merge pull request #228138 from rycee/mosquitto/outputs
mosquitto: use multiple outputs
2023-10-18 21:15:19 +00:00
datafoo
2b657cc32e mosquitto: 2.0.15 -> 2.0.17 2023-08-23 12:27:31 +02:00
Rowan Skewes
7687b8464f mosquitto: fix bug with firefox wss http/2
Firefox has a bug preventing websockets being created with
a server that uses http/2. Building libwebsockets without
http/2 support fixes this issue for mosquitto.
See https://github.com/eclipse/mosquitto/issues/1211#issuecomment-958137569
2023-07-25 02:24:52 +00:00
Robert Helgesson
db1b253b3a
mosquitto: use multiple outputs
Most importantly, separate the library from the executables. When the
library is used as a standalone MQTT client library, then we don't
want to pull in, e.g., the broker daemon.

Conveniently, the library output does not have a runtime dependency on
systemd so it becomes unnecessary to use `withSystemd = false` to keep
the closure size down when only wanting to use the library.
2023-05-17 14:09:13 +02:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Evils
925ba44a5f mosquitto: 2.0.14 -> 2.0.15 2022-12-03 19:08:52 +01:00
datafoo
c788416d11 mosquitto: 2.0.12 -> 2.0.14 2022-01-07 13:29:48 +01:00
Rick van Schijndel
065992e4f8 mosquitto: use libwebsockets 4.x
This requires us to enable LWS_WITH_EXTERNAL_POLL.
Since only mosquitto needs that and upstream discourages enabling it,
we'll just do it in an override in mosquitto.
2021-11-23 19:15:33 +01:00
Thomas Gerbet
d4c75580c1 mosquitto: 2.0.11 -> 2.0.12
https://github.com/eclipse/mosquitto/blob/v2.0.12/ChangeLog.txt
2021-09-01 22:07:27 +02:00
Thomas Gerbet
ded0f0ede6 mosquitto: 2.0.10 -> 2.0.11
Fixes CVE-2021-34431.

https://github.com/eclipse/mosquitto/blob/v2.0.11/ChangeLog.txt
2021-08-10 15:20:33 +02:00
Pavol Rusnak
3ed74809cc
mosquitto: 1.6.12 -> 2.0.10 2021-04-05 16:43:14 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
5190c86c15 mosquitto: 1.6.11 -> 1.6.12 2020-11-03 12:30:32 +00:00
R. RyanTM
79954bdc09 mosquitto: 1.6.10 -> 1.6.11 2020-08-15 00:47:41 -07:00
R. RyanTM
95eb2b296e mosquitto: 1.6.8 -> 1.6.10 2020-06-16 15:54:55 +00:00
R. RyanTM
b5933e2958 mosquitto: 1.6.7 -> 1.6.8 2020-01-22 03:55:00 +00:00
R. RyanTM
67e8f88a93 mosquitto: 1.6.6 -> 1.6.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mosquitto/versions
2019-10-23 08:48:08 -07:00
Peter Hoeg
6605fffa17 mosquitto: 1.6.5 -> 1.6.6 2019-09-19 08:53:33 +08:00
Peter Hoeg
05ee2af77d mosquitto: 1.6.4 -> 1.6.5 2019-09-16 12:36:33 +08:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
810921fe12 mosquitto: 1.6.3 -> 1.6.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mosquitto/versions
2019-08-04 17:50:35 -07:00
Peter Hoeg
7c0c888d82 mosquitto: 1.6.2 -> 1.6.3 2019-06-23 11:21:25 +08:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM
63684d50be mosquitto: 1.6.1 -> 1.6.2 (#62480)
Security release: http://mosquitto.org/blog/2019/04/version-1-6-2-released/
2019-06-03 00:14:19 +00:00
R. RyanTM
56a7e3f532 mosquitto: 1.6 -> 1.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mosquitto/versions
2019-05-01 05:25:09 -07:00
Peter Hoeg
30e71f9cb8 mosquitto: 1.5.8 -> 1.6 2019-04-24 16:22:57 +08:00
Peter Hoeg
5638a1c717 mosquitto: 1.5.5 -> 1.5.8 and add systemd support 2019-03-01 18:53:45 +08:00
R. RyanTM
9496a0e3af mosquitto: 1.5.4 -> 1.5.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mosquitto/versions
2019-01-03 00:57:03 -08:00
Rickard Nilsson
2473754ad2 mosquitto: 1.5.3 -> 1.5.4
Remove patch that has been merged upstrem.
2018-12-15 08:49:47 +01:00
Peter Hoeg
195ba2136e mosquitto: enable websockets support 2018-11-12 15:47:26 +08:00
Peter Hoeg
a45fa35742 mosquitto: 1.4.15 -> 1.5.3
Use cmake on all platforms instead of only macos.
2018-10-25 12:10:01 +08:00
Ryan Mulligan
a28a2e3829 mosquitto: 1.4.14 -> 1.4.15
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.4.15 with grep in /nix/store/7nifpbj16dlhljb2jwbwxyv4wx1zwa1y-mosquitto-1.4.15
- found 1.4.15 in filename of file in /nix/store/7nifpbj16dlhljb2jwbwxyv4wx1zwa1y-mosquitto-1.4.15
2018-03-09 01:01:28 -08:00
volth
144914121c mosquitto: fix darwin build (#29851) 2017-09-28 21:15:42 +02:00
Jörg Thalheim
c1de354a3d libwebsockets: revert making libuv a propagated build input
it is possible to use libwebsockets without libuv

cc @volth
2017-09-20 02:49:31 +01:00
Volth
6950da832d mosquitto: 1.4 -> 1.4.14
fixes #29567
2017-09-19 20:31:00 +01:00
Matthew O'Gorman
6a01fc2b7c mosquitto: add websockets support. 2016-09-14 19:34:14 +02:00
Matthew Bauer
0c6a79a2d0 mosquitto: use cmake for darwin
Makefile says this:

Please compile using CMake on Mac OS X.
2016-08-16 19:25:43 +00:00
Moritz Ulrich
0e96c96b84 mosquitto: Use built-in Makefile for installation.
This will also install man pages, client-binaries (mosquitto_sub,
mosquitto_pub), libs, headers, etc.
2016-02-20 14:46:20 +01:00
Suvash Thapaliya
81588746aa Add Mosquitto MQTT server package
as of now it is just built and copied to the right place so that
the server can be run.  hopefully i will be tweaking with the
configuration files in the future and tweak this a bit more
2015-02-21 11:38:51 +01:00