michael@0: Summary: Bidirectional data relay between two data channels ('netcat++') michael@0: Name: socat michael@0: Version: 1.7.1.3 michael@0: Release: 1%{?dist} michael@0: License: GPLv2 michael@0: Url: http://www.dest-unreach.org/%{name} michael@0: Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz michael@0: Group: Applications/Internet michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: BuildRequires: openssl-devel compat-readline5-devel ncurses-devel michael@0: BuildRequires: autoconf kernel-headers > 2.6.18 michael@0: michael@0: %description michael@0: Socat is a relay for bidirectional data transfer between two independent data michael@0: channels. Each of these data channels may be a file, pipe, device (serial line michael@0: etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an michael@0: SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU michael@0: line editor (readline), a program, or a combination of two of these. michael@0: The compat-readline5 library is used to avoid GPLv2 vs GPLv3 issues. michael@0: michael@0: michael@0: %prep michael@0: %setup -q michael@0: iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8 michael@0: mv CHANGES.utf8 CHANGES michael@0: michael@0: %build michael@0: autoconf michael@0: export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5" michael@0: %configure \ michael@0: --enable-help --enable-stdio \ michael@0: --enable-fdnum --enable-file --enable-creat \ michael@0: --enable-gopen --enable-pipe --enable-termios \ michael@0: --enable-unix --enable-ip4 --enable-ip6 \ michael@0: --enable-rawip --enable-tcp --enable-udp \ michael@0: --enable-listen --enable-proxy --enable-exec \ michael@0: --enable-system --enable-pty --enable-readline \ michael@0: --enable-openssl --enable-sycls --enable-filan \ michael@0: --enable-retry --enable-libwrap --disable-fips michael@0: michael@0: chmod 644 *.sh michael@0: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf %{buildroot} michael@0: michael@0: make DESTDIR=%{buildroot} install michael@0: michael@0: %clean michael@0: rm -rf %{buildroot} michael@0: michael@0: %files michael@0: %defattr(-,root,root) michael@0: %doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING michael@0: %doc COPYING* README SECURITY testcert.conf michael@0: %doc daemon.sh ftp.sh gatherinfo.sh mail.sh proxy.sh michael@0: %doc proxyecho.sh readline.sh readline-test.sh michael@0: %doc socks4echo.sh socks4a-echo.sh test.sh michael@0: %{_bindir}/socat michael@0: %{_bindir}/filan michael@0: %{_bindir}/procan michael@0: %doc %{_mandir}/man1/socat.1* michael@0: michael@0: %changelog michael@0: * Mon Aug 23 2010 Paul Wouters - 1.7.1.3-1 michael@0: - Upgrade to 1.7.1.3 michael@0: - Includes fix for CVE-2010-2799 Stack overflow by lexical scanning of nested michael@0: character patterns michael@0: - Resolves https://bugzilla.redhat.com/show_bug.cgi?id=620430 michael@0: michael@0: * Sat Jan 30 2010 Paul Wouters - 1.7.1.2-1 michael@0: - Upgraded to 1.7.1.2 michael@0: - Link against compat-readline5 for GPLv2 license (Miroslav Lichvar) michael@0: (bz #511310) michael@0: michael@0: * Sat Aug 29 2009 Caolán McNamara - 1.7.1.1-5 michael@0: - recreate autoconf to get correct includes when determining type michael@0: sizes in order to build correctly michael@0: michael@0: * Fri Aug 28 2009 Paul Wouters - 1.7.1.1-4 michael@0: - Bump for new openssl michael@0: michael@0: * Fri Aug 21 2009 Tomas Mraz - 1.7.1.1-3 michael@0: - rebuilt with new openssl michael@0: michael@0: * Sun Jul 26 2009 Fedora Release Engineering - 1.7.1.1-2 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild michael@0: michael@0: * Mon May 11 2009 Paul Wouters - 1.7.1.1-1 michael@0: - Upgraded to 1.7.1.1. michael@0: - Patch for configure.in with -Wall michael@0: michael@0: * Wed Feb 25 2009 Fedora Release Engineering - 1.7.0.0-2 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild michael@0: michael@0: * Tue Jan 20 2009 Paul Wouters 1.6.0.1-3 michael@0: - disable the upstream openssl fips support michael@0: michael@0: * Thu Sep 4 2008 Tom "spot" Callaway 1.6.0.1-2 michael@0: - forgot to upload new source michael@0: michael@0: * Thu Sep 4 2008 Tom "spot" Callaway 1.6.0.1-1 michael@0: - fix license tag michael@0: - update to 1.6.0.1 michael@0: michael@0: * Tue Feb 19 2008 Fedora Release Engineering - 1.5.0.0-8 michael@0: - Autorebuild for GCC 4.3 michael@0: michael@0: * Wed Dec 05 2007 Release Engineering - 1.5.0.0-7 michael@0: - Rebuild for deps michael@0: michael@0: * Wed Dec 5 2007 Paul Wouters 1.5.0.0-6 michael@0: - Rebuild for updatesd libcrypto michael@0: michael@0: * Mon Feb 19 2007 Paul Wouters 1.5.0.0-5 michael@0: - Tagging failure bug in redhat build system requires bump michael@0: michael@0: * Mon Feb 19 2007 Paul Wouters 1.5.0.0-4 michael@0: - Some filesystem defines moved from their specific (ext2) michael@0: filesystem defines into the generic . michael@0: michael@0: * Mon Sep 11 2006 Paul Wouters 1.5.0.0-3 michael@0: - Rebuild requested for PT_GNU_HASH support from gcc michael@0: michael@0: * Sun Aug 20 2006 Paul Wouters - 1.5.0.0-2 michael@0: - Added missing examples to doc section and removed execute bits. michael@0: michael@0: * Fri Aug 04 2006 Paul Wouters - 1.5.0.0-1 michael@0: - Updated to 1.5.0.0 michael@0: - removed version cut/mversion, since source untars properly now. michael@0: michael@0: * Tue May 09 2006 Paul Wouters - 1.4.3.1-1 michael@0: - Updated to 1.4.3.1 michael@0: michael@0: * Thu Jan 26 2006 Paul Wouters 1.4.3.0-2 michael@0: - Removed DESTDIR export and fixed two capitals michael@0: michael@0: * Thu Jan 26 2006 Paul Wouters 1.4.3.0-1 michael@0: - Initial version based on Pascal Bleser suse rpm