~ubuntu-branches/debian/jessie/keystone/jessie

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2012-10-01 05:52:23 UTC
  • Revision ID: package-import@ubuntu.com-20121001055223-7fldz5pv6lc80w9f
Tags: 2012.1.1-9
* Fixes sometimes failing keystone.postrm (db_get in some conditions can
return false), and fixed non-consistant indenting.
* Uses /usr/share/keystone/keystone.conf instead of /usr/share/doc/keystone
/keystone.conf.sample for temporary storing the conf file (this was a policy
violation, as the doc folder should never be required).
* Fixes CVE-2012-4457: fails to raise Unauthorized user error for disabled,
CVE-2012-4456: fails to validate tokens in Admin API (Closes: #689210).

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        rm -rf debian/python-keystone/usr/lib/python*/*/doc
43
43
        rm -rf debian/python-keystone/usr/lib/python*/*/tools
44
44
        rm -rf debian/python-keystone/usr/lib/python*/*/examples
45
 
        cp -f etc/keystone.conf debian/keystone/usr/share/doc/keystone/keystone.conf.sample
 
45
        install -D -m 0640 etc/keystone.conf debian/keystone/usr/share/keystone/keystone.conf
 
46
 
 
47
override_dh_fixperms:
 
48
        dh_fixperms
 
49
        chmod 0640 debian/keystone/usr/share/keystone/keystone.conf
46
50
 
47
51
override_dh_clean:
48
52
        rm -rf $(CURDIR)/build $(CURDIR)/keystone.egg-info $(CURDIR)/.cache