Compare commits

..

113 commits

Author SHA1 Message Date
Fedora Release Engineering
2b568b0136 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:39:57 +00:00
Fedora Release Engineering
61dda03ad6 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:07:36 +00:00
Fedora Release Engineering
8c0a9a2744 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:17:35 +00:00
Denis Arnaud
5cdfb5dc7a Rebuild for OpenPGM in a side tag 2025-01-28 11:40:11 +01:00
Denis Arnaud
2ba6425a00 Rebuild for OpenPGM 2025-01-27 23:08:26 +01:00
Fedora Release Engineering
cb016e7317 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:44:36 +00:00
Miroslav Suchý
c8ae1309ae Migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4

If there will be no comments in two weeks, I will merge this.
2024-09-08 20:06:32 +00:00
Fedora Release Engineering
1bc5134706 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:50:50 +00:00
Fedora Release Engineering
1cb438733f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:04:44 +00:00
Florian Weimer
d1f897dccf Build with _DEFAULT_SOURCE to avoid compatibility issue 2023-11-29 14:33:04 +01:00
Mattias Ellert
0502eb1960 XFAIL the faileing tests/test_radio_dish 2023-10-31 18:05:23 +01:00
Denis Arnaud
04ba3e0b7e BZ#2247171 / PR#7 - Added the --enable-drafts option by default 2023-10-31 15:13:53 +01:00
Mattias Ellert
9e6802e3b7 Enable draft API (rhbz#2247171) 2023-10-31 12:51:38 +01:00
Denis Arnaud
3dd626ffa0 Revert "BZ#2245747 - Build system switched to CMake"
This reverts commit 0a97bab77b.
2023-10-24 20:30:24 +02:00
Denis Arnaud
13c901b7af Revert "CMake / Improved the build"
This reverts commit b80422b75f.
2023-10-24 20:29:42 +02:00
Denis Arnaud
b80422b75f Improved the build 2023-10-24 19:41:37 +02:00
Denis Arnaud
0a97bab77b BZ#2245747 - Build system switched to CMake 2023-10-24 15:20:12 +02:00
Denis Arnaud
e47d99b391 Fixed the license name 2023-10-23 00:41:22 +02:00
Denis Arnaud
12b8a0bc12 Fixed the changelog section 2023-10-23 00:30:05 +02:00
Denis Arnaud
de1a0c8e35 Upstream upgrade 2023-10-23 00:01:24 +02:00
Denis Arnaud
e1c1539e16 Upstream upgrade 2023-10-22 23:56:37 +02:00
Denis Arnaud
7a106ac239 Upstream upgrade 2023-10-22 23:51:07 +02:00
Denis Arnaud
0108fed20c Upstream upgrade 2023-10-22 23:49:02 +02:00
Denis Arnaud
6666ee1fbe Upstream upgrade 2023-10-22 23:47:40 +02:00
4899b764e8 rebuild for new libsodium 2023-10-05 09:26:18 +02:00
Fedora Release Engineering
690b1cc3cf Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:40:04 +00:00
David Cantrell
b06c92b895 Convert License tag to SPDX identifiers
Examined the source code and see most of the library is under
LGPL-3.0-or-later, but sha1 in external/ is under BSD-3-Clause and
unity in external/ is under MIT.

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-05-17 12:49:31 -04:00
Ben Woodard
0da91cc706 Remove libunwind from dependencies
In the case where a C application uses zeromq and then dlopen's a C++
module, the C++ exception handling functionality will not work because
libzmg pulls in libunwind. Then the C++ module brings in libstdc++ and
libgcc_s, the personality function which is part of the C++ exception
handling the runtime finds the version of
_Unwind_GetLanguageSpecificData which is in libunwind rather than the
one that is in libgcc_s and uses that. However, version does not have
a complete implementation and so it fails causing the application to
abort. This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2175966

Signed-off-by: Ben Woodard <woodard@redhat.com>
2023-03-07 14:41:45 -08:00
Fedora Release Engineering
c2c0544f92 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 08:14:28 +00:00
Fedora Release Engineering
9958f38243 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:53:53 +00:00
Fedora Release Engineering
1cff1e4bfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:50:16 +00:00
Fedora Release Engineering
5226e5546b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 22:16:38 +00:00
Denis Arnaud
b11c5a2199 Upstream upgrade
Fixes #1921879, #1921972, #1921973, #1921975, #1921976, #1921979, #1921981,
#1921983, #1921983, #1921985, #1921987, #1921989, #1921992, #1921994
2021-01-30 00:41:36 +01:00
Fedora Release Engineering
f46381246b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:40:52 +00:00
Tom Stellard
135a5bb23b Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:52:06 +00:00
Denis Arnaud
deb7fbd467 No check for s390x 2020-09-16 00:30:40 +02:00
Denis Arnaud
29fbd797d1 Added dependencies for the man pages 2020-09-15 23:11:38 +02:00
Denis Arnaud
4f322ac6af Upstream upgrade
Fixes #1876738 and #1876689
2020-09-15 22:53:58 +02:00
Fedora Release Engineering
4f02baed80 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:49:32 +00:00
Fedora Release Engineering
862d0b3419 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 15:21:52 +00:00
Dan Horák
d99d0bd41b - libunwind is available on all Fedora arches 2020-04-15 09:22:57 -04:00
Fedora Release Engineering
f3609faa1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 05:17:34 +00:00
Elliott Sales de Andrade
a31484cb1d Update to latest version. 2019-09-08 03:33:08 -04:00
Fedora Release Engineering
8b1b433149 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:58:52 +00:00
Elliott Sales de Andrade
3fa0303d29 Disable libunwind on unsupported arches. 2019-02-16 16:32:57 -05:00
Fedora Release Engineering
9e5b263a81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:09:55 +00:00
Elliott Sales de Andrade
5aea20bcd5 Split cppzmq into its own package. 2019-01-22 01:38:29 -05:00
Elliott Sales de Andrade
5652a7377f Update to latest version of libzmq and cppzmq. 2019-01-22 00:49:07 -05:00
Elliott Sales de Andrade
6a4c511715 Backport another patch to fix s390x. 2019-01-21 19:40:05 -05:00
Elliott Sales de Andrade
689cc9f6d7 Use explicit soname version. 2019-01-21 17:34:51 -05:00
Elliott Sales de Andrade
dc32612980 Backport patch to fix test failure. 2019-01-21 06:12:50 -05:00
Elliott Sales de Andrade
7a004a7f33 Remove some old stuff. 2019-01-21 06:10:52 -05:00
Pavel Zhukov
23d1f54267 Add gcc-c++ build requirement.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1606788
2018-08-28 15:40:35 +02:00
Fedora Release Engineering
2e18705528 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:49:31 +00:00
3eaf98a78b Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:52:39 +01:00
Fedora Release Engineering
1b73cea19e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:26:52 +00:00
2cefe81957
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 17:43:00 +01:00
015e3956e4 rebuild for libsodium 2017-10-02 09:08:17 +02:00
Fedora Release Engineering
85bad0539d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 11:10:21 +00:00
Fedora Release Engineering
ce3866b8d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:42:07 +00:00
Fedora Release Engineering
8f64d3da25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:51:56 +00:00
Fedora Release Engineering
e69895fec7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:23:50 +00:00
Thomas Spura
be57c1acb7 Update to 4.1.6 2016-11-13 10:41:58 +01:00
Denis Arnaud
2c2ab1232d Improved the .gitignore file 2016-06-12 04:36:50 +02:00
6e875bede4 rebuild for new libsodium soname 2016-03-07 13:17:48 +01:00
Thomas Spura
eff758a05c Remove Werror from compile flags 2016-02-14 17:06:49 +01:00
Fedora Release Engineering
9466daf312 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 04:05:35 +00:00
Thomas Spura
4010976809 Enable krb5 and fix building of pgm (#1301197) 2016-01-24 17:04:08 +01:00
Thomas Spura
eb3bd66bd0 Update to 4.1.4 (#1292814) and refresh zmq.hpp 2015-12-19 12:52:50 +01:00
Thomas Spura
729573e58e update to 4.1.3
- ipv6 patch included upstream
- refresh zmq.hpp
2015-08-24 10:45:04 +02:00
Thomas Spura
f003bc5816 Add missing BR:libsodium-devel 2015-06-23 11:08:49 +02:00
Thomas Spura
d930586b91 update to 4.1.2 with a upstream patch to fix a problem with ipv6 2015-06-23 11:00:13 +02:00
Dennis Gilmore
d9734a9779 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:46:03 +00:00
Thomas Spura
4c7a024ec3 Add zmq.hpp, which originally belonged to zeromq 2015-06-08 10:33:25 +02:00
Thomas Spura
f7093ac2e3 Add cve for protocol downgrad attack 2015-05-21 16:41:46 +02:00
Thomas Spura
66b20ffa04 Fix changelog. Obsoletes:zeromq-utils was removed not Provides: 2015-05-20 00:03:21 +02:00
Thomas Spura
e6cddf9458 remove %%defattr 2015-05-19 23:31:38 +02:00
Thomas Spura
778f84a183 Remove Provides:zeromq-utils 2015-05-19 23:30:20 +02:00
Thomas Spura
1f0ba93f7f Cherry-pick patch for protocol downgrade attack (#1221666) 2015-05-19 23:29:32 +02:00
Kalev Lember
a3f209629d Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:51:44 +02:00
Thomas Spura
1340e1cf54 update to 4.0.5 2014-11-17 08:46:27 +01:00
81d32678f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:36:00 +00:00
Dennis Gilmore
f3126646bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:07:22 -05:00
Dennis Gilmore
1737a29108 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 04:49:37 -05:00
Thomas Spura
f4c4f8f588 Rewrite openpgm version in configure* 2013-05-17 15:35:50 +02:00
Thomas Spura
38435b1525 Rebuilt for openpm-5.2 and sed correct version into configure (#963894) 2013-05-17 15:17:40 +02:00
Thomas Spura
afc37757d4 also add libtool to BR 2013-03-27 17:05:26 +01:00
Thomas Spura
44f9254516 also add automake to BR 2013-03-27 16:54:07 +01:00
Thomas Spura
9684f06abb run autoreconf before configure so aarch64 is supported (#926859) 2013-03-27 16:37:00 +01:00
Dennis Gilmore
7ca72a2b57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 22:19:15 -06:00
Thomas Spura
541d320bf1 delete foreign files with dubious license in %%prep (#892111) 2013-01-14 09:18:53 +01:00
Thomas Spura
084946f586 Build against openpgm
- add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
- remove bundled pgm
- build against openpgm
2012-12-24 18:50:04 +01:00
Dennis Gilmore
c802ef060e - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 03:14:11 -05:00
Thomas Spura
3b50b0b1d3 upload sources for 2.2.0 2012-04-26 13:11:11 +02:00
Thomas Spura
4ae1eb5fc5 update to 2.2.0 2012-04-26 13:09:41 +02:00
Thomas Spura
e206a0779b Upload sources for 2.1.11 2012-01-07 00:49:22 +01:00
Thomas Spura
6a434707f2 update to 2.1.11 2012-01-07 00:48:33 +01:00
Thomas Spura
c1495c09e9 handle epel6=fedora 2011-10-23 01:39:41 +02:00
Thomas Spura
5383752075 remove buildroot before installing (needed for el5) 2011-09-21 19:25:39 +02:00
Thomas Spura
e79487ceb6 buildroot is needed on el5 2011-09-21 19:23:27 +02:00
Thomas Spura
df2bd545b9 s/epel/rhel/g in macros 2011-09-21 19:12:47 +02:00
Thomas Spura
7bb1f0682a libuuid-devel is e2fsprogs-devel in el5 according to Thomas S Hatch
(Thanks for that info.)
2011-09-21 19:01:40 +02:00
Thomas Spura
e847db07f6 Don't turn warnings into errors 2011-09-21 11:15:14 +02:00
Thomas Spura
cbe2c06143 - update to 2.1.9
- add check section
2011-09-21 11:04:22 +02:00
21335c1108 also upload new sources 2011-04-06 10:28:48 +02:00
c007567440 update to new version 2.1.4 (#690199) 2011-04-06 10:12:35 +02:00
d5704206f1 upload new sources 2011-03-23 17:23:12 +01:00
bac64aedf2 update to new version and obsolete -utils subpackage 2011-03-23 17:17:59 +01:00
Dennis Gilmore
fe77403e22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 02:49:28 -06:00
Pavel Zhukov
54ea8ea832 - update version
- add rpath delete
- change includedir filelist

Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
2011-01-13 11:08:04 +01:00
86b7e03b6f update to new version 2010-08-27 13:17:49 +02:00
Fedora Release Engineering
45c5ededdb dist-git conversion 2010-07-29 16:29:13 +00:00
91e1aea0db initial commit (#603233) 2010-07-25 12:19:21 +00:00
5 changed files with 162 additions and 1 deletions

11
.gitignore vendored Normal file
View file

@ -0,0 +1,11 @@
/zeromq-*.tar.*
/zeromq-*.src.rpm
/zeromq-*.*.*/
/libzmq-*.*.*/
/clog
.build-*.*.log
/noarch/
/x86_64/
/i?86/
/tarballs/
/libzmq-*.*.*.tar.gz

View file

@ -1 +0,0 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (zeromq-4.3.5.tar.gz) = a71d48aa977ad8941c1609947d8db2679fc7a951e4cd0c3a1127ae026d883c11bd4203cf315de87f95f5031aec459a731aec34e5ce5b667b8d0559b157952541

View file

@ -0,0 +1,37 @@
Build with -D_DEFAULT_SOURCE along with -std=c11
On its own, -std=c11 hides POSIX and other extensions from C headers
such as <stdlib.h> when building against glibc. This causes the
posix_memalign probe to fail incorrectly with compilers that do not
accept implicit function declarations. _DEFAULT_SOURCE is ignored by
most non-GNU/Linux systems or not relevant in this context, so there
is no separate check for adding it.
Submitted upstream: <https://github.com/zeromq/libzmq/pull/4635>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68fb7251..f956f3fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,7 +122,7 @@ if (NOT MSVC)
if(NOT CMAKE_C_FLAGS MATCHES "-std=" AND NOT C_STANDARD AND NOT CMAKE_C_STANDARD)
check_c_compiler_flag("-std=c11" COMPILER_SUPPORTS_C11)
if(COMPILER_SUPPORTS_C11)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_DEFAULT_SOURCE -std=c11")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
endif()
diff --git a/configure.ac b/configure.ac
index b9e13d4f..ffcc145b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ ZMQ_ORIG_CXXFLAGS="${CXXFLAGS:-none}"
# Checks for programs.
AC_PROG_CC
-AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS+=" -std=c11"], [AC_PROG_CC_C99])
+AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS+=" -std=c11 -D_DEFAULT_SOURCE"], [AC_PROG_CC_C99])
AC_PROG_CXX
AX_CODE_COVERAGE
AM_PROG_CC_C_O

113
zeromq.spec Normal file
View file

@ -0,0 +1,113 @@
%bcond_without pgm
%bcond_without unwind
Name: zeromq
Version: 4.3.5
Release: %autorelease
Summary: Software library for fast, message-based applications
License: MPL-2.0 AND BSD-3-Clause AND MIT
URL: https://zeromq.org
Source0: https://github.com/%{name}/libzmq/archive/v%{version}/%{name}-%{version}.tar.gz
Patch1: zeromq-configure-c99.patch
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: libsodium-devel
%if %{with unwind}
BuildRequires: libunwind-devel
%endif
%if %{with pgm}
BuildRequires: openpgm-devel
BuildRequires: krb5-devel
%endif
%description
The 0MQ lightweight messaging kernel is a library which extends the
standard socket interfaces with features traditionally provided by
specialized messaging middle-ware products. 0MQ sockets provide an
abstraction of asynchronous message queues, multiple messaging
patterns, message filtering (subscriptions), seamless access to
multiple transport protocols and more.
This package contains the ZeroMQ shared library.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
# Remove bundled code.
rm -rf external/wepoll
# Fix permissions.
chmod -x src/xsub.hpp
%build
autoreconf -fi
%configure \
%if %{with pgm}
--with-pgm \
--with-libgssapi_krb5 \
%endif
--with-libsodium \
--enable-drafts \
%if %{with unwind}
--enable-libunwind \
%endif
--disable-Werror \
--disable-static
%make_build
%install
%make_install
# remove *.la
rm %{buildroot}%{_libdir}/libzmq.la
%check
%ifarch s390x
make check V=1 XFAIL_TESTS=tests/test_radio_dish || ( cat test-suite.log && exit 1 )
%endif
%ldconfig_scriptlets
%files
%doc README.md AUTHORS NEWS
%license LICENSE
%{_bindir}/curve_keygen
%{_libdir}/libzmq.so.5*
%{_mandir}/man3/zmq_*
%{_mandir}/man7/zmq_*
%{_mandir}/man7/zmq.*
%files devel
%{_libdir}/libzmq.so
%{_libdir}/pkgconfig/libzmq.pc
%{_includedir}/zmq*.h
%changelog
%autochangelog