Accepting request 95859 from home:msmeissn:branches:network:utilities
updated to 1.7.2.0 OBS-URL: https://build.opensuse.org/request/show/95859 OBS-URL: https://build.opensuse.org/package/show/network:utilities/socat?expand=0&rev=10
This commit is contained in:
parent
46c011690b
commit
f27e2d4955
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a14f42e2166e1a9d5413cc7f743f2f3b16e58427c848cd711688568219b7c42
|
||||
size 426350
|
3
socat-1.7.2.0.tar.bz2
Normal file
3
socat-1.7.2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59b3bde927c14fbc3f9e42c782971710da8a89bbf46f7531f09a681754041802
|
||||
size 432031
|
@ -1,21 +0,0 @@
|
||||
Index: socat-1.7.1.2/sysutils.c
|
||||
===================================================================
|
||||
--- socat-1.7.1.2.orig/sysutils.c
|
||||
+++ socat-1.7.1.2/sysutils.c
|
||||
@@ -215,10 +215,14 @@ char *sockaddr_unix_info(const struct so
|
||||
} else
|
||||
#endif /* WITH_ABSTRACT_UNIXSOCKET */
|
||||
{
|
||||
- nextc =
|
||||
- sanitize_string(sa->sun_path,
|
||||
+ if (salen <= XIOUNIXSOCKOVERHEAD) {
|
||||
+ nextc = sanitize_string ("<anon>", MIN(UNIX_PATH_MAX, strlen("<anon>")),
|
||||
+ ubuff, XIOSAN_DEFAULT_BACKSLASH_OCT_3);
|
||||
+ } else {
|
||||
+ nextc = sanitize_string(sa->sun_path,
|
||||
MIN(UNIX_PATH_MAX, strlen(sa->sun_path)),
|
||||
ubuff, XIOSAN_DEFAULT_BACKSLASH_OCT_3);
|
||||
+ }
|
||||
*nextc = '\0';
|
||||
strncpy(buff, ubuff, blen);
|
||||
}
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 17:49:55 CET 2011 - meissner@suse.de
|
||||
|
||||
- updated to 1.7.2.0
|
||||
This release allows tun/tap interfaces without IP addresses and
|
||||
introduces the options openssl-compress and max-children. It fixes 18
|
||||
bugs and has 11 changes for improved platform support, especially Mac
|
||||
OS X Lion, DragonFly, and Android.
|
||||
- socat-unixsalen.patch now upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 18:23:27 CET 2011 - meissner@suse.de
|
||||
|
||||
|
21
socat.spec
21
socat.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package socat (Version 1.7.1.3)
|
||||
# spec file for package socat
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -21,14 +21,14 @@
|
||||
|
||||
Name: socat
|
||||
BuildRequires: openssl-devel procps readline-devel tcpd-devel
|
||||
Version: 1.7.1.3
|
||||
Release: 1
|
||||
License: BSD3c ; GPLv2+
|
||||
Version: 1.7.2.0
|
||||
Release: 6
|
||||
License: BSD-3-Clause ; GPL-2.0+
|
||||
Group: Productivity/Networking/Other
|
||||
Url: http://www.dest-unreach.org/socat/
|
||||
Summary: Multipurpose relay for bidirectional data transfer
|
||||
# 1.7.2.0: md5 eb563dd00b9d39a49fb62a677fc941fe
|
||||
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
|
||||
Patch0: socat-unixsalen.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -41,15 +41,11 @@ combination of two of these.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--mandir=%{_mandir} \
|
||||
--sysconfdir=%{_sysconfdir}
|
||||
export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%configure
|
||||
%{__make} all
|
||||
mkdir examples
|
||||
mv daemon.sh ftp.sh mail.sh proxyecho.sh readline.sh examples
|
||||
@ -70,4 +66,5 @@ mkdir -p \
|
||||
%{_bindir}/procan
|
||||
%{_bindir}/filan
|
||||
%{_mandir}/man1/socat.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user