Fri, 10 Aug 2012 14:27:49 +0200
Correct recent and defective PF_PACKET and Linux SLL networking code.
socat/socat.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/socat/socat.spec Fri Aug 10 14:26:56 2012 +0200 1.2 +++ b/socat/socat.spec Fri Aug 10 14:27:49 2012 +0200 1.3 @@ -36,7 +36,7 @@ 1.4 Group: Network 1.5 License: GPL 1.6 Version: %{V_major}.%{V_minor} 1.7 -Release: 20120515 1.8 +Release: 20120800 1.9 1.10 # package options 1.11 %option with_readline yes 1.12 @@ -46,7 +46,7 @@ 1.13 Source0: http://www.dest-unreach.org/socat/download/socat-%{V_major}.%{V_minor}.tar.bz2 1.14 1.15 # build information 1.16 -BuildPreReq: OpenPKG, openpkg >= 20100101, gcc 1.17 +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc 1.18 PreReq: OpenPKG, openpkg >= 20100101 1.19 %if "%{with_readline}" == "yes" 1.20 BuildPreReq: readline 1.21 @@ -73,6 +73,9 @@ 1.22 1.23 %prep 1.24 %setup -q -n socat-%{V_major}.%{V_minor} 1.25 + %{l_shtool} subst \ 1.26 + -e 's;if ((from.ll.sll_pkttype & PACKET_OUTGOING);if (1;' \ 1.27 + xioread.c 1.28 1.29 %build 1.30 CC="%{l_cc} %{l_cflags -O} %{l_cppflags}" \