1
0
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:
Stefan Metzmacher 2021-02-09 08:56:42 +01:00
parent 9178e72dcc
commit ab943babc3
3 changed files with 1312 additions and 228 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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')