Пакет socket_wrapper: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | Name: socket_wrapper Version: 1.4.2 Release: alt1 Group: Development/Other License: BSD Summary: A library passing all socket communications through Unix sockets Url: http://cwrap.org/ # git://git.samba.org/socket_wrapper.git Source0: %name-%version.tar Patch0: %name-%version-alt.patch BuildRequires: cmake ctest BuildRequires: libcmocka-devel Requires: cmake Requires: pkgconfig %description socket_wrapper aims to help client/server software development teams willing to gain full functional test coverage. It makes it possible to run several instances of the full software stack on the same machine and perform locally functional testing of complex network configurations. To use it set the following environment variables: LD_PRELOAD=libsocket_wrapper.so SOCKET_WRAPPER_DIR=/path/to/swrap_dir This package doesn't have a devel package because this project is for development/testing. %package -n libsocket_wrapper_noop Summary: A library providing dummies for socket_wrapper Group: Development/Other %description -n libsocket_wrapper_noop Applications with the need to call socket_wrapper_enabled() should link against -lsocket_wrapper_noop in order to resolve the symbol at link time. %package -n libsocket_wrapper_noop-devel Summary: Development headers for libsocket_wrapper_noop Requires: libsocket_wrapper_noop = %version-%release Group: Development/C %description -n libsocket_wrapper_noop-devel Development headers for applications with the need to call socket_wrapper_enabled(). %prep %setup -q %patch -p1 %build if test ! -e "obj"; then mkdir obj fi pushd obj %cmake_insource \ -DUNIT_TESTING=ON \ %_builddir/%name-%version %make VERBOSE=1 popd %install pushd obj %make DESTDIR=%buildroot install popd %check pushd obj LD_LIBRARY_PATH=$PWD/src ctest -V LD_PRELOAD=src/libsocket_wrapper.so bash -c '>/dev/null' LD_PRELOAD=src/libsocket_wrapper_noop.so bash -c '>/dev/null' popd %files %doc AUTHORS README.md CHANGELOG LICENSE %_libdir/lib%name.so* %dir %_libdir/cmake/%name %_pkgconfigdir/%name.pc %_libdir/cmake/%name/%name-config*.cmake %_man1dir/%name.1* %files -n libsocket_wrapper_noop %_libdir/lib%{name}_noop.so.* %files -n libsocket_wrapper_noop-devel %_includedir/%name.h %_pkgconfigdir/%{name}_noop.pc %_libdir/lib%{name}_noop.so %_libdir/cmake/%name/%{name}_noop-config*.cmake %changelog * Fri Oct 20 2023 Evgeny Sinelnikov <sin@altlinux.org> 1.4.2-alt1 - Fixed LFS issues on 32bit platforms - Fixed issue with fnctl() on 32bit - Added openat64() to detect stale fds * Fri Mar 24 2023 Evgeny Sinelnikov <sin@altlinux.org> 1.4.0-alt3 - Fix cmocka >= 1.1.6 find_package() * Fri Mar 24 2023 Evgeny Sinelnikov <sin@altlinux.org> 1.4.0-alt2 - Skip test_syscall_swrap for arm archicture * Fri Mar 24 2023 Evgeny Sinelnikov <sin@altlinux.org> 1.4.0-alt1 - Added support for sendmmsg()/recvmmsg() - Added support for handling close, recvmmsg and sendmmsg syscalls - Added support to interact with uid_wrapper syscall() - Improved IP address tracing output - Inject O_LARGEFILE as needed on 32bit - pkgconfig: Fix path to libsocket_wrapper.so - Fix -Wcast-qual warnings - Fix dclose(RTLD_NEXT) * Fri Mar 24 2023 Evgeny Sinelnikov <sin@altlinux.org> 1.3.4-alt2 - Split and place libsocket_wrapper_noop library and it's development files to separate subpackages. * Fri Sep 16 2022 Evgeny Sinelnikov <sin@altlinux.org> 1.3.4-alt1 - Fixed TOCTOU issue with udp auto binding * Thu Jul 29 2021 Evgeny Sinelnikov <sin@altlinux.org> 1.3.3-alt1 - Update to latest release with support for fd-passing via unix sockets - Add public libsocket_wrapper_noop library * Sun Feb 07 2021 Evgeny Sinelnikov <sin@altlinux.org> 1.2.5-alt1 - Update to latest release * Wed Jan 16 2019 Evgeny Sinelnikov <sin@altlinux.org> 1.2.1-alt1 - Update to latest release - Disable ubt macros due binary package identity change * Mon Apr 09 2018 Evgeny Sinelikov <sin@altlinux.org> 1.1.9-alt2 - Add LD_LIBRARY_PATH to libthread_deadlock.so for running tests on e2k * Mon Jan 29 2018 Evgeny Sinelnikov <sin@altlinux.org> 1.1.9-alt1 - Update to latest release with fixed thread - signal deadlock issue * Fri Nov 03 2017 Evgeny Sinelnikov <sin@altlinux.org> 1.1.8-alt2 - Disable ipv6 for test_socket_getsockname due girar error with: "Address family not supported by protocol" * Fri Nov 03 2017 Evgeny Sinelnikov <sin@altlinux.org> 1.1.8-alt1 - Initial build for ALT Sisyphus |