From 80aa5a23889dd22da8f17b6b3cfd02c67b078724afdb92712297990c4bcd17b8 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Thu, 28 Oct 2010 11:29:18 +0000 Subject: [PATCH] Accepting request 51540 from network:utilities Accepted submit request 51540 from user coolo OBS-URL: https://build.opensuse.org/request/show/51540 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/socat?expand=0&rev=11 --- socat-1.7.1.2.tar.bz2 | 3 --- socat-1.7.1.3.tar.bz2 | 3 +++ socat.changes | 6 ++++++ socat.spec | 19 ++++++------------- 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 socat-1.7.1.2.tar.bz2 create mode 100644 socat-1.7.1.3.tar.bz2 diff --git a/socat-1.7.1.2.tar.bz2 b/socat-1.7.1.2.tar.bz2 deleted file mode 100644 index c2ab37b..0000000 --- a/socat-1.7.1.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7395b154914bdaa49805603aac2a90fb3d60255f95691d7779ab4680615e167 -size 425139 diff --git a/socat-1.7.1.3.tar.bz2 b/socat-1.7.1.3.tar.bz2 new file mode 100644 index 0000000..1417023 --- /dev/null +++ b/socat-1.7.1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a14f42e2166e1a9d5413cc7f743f2f3b16e58427c848cd711688568219b7c42 +size 426350 diff --git a/socat.changes b/socat.changes index c7b5cd6..e76fe5d 100644 --- a/socat.changes +++ b/socat.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 2 08:31:55 UTC 2010 - pascal.bleser@opensuse.org + +- update to 1.7.3: + * a stack overflow vulnerability has been fixed that could be triggered when command line arguments were longer than 512 bytes + ------------------------------------------------------------------- Mon Jan 11 08:24:32 UTC 2010 - pascal.bleser@opensuse.org diff --git a/socat.spec b/socat.spec index eef893d..a6480c4 100644 --- a/socat.spec +++ b/socat.spec @@ -1,7 +1,8 @@ # -# spec file for package socat (Version 1.7.1.2) +# spec file for package socat (Version 1.7.1.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 Pascal Bleser # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +21,11 @@ Name: socat BuildRequires: openssl-devel procps readline-devel tcpd-devel -Version: 1.7.1.2 +Version: 1.7.1.3 Release: 1 License: BSD3c ; GPLv2+ Group: Productivity/Networking/Other Url: http://www.dest-unreach.org/socat/ -AutoReqProv: on Summary: Multipurpose relay for bidirectional data transfer Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,18 +38,12 @@ IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU line editor, a program, or a combination of two of these. - - -Authors: --------- - Gerhard Rieger - %prep %setup %build %{?suse_update_config:%{suse_update_config -f}} -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ @@ -65,7 +59,7 @@ mkdir -p \ %{__make} DESTDIR=${RPM_BUILD_ROOT} install %clean -[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) @@ -73,6 +67,5 @@ mkdir -p \ %{_bindir}/socat %{_bindir}/procan %{_bindir}/filan -%{_mandir}/man1/socat.1.gz +%{_mandir}/man1/socat.1%{ext_man} -%changelog