~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to release-scripts/create-tarball

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-01-29 06:16:15 UTC
  • mfrom: (0.27.9 upstream) (0.34.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100129061615-37hs6xqpsdhjq3ld
Tags: 2:3.4.5~dfsg-1ubuntu1
* 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/conflict with hardy's likewise-open.
    - Don't build against ctdb, since its not in main yet.
  + 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
  + Add apoort hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + debian/rules, debian/samba.if-up: allow "NetworkManager" as a recognized address
    family... it's obviously /not/ an address family, but it's what gets
    sent when using NM, so we'll cope for now.  (LP: #462169). Taken from karmic-proposed.
  + debian/control: Recommend keyutils for smbfs (LP: #493565)
  + Dropped patches:
    - debian/patches/security-CVE-2009-3297.patch: No longer needed
    - debian/patches/fix-too-many-open-files.patch: No longer needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
        rsync -av "${OPT_DOCSDIR}"/ docs/
117
117
        exitOnError $? "Failed top copy docs from ${OPT_DOCSDIR}"
118
118
 
 
119
        cd docs/
 
120
        /bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
 
121
        if [ -d manpages-3 ]; then
 
122
                mv manpages-3 manpages
 
123
        fi
 
124
        if [ -d htmldocs/manpages-3 ]; then
 
125
                mv htmldocs/manpages-3 htmldocs/manpages
 
126
        fi
 
127
        # Sync thanks, history and registry/ into the docs dir
 
128
        rsync -Ca --exclude=.svn ../../$OPT_BRANCH/docs-xml/registry ../docs/
 
129
        rsync -Ca --exclude=.svn ../../$OPT_BRANCH/docs-xml/archives/ ../docs/
 
130
        cd ../
 
131
 
119
132
        return 0
120
133
    fi
121
134
 
200
213
    # Remove RFCs as they are non-free content (with a strict interpretation of
201
214
    # the DFSG)
202
215
 
203
 
    if [ -d source4 ]; then
204
 
        echo "Removing RFCs"
205
 
        find source4/ -name "rfc*.txt" -exec rm -f {} \;
206
 
    fi
 
216
    #if [ -d source4 ]; then
 
217
    #   echo "Removing RFCs"
 
218
    #   find source4/ -name "rfc*.txt" -exec rm -f {} \;
 
219
    #fi
207
220
 
208
221
    packaging/bin/update-pkginfo ${version} 1 ""
209
222