~ubuntu-branches/ubuntu/lucid/samba/lucid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-12-28 05:02:32 UTC
  • mfrom: (0.34.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091228050232-jdd4xy3otxp71kdt
Tags: 2:3.4.3-2ubuntu1
* Merge from debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + 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 additon to authenticated ones.
    - add map to guest = Bad user, maps bad username to gues access.
  + debian/samba-common.conf:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control:
    - Make libswbclient0 replace/conflickt with hardy's likewise-open.
    - Don't build against ctdb.
    - Build-depend on libreadline-dev instead of libreadline5-dev.
  + debian/rules:
    - Enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
# Enable BIND_NOW to maximize benefit of RELRO hardening
25
25
LDFLAGS = -Wl,-z,now
26
26
 
27
 
include /usr/share/quilt/quilt.make
28
 
 
29
27
DESTDIR=`pwd`/debian/tmp
30
28
 
31
29
conf_args = \
87
85
  conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
88
86
endif
89
87
 
90
 
configure: patch configure-stamp
91
 
configure-stamp:
 
88
configure:
92
89
        dh_testdir
93
90
 
94
91
        if [ -f debian/config.cache ]; then \
109
106
 
110
107
        touch build-stamp
111
108
 
112
 
clean:  clean-patched unpatch
113
 
 
114
 
clean-patched: 
 
109
clean:
115
110
        dh_testdir
116
111
        dh_testroot
117
112
        rm -f build-stamp configure-stamp
280
275
               -e "s/libcap2-dev\( ([^)]\+)\)* \[[^]]\+\]/libcap2-dev \1 [`type-handling any linux-gnu`]/g" \
281
276
                debian/control
282
277
 
283
 
.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch update-archs
 
278
.PHONY: build clean binary-indep binary-arch binary install configure update-archs