Blame SPECS/socket_wrapper.spec

df756c
Name:           socket_wrapper
df756c
Version:        1.2.3
df756c
Release:        1%{?dist}
df756c
df756c
License:        BSD
df756c
Summary:        A library passing all socket communications through Unix sockets
df756c
Url:            http://cwrap.org/
df756c
df756c
Source0:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
df756c
Source1:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
df756c
Source2:        socket_wrapper.keyring
df756c
df756c
BuildRequires:  cmake
df756c
BuildRequires:  gcc
df756c
BuildRequires:  gnupg2
df756c
BuildRequires:  libcmocka-devel >= 1.1.0
df756c
df756c
Recommends:     cmake
df756c
Recommends:     pkgconfig
df756c
df756c
%description
df756c
socket_wrapper aims to help client/server software development teams willing to
df756c
gain full functional test coverage. It makes it possible to run several
df756c
instances of the full software stack on the same machine and perform locally
df756c
functional testing of complex network configurations.
df756c
df756c
To use it set the following environment variables:
df756c
df756c
LD_PRELOAD=libsocket_wrapper.so
df756c
SOCKET_WRAPPER_DIR=/path/to/swrap_dir
df756c
df756c
This package doesn't have a devel package because this project is for
df756c
development/testing.
df756c
df756c
%prep
df756c
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
df756c
%autosetup -p1
df756c
df756c
%build
df756c
if test ! -e "obj"; then
df756c
mkdir obj
df756c
fi
df756c
pushd obj
df756c
%cmake \
df756c
-DUNIT_TESTING=ON \
df756c
%{_builddir}/%{name}-%{version}
df756c
df756c
make %{?_smp_mflags} VERBOSE=1
df756c
popd
df756c
df756c
%install
df756c
pushd obj
df756c
make DESTDIR=%{buildroot} install
df756c
popd
df756c
df756c
%ldconfig_scriptlets
df756c
df756c
%check
df756c
pushd obj
df756c
ctest --output-on-failure
df756c
df756c
LD_PRELOAD=src/libsocket_wrapper.so bash -c '>/dev/null'
df756c
df756c
popd
df756c
df756c
%files
df756c
%doc AUTHORS README.md ChangeLog
df756c
%license LICENSE
df756c
%{_libdir}/libsocket_wrapper.so*
df756c
%dir %{_libdir}/cmake/socket_wrapper
df756c
%{_libdir}/cmake/socket_wrapper/socket_wrapper-config-version.cmake
df756c
%{_libdir}/cmake/socket_wrapper/socket_wrapper-config.cmake
df756c
%{_libdir}/pkgconfig/socket_wrapper.pc
df756c
%{_mandir}/man1/socket_wrapper.1*
df756c
df756c
%changelog
df756c
* Thu Mar 28 2019 Andreas Schneider <asn@redhat.com> - 1.2.3-1
df756c
- Update to version 1.2.3
df756c
df756c
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
df756c
df756c
* Wed Nov 14 2018 Andreas Schneider <asn@redhat.com> - 1.2.1-1
df756c
- Update to version 1.2.1
df756c
  * Removed error message to fix applications doing stupid things
df756c
df756c
* Tue Nov 13 2018 Andreas Schneider <asn@redhat.com> - 1.2.0-1
df756c
- Update to vesrion 1.2.0
df756c
  * Added threading support
df756c
  * Moved to modern cmake
df756c
  * Several smaller bugfixes
df756c
df756c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-3
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
df756c
df756c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
df756c
df756c
* Wed Dec 06 2017 Andreas Schneider <asn@redhat.com> - 1.1.9-1
df756c
- Update to version 1.1.9
df756c
  * Fix thread deadlock with due to a signal interrupt
df756c
df756c
* Fri Oct 13 2017 Andreas Schneider <asn@redhat.com> - 1.1.8-1
df756c
- Update to version 1.1.8
df756c
  * Added support for openat()
df756c
  * Added support for open64() and fopen64()
df756c
  * Always enabled logging support
df756c
  * Increased maximum for wrapped interfaces to 64
df756c
  * Improved fd duplication code
df756c
  * Fixed strict-aliasing issues
df756c
  * Fixed some use after free issues
df756c
  * Fixed issues on ppc64le
df756c
df756c
* Wed Aug 02 2017 Andreas Schneider <asn@redhat.com> - 1.1.7-4
df756c
- resolves: #1465147 - Fix socket_wrapper on ppc64le
df756c
df756c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-3
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
df756c
df756c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
df756c
df756c
* Thu Jun 02 2016 Andreas Schneider <asn@redhat.com> - 1.1.7-1
df756c
- Update to version 1.1.7
df756c
  * Added support for accept4()
df756c
  * Added support for OpenBSD
df756c
  * Fixed sendto() with UDP and a connected socket
df756c
  * Fixed AF_RAWLINK sockets
df756c
df756c
* Wed Mar 23 2016 Andreas Schneider <asn@redhat.com> - 1.1.6-1
df756c
- Update to version 1.1.6
df756c
  * Added a wrapper for write()
df756c
  * Added support for automatic binding of ephemeral ports
df756c
  * Fixed recvmsg() with UDP
df756c
  * Fixed AF_NETLINK sockets
df756c
df756c
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
df756c
df756c
* Mon Nov 02 2015 Andreas Schneider <asn@redhat.com> - 1.1.5-1
df756c
- Update to version 1.1.5
df756c
  o Added support for TCP_NODELAY in setsockopt/getsockopt
df756c
  o Fixed cmsg space calculation
df756c
df756c
* Thu Sep 03 2015 Andreas Schneider <asn@redhat.com> - 1.1.4-1
df756c
- Update to version 1.1.4
df756c
  o Fixed handling of msg_name in recvmsg()
df756c
  o Fixed sendmsg()/recvmsg() TCP support
df756c
  o Fixed several compile warnings
df756c
  o Added environment variable to change MTU
df756c
df756c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
df756c
df756c
* Mon Feb 23 2015 Andreas Schneider <asn@redhat.com> - 1.1.3-1
df756c
- Update to version 1.1.3.
df756c
  o Added support for address sanitizer.
df756c
  o Fixed leaking of memory and fds of stale sockets.
df756c
  o Fixed the library loading code.
df756c
df756c
* Mon Dec 15 2014 Michael Adam <madam@redhat.com> - 1.1.2-2
df756c
- Fix format of changelog entries.
df756c
- Require cmake.
df756c
- Require pkgconfig instead of owning {_libdir}/pkgconfig
df756c
df756c
* Fri Dec 12 2014 Michael Adam <madam@redhat.com> - 1.1.2-2
df756c
- Fix typos.
df756c
df756c
* Wed Oct 01 2014 Andreas Schneider <asn@redhat.com> - 1.1.2-1
df756c
- Update to version 1.1.2.
df756c
df756c
* Wed Oct 01 2014 Andreas Schneider <asn@redhat.com> - 1.1.1-2
df756c
- resolves: #1146409 - Do not own /usr/lib64/cmake
df756c
df756c
* Tue Sep 09 2014 Andreas Schneider <asn@redhat.com> - 1.1.1-1
df756c
- Update to version 1.1.1.
df756c
df756c
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
df756c
df756c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
df756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
df756c
df756c
* Mon Jun 02 2014 Andreas Schneider <asn@redhat.com> - 1.1.0-1
df756c
- Update to version 1.1.0.
df756c
df756c
* Tue May 06 2014 Andreas Schneider <asn@redhat.com> - 1.0.2-1
df756c
- Update to version 1.0.2.
df756c
df756c
* Tue Feb 11 2014 Andreas Schneider <asn@redhat.com> - 1.0.1-3
df756c
- Remove Group
df756c
- Remove glibc-devel build requirement
df756c
- Do not create a subpackage.
df756c
df756c
* Tue Feb 04 2014 Andreas Schneider <asn@redhat.com> - 1.0.1-2
df756c
- Fixed a typo.
df756c
df756c
* Tue Feb 04 2014 Andreas Schneider <asn@redhat.com> - 1.0.1-1
df756c
- Update to version 1.0.1
df756c
  * Added --libs to pkg-config.
df756c
  * Added socket_wrapper-config.cmake
df756c
  * Fixed a bug packaging the obj directory.
df756c
df756c
* Mon Feb 03 2014 Andreas Schneider <asn@redhat.com> - 1.0.0-1
df756c
- Initial version 1.0.0