Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 3ef1bb97727474d5495df75ba190807d > files > 4

socat-1.7.1.3-2.1.mga1.src.rpm

%define	name	socat
%define version 1.7.1.3
%define subrel	1
%define release %mkrel 2

Name:		%{name}
Summary:	Multipurpose relay
Version:	%{version}
Release:	%{release}
License:	GPLv2
Url:		http://www.dest-unreach.org/%{name}/
Group:		Networking/Remote access
Source0:	http://www.dest-unreach.org/%{name}/download/%{name}-%{version}.tar.gz
Patch0:		socat-1.7.1.2-unixsalen.patch
Patch1:		socat-CVE-2012-0219.patch
BuildRequires:	openssl-devel ncurses-devel readline-devel tcp_wrappers-devel

%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.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure2_5x
%make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%doc README
%{_bindir}/%{name}
%{_bindir}/filan
%{_bindir}/procan
%{_mandir}/man1/*




%changelog

* Mon Jul 02 2012 luigiwalser <luigiwalser> 1.7.1.3-2.1.mga1
+ Revision: 266815
- add patch from OpenSuSE to fix CVE-2012-0219
- add patch from OpenSuSE to fix AF_LOCAL socket with no name (novell #668319)

* Sun Mar 20 2011 boklm <boklm> 1.7.1.3-2.mga1
+ Revision: 74613
- imported package socat