Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pkg-config files to CMake build #211

Closed
wants to merge 131 commits into from
Closed

Conversation

simark
Copy link
Contributor

@simark simark commented Jul 12, 2016

This patch adds pkg-config files for libmosquitto and libmosquittopp,
and installs them through CMake.

Refs #107

ralight and others added 30 commits April 1, 2015 09:35
This change in behaviour can be justified by considering when the
timeout may have occurred.

* If a connection is unreliable and has dropped, but without one end
  noticing, the messages will be retried on reconnection. Sending
  additional PUBLISH or PUBREL would not have changed anything.

* If a client is overloaded/unable to respond/has a slow connection then
  sending additional PUBLISH or PUBREL would not help the client catch
  up. Once the backlog has cleared the client will respond. If it is not
  able to catch up, sending additional duplicates would not help either.
This adds an alternative option to use_identity_as_username.
In contrast to use_identity_as_username this option uses the full x509 subject as the username.
The subject is formatted as an rfc4514 distingushed name e.g. CN=client,OU=unit,O=org

Signed-off-by: Fabian Ruff <[email protected]>
This is for certificate based client authentication.

Thanks to Fabian Ruff.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=469467
…clipse.mosquitto into develop

Conflicts:
	lib/messages_mosq.c
	lib/mosquitto.c
	src/conf.c
	src/database.c
	src/loop.c
	src/mosquitto_broker.h
	src/read_handle_server.c
CROSS_COMPILE variable is missing before websockets, so cross compilation
fails.

Signed-off-by: Tomas Novotny <[email protected]>
Add possibility to notify systemd that service is fully started. Also add
reference service files.

Change-Id: Ib4e39c8406ab6c15e1b88f197ae8f91c3e402023
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471053
Signed-off-by: Tomas Novotny <[email protected]>
lancechentw and others added 21 commits June 2, 2016 18:02
In order to make the CPP static library include all
objects from the C static library, the list of objects
(MOSQ_OBJS) is isolated into objects.mk to be used for
building the C and CPP static libraries.

Signed-off-by: Lance Chen <[email protected]>
to conform to the bare Makefiles

Signed-off-by: Lance Chen <[email protected]>
The option WITH_STATIC_LIBRARIES is default to yes

Signed-off-by: Lance Chen <[email protected]>
store id is a uint64_t, print it consistently.

Signed-off-by: Karl Palsson <[email protected]>
mosqPID_shutdown
mosqPID_reload
mosqPID_backup
mosqPID_vacuum

where PID is the PID of the mosquitto process

Signed-off-by: Dmitry Kaukov <[email protected]>
A lot of function renaming was done in 663d50a,
and this websockets patch was merged afterwards.  Autobuild testing
doesn't have websockets enabled, and missed this.

Fixes: d9142c3
Signed-off-by: Karl Palsson <[email protected]>
giraldeau added a commit to polarsys-rover/polarsys-userspace that referenced this pull request Jul 12, 2016
Depends on the following pull request: eclipse/mosquitto#211

Signed-off-by: Francis Giraldeau <[email protected]>
@giraldeau
Copy link

giraldeau commented Jul 12, 2016

I tested this patch and confirm that it works as advertised.

$ cmake -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/temp/ ../
$ make 
$ sudo make install // actually required for system ldconfig
$ find temp/ -type f | grep pkgconfig 
temp/lib/pkgconfig/libmosquittopp.pc
temp/lib/pkgconfig/libmosquitto.pc

This patch adds pkg-config files for libmosquitto and libmosquittopp,
and installs them through CMake.

Refs eclipse#107
@simark
Copy link
Contributor Author

simark commented Jul 12, 2016

Closing, because I had not read the contributing guidelines. I'll re-open another pull request targeting the develop branch.

@simark simark closed this Jul 12, 2016
@simark
Copy link
Contributor Author

simark commented Jul 12, 2016

Please see #213 .

simark pushed a commit to polarsys-rover/polarsys-userspace that referenced this pull request Jul 13, 2016
Depends on the following pull request: eclipse/mosquitto#211

Signed-off-by: Francis Giraldeau <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants