Paul Wouters c1b784
Summary: Bidirectional data relay between two data channels ('netcat++')
Paul Wouters c1b784
Name: socat
Paul Wouters 2cf690
Version: 1.7.0.0
Jesse Keating b07eb1
Release: 2%{?dist}
Tom Callaway 361f81
License: GPLv2
Paul Wouters c1b784
Url:  http://www.dest-unreach.org/%{name}
Paul Wouters c1b784
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
Paul Wouters c1b784
Group: Applications/Internet
Paul Wouters c1b784
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Paul Wouters e8874c
BuildRequires: openssl-devel readline-devel ncurses-devel kernel-headers > 2.6.18
Paul Wouters c1b784
Paul Wouters c1b784
%description
Paul Wouters c1b784
Socat is a relay for bidirectional data transfer between two independent data
Paul Wouters c1b784
channels. Each of these data channels may be a file, pipe, device (serial line
Paul Wouters c1b784
etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an
Paul Wouters c1b784
SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU
Paul Wouters c1b784
line editor (readline), a program, or a combination of two of these. 
Paul Wouters c1b784
Paul Wouters c1b784
Paul Wouters c1b784
%prep
Paul Wouters c1b784
%setup -q 
Paul Wouters 2cf690
iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
Paul Wouters 2cf690
mv CHANGES.utf8 CHANGES
Paul Wouters c1b784
Tom Callaway 361f81
%build
Paul Wouters c1b784
%configure  \
Paul Wouters 2cf690
        --enable-help --enable-stdio \
Paul Wouters c1b784
        --enable-fdnum --enable-file --enable-creat \
Paul Wouters c1b784
        --enable-gopen --enable-pipe --enable-termios \
Paul Wouters c1b784
        --enable-unix --enable-ip4 --enable-ip6 \
Paul Wouters c1b784
        --enable-rawip --enable-tcp --enable-udp \
Paul Wouters c1b784
        --enable-listen --enable-proxy --enable-exec \
Paul Wouters c1b784
        --enable-system --enable-pty --enable-readline \
Paul Wouters c1b784
        --enable-openssl --enable-sycls --enable-filan \
Tomáš Mráz 0843f9
        --enable-retry --enable-libwrap --disable-fips
Paul Wouters c1b784
Paul Wouters c1b784
chmod 644 *.sh
Paul Wouters c1b784
make %{?_smp_mflags}
Paul Wouters c1b784
Paul Wouters c1b784
%install
Paul Wouters c1b784
rm -rf %{buildroot}
Paul Wouters c1b784
Paul Wouters c1b784
make DESTDIR=%{buildroot} install
Paul Wouters c1b784
Paul Wouters c1b784
%clean
Paul Wouters c1b784
rm -rf %{buildroot}
Paul Wouters c1b784
Paul Wouters c1b784
%files 
Paul Wouters c1b784
%defattr(-,root,root)
Paul Wouters c1b784
%doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING
Tom Callaway 361f81
%doc COPYING* README SECURITY testcert.conf
Paul Wouters c1b784
%doc daemon.sh ftp.sh gatherinfo.sh mail.sh proxy.sh 
Paul Wouters c1b784
%doc proxyecho.sh readline.sh readline-test.sh
Paul Wouters c1b784
%doc socks4echo.sh socks4a-echo.sh test.sh
Paul Wouters c1b784
%{_bindir}/socat
Paul Wouters c1b784
%{_bindir}/filan
Paul Wouters c1b784
%{_bindir}/procan
Paul Wouters c1b784
%doc %{_mandir}/man1/socat.1*
Paul Wouters c1b784
Paul Wouters c1b784
%changelog
Jesse Keating b07eb1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0.0-2
Jesse Keating b07eb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating b07eb1
Paul Wouters 2cf690
* Tue Jan 20 2009 Paul Wouters 
Paul Wouters 2cf690
- Updated to new upstream version
Paul Wouters 2cf690
- utf8 the CHANGES file
Paul Wouters 2cf690
Tomáš Mráz 0843f9
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> 1.6.0.1-3
Tomáš Mráz 0843f9
- disable the upstream openssl fips support
Tomáš Mráz 9c16e8
Tom Callaway 36e5cd
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-2
Tom Callaway 36e5cd
- forgot to upload new source
Tom Callaway 36e5cd
Tom Callaway 361f81
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-1
Tom Callaway 361f81
- fix license tag
Tom Callaway 361f81
- update to 1.6.0.1
Tom Callaway 361f81
Jesse Keating 2ddfba
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.0-8
Jesse Keating 2ddfba
- Autorebuild for GCC 4.3
Jesse Keating 2ddfba
Jesse Keating 429973
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.5.0.0-7
Jesse Keating 429973
 - Rebuild for deps
Jesse Keating 429973
Paul Wouters 015e40
* Wed Dec  5 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-6
Paul Wouters 015e40
- Rebuild for updatesd libcrypto
Paul Wouters 015e40
Paul Wouters 977389
* Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-5
Paul Wouters 015e40
- Tagging failure bug in redhat build system requires bump
Paul Wouters 977389
Paul Wouters e8874c
* Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-4
Paul Wouters e8874c
- Some filesystem defines moved from their specific (ext2)
Paul Wouters e8874c
  filesystem defines into the generic <linux/fs.h>. 
Paul Wouters e8874c
Paul Wouters 0663c0
* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.5.0.0-3
Paul Wouters 0663c0
- Rebuild requested for PT_GNU_HASH support from gcc
Paul Wouters 0663c0
Paul Wouters c1b784
* Sun Aug 20 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-2
Paul Wouters c1b784
- Added missing examples to doc section and removed execute bits.
Paul Wouters c1b784
Paul Wouters c1b784
* Fri Aug 04 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-1
Paul Wouters c1b784
- Updated to 1.5.0.0
Paul Wouters c1b784
- removed version cut/mversion, since source untars properly now.
Paul Wouters c1b784
Paul Wouters c1b784
* Tue May 09 2006 Paul Wouters <paul@xelerance.com> - 1.4.3.1-1
Paul Wouters c1b784
- Updated to 1.4.3.1
Paul Wouters c1b784
Paul Wouters c1b784
* Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-2
Paul Wouters c1b784
- Removed DESTDIR export and fixed two capitals
Paul Wouters c1b784
Paul Wouters c1b784
* Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-1
Paul Wouters c1b784
- Initial version based on Pascal Bleser <guru@unixtech.be> suse rpm