diff options
| author | Timur I. Bakeyev <timur@FreeBSD.org> | 2015-01-16 03:54:21 +0000 |
|---|---|---|
| committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2015-01-16 03:54:21 +0000 |
| commit | f714451a8b7e85b90513a4683a9b5585c16ff50b (patch) | |
| tree | e4622f16409a30312488587f7bf8a3c69ef59986 /net/samba41/files/patch-source3__wscript_build | |
| parent | Upgrade supplimentary net/samba ports to the minimal common required versions. (diff) | |
Update ports net/samba4 and net/samba41 to address recent security issue with
the elevation of privilege to ADDC.
Security: CVE-2014-8143
Notes
Notes:
svn path=/head/; revision=377151
Diffstat (limited to 'net/samba41/files/patch-source3__wscript_build')
| -rw-r--r-- | net/samba41/files/patch-source3__wscript_build | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net/samba41/files/patch-source3__wscript_build b/net/samba41/files/patch-source3__wscript_build index 1eaeab0fccdc..10c77de5d96e 100644 --- a/net/samba41/files/patch-source3__wscript_build +++ b/net/samba41/files/patch-source3__wscript_build @@ -1,33 +1,5 @@ --- source3/wscript_build.orig 2013-09-06 09:39:57.000000000 +0000 +++ source3/wscript_build 2013-11-20 00:35:51.687173831 +0000 -@@ -1,7 +1,8 @@ - #!/usr/bin/env python - - from samba_utils import * --import samba_version, samba3 -+import samba_version, samba3, sys -+host_os = sys.platform - - TDB_LIB_SRC = ''' - lib/dbwrap/dbwrap_open.c -@@ -654,7 +655,16 @@ - vnum='0', - vars=locals()) - --bld.SAMBA3_LIBRARY('nss_wins', -+if (host_os.rfind('freebsd') > -1): -+ # FreeBSD winbind client is implemented as a wrapper around -+ # the Linux version. -+ bld.SAMBA3_LIBRARY('nss_wins', -+ source=' '.join([WINBIND_WINS_NSS_SRC, '../nsswitch/wins_freebsd.c']), -+ deps='''param libsmb LIBTSOCKET''', -+ realname='nss_wins.so.1', -+ vnum='1') -+else: -+ bld.SAMBA3_LIBRARY('nss_wins', - source=WINBIND_WINS_NSS_SRC, - deps='''param libsmb LIBTSOCKET''', - realname='libnss_wins.so.2', @@ -976,11 +986,13 @@ LIBAFS_SETTOKEN RPC_SERVER |
