socat/socat.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
equal deleted inserted replaced
0:2461f5c858d9 1:f47946c01be3
1 Summary: Bidirectional data relay between two data channels ('netcat++') 1 Summary: Bidirectional data relay between two data channels ('netcat++')
2 Vendor: Europalab Software
3 Packager: Michael Schloh von Bennewitz
4 Distribution: MeeGo Thirdparty
2 Name: socat 5 Name: socat
3 Version: 1.7.1.3 6 Version: 1.7.1.3
4 Release: 1%{?dist} 7 Release: 20101201
5 License: GPLv2 8 License: GPLv2
6 Url: http://www.dest-unreach.org/%{name} 9 Url: http://www.dest-unreach.org/%{name}
7 Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz 10 Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
8 Group: Applications/Internet 11 Group: Applications/Internet
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10 BuildRequires: openssl-devel compat-readline5-devel ncurses-devel 13 BuildRequires: openssl-devel readline-devel ncurses-devel
11 BuildRequires: autoconf kernel-headers > 2.6.18 14 BuildRequires: autoconf kernel-headers > 2.6.18
12 15
13 %description 16 %description
14 Socat is a relay for bidirectional data transfer between two independent data 17 Socat is a relay for bidirectional data transfer between two independent data
15 channels. Each of these data channels may be a file, pipe, device (serial line 18 channels. Each of these data channels may be a file, pipe, device (serial line
19 The compat-readline5 library is used to avoid GPLv2 vs GPLv3 issues. 22 The compat-readline5 library is used to avoid GPLv2 vs GPLv3 issues.
20 23
21 24
22 %prep 25 %prep
23 %setup -q 26 %setup -q
24 iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
25 mv CHANGES.utf8 CHANGES
26 27
27 %build 28 %build
28 autoconf 29 autoconf
29 export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5" 30 export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5"
30 %configure \ 31 %configure \
34 --enable-unix --enable-ip4 --enable-ip6 \ 35 --enable-unix --enable-ip4 --enable-ip6 \
35 --enable-rawip --enable-tcp --enable-udp \ 36 --enable-rawip --enable-tcp --enable-udp \
36 --enable-listen --enable-proxy --enable-exec \ 37 --enable-listen --enable-proxy --enable-exec \
37 --enable-system --enable-pty --enable-readline \ 38 --enable-system --enable-pty --enable-readline \
38 --enable-openssl --enable-sycls --enable-filan \ 39 --enable-openssl --enable-sycls --enable-filan \
39 --enable-retry --enable-libwrap --disable-fips 40 --enable-retry --disable-libwrap --disable-fips \
41 --enable-msglevel=debug
40 42
41 chmod 644 *.sh 43 chmod 644 *.sh
42 make %{?_smp_mflags} 44 make %{?_smp_mflags}
43 45
44 %install 46 %install
60 %{_bindir}/filan 62 %{_bindir}/filan
61 %{_bindir}/procan 63 %{_bindir}/procan
62 %doc %{_mandir}/man1/socat.1* 64 %doc %{_mandir}/man1/socat.1*
63 65
64 %changelog 66 %changelog
67 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.7.1.3-1
68 - Repackage for MeeGo 1.1
69
65 * Mon Aug 23 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.3-1 70 * Mon Aug 23 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.3-1
66 - Upgrade to 1.7.1.3 71 - Upgrade to 1.7.1.3
67 - Includes fix for CVE-2010-2799 Stack overflow by lexical scanning of nested 72 - Includes fix for CVE-2010-2799 Stack overflow by lexical scanning of nested
68 character patterns 73 character patterns
69 - Resolves https://bugzilla.redhat.com/show_bug.cgi?id=620430 74 - Resolves https://bugzilla.redhat.com/show_bug.cgi?id=620430

mercurial