mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
third_party: Update socket_wrapper to version 1.3.2
This brings support for fd-passing of INET sockets. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11899 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
9178e72dcc
commit
ab943babc3
@ -24,7 +24,7 @@ Build.BuildContext.CHECK_CMOCKA = CHECK_CMOCKA
|
||||
|
||||
@conf
|
||||
def CHECK_SOCKET_WRAPPER(conf):
|
||||
return conf.CHECK_BUNDLED_SYSTEM_PKG('socket_wrapper', minversion='1.2.5')
|
||||
return conf.CHECK_BUNDLED_SYSTEM_PKG('socket_wrapper', minversion='1.3.2')
|
||||
Build.BuildContext.CHECK_SOCKET_WRAPPER = CHECK_SOCKET_WRAPPER
|
||||
|
||||
@conf
|
||||
|
1531
third_party/socket_wrapper/socket_wrapper.c
vendored
1531
third_party/socket_wrapper/socket_wrapper.c
vendored
File diff suppressed because it is too large
Load Diff
7
third_party/socket_wrapper/wscript
vendored
7
third_party/socket_wrapper/wscript
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
import os
|
||||
|
||||
VERSION="1.2.4"
|
||||
VERSION="1.3.2"
|
||||
|
||||
def configure(conf):
|
||||
if conf.CHECK_SOCKET_WRAPPER():
|
||||
@ -94,6 +94,11 @@ def build(bld):
|
||||
# breaks preloading!
|
||||
bld.SAMBA_LIBRARY('socket_wrapper',
|
||||
source='socket_wrapper.c',
|
||||
cflags='-D%s="%s" -D%s="%s"' % (
|
||||
"SOCKET_WRAPPER_PACKAGE",
|
||||
"samba_socket_wrapper",
|
||||
"SOCKET_WRAPPER_VERSION",
|
||||
VERSION),
|
||||
deps='dl pthread tirpc',
|
||||
install=False,
|
||||
realname='libsocket-wrapper.so')
|
||||
|
Loading…
Reference in New Issue
Block a user