mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
third_party: Update resolv_wrapper to version 1.1.6
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Mar 25 08:33:17 UTC 2020 on sn-devel-184
This commit is contained in:
parent
e09c2e118b
commit
e2d260c7b4
@ -34,7 +34,7 @@ Build.BuildContext.CHECK_NSS_WRAPPER = CHECK_NSS_WRAPPER
|
||||
|
||||
@conf
|
||||
def CHECK_RESOLV_WRAPPER(conf):
|
||||
return conf.CHECK_BUNDLED_SYSTEM_PKG('resolv_wrapper', minversion='1.1.4')
|
||||
return conf.CHECK_BUNDLED_SYSTEM_PKG('resolv_wrapper', minversion='1.1.6')
|
||||
Build.BuildContext.CHECK_RESOLV_WRAPPER = CHECK_RESOLV_WRAPPER
|
||||
|
||||
@conf
|
||||
|
797
third_party/resolv_wrapper/resolv_wrapper.c
vendored
797
third_party/resolv_wrapper/resolv_wrapper.c
vendored
File diff suppressed because it is too large
Load Diff
14
third_party/resolv_wrapper/wscript
vendored
14
third_party/resolv_wrapper/wscript
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
import os
|
||||
|
||||
VERSION="1.1.4"
|
||||
VERSION="1.1.6"
|
||||
|
||||
def configure(conf):
|
||||
if conf.CHECK_RESOLV_WRAPPER():
|
||||
@ -30,8 +30,16 @@ def configure(conf):
|
||||
|
||||
conf.CHECK_STRUCTURE_MEMBER('struct __res_state',
|
||||
'_u._ext.nsaddrs',
|
||||
headers='resolv.h',
|
||||
define='HAVE_RESOLV_IPV6_NSADDRS')
|
||||
headers='sys/socket.h netinet/in.h resolv.h',
|
||||
define='HAVE_RES_STATE_U_EXT_NSADDRS')
|
||||
conf.CHECK_STRUCTURE_MEMBER('union res_sockaddr_union',
|
||||
'sin',
|
||||
headers='sys/socket.h netinet/in.h resolv.h',
|
||||
define='HAVE_RES_SOCKADDR_UNION_SIN')
|
||||
conf.CHECK_STRUCTURE_MEMBER('union res_sockaddr_union',
|
||||
'sin6',
|
||||
headers='sys/socket.h netinet/in.h resolv.h',
|
||||
define='HAVE_RES_SOCKADDR_UNION_SIN6')
|
||||
|
||||
conf.CHECK_FUNCS_IN('res_ninit', 'resolv')
|
||||
if conf.CONFIG_SET('HAVE_RES_NINIT'):
|
||||
|
Loading…
Reference in New Issue
Block a user