[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    [patch] Install extra headers required by <samba/session.h>
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2011-02-24 3:54:54
Message-ID: 201102241454.55350.bradh () frogmouth ! net
[Download RAW message or body]

G'day team.

http://git.samba.org/samba.git/?p=samba.git;a=commit;h=e3821f2c40691cc747d887bac14d4e3d37f0763b  
installs <samba/session.h> (source4/auth/session.h before installation) that 
includes "libcli/security/security.h", which isn't installed. That breaks the 
openchange build (and anything else that includes <samba/session.h>.

The attached patch is the simplest fix I could come up with to address the 
issue. Please review and apply if appropriate.

Brad

["0001-Install-headers-required-by-source4-auth-session.h.patch" (text/x-patch)]

From c4263cce7ac3ffc27693703c815c0210e4a6fb97 Mon Sep 17 00:00:00 2001
From: Brad Hards <bradh@frogmouth.net>
Date: Thu, 24 Feb 2011 14:14:47 +1100
Subject: [PATCH] Install headers required by source4/auth/session.h

Note that there are a range of headers, indirectly required by that header
---
 libcli/security/wscript_build |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libcli/security/wscript_build b/libcli/security/wscript_build
index 3f2e06a..63ccd11 100644
--- a/libcli/security/wscript_build
+++ b/libcli/security/wscript_build
@@ -4,6 +4,8 @@
 bld.SAMBA_LIBRARY('security',
                   source='dom_sid.c display_sec.c secace.c secacl.c \
security_descriptor.c sddl.c privileges.c security_token.c access_check.c \
object_tree.c create_descriptor.c util_sid.c session.c',  private_library=True,
+                  public_headers='dom_sid.h secace.h secacl.h security_descriptor.h \
security_token.h security.h session.h sddl.h privileges.h access_check.h', +          \
header_path='samba/security',  deps='talloc ndr NDR_SECURITY'
                   )
 
-- 
1.7.0.4



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic