| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes: alanxz/rabbitmq-c#733
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
This makes the rabbitmq-c-config.cmake package config correctly find
the OpenSSL library dependency when required.
Fixes: #725
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
This is the version that is installed on Ubuntu 22.04-LTS, and what is
possible to regularly test with the current infrastructure. 3.19+ is
needed to allow for use of CMakePresets.json.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Set the compatibility and current version strings on Mach-O (Apple)
platforms. The compatibility version remains the same as the SOVERSION,
the current version is SOVERSION.AGE.REVISION, which matches the
previous libtool semantics for this.
Fixes #758
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
| |
* support of oss-fuzz
Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
| |
* fuzzer deployment
Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>
|
|
|
|
|
|
| |
This appears to be unused.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This makes license detection machine-readable, and makes source files more concise and easier
to read and understand.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
Instead of defining OpenSSL dependency via Requires.private use Libs.private instead.
This removes the requirement of a .pc file for OpenSSL which not all distributions ship such as FreeBSD.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
|
|
|
|
|
|
| |
Also use find_package(... REQUIRED) pattern to be a bit more concise.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
C99 supports the inline keyword, this is now not useful.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
It is believed that enough maintained platforms (Linux, MacOS, Win32)
have a compiler that supports a compiler that can compile in C99. This
also removes the need to maintain a number of workarounds, as well as
awkward coding patterns.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
This will be replaced with some sort of shell script.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This makes full library version on unix-like systems match the release
version. The SOVERSION remains as unchanged, for compatibility sake.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMake issues the following developer warning about FindXmlTo:
The package name passed to `find_package_handle_standard_args` (XMLTO) does
not match the name of the calling package (XmlTo). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
This corrects that by naming it FindXMLTO.cmake.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Then make BUILD_TOOLS_DOCS only usable when BUILD_TOOLS is ON and
explicitly specified.
This makes the project easier to add_submodule by not sometimes turning
on features based on the environment. And makes it explict when things
are enabled vs something that is triggered based on the environment.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the project easier to use as an add_subdirectory in a larger
project without needing to explicitly disable this feature.
As a minor side-effect: BUILD_EXAMPLES now requires
BUILD_SHARED_LIBS=ON. While there isn't a technical limitation, it makes
the CMake code easier to reason about, and is believed this will not
impact a lot of users. If this ends up being a problem, it can be
reconsidered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To help package managers cmake install commands now specify a COMPONENT.
Components include:
- rabbitmq-c-runtime: libraries necessary for running programs linked
against rabbitmq-c.
- rabbitmq-c-development: static libraries, headers necessary for
building programs against rabbitmq-c
- rabbitmq-c-tools: CLI tools for interacting with RabbitMQ broker
- rabbitmq-c-tool-docs: man pages for CLI tools.
This also updates the tool install directory to use GnuInstallDirs-
compatible location
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
v1.1.0 and older is no longer supported by OpenSSL
(https://www.openssl.org/policies/releasestrat.html). While there is
the possibility that someone is paying for support for v1.0.2, this
library is not regularly tested against these versions.
As a side-effect older workarounds for hostname verification can be
removed.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
| |
Use cmake's GenerateExportHeader to define AMQP_EXPORT & AMQP_DEPRECATED
over the one in amqp.h. This is likely to be more correct over time.
Note this requires bumping the minimum required version from v3.10 to
v3.12 to pick up support in CMake for C libraries.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This also gets rid of a non-top-level project command that probably
shouldn't be used.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This removed when the manual flag manipulation bit was removed. This
restores the previous behavior and adds -fvisibility-inlines-hidden
Signed-off-by: GitHub <noreply@github.com>
|
| |
|
|
|
|
|
|
| |
Note this changes the build option from BUILD_TESTS to BUILD_TESTING.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
Manipulating CMAKE_C_FLAGS directly within the CMakeLists.txt is
generally frowned upon, and error-prone as compilers evolve.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
Setting CMAKE_C_STANDARD, CMAKE_C_STANDARD_REQUIRED, and
CMAKE_C_EXTENSIONS instead of manipulating CMAKE_C_FLAGS is more
portable and future proof
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This is the method recommended on the kitware blog and will better
handle other generators beyond Make and Ninja.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
CMake v3.10 is available on most LTS systems (Ubuntu 18.04+,
RHEL/CentOS 8, Debian Stable, Fedora 32, FreeBSD and OpenBSD). And thus
can be tested.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
Generating a -config.cmake or Config.cmake lets rabbitmq-c be
discoverable via cmake's `find_package`, and allows easier use in the
vcpkg ecosystem.
|
|
|
|
|
|
|
|
|
| |
System tests require a RabbitMQ or other AMQP server to be running on
`localhost` at TCP port number 5672 and therefore fails if no such
server is running on the build machine.
This is surprising for everyone running the standard `make test`
to ensure the library is built correctly.
|
|
|
|
|
|
|
|
|
| |
Fixes #599
Private lib entries are currently separated by semicolon.
Replace semicolon by space and add -l prefix to libs.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Remove the option to disable thread-safety in the parts of rabbitmq-c
that use OpenSSL, making it a requirement for thread-safety to use SSL
with rabbitmq-c.
The existing #ifdef's are a source of additional complexity and the
non-thread-safe version is not well tested.
|
|
|
|
| |
They're hard to keep in sync with .clang-format or other tools.
|
|
|
|
|
| |
HAVE_HTONLL was used for the byteswap code, which no longer uses htonll,
this can be removed.
|
| |
|
| |
|
|
|
|
|
| |
Rework checking for existence of getaddrinfo, socket, poll and select so
that it works when -DCMAKE_C_FLAGS="-Werror" is passed to CMake.
|
|
|
|
|
|
|
|
|
|
| |
These are usually found in librt. On some systems clock_gettime is also
in librt so checking for it was implicitly satisfying the requirement
for the posix_spawn functions. On newer systems (glibc >2.17 for
example) clock_gettime is also found in libc so AC_SEARCH_LIBS() decides
that it is not necessary to add -lrt to LIBS.
Add an explicit check for posix_spawnp() to decide if -lrt is necessary.
|
|
|
|
| |
Fixes #293
|