From f50d76607cfd655b23ba82b768ce2360b4a071c2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:57:39 +0100 Subject: [PATCH] automatic version update by autodist [release 1.7.2.4-1mamba;Mon Mar 10 2014] --- README.md | 4 +++ socat.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 socat.spec diff --git a/README.md b/README.md index fc37c40..c62f7ff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # socat +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. +These modes include generation of "listening" sockets, named pipes, and pseudo terminals. + diff --git a/socat.spec b/socat.spec new file mode 100644 index 0000000..599fb22 --- /dev/null +++ b/socat.spec @@ -0,0 +1,74 @@ +Name: socat +Version: 1.7.2.4 +Release: 1mamba +Summary: A multipurpose relay (SOcket CAT) +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.dest-unreach.org/socat +Source: http://www.dest-unreach.org/socat/download/socat-%{version}.tar.bz2 +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libncurses-devel +BuildRequires: libopenssl-devel +BuildRequires: libreadline-devel +BuildRequires: libwrap-devel +## AUTOBUILDREQ-END + +%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. +These modes include generation of "listening" sockets, named pipes, and pseudo terminals. + +%prep +%setup -q + +%build +aclocal +autoconf +%configure LDFLAGS="-lncurses" +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_mandir}/man1/socat.1.gz +%doc CHANGES COPYING README README.FIPS + +%changelog +* Mon Mar 10 2014 Automatic Build System 1.7.2.4-1mamba +- automatic version update by autodist + +* Wed Jan 29 2014 Automatic Build System 1.7.2.3-1mamba +- automatic version update by autodist + +* Mon May 27 2013 Automatic Build System 1.7.2.2-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 1.7.2.1-1mamba +- automatic version update by autodist + +* Tue Mar 27 2012 Silvan Calarco 1.7.2.0-2mamba +- explicitly link to libncurses as readline configure test does not do it + +* Sat Dec 10 2011 Automatic Build System 1.7.2.0-1mamba +- automatic version update by autodist + +* Sun Aug 08 2010 Automatic Build System 1.7.1.3-1mamba +- automatic update by autodist + +* Wed Apr 14 2010 Automatic Build System 1.7.1.2-1mamba +- automatic update by autodist + +* Wed Dec 09 2009 Stefano Cotta Ramusino 1.7.1.1-1mamba +- package created by autospec