From da8699cd23e58fcbe177b90a678ec022f9bff0e1 Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Mon, 1 Aug 2016 18:09:33 +0200 Subject: Update script for debian package creation. Change-Id: Ia85d82b2528f058a7a051f6a91e575feb8b0159c --- .../debian/patches/no-intersphinx.patch | 17 +++++++++++++++++ .../debian/patches/re-add-missing-auth-options.patch | 18 ++++++++++++++++++ keystonemiddleware-moon/debian/patches/series | 2 ++ 3 files changed, 37 insertions(+) create mode 100644 keystonemiddleware-moon/debian/patches/no-intersphinx.patch create mode 100644 keystonemiddleware-moon/debian/patches/re-add-missing-auth-options.patch create mode 100644 keystonemiddleware-moon/debian/patches/series (limited to 'keystonemiddleware-moon/debian/patches') diff --git a/keystonemiddleware-moon/debian/patches/no-intersphinx.patch b/keystonemiddleware-moon/debian/patches/no-intersphinx.patch new file mode 100644 index 00000000..a5e25751 --- /dev/null +++ b/keystonemiddleware-moon/debian/patches/no-intersphinx.patch @@ -0,0 +1,17 @@ +Description: Remove the intersphinx plugin. + Do not use the intersphinx plugin which is doing network access during + the build. +Author: Thomas Goirand +Forwarded: no +Last-Update: 2014-07-28 + +--- python-keystonemiddleware-1.0.0.orig/doc/source/conf.py ++++ python-keystonemiddleware-1.0.0/doc/source/conf.py +@@ -42,7 +42,6 @@ sys.path.insert(0, os.path.abspath(os.pa + extensions = ['sphinx.ext.autodoc', + 'sphinx.ext.todo', + 'sphinx.ext.coverage', +- 'sphinx.ext.intersphinx', + # NOTE(blk-u): Uncomment the [pbr] section in setup.cfg and + # remove this Sphinx extension when + # https://launchpad.net/bugs/1260495 is fixed. diff --git a/keystonemiddleware-moon/debian/patches/re-add-missing-auth-options.patch b/keystonemiddleware-moon/debian/patches/re-add-missing-auth-options.patch new file mode 100644 index 00000000..fc981d0c --- /dev/null +++ b/keystonemiddleware-moon/debian/patches/re-add-missing-auth-options.patch @@ -0,0 +1,18 @@ +Description: Re-add missing auth options + Upstream went a bit quick to remove Auth options from the default generated + config files. +Author: Thomas Goirand +Forwarded: no +Last-Update: 2016-04-07 + +--- python-keystonemiddleware-4.4.0.orig/keystonemiddleware/auth_token/__init__.py ++++ python-keystonemiddleware-4.4.0/keystonemiddleware/auth_token/__init__.py +@@ -370,7 +370,7 @@ _OPTS = [ + ' only while migrating from a less secure algorithm to a more' + ' secure one. Once all the old tokens are expired this option' + ' should be set to a single value for better performance.'), +-] ++] + _auth.OPTS + + CONF = cfg.CONF + CONF.register_opts(_OPTS, group=_base.AUTHTOKEN_GROUP) diff --git a/keystonemiddleware-moon/debian/patches/series b/keystonemiddleware-moon/debian/patches/series new file mode 100644 index 00000000..3c47073f --- /dev/null +++ b/keystonemiddleware-moon/debian/patches/series @@ -0,0 +1,2 @@ +no-intersphinx.patch +re-add-missing-auth-options.patch -- cgit 1.2.3-korg