Compare commits

...

36 Commits

Author SHA1 Message Date
Miroslav Suchý c8ae1309ae Migrate to SPDX license
4 months ago
Fedora Release Engineering 1bc5134706 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fedora Release Engineering 1cb438733f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Florian Weimer d1f897dccf Build with _DEFAULT_SOURCE to avoid compatibility issue
1 year ago
Mattias Ellert 0502eb1960 XFAIL the faileing tests/test_radio_dish
1 year ago
Denis Arnaud 04ba3e0b7e BZ#2247171 / PR#7 - Added the --enable-drafts option by default
1 year ago
Mattias Ellert 9e6802e3b7 Enable draft API (rhbz#2247171)
1 year ago
Denis Arnaud 3dd626ffa0 Revert "BZ#2245747 - Build system switched to CMake"
1 year ago
Denis Arnaud 13c901b7af Revert "CMake / Improved the build"
1 year ago
Denis Arnaud b80422b75f Improved the build
1 year ago
Denis Arnaud 0a97bab77b BZ#2245747 - Build system switched to CMake
1 year ago
Denis Arnaud e47d99b391 Fixed the license name
1 year ago
Denis Arnaud 12b8a0bc12 Fixed the changelog section
1 year ago
Denis Arnaud de1a0c8e35 Upstream upgrade
1 year ago
Denis Arnaud e1c1539e16 Upstream upgrade
1 year ago
Denis Arnaud 7a106ac239 Upstream upgrade
1 year ago
Denis Arnaud 0108fed20c Upstream upgrade
1 year ago
Denis Arnaud 6666ee1fbe Upstream upgrade
1 year ago
Remi Collet 4899b764e8 rebuild for new libsodium
1 year ago
Fedora Release Engineering 690b1cc3cf Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
David Cantrell b06c92b895 Convert License tag to SPDX identifiers
2 years ago
Ben Woodard 0da91cc706 Remove libunwind from dependencies
2 years ago
Fedora Release Engineering c2c0544f92 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago
Fedora Release Engineering 9958f38243 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3 years ago
Fedora Release Engineering 1cff1e4bfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3 years ago
Fedora Release Engineering 5226e5546b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4 years ago
Denis Arnaud b11c5a2199 Upstream upgrade
4 years ago
Fedora Release Engineering f46381246b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Tom Stellard 135a5bb23b Add BuildRequires: make
4 years ago
Denis Arnaud deb7fbd467 No check for s390x
4 years ago
Denis Arnaud 29fbd797d1 Added dependencies for the man pages
4 years ago
Denis Arnaud 4f322ac6af Upstream upgrade
4 years ago
Fedora Release Engineering 4f02baed80 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
Fedora Release Engineering 862d0b3419 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
Dan Horák d99d0bd41b - libunwind is available on all Fedora arches
5 years ago
Fedora Release Engineering f3609faa1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago

4
.gitignore vendored

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

@ -1 +1 @@
SHA512 (libzmq-4.3.2.tar.gz) = 3c0a2dfc60c2265311f6ba16c47fab37e71312949b4cf2aa8855530431763bb6b8844c7d72c4b112c21125f0590c663d2a3192249b14611df64a2c6d3e5ac1c7
SHA512 (zeromq-4.3.5.tar.gz) = a71d48aa977ad8941c1609947d8db2679fc7a951e4cd0c3a1127ae026d883c11bd4203cf315de87f95f5031aec459a731aec34e5ce5b667b8d0559b157952541

@ -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

@ -1,20 +1,26 @@
%bcond_without pgm
%bcond_without unwind
Name: zeromq
Version: 4.3.2
Release: 1%{?dist}
Version: 4.3.5
Release: %autorelease
Summary: Software library for fast, message-based applications
License: LGPLv3+
License: MPL-2.0 AND BSD-3-Clause AND MIT
URL: https://zeromq.org
Source0: https://github.com/zeromq/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz
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
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
%if %{with unwind}
BuildRequires: libunwind-devel
%endif
@ -45,7 +51,7 @@ developing applications that use %{name}.
%prep
%autosetup -p1 -n libzmq-%{version}
%autosetup -p1
# Remove bundled code.
rm -rf external/wepoll
@ -62,7 +68,8 @@ autoreconf -fi
--with-libgssapi_krb5 \
%endif
--with-libsodium \
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
--enable-drafts \
%if %{with unwind}
--enable-libunwind \
%endif
--disable-Werror \
@ -78,8 +85,9 @@ rm %{buildroot}%{_libdir}/libzmq.la
%check
make check V=1 || ( cat test-suite.log && exit 1 )
%ifarch s390x
make check V=1 XFAIL_TESTS=tests/test_radio_dish || ( cat test-suite.log && exit 1 )
%endif
%ldconfig_scriptlets
@ -87,9 +95,12 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%files
%doc README.md AUTHORS NEWS
%license COPYING COPYING.LESSER
%license LICENSE
%{_bindir}/curve_keygen
%{_libdir}/libzmq.so.5*
%{_mandir}/man3/zmq_*
%{_mandir}/man7/zmq_*
%{_mandir}/man7/zmq.*
%files devel
%{_libdir}/libzmq.so
@ -98,171 +109,5 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%changelog
* Sun Sep 08 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.2-1
- Update to latest version
- Fix CVE-2019-13132 (#1729830)
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.1-3
- Disable libunwind on unsupported arches (#1676262)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jan 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.1-1
- Update to latest version of libzmq and cppzmq
- Split cppzmq subpackage into its own package
* Mon Jan 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.1.6-11
- Backport patches to fix test failures in build
- Cleanup spec a little
- Use explicit soname version in file list
* Tue Aug 28 2018 Pavel Zhukov <landgraf@fedoraproject.org> - 4.1.6-10
- Add gcc-c++ BR
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.6-7
- Switch to %%ldconfig_scriptlets
* Mon Oct 02 2017 Remi Collet <remi@fedoraproject.org> - 4.1.6-6
- rebuild for libsodium
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Nov 13 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.6-1
- update to 4.1.6
* Mon Mar 07 2016 Remi Collet <remi@fedoraproject.org> - 4.1.4-5
- rebuild for new libsodium soname
* Sun Feb 14 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-4
- Remove Werror from compile flags
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Jan 24 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-2
- Enable krb5 and fix building of pgm (#1301197)
* Sat Dec 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.4-1
- update to 4.1.4 (#1292814)
- refresh zmq.hpp
* Mon Aug 24 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.3-1
- update to 4.1.3 (#1256209)
- ipv6 patch included upstream
- refresh zmq.hpp
* Tue Jun 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.1.2-1
- update to 4.1.2
- add upstream patch to fix problem with ipv6
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jun 08 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-4
- Add zmq.hpp, which originally belonged to zeromq:
https://github.com/zeromq/cppzmq/issues/48
* Tue May 19 2015 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-3
- Cherry-pick patch for protocol downgrade attack (#1221666, CVE-2014-9721)
- Remove Obsoletes:zeromq-utils
- Remove %%defattr
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.0.5-2
- Rebuilt for GCC 5 C++11 ABI change
* Mon Nov 17 2014 Thomas Spura <tomspur@fedoraproject.org> - 4.0.5-1
- update to 4.0.5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri May 17 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-7
- Rebuilt for openpm-5.2 and sed correct version into configure (#963894)
* Wed Mar 27 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-6
- run autoreconf before configure so aarch64 is supported (#926859)
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Jan 14 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-4
- delete foreign files with dubious license in %%prep (#892111)
* Mon Dec 24 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-3
- add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
- remove bundled pgm
- build against openpgm
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Apr 26 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.0-1
- update to 2.2.0
* Sat Jan 7 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.1.11-1
- update to 2.1.11 (as part of rebuilding with gcc-4.7)
* Tue Sep 20 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.9-1
- update to 2.1.9
- add check section
* Wed Apr 6 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.4-1
- update to new version (#690199)
* Wed Mar 23 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.1.3-1
- update to new version (#690199)
- utils subpackage was removed upstream
(obsolete it)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 13 2011 Pavel Zhukov <pavel@zhukoff.net> - 2.0.10-1
- update version
- add rpath delete
- change includedir filelist
* Fri Aug 27 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.8-1
- update to new version
* Fri Jul 23 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-4
- upstream VCS changed
- remove buildroot / %%clean
- change descriptions
* Tue Jul 20 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-3
- move binaries to seperate utils package
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-2
- remove BR: libstdc++-devel
- move man3 to the devel package
- change group to System Environment/Libraries
%autochangelog
* Sat Jun 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.7-1
- initial package (based on upstreams example one)

Loading…
Cancel
Save