From 8c0b1642b4104032b089cc2db24647ecc454cc07 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 14 Nov 2013 12:31:34 +0100 Subject: [PATCH] add python-geven dependency, install nginx vhost --- debian/amue-authentic2.install | 1 + debian/amue-authentic2.postinst | 2 +- debian/changelog | 7 +++++++ debian/control | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian/amue-authentic2.install b/debian/amue-authentic2.install index 7aaa3ba..95dc5a3 100644 --- a/debian/amue-authentic2.install +++ b/debian/amue-authentic2.install @@ -4,3 +4,4 @@ /usr/share/pyshared/amue/* /usr/lib/amue-authentic2/* /etc/supervisor/conf.d/* +/etc/nginx/sites-available/* diff --git a/debian/amue-authentic2.postinst b/debian/amue-authentic2.postinst index 751c7e4..c189b22 100644 --- a/debian/amue-authentic2.postinst +++ b/debian/amue-authentic2.postinst @@ -39,7 +39,7 @@ case "$1" in configure) echo Updating static files... /usr/lib/amue-authentic2/manage.sh collectstatic --noinput - if [ -e /etc/nginx/sites-enabled/idp.amue.fr ]; then + if [ ! -e /etc/nginx/sites-enabled/idp.amue.fr ]; then echo Installed nginx virtualhost... ln -s /etc/nginx/sites-availables/idp.amue.fr /etc/nginx/sites-enabled/ invoke-rc.d nginx reload diff --git a/debian/changelog b/debian/changelog index 56ac5c0..e86193e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +amue-authentic2 (0.4) stable; urgency=low + + * Add python-gevent to dependencies + * Add nginx virtualhost + + -- Benjamin Dauvergne Thu, 14 Nov 2013 12:27:24 +0100 + amue-authentic2 (0.3) stable; urgency=low * Add python-psycopg2 to dependencies diff --git a/debian/control b/debian/control index c62b403..8809fc7 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Package: amue-authentic2 Architecture: all Depends: ${misc:Depends}, python-authentic2, dbconfig-common, nginx, gunicorn, supervisor, ${python:Depends}, - python-memcache, python-psycopg2 + python-memcache, python-psycopg2, python-gevent Recommends: postgresql-client Description: AMUE settings for the Authentic2 identity server Gather all needed settings for using Authentic2 at AMUE