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