Compare commits
113 commits
epel8-play
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b568b0136 | ||
|
|
61dda03ad6 | ||
|
|
8c0a9a2744 | ||
|
|
5cdfb5dc7a | ||
|
|
2ba6425a00 | ||
|
|
cb016e7317 | ||
|
|
c8ae1309ae | ||
|
|
1bc5134706 | ||
|
|
1cb438733f | ||
|
|
d1f897dccf | ||
|
|
0502eb1960 | ||
|
|
04ba3e0b7e | ||
|
|
9e6802e3b7 | ||
|
|
3dd626ffa0 | ||
|
|
13c901b7af | ||
|
|
b80422b75f | ||
|
|
0a97bab77b | ||
|
|
e47d99b391 | ||
|
|
12b8a0bc12 | ||
|
|
de1a0c8e35 | ||
|
|
e1c1539e16 | ||
|
|
7a106ac239 | ||
|
|
0108fed20c | ||
|
|
6666ee1fbe | ||
| 4899b764e8 | |||
|
|
690b1cc3cf | ||
|
|
b06c92b895 | ||
|
|
0da91cc706 | ||
|
|
c2c0544f92 | ||
|
|
9958f38243 | ||
|
|
1cff1e4bfa | ||
|
|
5226e5546b | ||
|
|
b11c5a2199 | ||
|
|
f46381246b | ||
|
|
135a5bb23b | ||
|
|
deb7fbd467 | ||
|
|
29fbd797d1 | ||
|
|
4f322ac6af | ||
|
|
4f02baed80 | ||
|
|
862d0b3419 | ||
|
|
d99d0bd41b | ||
|
|
f3609faa1b | ||
|
|
a31484cb1d | ||
|
|
8b1b433149 | ||
|
|
3fa0303d29 | ||
|
|
9e5b263a81 | ||
|
|
5aea20bcd5 | ||
|
|
5652a7377f | ||
|
|
6a4c511715 | ||
|
|
689cc9f6d7 | ||
|
|
dc32612980 | ||
|
|
7a004a7f33 | ||
|
|
23d1f54267 | ||
|
|
2e18705528 | ||
| 3eaf98a78b | |||
|
|
1b73cea19e | ||
|
2cefe81957 |
|||
| 015e3956e4 | |||
|
|
85bad0539d | ||
|
|
ce3866b8d6 | ||
|
|
8f64d3da25 | ||
|
|
e69895fec7 | ||
|
|
be57c1acb7 | ||
|
|
2c2ab1232d | ||
| 6e875bede4 | |||
|
|
eff758a05c | ||
|
|
9466daf312 | ||
|
|
4010976809 | ||
|
|
eb3bd66bd0 | ||
|
|
729573e58e | ||
|
|
f003bc5816 | ||
|
|
d930586b91 | ||
|
|
d9734a9779 | ||
|
|
4c7a024ec3 | ||
|
|
f7093ac2e3 | ||
|
|
66b20ffa04 | ||
|
|
e6cddf9458 | ||
|
|
778f84a183 | ||
|
|
1f0ba93f7f | ||
|
|
a3f209629d | ||
|
|
1340e1cf54 | ||
| 81d32678f9 | |||
|
|
f3126646bb | ||
|
|
1737a29108 | ||
|
|
f4c4f8f588 | ||
|
|
38435b1525 | ||
|
|
afc37757d4 | ||
|
|
44f9254516 | ||
|
|
9684f06abb | ||
|
|
7ca72a2b57 | ||
|
|
541d320bf1 | ||
|
|
084946f586 | ||
|
|
c802ef060e | ||
|
|
3b50b0b1d3 | ||
|
|
4ae1eb5fc5 | ||
|
|
e206a0779b | ||
|
|
6a434707f2 | ||
|
|
c1495c09e9 | ||
|
|
5383752075 | ||
|
|
e79487ceb6 | ||
|
|
df2bd545b9 | ||
|
|
7bb1f0682a | ||
|
|
e847db07f6 | ||
|
|
cbe2c06143 | ||
| 21335c1108 | |||
| c007567440 | |||
| d5704206f1 | |||
| bac64aedf2 | |||
|
|
fe77403e22 | ||
|
|
54ea8ea832 | ||
| 86b7e03b6f | |||
|
|
45c5ededdb | ||
| 91e1aea0db |
5 changed files with 162 additions and 1 deletions
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/zeromq-*.tar.*
|
||||
/zeromq-*.src.rpm
|
||||
/zeromq-*.*.*/
|
||||
/libzmq-*.*.*/
|
||||
/clog
|
||||
.build-*.*.log
|
||||
/noarch/
|
||||
/x86_64/
|
||||
/i?86/
|
||||
/tarballs/
|
||||
/libzmq-*.*.*.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (zeromq-4.3.5.tar.gz) = a71d48aa977ad8941c1609947d8db2679fc7a951e4cd0c3a1127ae026d883c11bd4203cf315de87f95f5031aec459a731aec34e5ce5b667b8d0559b157952541
|
||||
37
zeromq-configure-c99.patch
Normal file
37
zeromq-configure-c99.patch
Normal 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
113
zeromq.spec
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue