diff --git a/socat-1.7.4.3.tar.gz b/socat-1.7.4.3.tar.gz deleted file mode 100644 index abc58429aa01adf8d11da96f454193ebf8da0370..0000000000000000000000000000000000000000 Binary files a/socat-1.7.4.3.tar.gz and /dev/null differ diff --git a/socat-1.7.4.4.tar.gz b/socat-1.7.4.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..969b5a355f8483fbab040ec19088d465a69feaea Binary files /dev/null and b/socat-1.7.4.4.tar.gz differ diff --git a/socat.spec b/socat.spec index 62bfee1d920f33ddf8281567dcacd9031a89d4ff..ff400dcaa26c376fb95a602d67e90283737af0b5 100644 --- a/socat.spec +++ b/socat.spec @@ -1,67 +1,48 @@ %global _hardened_build 1 -Summary: Multipurpose relay -Name: socat -Version: 1.7.4.3 -Release: 1 -License: GPLv2 -Url: http://www.dest-unreach.org/socat/ -Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz - -BuildRequires: gcc openssl-devel readline-devel ncurses-devel -BuildRequires: autoconf kernel-headers > 2.6.18 -BuildRequires: iproute net-tools coreutils procps-ng openssl iputils +Name: socat +Summary: Multipurpose relay +Version: 1.7.4.4 +Release: 1 +License: GPLv2 +Url: http://www.dest-unreach.org/socat/ +Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz + +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(readline) +BuildRequires: tcp_wrappers-devel %description -Socat is a relay for bidirectional data transfer between two independent data +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. -%package_help - %prep -%autosetup -iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8 -mv CHANGES.utf8 CHANGES +%autosetup -p1 %build -%configure \ - --enable-help --enable-stdio \ - --enable-retry --enable-fips \ - --enable-unix --enable-ip4 --enable-ip6 \ - --enable-rawip --enable-tcp --enable-udp \ - --enable-fdnum --enable-file --enable-creat \ - --enable-listen --enable-proxy --enable-exec \ - --enable-gopen --enable-pipe --enable-termios \ - --enable-openssl --enable-sycls --enable-filan \ - --enable-system --enable-pty --enable-readline - - +%configure %make_build %install %make_install -mkdir -p %{buildroot}/%{_docdir}/socat -cp -a *.sh %{buildroot}/%{_docdir}/socat/ - -%check %files -%license COPYING COPYING.OpenSSL -%{_bindir}/socat +%doc README +%{_bindir}/%{name} %{_bindir}/filan %{_bindir}/procan - -%files help -%doc README SECURITY BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING -%doc %{_docdir}/socat/*.sh -%doc %{_mandir}/man1/socat.1* +%{_mandir}/man1/* %changelog +* Mon Nov 7 2022 hkgy - 1.7.4.4-1 +- Upgrade to v1.7.4.4 + * Thu Jul 28 2022 fushanqing - 1.7.4.3-1 - update to 1.7.4.3 * Tue Nov 19 2019 mengxian - 1.7.3.2-8 -- Package init \ No newline at end of file +- Package init