~ubuntu-branches/ubuntu/vivid/samba/vivid

« back to all changes in this revision

Viewing changes to source4/smbd/wscript_build

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
bld.SAMBA_LIBRARY('service',
 
4
        source='service.c service_stream.c service_named_pipe.c service_task.c',
 
5
        autoproto='service_proto.h',
 
6
        deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
 
7
        private_library=True
 
8
        )
 
9
 
 
10
 
 
11
bld.SAMBA_SUBSYSTEM('PIDFILE',
 
12
        source='pidfile.c',
 
13
        deps='talloc',
 
14
        autoproto='pidfile.h'
 
15
        )
 
16
 
 
17
 
 
18
bld.SAMBA_BINARY('samba',
 
19
        source='server.c',
 
20
        manpages='samba.8',
 
21
        subsystem_name='service',
 
22
        deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA PIDFILE
 
23
                popt gensec registry ntptr ntvfs share cluster COMMON_SCHANNEL SECRETS''',
 
24
        pyembed=True,
 
25
        install_path='${SBINDIR}'
 
26
        )
 
27
 
 
28
 
 
29
 
 
30
 
 
31
bld.SAMBA_MODULE('process_model_single',
 
32
                 source='process_single.c',
 
33
                 subsystem='process_model',
 
34
                 init_function='process_model_single_init',
 
35
                 deps='cluster process_model samba-sockets',
 
36
                 internal_module=True
 
37
                 )
 
38
 
 
39
 
 
40
bld.SAMBA_MODULE('process_model_standard',
 
41
                 source='process_standard.c',
 
42
                 subsystem='process_model',
 
43
                 init_function='process_model_standard_init',
 
44
                 deps='events ldbsamba process_model samba-sockets cluster',
 
45
                 internal_module=False
 
46
                 )
 
47
 
 
48
 
 
49
bld.SAMBA_MODULE('process_model_thread',
 
50
                 source='process_thread.c',
 
51
                 subsystem='process_model',
 
52
                 init_function='process_model_thread_init',
 
53
                 enabled=False,
 
54
                 deps='pthread samba-sockets cluster process_model',
 
55
                 internal_module=False
 
56
                 )
 
57
 
 
58
 
 
59
bld.SAMBA_MODULE('process_model_prefork',
 
60
                 source='process_prefork.c',
 
61
                 subsystem='process_model',
 
62
                 init_function='process_model_prefork_init',
 
63
                 deps='events ldbsamba cluster samba-sockets process_model',
 
64
                 internal_module=False
 
65
                 )
 
66
 
 
67
bld.SAMBA_MODULE('process_model_onefork',
 
68
                 source='process_onefork.c',
 
69
                 subsystem='process_model',
 
70
                 init_function='process_model_onefork_init',
 
71
                 deps='events ldbsamba process_model cluster samba-sockets',
 
72
                 internal_module=False
 
73
                 )
 
74
 
 
75
 
 
76
bld.SAMBA_LIBRARY('process_model',
 
77
                  source='process_model.c',
 
78
                  autoproto='process_model_proto.h',
 
79
                  deps='samba-util samba-hostconfig',
 
80
                  private_library=True
 
81
                  )
 
82