Rename 'errors' to 'samba-errors' and make it public.
authorJelmer Vernooij <jelmer@jelmer.uk>
Mon, 4 Jan 2016 01:01:53 +0000 (01:01 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 13 Jan 2016 06:47:04 +0000 (07:47 +0100)
This is necessary because it has public headers.

Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
Reviewed-By: Andrew Bartlett <abartlet@samba.org>
Reviewed-By: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Jan 13 07:47:04 CET 2016 on sn-devel-144

21 files changed:
auth/credentials/wscript_build
auth/gensec/wscript_build
lib/dbwrap/wscript_build
lib/ldb-samba/wscript_build
lib/torture/wscript_build
lib/util/wscript_build
libcli/auth/wscript_build
libcli/ldap/wscript_build
libcli/smb/wscript
libcli/util/wscript_build
librpc/tools/wscript_build
librpc/wscript_build
source3/wscript_build
source4/auth/kerberos/wscript_build
source4/dns_server/wscript_build
source4/dsdb/wscript_build
source4/lib/socket/wscript_build
source4/libcli/ldap/wscript_build
source4/libcli/wbclient/wscript_build
source4/libcli/wscript_build
source4/torture/drs/wscript_build

index 06d58a77b234b807839f302b83d50281ad62f67a..009f5ecb6b6e808ce1df727650c44ff19d485129 100755 (executable)
@@ -5,7 +5,7 @@ bld.SAMBA_LIBRARY('samba-credentials',
        autoproto='credentials_proto.h',
        public_headers='credentials.h',
        pc_files='samba-credentials.pc',
-       deps='LIBCRYPTO errors events LIBCLI_AUTH samba-security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
+       deps='LIBCRYPTO samba-errors events LIBCLI_AUTH samba-security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
        vnum='0.0.1'
        )
 
index 5ecd2800d79758d8b32d9d51e40dc1c1d00befb8..d8299be89eda712dda32b266a6b65974c83b50ae 100755 (executable)
@@ -2,7 +2,7 @@
 bld.SAMBA_LIBRARY('gensec',
        source='gensec.c gensec_start.c gensec_util.c',
        autoproto='gensec_toplevel_proto.h',
-       public_deps='tevent-util samba-util errors auth_system_session samba-modules gensec_util asn1util',
+       public_deps='tevent-util samba-util samba-errors auth_system_session samba-modules gensec_util asn1util',
        private_headers='gensec.h',
        deps='com_err',
        private_library=True,
index 195ad4e040e16e9dbb6ea4e242d0b4a65dc01482..b719a606e1829dcee24dffff991b2993acd786f2 100644 (file)
@@ -1,6 +1,6 @@
 SRC = '''dbwrap.c dbwrap_util.c dbwrap_rbt.c dbwrap_cache.c dbwrap_tdb.c
          dbwrap_local_open.c'''
-DEPS= '''samba-util util_tdb errors tdb tdb-wrap samba-hostconfig'''
+DEPS= '''samba-util util_tdb samba-errors tdb tdb-wrap samba-hostconfig'''
 
 bld.SAMBA_LIBRARY('dbwrap',
                   source=SRC,
index 7016b2f23be53c6c183f611f6abf4f05f3d64065..2d9d70023b2ada491466448e8fc2f12a27b01a92 100644 (file)
@@ -8,7 +8,7 @@ bld.SAMBA_LIBRARY('ldbsamba',
                   source='ldif_handlers.c',
                   autoproto='ldif_handlers_proto.h',
                   public_deps='ldb',
-                  deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb errors',
+                  deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb samba-errors',
                   private_library=True
                   )
 
index 2c0064e9edbf8edd1f265ab146c6c373e20713f6..31c386277fb4874f9bfd017ddadbaea5f11c2f68 100644 (file)
@@ -3,6 +3,6 @@
 bld.SAMBA_LIBRARY('torture',
     private_library=True,
     source='torture.c subunit.c simple.c',
-    public_deps='samba-hostconfig samba-util errors talloc tevent',
+    public_deps='samba-hostconfig samba-util samba-errors talloc tevent',
     private_headers='torture.h'
     )
index c8ee8a0ddace86dd50f049aef3e3c81118b4bfa9..31e29581e6ac4ae68a562aa871f6314eb785ca77 100755 (executable)
@@ -114,7 +114,7 @@ if not bld.env.SAMBA_UTIL_CORE_ONLY:
 
     bld.SAMBA_LIBRARY('samba-modules',
                       source='modules.c',
-                      deps='errors samba-util',
+                      deps='samba-errors samba-util',
                       local_include=False,
                       private_library=True)
 
@@ -143,7 +143,7 @@ if not bld.env.SAMBA_UTIL_CORE_ONLY:
     bld.SAMBA_LIBRARY('tevent-util',
                       source='tevent_ntstatus.c tevent_werror.c',
                       local_include=False,
-                      public_deps='tevent errors tevent-unix-util',
+                      public_deps='tevent samba-errors tevent-unix-util',
                       public_headers='tevent_ntstatus.h tevent_werror.h',
                       header_path=[ ('*', 'util') ],
                       pc_files=[],
index 51eb293e24a37c2440fba6e57b7610db3552a3e3..475b7d694068d15fd41c09f09e3e5c7f4a5ca9b5 100755 (executable)
@@ -2,7 +2,7 @@
 
 bld.SAMBA_LIBRARY('cliauth',
                   source='',
-                  deps='MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE krb5samba errors NTLM_CHECK UTIL_LSARPC',
+                  deps='MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE krb5samba samba-errors NTLM_CHECK UTIL_LSARPC',
                   private_library=True,
                   grouping_library=True)
 
index 305060037af0ff37743700b06ae16063bc0c9500..db5b1df497a7ae5605433b70f2450a76fa024b3c 100644 (file)
@@ -2,7 +2,7 @@
 
 bld.SAMBA_LIBRARY('cli-ldap-common',
                   source='ldap_message.c ldap_ndr.c',
-                  public_deps='errors talloc ldb',
+                  public_deps='samba-errors talloc ldb',
                   private_headers='ldap_message.h ldap_errors.h ldap_ndr.h',
                   deps='samba-util asn1util NDR_SECURITY tevent',
                   private_library=True)
index d6b594a1bc2e5fab153834342ee07688b10c48d5..394136b855b6e26234f7b1e3b40ab75d11bde29f 100755 (executable)
@@ -43,7 +43,7 @@ def build(bld):
                 tstream_smbXcli_np.c
        ''',
        deps='''
-                LIBCRYPTO NDR_SMB2_LEASE_STRUCT errors gensec krb5samba
+                LIBCRYPTO NDR_SMB2_LEASE_STRUCT samba-errors gensec krb5samba
                 smb_transport
         ''',
        public_deps='talloc samba-util iov_buf',
index ccb882d7618b2916c1e9eeff9ac2cf406f4ebb40..8123914e482a79959f7fa6a511f89a7f1ca87032 100644 (file)
@@ -1,11 +1,13 @@
 #!/usr/bin/env python
 
 
-bld.SAMBA_LIBRARY('errors',
+bld.SAMBA_LIBRARY('samba-errors',
                   public_headers='error.h ntstatus.h doserr.h werror.h hresult.h',
                   header_path='core',
                   source='doserr.c errormap.c nterr.c errmap_unix.c hresult.c',
                   public_deps='talloc samba-debug',
-                  private_library=True
+                  # private_library=True,
+                  pc_files=[],
+                  vnum='1',
                   )
 
index a7463a91493bab05e5d48e72fb9e334005824aca..a64747057c7e890030f3ea193ded136d74ac17f9 100644 (file)
@@ -3,5 +3,5 @@
 bld.SAMBA_BINARY('ndrdump',
        source='ndrdump.c',
        manpages='ndrdump.1',
-       deps='samba-hostconfig samba-util popt POPT_SAMBA ndr-table errors NDR_DCERPC'
+       deps='samba-hostconfig samba-util popt POPT_SAMBA ndr-table samba-errors NDR_DCERPC'
        )
index 93c6ffd98524246923dd85f4b1ce5ffd7aa64702..135b30754cd5c8d4a74b6c7d73c058c7d1de59ef 100644 (file)
@@ -316,7 +316,7 @@ bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
 
 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
     source='ndr/ndr_compression.c',
-    public_deps='errors ndr',
+    public_deps='samba-errors ndr',
     deps='z LZXPRESS'
     )
 
@@ -705,7 +705,7 @@ bld.SAMBA_LIBRARY('dcerpc-samba',
 bld.SAMBA_LIBRARY('ndr',
     source='ndr/ndr_string.c ndr/ndr_basic.c ndr/uuid.c ndr/ndr.c ndr/ndr_misc.c gen_ndr/ndr_misc.c ndr/util.c',
     pc_files='ndr.pc',
-    public_deps='errors talloc samba-util',
+    public_deps='samba-errors talloc samba-util',
     public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
     header_path= [('*gen_ndr*', 'gen_ndr')],
     vnum='0.0.5',
index 87b09106d419b083097a923a5317efb9bb7e8c28..9d5d0d044a41747f1549c40a402ac184319fa441 100755 (executable)
@@ -807,7 +807,7 @@ bld.SAMBA3_LIBRARY('CHARSET3',
 
 bld.SAMBA3_SUBSYSTEM('errors3',
                      source='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c',
-                     deps='errors')
+                     deps='samba-errors')
 
 bld.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
                     source='rpc_client/cli_samr.c',
index ffcb54c1c06236d1e123e6f3f0eb3467416fc598..0f886fa7c481e132510a5839098079e14e7882db 100755 (executable)
@@ -9,7 +9,7 @@ bld.SAMBA_LIBRARY('authkrb5',
                   source='kerberos_pac.c',
                   autoproto='proto.h',
                   public_deps='ndr-krb5pac krb5samba samba_socket LIBCLI_RESOLVE asn1',
-                  deps='auth_sam_reply tevent LIBPACKET ndr ldb krb5samba KRB_INIT_CTX KRB5_PAC errors',
+                  deps='auth_sam_reply tevent LIBPACKET ndr ldb krb5samba KRB_INIT_CTX KRB5_PAC samba-errors',
                   private_library=True
                   )
 
index eedbd1da0febdccc0086dacaf1651df5603f6336..9f655d9c38e07cd08a2fa687ebaedccc4eebf472 100644 (file)
@@ -2,7 +2,7 @@
 
 bld.SAMBA_LIBRARY('dnsserver_common',
         source='dnsserver_common.c',
-        deps='samba-util errors ldbsamba clidns',
+        deps='samba-util samba-errors ldbsamba clidns',
         private_library=True,
         enabled=bld.AD_DC_BUILD_IS_ENABLED())
 
index 1dc99a1ec182abc0d7b9a9da7ce5b6f5c4a3b6e3..28ca8450cf842b79efefe6a88625eaeb2478ad53 100755 (executable)
@@ -9,7 +9,7 @@ bld.SAMBA_LIBRARY('samdb',
        public_deps='krb5',
        public_headers='',
        vnum='0.0.1',
-       deps='ndr NDR_DRSUAPI NDR_DRSBLOBS auth_system_session LIBCLI_AUTH ndr SAMDB_SCHEMA ldbsamba samdb-common LIBCLI_DRSUAPI cli-ldap-common samba-util com_err authkrb5 samba-credentials ldbwrap errors krb5samba ldb',
+       deps='ndr NDR_DRSUAPI NDR_DRSBLOBS auth_system_session LIBCLI_AUTH ndr SAMDB_SCHEMA ldbsamba samdb-common LIBCLI_DRSUAPI cli-ldap-common samba-util com_err authkrb5 samba-credentials ldbwrap samba-errors krb5samba ldb',
        )
 
 bld.SAMBA_LIBRARY('samdb-common',
@@ -53,7 +53,7 @@ bld.SAMBA_MODULE('service_dns_update',
        source='dns/dns_update.c',
        subsystem='service',
        init_function='server_service_dnsupdate_init',
-       deps='samdb UTIL_RUNCMD samba-util ldb samdb-common errors talloc auth_system_session samba-hostconfig',
+       deps='samdb UTIL_RUNCMD samba-util ldb samdb-common samba-errors talloc auth_system_session samba-hostconfig',
        internal_module=False,
        enabled=bld.AD_DC_BUILD_IS_ENABLED()
        )
index da0b3806d44b9b453d49368068fb43f8025b38ca..1cb89c610db0a33d8fa44336f7f61c72be2d0534 100644 (file)
@@ -10,7 +10,7 @@ bld.SAMBA_LIBRARY('netif',
 bld.SAMBA_MODULE('socket_ip',
     source='socket_ip.c',
     subsystem='samba_socket',
-    deps='errors',
+    deps='samba-errors',
     internal_module=True
     )
 
index debec463a1462fefd78eac7053b2839ede2074af..1242673164ec228e67171d403acffa73f555f00e 100644 (file)
@@ -3,7 +3,7 @@
 bld.SAMBA_LIBRARY('cli-ldap',
                   source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
                   autoproto='ldap_proto.h',
-                  public_deps='errors tevent',
+                  public_deps='samba-errors tevent',
                   private_headers='libcli_ldap.h:ldap-util.h',
                   deps='cli_composite LIBSAMBA_TSOCKET samba_socket NDR_SAMR LIBTLS ndr LP_RESOLVE gensec cli-ldap-common',
                   private_library=True
index cf28887a2855aa123158162e8002cc532ef5c24b..f3cb3afd5f5ddb04f17b37c43cac7fd9b29f13dd 100644 (file)
@@ -2,7 +2,7 @@
 
 bld.SAMBA_LIBRARY('LIBWBCLIENT_OLD',
                   source='wbclient.c',
-                  public_deps='errors events',
+                  public_deps='samba-errors events',
                   cflags='-DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR,
                   deps='WB_REQTRANS NDR_WINBIND MESSAGING RPC_NDR_WINBIND',
                   private_library=True
index a3c072d7366f4c5a28f6d6cce9767a0d89554ed2..2c45cead77f7f0a165212093d72286be292a3b44 100755 (executable)
@@ -76,7 +76,7 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_FINDDCS',
 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
        source='clireadwrite.c cliconnect.c clifile.c clilist.c clitrans2.c climessage.c clideltree.c',
        private_headers='libcli.h:smb_cli.h',
-       public_deps='smbclient-raw errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt samba-security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
+       public_deps='smbclient-raw samba-errors LIBCLI_AUTH LIBCLI_SMB_COMPOSITE cli-nbt samba-security LIBCLI_RESOLVE LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket'
        )
 
 
@@ -84,7 +84,7 @@ bld.SAMBA_LIBRARY('smbclient-raw',
        source='raw/rawfile.c raw/smb_signing.c raw/clisocket.c raw/clitransport.c raw/clisession.c raw/clitree.c raw/clierror.c raw/rawrequest.c raw/rawreadwrite.c raw/rawsearch.c raw/rawsetfileinfo.c raw/raweas.c raw/rawtrans.c raw/clioplock.c raw/rawnegotiate.c raw/rawfsinfo.c raw/rawfileinfo.c raw/rawnotify.c raw/rawioctl.c raw/rawacl.c raw/rawdate.c raw/rawlpq.c raw/rawshadow.c',
        autoproto='raw/raw_proto.h',
        public_deps='samba_socket LIBPACKET LIBCRYPTO',
-       deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
+       deps='cli_composite LIBCLI_RESOLVE samba-security ndr samba-util samba-errors charset talloc LIBCLI_SMB_COMPOSITE tevent cli_smb_common',
        private_headers='raw/request.h:smb_request.h raw/signing.h:smb_raw_signing.h raw/libcliraw.h:smb_cliraw.h raw/interfaces.h:smb_raw_interfaces.h raw/smb.h:smb_raw.h raw/trans2.h:smb_raw_trans2.h',
        private_library=True,
        )
index 0e5578b11bd09fc02d169f209b3657004f274db5..cfdd8a2337e26b82b70369f3434abdfdbcdaadfb 100644 (file)
@@ -5,7 +5,7 @@ bld.SAMBA_MODULE('TORTURE_DRS',
        autoproto='proto.h',
        subsystem='smbtorture',
        init_function='torture_drs_init',
-       deps='samba-util ldb POPT_SAMBA errors torture ldbsamba talloc dcerpc ndr NDR_DRSUAPI gensec samba-hostconfig RPC_NDR_DRSUAPI DSDB_MODULE_HELPERS asn1util samdb NDR_DRSBLOBS samba-credentials samdb-common LIBCLI_RESOLVE LP_RESOLVE torturemain',
+       deps='samba-util ldb POPT_SAMBA samba-errors torture ldbsamba talloc dcerpc ndr NDR_DRSUAPI gensec samba-hostconfig RPC_NDR_DRSUAPI DSDB_MODULE_HELPERS asn1util samdb NDR_DRSBLOBS samba-credentials samdb-common LIBCLI_RESOLVE LP_RESOLVE torturemain',
        internal_module=True
        )