forked from pool/stunnel
- disable the previous two patches for the time being
- create debug packages OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=44
This commit is contained in:
parent
c1b41c7ae5
commit
bd2d3975d9
@ -50,29 +50,6 @@
|
|||||||
if(nonblock)
|
if(nonblock)
|
||||||
flags|=O_NONBLOCK;
|
flags|=O_NONBLOCK;
|
||||||
else
|
else
|
||||||
@@ -526,21 +547,10 @@
|
|
||||||
} while(err<0 && get_last_socket_error()==EINTR);
|
|
||||||
if(err<0)
|
|
||||||
sockerror("fcntl SETFL"); /* non-critical */
|
|
||||||
-#ifdef FD_CLOEXEC
|
|
||||||
- do {
|
|
||||||
- err=fcntl(fd, F_SETFD, FD_CLOEXEC);
|
|
||||||
- } while(err<0 && get_last_socket_error()==EINTR);
|
|
||||||
- if(err<0)
|
|
||||||
- sockerror("fcntl SETFD"); /* non-critical */
|
|
||||||
-#endif /* FD_CLOEXEC */
|
|
||||||
#else /* use fcntl() */
|
|
||||||
- if(ioctlsocket(fd, FIONBIO, &l)<0)
|
|
||||||
+ if(ioctlsocket(fd, FIONBIO, &nonblock)<0)
|
|
||||||
sockerror("ioctlsocket"); /* non-critical */
|
|
||||||
#endif /* use fcntl() */
|
|
||||||
-#endif /* USE_NEW_LINUX_API */
|
|
||||||
- s_log(LOG_DEBUG, "%s: FD=%d allocated (%sblocking mode)",
|
|
||||||
- msg, fd, nonblock?"non-":"");
|
|
||||||
- return fd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************** log messages to identify build */
|
|
||||||
--- src/prototypes.h 2011-06-18 12:14:22.883741503 +0200
|
--- src/prototypes.h 2011-06-18 12:14:22.883741503 +0200
|
||||||
+++ src/prototypes.h 2011-06-17 15:14:24.000000000 +0200
|
+++ src/prototypes.h 2011-06-17 15:14:24.000000000 +0200
|
||||||
@@ -154,6 +154,7 @@
|
@@ -154,6 +154,7 @@
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 20 07:49:41 UTC 2011 - daniel.rahn@novell.com
|
||||||
|
|
||||||
|
- disable the previous two patches for the time being
|
||||||
|
- create debug packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 18 10:04:29 UTC 2011 - daniel.rahn@novell.com
|
Sat Jun 18 10:04:29 UTC 2011 - daniel.rahn@novell.com
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ Patch1: non-blocking-socket-handling.patch
|
|||||||
Patch2: fix-ucontext-handling.patch
|
Patch2: fix-ucontext-handling.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define VENDOR SUSE
|
%define VENDOR SUSE
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The stunnel program is designed to work as an SSL encryption wrapper
|
The stunnel program is designed to work as an SSL encryption wrapper
|
||||||
@ -51,9 +53,9 @@ without any changes to the program code.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p0
|
# %patch1 -p0
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
%patch2 -p0
|
# %patch2 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#autoreconf -fi
|
#autoreconf -fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user