1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/socat/socat.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,143 @@ 1.4 +Summary: Bidirectional data relay between two data channels ('netcat++') 1.5 +Name: socat 1.6 +Version: 1.7.1.3 1.7 +Release: 1%{?dist} 1.8 +License: GPLv2 1.9 +Url: http://www.dest-unreach.org/%{name} 1.10 +Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz 1.11 +Group: Applications/Internet 1.12 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.13 +BuildRequires: openssl-devel compat-readline5-devel ncurses-devel 1.14 +BuildRequires: autoconf kernel-headers > 2.6.18 1.15 + 1.16 +%description 1.17 +Socat is a relay for bidirectional data transfer between two independent data 1.18 +channels. Each of these data channels may be a file, pipe, device (serial line 1.19 +etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an 1.20 +SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU 1.21 +line editor (readline), a program, or a combination of two of these. 1.22 +The compat-readline5 library is used to avoid GPLv2 vs GPLv3 issues. 1.23 + 1.24 + 1.25 +%prep 1.26 +%setup -q 1.27 +iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8 1.28 +mv CHANGES.utf8 CHANGES 1.29 + 1.30 +%build 1.31 +autoconf 1.32 +export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5" 1.33 +%configure \ 1.34 + --enable-help --enable-stdio \ 1.35 + --enable-fdnum --enable-file --enable-creat \ 1.36 + --enable-gopen --enable-pipe --enable-termios \ 1.37 + --enable-unix --enable-ip4 --enable-ip6 \ 1.38 + --enable-rawip --enable-tcp --enable-udp \ 1.39 + --enable-listen --enable-proxy --enable-exec \ 1.40 + --enable-system --enable-pty --enable-readline \ 1.41 + --enable-openssl --enable-sycls --enable-filan \ 1.42 + --enable-retry --enable-libwrap --disable-fips 1.43 + 1.44 +chmod 644 *.sh 1.45 +make %{?_smp_mflags} 1.46 + 1.47 +%install 1.48 +rm -rf %{buildroot} 1.49 + 1.50 +make DESTDIR=%{buildroot} install 1.51 + 1.52 +%clean 1.53 +rm -rf %{buildroot} 1.54 + 1.55 +%files 1.56 +%defattr(-,root,root) 1.57 +%doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING 1.58 +%doc COPYING* README SECURITY testcert.conf 1.59 +%doc daemon.sh ftp.sh gatherinfo.sh mail.sh proxy.sh 1.60 +%doc proxyecho.sh readline.sh readline-test.sh 1.61 +%doc socks4echo.sh socks4a-echo.sh test.sh 1.62 +%{_bindir}/socat 1.63 +%{_bindir}/filan 1.64 +%{_bindir}/procan 1.65 +%doc %{_mandir}/man1/socat.1* 1.66 + 1.67 +%changelog 1.68 +* Mon Aug 23 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.3-1 1.69 +- Upgrade to 1.7.1.3 1.70 +- Includes fix for CVE-2010-2799 Stack overflow by lexical scanning of nested 1.71 + character patterns 1.72 +- Resolves https://bugzilla.redhat.com/show_bug.cgi?id=620430 1.73 + 1.74 +* Sat Jan 30 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.2-1 1.75 +- Upgraded to 1.7.1.2 1.76 +- Link against compat-readline5 for GPLv2 license (Miroslav Lichvar) 1.77 + (bz #511310) 1.78 + 1.79 +* Sat Aug 29 2009 Caolán McNamara <caolanm@redhat.com> - 1.7.1.1-5 1.80 +- recreate autoconf to get correct includes when determining type 1.81 + sizes in order to build correctly 1.82 + 1.83 +* Fri Aug 28 2009 Paul Wouters <paul@xelerance.com> - 1.7.1.1-4 1.84 +- Bump for new openssl 1.85 + 1.86 +* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.7.1.1-3 1.87 +- rebuilt with new openssl 1.88 + 1.89 +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1.1-2 1.90 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.91 + 1.92 +* Mon May 11 2009 Paul Wouters <paul@xelerance.com> - 1.7.1.1-1 1.93 +- Upgraded to 1.7.1.1. 1.94 +- Patch for configure.in with -Wall 1.95 + 1.96 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0.0-2 1.97 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.98 + 1.99 +* Tue Jan 20 2009 Paul Wouters <paul@xelerance.com 1.7.0.0-1 1.100 +- Updated to new upstream version 1.101 +- utf8 the CHANGES file 1.102 + 1.103 +* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> 1.6.0.1-3 1.104 +- disable the upstream openssl fips support 1.105 + 1.106 +* Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-2 1.107 +- forgot to upload new source 1.108 + 1.109 +* Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-1 1.110 +- fix license tag 1.111 +- update to 1.6.0.1 1.112 + 1.113 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.0-8 1.114 +- Autorebuild for GCC 4.3 1.115 + 1.116 +* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.5.0.0-7 1.117 + - Rebuild for deps 1.118 + 1.119 +* Wed Dec 5 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-6 1.120 +- Rebuild for updatesd libcrypto 1.121 + 1.122 +* Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-5 1.123 +- Tagging failure bug in redhat build system requires bump 1.124 + 1.125 +* Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-4 1.126 +- Some filesystem defines moved from their specific (ext2) 1.127 + filesystem defines into the generic <linux/fs.h>. 1.128 + 1.129 +* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.5.0.0-3 1.130 +- Rebuild requested for PT_GNU_HASH support from gcc 1.131 + 1.132 +* Sun Aug 20 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-2 1.133 +- Added missing examples to doc section and removed execute bits. 1.134 + 1.135 +* Fri Aug 04 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-1 1.136 +- Updated to 1.5.0.0 1.137 +- removed version cut/mversion, since source untars properly now. 1.138 + 1.139 +* Tue May 09 2006 Paul Wouters <paul@xelerance.com> - 1.4.3.1-1 1.140 +- Updated to 1.4.3.1 1.141 + 1.142 +* Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-2 1.143 +- Removed DESTDIR export and fixed two capitals 1.144 + 1.145 +* Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-1 1.146 +- Initial version based on Pascal Bleser <guru@unixtech.be> suse rpm