From 3abc767cf82afe3c5a8b69b579a9ca6374092279 Mon Sep 17 00:00:00 2001 From: Ivan Udovichenko Date: Fri, 24 Jun 2016 19:21:07 +0300 Subject: [PATCH] [MOS 10.0] Add python-django-horizon package Change-Id: I1e2121fd45710c922fe7b1d1bf0b16e322cf0bb5 Version: 2:10.0.0~b1-1~u16.04+mos0 Source: http://http.debian.net/debian/pool/main/h/horizon/horizon_10.0.0~b1-1.dsc --- centos7/rpm/SPECS/python-django-horizon.spec | 187 +++-- .../openstack-dashboard-alias-only.conf | 13 + .../openstack-dashboard-ssl-redirect.conf | 16 + .../openstack-dashboard-ssl.conf | 34 + .../openstack-dashboard.conf | 26 + xenial/debian/changelog | 661 ++++++++++++++++++ xenial/debian/compat | 1 + xenial/debian/compile-messages | 14 + xenial/debian/control | 203 ++++++ xenial/debian/copyright | 32 + xenial/debian/docs | 1 + xenial/debian/gbp.conf | 8 + xenial/debian/horizon-doc.doc-base | 9 + .../debian/openstack-dashboard-apache.config | 35 + .../debian/openstack-dashboard-apache.install | 4 + .../openstack-dashboard-apache.postinst | 84 +++ .../debian/openstack-dashboard-apache.postrm | 15 + .../debian/openstack-dashboard-apache.preinst | 37 + .../debian/openstack-dashboard-apache.prerm | 16 + .../openstack-dashboard-apache.templates | 28 + xenial/debian/openstack-dashboard-nginx.conf | 6 + xenial/debian/openstack-dashboard-uwsgi.xml | 8 + xenial/debian/openstack-dashboard.dirs | 2 + xenial/debian/openstack-dashboard.install | 1 + xenial/debian/openstack-dashboard.links | 1 + xenial/debian/openstack-dashboard.postinst | 54 ++ xenial/debian/openstack-dashboard.postrm | 18 + xenial/debian/openstack-dashboard.preinst | 37 + xenial/debian/openstack-dashboard.triggers | 18 + xenial/debian/po/POTFILES.in | 1 + xenial/debian/po/cs.po | 67 ++ xenial/debian/po/da.po | 67 ++ xenial/debian/po/de.po | 69 ++ xenial/debian/po/es.po | 102 +++ xenial/debian/po/fr.po | 70 ++ xenial/debian/po/it.po | 68 ++ xenial/debian/po/ja.po | 72 ++ xenial/debian/po/nl.po | 71 ++ xenial/debian/po/pt.po | 72 ++ xenial/debian/po/pt_BR.po | 70 ++ xenial/debian/po/ru.po | 67 ++ xenial/debian/po/sv.po | 68 ++ xenial/debian/po/templates.pot | 62 ++ xenial/debian/python-django-horizon.links | 2 + xenial/debian/rules | 63 ++ xenial/debian/source/format | 1 + xenial/debian/source/options | 1 + xenial/debian/watch | 3 + 48 files changed, 2458 insertions(+), 107 deletions(-) create mode 100644 xenial/debian/apache-sites-available/openstack-dashboard-alias-only.conf create mode 100644 xenial/debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf create mode 100644 xenial/debian/apache-sites-available/openstack-dashboard-ssl.conf create mode 100644 xenial/debian/apache-sites-available/openstack-dashboard.conf create mode 100644 xenial/debian/changelog create mode 100644 xenial/debian/compat create mode 100755 xenial/debian/compile-messages create mode 100644 xenial/debian/control create mode 100644 xenial/debian/copyright create mode 100644 xenial/debian/docs create mode 100644 xenial/debian/gbp.conf create mode 100644 xenial/debian/horizon-doc.doc-base create mode 100644 xenial/debian/openstack-dashboard-apache.config create mode 100644 xenial/debian/openstack-dashboard-apache.install create mode 100644 xenial/debian/openstack-dashboard-apache.postinst create mode 100644 xenial/debian/openstack-dashboard-apache.postrm create mode 100644 xenial/debian/openstack-dashboard-apache.preinst create mode 100644 xenial/debian/openstack-dashboard-apache.prerm create mode 100644 xenial/debian/openstack-dashboard-apache.templates create mode 100644 xenial/debian/openstack-dashboard-nginx.conf create mode 100644 xenial/debian/openstack-dashboard-uwsgi.xml create mode 100644 xenial/debian/openstack-dashboard.dirs create mode 100644 xenial/debian/openstack-dashboard.install create mode 100644 xenial/debian/openstack-dashboard.links create mode 100644 xenial/debian/openstack-dashboard.postinst create mode 100644 xenial/debian/openstack-dashboard.postrm create mode 100644 xenial/debian/openstack-dashboard.preinst create mode 100644 xenial/debian/openstack-dashboard.triggers create mode 100644 xenial/debian/po/POTFILES.in create mode 100644 xenial/debian/po/cs.po create mode 100644 xenial/debian/po/da.po create mode 100644 xenial/debian/po/de.po create mode 100644 xenial/debian/po/es.po create mode 100644 xenial/debian/po/fr.po create mode 100644 xenial/debian/po/it.po create mode 100644 xenial/debian/po/ja.po create mode 100644 xenial/debian/po/nl.po create mode 100644 xenial/debian/po/pt.po create mode 100644 xenial/debian/po/pt_BR.po create mode 100644 xenial/debian/po/ru.po create mode 100644 xenial/debian/po/sv.po create mode 100644 xenial/debian/po/templates.pot create mode 100644 xenial/debian/python-django-horizon.links create mode 100755 xenial/debian/rules create mode 100644 xenial/debian/source/format create mode 100644 xenial/debian/source/options create mode 100644 xenial/debian/watch diff --git a/centos7/rpm/SPECS/python-django-horizon.spec b/centos7/rpm/SPECS/python-django-horizon.spec index 42698d7..0cf602c 100644 --- a/centos7/rpm/SPECS/python-django-horizon.spec +++ b/centos7/rpm/SPECS/python-django-horizon.spec @@ -1,54 +1,36 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} Name: python-django-horizon -# Liberty semver reset -# https://review.openstack.org/#/q/I6a35fa0dda798fad93b804d00a46af80f08d475c,n,z Epoch: 1 -Version: 8.0.0.0rc1 -Release: 2%{?dist}~mos8.0.3 +Version: 10.0.0~b1 +Release: 1%{?dist}~mos0 Summary: Django application for talking to Openstack - Group: Development/Libraries -# Code in horizon/horizon/utils taken from django which is BSD License: ASL 2.0 and BSD URL: http://horizon.openstack.org/ Source0: http://tarballs.openstack.org/horizon/horizon-master.tar.gz Source2: openstack-dashboard-httpd-2.4.conf Source3: python-django-horizon-systemd.conf - -# demo config for separate logging Source4: openstack-dashboard-httpd-logging.conf - -# logrotate config Source5: python-django-horizon-logrotate.conf - - -# -# BuildArch needs to be located below patches in the spec file. Don't ask! -# - BuildArch: noarch -BuildRequires: python-django -Requires: python-django >= 1.7 - - -Requires: pytz >= 2013.6 -Requires: python-lockfile -Requires: python-six >= 1.9.0 -Requires: python-pbr >= 1.6 - -BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: gettext +BuildRequires: git BuildRequires: python-d2to1 -BuildRequires: python-pbr >= 0.7.0 +BuildRequires: python-django >= 1.8 BuildRequires: python-lockfile -BuildRequires: python-eventlet -BuildRequires: git +BuildRequires: python-pbr >= 1.8 +BuildRequires: python-setuptools BuildRequires: python-six >= 1.9.0 -BuildRequires: gettext +BuildRequires: python2-devel + +Requires: python-django >= 1.8 +Requires: python-lockfile +Requires: python-six >= 1.9.0 +Requires: python-pbr >= 1.8 +Requires: pytz >= 2013.6 -# for checks: %if 0%{?rhel} == 0 BuildRequires: python-django-nose >= 1.2 BuildRequires: python-coverage @@ -57,12 +39,10 @@ BuildRequires: python-nose-exclude BuildRequires: python-nose BuildRequires: python-selenium %endif -BuildRequires: python-netaddr -BuildRequires: python-kombu +BuildRequires: python-netaddr >= 0.7.12 BuildRequires: python-anyjson -BuildRequires: python-iso8601 +BuildRequires: python-iso8601 >= 0.1.11 -# additional provides to be consistent with other django packages Provides: django-horizon = %{epoch}:%{version}-%{release} %description @@ -82,27 +62,22 @@ Requires: mod_wsgi Requires: %{name} = %{epoch}:%{version}-%{release} Requires: python-django-openstack-auth >= 2.0.0 Requires: python-django-compressor >= 1.5 -Requires: python-django-babel >= 0.3.4 +Requires: python-django-babel >= 0.5.1 Requires: python-django-appconf Requires: python-lesscpy - Requires: PyYAML >= 3.1.0 -Requires: python-iso8601 >= 0.1.9 -Requires: python-kombu >= 3.0.7 -Requires: python-httplib2 >= 0.7.5 -Requires: python-glanceclient >= 0.18.0 -Requires: python-keystoneclient >= 1:1.6.0 -Requires: python-novaclient >= 1:2.28.1 -Requires: python-neutronclient >= 2.6.0 -Requires: python-cinderclient >= 1.3.1 +Requires: python-iso8601 >= 0.1.11 +Requires: python-glanceclient >= 2.0.0 +Requires: python-keystoneclient >= 1:1.7.0 +Requires: python-novaclient >= 1:2.29.0 +Requires: python-neutronclient >= 4.2.0 +Requires: python-cinderclient >= 1.6.0 Requires: python-swiftclient >= 2.2.0 -Requires: python-heatclient >= 0.3.0 -Requires: python-ceilometerclient >= 1.5.0 -Requires: python-troveclient >= 1.2.0 +Requires: python-heatclient >= 1.1.0 +Requires: python-ceilometerclient >= 2.2.1 Requires: python-saharaclient >= 0.10.0 Requires: python-netaddr >= 0.7.12 -Requires: python-oslo-config >= 2:2.3.0 -Requires: python-eventlet >= 0.17.4 +Requires: python-oslo-config >= 2:3.10.0 Requires: python-django-pyscss >= 2.0.2 Requires: python-XStatic >= 1.0.0 Requires: python-XStatic-jQuery >= 1.7.2 @@ -113,8 +88,8 @@ Requires: python-XStatic-D3 >= 3.1.6.2 Requires: python-XStatic-Font-Awesome >= 4.3.0 Requires: python-XStatic-Hogan >= 2.0.0.2 Requires: python-XStatic-JQuery-Migrate >= 1.2.1.1 -Requires: python-XStatic-JQuery-TableSorter -Requires: python-XStatic-JQuery-quicksearch +Requires: python-XStatic-JQuery-TableSorter >= 2.14.5.1 +Requires: python-XStatic-JQuery-quicksearch >= 2.0.3.1 Requires: python-XStatic-JSEncrypt >= 2.0.0.2 Requires: python-XStatic-Jasmine >= 2.1.2.0 Requires: python-XStatic-QUnit >= 1.14.0.2 @@ -130,19 +105,16 @@ Requires: python-XStatic-Angular-Gettext >= 2.1.0.2 Requires: python-XStatic-Magic-Search >= 0.2.5.1 Requires: python-XStatic-bootswatch >= 3.3.5.3 Requires: python-XStatic-roboto-fontface >= 0.4.3.2 -Requires: python-XStatic-mdi == 1.1.70.1 - +Requires: python-XStatic-mdi >= 1.4.57.0 Requires: python-scss >= 1.3.4 Requires: fontawesome-fonts-web >= 4.1.0 - -Requires: python-oslo-concurrency >= 2.3.0 -Requires: python-oslo-i18n >= 1.5.0 -Requires: python-oslo-serialization >= 1.4.0 -Requires: python-oslo-utils >= 2.0.0 -Requires: python-oslo-policy >= 0.5.0 -Requires: python-babel >= 1.3 +Requires: python-oslo-concurrency >= 3.8.0 +Requires: python-oslo-i18n >= 2.1.0 +Requires: python-oslo-serialization >= 1.10.0 +Requires: python-oslo-utils >= 3.11.0 +Requires: python-oslo-policy >= 1.9.0 +Requires: python-babel >= 2.3.4 Requires: python-pint >= 0.5 - Requires: openssl >= 0.14 Requires: logrotate @@ -150,48 +122,47 @@ BuildRequires: python-django-openstack-auth >= 1.1.7 BuildRequires: python-django-compressor >= 1.5 BuildRequires: python-django-appconf BuildRequires: python-lesscpy -BuildRequires: python-oslo-config +BuildRequires: python-oslo-config >= 3.10.0 BuildRequires: python-django-pyscss >= 2.0.2 -BuildRequires: python-XStatic -BuildRequires: python-XStatic-jQuery +BuildRequires: python-XStatic >= 1.0.0 +BuildRequires: python-XStatic-jQuery >= 1.7.2 BuildRequires: python-XStatic-Angular >= 1:1.3.7 BuildRequires: python-XStatic-Angular-Mock -BuildRequires: python-XStatic-Angular-Bootstrap -BuildRequires: python-XStatic-D3 -BuildRequires: python-XStatic-Font-Awesome -BuildRequires: python-XStatic-Hogan -BuildRequires: python-XStatic-JQuery-Migrate -BuildRequires: python-XStatic-JQuery-TableSorter -BuildRequires: python-XStatic-JQuery-quicksearch -BuildRequires: python-XStatic-JSEncrypt -BuildRequires: python-XStatic-Jasmine +BuildRequires: python-XStatic-Angular-Bootstrap >= 0.11.0.2 +BuildRequires: python-XStatic-Angular-FileUpload >= 12.0.4.0 +BuildRequires: python-XStatic-D3 >= 3.1.6.2 +BuildRequires: python-XStatic-Font-Awesome >= 4.3.0 +BuildRequires: python-XStatic-Hogan >= 2.0.0.2 +BuildRequires: python-XStatic-JQuery-Migrate >= 1.2.1.1 +BuildRequires: python-XStatic-JQuery-TableSorter >= 2.14.5.1 +BuildRequires: python-XStatic-JQuery-quicksearch >= 2.0.3.1 +BuildRequires: python-XStatic-JSEncrypt >= 2.0.0.2 +BuildRequires: python-XStatic-Jasmine >= 2.1.2.0 BuildRequires: python-XStatic-QUnit -BuildRequires: python-XStatic-Rickshaw -BuildRequires: python-XStatic-Spin -BuildRequires: python-XStatic-jquery-ui -BuildRequires: python-XStatic-Bootstrap-Datepicker -BuildRequires: python-XStatic-Bootstrap-SCSS -BuildRequires: python-XStatic-termjs -BuildRequires: python-XStatic-smart-table -BuildRequires: python-XStatic-Angular-lrdragndrop +BuildRequires: python-XStatic-Rickshaw >= 1.5.0 +BuildRequires: python-XStatic-Spin >= 1.2.5.2 +BuildRequires: python-XStatic-jquery-ui >= 1.10.1 +BuildRequires: python-XStatic-Bootstrap-Datepicker >= 1.3.1.0 +BuildRequires: python-XStatic-Bootstrap-SCSS >= 3 +BuildRequires: python-XStatic-termjs >= 0.0.4 +BuildRequires: python-XStatic-smart-table >= 1.4.5.3 +BuildRequires: python-XStatic-Angular-lrdragndrop >= 1.0.2.2 BuildRequires: python-XStatic-Magic-Search -BuildRequires: python-XStatic-Angular-Gettext -BuildRequires: python-XStatic-bootswatch -BuildRequires: python-XStatic-roboto-fontface -BuildRequires: python-XStatic-mdi -# bootstrap-scss requires at least python-scss >= 1.2.1 +BuildRequires: python-XStatic-Angular-Gettext >= 2.1.0.2 +BuildRequires: python-XStatic-bootswatch >= 3.3.5.3 +BuildRequires: python-XStatic-roboto-fontface >= 0.4.3.2 +BuildRequires: python-XStatic-mdi >= 1.4.57.0 BuildRequires: python-scss >= 1.3.4 BuildRequires: fontawesome-fonts-web >= 4.1.0 -BuildRequires: python-oslo-concurrency -BuildRequires: python-oslo-config -BuildRequires: python-oslo-i18n -BuildRequires: python-oslo-serialization -BuildRequires: python-oslo-utils -BuildRequires: python-oslo-policy -BuildRequires: python-babel -BuildRequires: python-pint - -BuildRequires: pytz +BuildRequires: python-oslo-concurrency >= 3.8.0 +BuildRequires: python-oslo-config >= 3.10.0 +BuildRequires: python-oslo-i18n >= 2.1.0 +BuildRequires: python-oslo-serialization >= 1.10.0 +BuildRequires: python-oslo-utils >= 3.11.0 +BuildRequires: python-oslo-policy >= 1.9.0 +BuildRequires: python-babel >= 2.3.4 +BuildRequires: python-pint >= 0.5 +BuildRequires: pytz >= 2013.6 BuildRequires: systemd %description -n openstack-dashboard @@ -209,15 +180,14 @@ Requires: %{name} = %{epoch}:%{version}-%{release} BuildRequires: python-sphinx >= 1.1.3 # Doc building basically means we have to mirror Requires: -BuildRequires: python-glanceclient -BuildRequires: python-keystoneclient -BuildRequires: python-novaclient >= 2.15.0 -BuildRequires: python-neutronclient -BuildRequires: python-cinderclient -BuildRequires: python-swiftclient -BuildRequires: python-heatclient -BuildRequires: python-ceilometerclient -BuildRequires: python-troveclient >= 1.0.0 +BuildRequires: python-glanceclient >= 2.0.0 +BuildRequires: python-keystoneclient >= 1.7.0 +BuildRequires: python-novaclient >= 2.29.0 +BuildRequires: python-neutronclient >= 4.2.0 +BuildRequires: python-cinderclient >= 1.6.0 +BuildRequires: python-swiftclient >= 2.2.0 +BuildRequires: python-heatclient >= 1.1.0 +BuildRequires: python-ceilometerclient >= 2.2.1 BuildRequires: python-saharaclient BuildRequires: python-oslo-sphinx @@ -437,6 +407,9 @@ systemctl daemon-reload >/dev/null 2>&1 || : #%{_datadir}/openstack-dashboard/openstack_dashboard/enabled/_99_customization.* %changelog +* Fri Jun 24 2016 Ivan Udovichenko - 10.0.0~b1-1.el7~mos0 +- Fix (build-)dependencies. + * Thu Oct 15 2015 Proskurin Kirill - 1:8.0.0.0rc1-1%{?dist}~mos8.0.3 - update django-compressor build requirements to 1.5 - add missing requirements: django-babel, PyYAML, python-iso8601, python-kombu, python-httplib2 diff --git a/xenial/debian/apache-sites-available/openstack-dashboard-alias-only.conf b/xenial/debian/apache-sites-available/openstack-dashboard-alias-only.conf new file mode 100644 index 0000000..942fff9 --- /dev/null +++ b/xenial/debian/apache-sites-available/openstack-dashboard-alias-only.conf @@ -0,0 +1,13 @@ +WSGIScriptAlias /horizon /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi +WSGIDaemonProcess horizon user=www-data group=www-data +Alias /static /var/lib/openstack-dashboard/static +Alias /horizon/static /var/lib/openstack-dashboard/static + + + + Require all granted + + + + Require all granted + diff --git a/xenial/debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf b/xenial/debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf new file mode 100644 index 0000000..9246c1d --- /dev/null +++ b/xenial/debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf @@ -0,0 +1,16 @@ + + ServerAdmin webmaster@localhost + DocumentRoot /var/www + + + AllowOverride None + + + RewriteEngine On + RewriteCond %{HTTPS} off + RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} + + ErrorLog ${APACHE_LOG_DIR}/error.log + LogLevel warn + CustomLog ${APACHE_LOG_DIR}/access.log combined + diff --git a/xenial/debian/apache-sites-available/openstack-dashboard-ssl.conf b/xenial/debian/apache-sites-available/openstack-dashboard-ssl.conf new file mode 100644 index 0000000..6b189b4 --- /dev/null +++ b/xenial/debian/apache-sites-available/openstack-dashboard-ssl.conf @@ -0,0 +1,34 @@ + + ServerAdmin webmaster@localhost + SSLEngine on + SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem + SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key + BrowserMatch "MSIE [2-6]" \ + nokeepalive ssl-unclean-shutdown \ + downgrade-1.0 force-response-1.0 + BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown + + WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + WSGIDaemonProcess horizon user=www-data group=www-data + #WSGIProcessGroup openstack-dashboard + Alias /static /var/lib/openstack-dashboard/static + Alias /horizon/static /var/lib/openstack-dashboard/static + + DocumentRoot /var/www + + + AllowOverride None + + + + Require all granted + + + + Require all granted + + + ErrorLog ${APACHE_LOG_DIR}/error.log + LogLevel warn + CustomLog ${APACHE_LOG_DIR}/access.log combined + diff --git a/xenial/debian/apache-sites-available/openstack-dashboard.conf b/xenial/debian/apache-sites-available/openstack-dashboard.conf new file mode 100644 index 0000000..634fd59 --- /dev/null +++ b/xenial/debian/apache-sites-available/openstack-dashboard.conf @@ -0,0 +1,26 @@ + + ServerAdmin webmaster@localhost + WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + WSGIDaemonProcess horizon user=www-data group=www-data + #WSGIProcessGroup openstack-dashboard + Alias /static /var/lib/openstack-dashboard/static + Alias /horizon/static /var/lib/openstack-dashboard/static + + DocumentRoot /var/www + + + AllowOverride None + + + + Require all granted + + + + Require all granted + + + ErrorLog ${APACHE_LOG_DIR}/error.log + LogLevel warn + CustomLog ${APACHE_LOG_DIR}/access.log combined + diff --git a/xenial/debian/changelog b/xenial/debian/changelog new file mode 100644 index 0000000..27a5bc0 --- /dev/null +++ b/xenial/debian/changelog @@ -0,0 +1,661 @@ +horizon (2:10.0.0~b1-1~u16.04+mos0) mos10.0; urgency=medium + + * Source: http://http.debian.net/debian/pool/main/h/horizon/horizon_10.0.0~b1-1.dsc + + -- Ivan Udovichenko Fri, 24 Jun 2016 19:21:06 +0300 + +horizon (2:10.0.0~b1-1) experimental; urgency=medium + + [ Ivan Udovichenko ] + * New upstream release. + * Fix (build-)dependencies. + + [ Thomas Goirand ] + * Removed Fix_remaining_Django_1.9_test_failures.patch applied upstream. + + -- Thomas Goirand Fri, 10 Jun 2016 16:39:20 +0200 + +horizon (2:9.0.0-3) unstable; urgency=medium + + [ Ondřej Nový ] + * d/copyright: Changed source URL to https protocol + + [ Ivan Udovichenko ] + * d/openstack-dashboard.{preinst,postinst,postrm}, + openstack-dashboard-apache.{preinst,postinst,postrm}: + - Pass the correct version to dpkg-maintscript-helper script. + * d/openstack-dashboard.postinst: + - Check if django.utils.log.NullHandler class is being used and + replace it with logging.NullHandler class if it is true. (Closes: #822907) + + [ Thomas Goirand ] + * Horizon doesn't build with python-django-nose in Jessie, so increasing the + build-depends version to >= 1.4.3. + + -- Thomas Goirand Tue, 31 May 2016 13:43:46 +0200 + +horizon (2:9.0.0-2) unstable; urgency=medium + + [ Ondřej Nový ] + * Standards-Version is 3.9.8 now (no change) + + [ Ivan Udovichenko ] + * d/openstack-dashboard-apache.postinst: Revert changes. (Closes: #820845) + - Do not modify provided Apache configuration files. + - Enable site provided by openstack-dashboard-alias-only.conf . + * d/openstack-dashboard.triggers: Trigger package configuration + only once. (Closes: #821868) + * d/control: Fix documentation build by adding git to build-dependencies. + * Add myself to Uploaders field. + * Uploading to unstable. + + -- Ivan Udovichenko Wed, 13 Apr 2016 23:34:27 +0300 + +horizon (2:9.0.0-1) unstable; urgency=medium + + * New upstream release. + + -- Thomas Goirand Thu, 07 Apr 2016 21:18:30 +0200 + +horizon (2:9.0.0~rc2-1) unstable; urgency=medium + + [ Thomas Goirand ] + * New upstream release. + * Uploading to unstable (Closes: #809575). + * Also copy openstack_dashboard/dashboards/project/static/dashboard/project + which were not packaged. + * Updated nl.po debconf translation (Closes: #805465). + * Updated ja.po debconf translation (Closes: #816070). + * Added pt_BR.po debconf translation (Closes: #816942). + * Removed unused license in debian/copyright. + + [ Ivan Udovichenko ] + * d/control: Add python-xstatic-magic-search dependency. + Move memcached and openstack-dashboard-apache to Suggests field. + * d/openstack-dashboard-apache.postinst: + - Delete the .secret_ket_store file if exists. + - Make www-data the owner of /var/lib/openstack-dashboard/secret-key and + /var/lib/openstack-dashboard/static directories. + - Set new alias to Horizon static files. + - Call collectstatic with --clear and --noinput options. + * d/openstack-dashboard.{preinst,postinst,postrm}, + openstack-dashboard-apache.{preinst,postinst,postrm}: + - Remove /usr/share/openstack-dashboard/static directory and create a + link to /var/lib/openstack-dashboard/static directory to make it + compatible with Ubuntu OpenStack Puppet manifests. + * d/rules: Do not copy/create additional files/links with/to static files. + * d/openstack-dashboard.links: Remove all links except a link to + /usr/bin/lessc binary. + * d/debian/apache-sites-available/*.conf: + - Change/add alias path to static files. + - Update permissions according to Apache 2.4 improvements. + - Change user/group to www-data . + + -- Ivan Udovichenko Wed, 30 Mar 2016 22:23:48 +0300 + +horizon (2:9.0.0~rc1-1) experimental; urgency=medium + + [ Ondřej Nový ] + * Fixed VCS URLs (https). + + [ Thomas Goirand ] + * New upstream release. + * Fixed (build-)depends for this release. + * Added python-selenium as build-depends, to satisfy the imports. + * Fixed debian/copyright. + * Added patch: Fix_remaining_Django_1.9_test_failures.patch + * Standards-Version: 3.9.7 (no change). + + -- Thomas Goirand Fri, 04 Mar 2016 16:56:53 +0800 + +horizon (2:8.0.0-3) unstable; urgency=medium + + * Updated pt.po debconf translation (Closes: #802419). + + -- Thomas Goirand Fri, 13 Nov 2015 10:36:16 +0100 + +horizon (2:8.0.0-2) unstable; urgency=medium + + * Uploading to unstable. + * Disabled apache config properly on removal. + + -- Thomas Goirand Fri, 16 Oct 2015 07:21:51 +0000 + +horizon (2:8.0.0-1) experimental; urgency=medium + + * New upstream release. + + -- Thomas Goirand Thu, 15 Oct 2015 16:49:49 +0200 + +horizon (2:8.0.0~rc2-2) experimental; urgency=medium + + * Do not set /etc/.../local_settings.py as CONFFILES (Closes: #801543). + + -- Thomas Goirand Tue, 13 Oct 2015 08:46:21 +0000 + +horizon (2:8.0.0~rc2-1) experimental; urgency=medium + + * New upstream release. + * Fixed the issue with the file + /var/lib/openstack-dashboard/secret-key/.secret_key_store not being + writeable. What seems to happen is that compress, which is run as root, + writes that file. + + -- Thomas Goirand Thu, 08 Oct 2015 21:52:34 +0000 + +horizon (2:8.0.0~rc1-1) experimental; urgency=medium + + * New upstream release. + * Fixed (build-)depends for this release. + * Removed Improving_find_static_robustness.patch applied upstream. + + -- Thomas Goirand Sat, 26 Sep 2015 16:05:12 +0200 + +horizon (2:8.0.0~b3-7) experimental; urgency=medium + + * openstack-dashboard-apache now also Depends: apache2. + + -- Thomas Goirand Wed, 23 Sep 2015 13:25:46 +0200 + +horizon (2:8.0.0~b3-6) experimental; urgency=medium + + * Added a horizon-doc package. + * Fixed debian/rules dpkg-parsechangelog to be compatible with Ubuntu. + + -- Thomas Goirand Wed, 23 Sep 2015 08:50:12 +0200 + +horizon (2:8.0.0~b3-5) experimental; urgency=medium + + * Increasing EPOCH to match the one of Ubuntu. + + -- Thomas Goirand Tue, 22 Sep 2015 19:28:12 +0000 + +horizon (1:8.0.0~b3-4) experimental; urgency=medium + + * Now also allowing Horizon to be installed in /horizon, not just on the + takeover of webroot. This will be the default. + + -- Thomas Goirand Tue, 22 Sep 2015 13:27:52 +0000 + +horizon (1:8.0.0~b3-3) experimental; urgency=medium + + * Also adds symlink to the fonts-roboto-fontface and materialdesignicons + folders to avoid any 404. Horizon is now fully working with the material + theme (though the user got to run compress by hand after changing the + theme in local_settings.py). + + -- Thomas Goirand Tue, 22 Sep 2015 09:33:32 +0000 + +horizon (1:8.0.0~b3-2) experimental; urgency=medium + + * Added Improving_find_static_robustness.patch. + * Removed all instances of pyshared, now using lib/python2.7 instead. + + -- Thomas Goirand Mon, 21 Sep 2015 13:21:22 +0000 + +horizon (1:8.0.0~b3-1) experimental; urgency=medium + + * New upstream release. + * Fix (build-)depends for this release. + + -- Thomas Goirand Mon, 07 Sep 2015 14:27:34 +0200 + +horizon (1:8.0.0~b2-1) experimental; urgency=medium + + * New upstream release. + * Fixed (build-)depends for this release. + * Remobed build-conflicts on python-unittest2. + * Removed the manual copy of the angular folder in debian/rules. + * Declares incompatibility with Django 1.8. + + -- Thomas Goirand Mon, 03 Aug 2015 16:16:25 +0200 + +horizon (2015.1.0+2015.06.09.git15.e63af6c598-1) unstable; urgency=medium + + * New upstream release (packaging 15th commit since 2015.1.0: e63af6c598): + - CVE-2015-3219: Fixes XSS in Horizon Heat stack creation (Closes: #788306) + * Fixed double entry in openstack-dashboard.triggers. + * Dropped patch applied upstream: + - Persistent_XSS_in_Horizon_metadata_dashboard.patch + * Added Build-Conflicts: python-rednose. + * Standards-Version is now 3.9.6 (no change). + + -- Thomas Goirand Mon, 08 Jun 2015 16:26:13 +0200 + +horizon (2015.1.0-2) unstable; urgency=high + + * Added update for the sv.po debconf translations (Closes: #781680). + * Added upstream patch for CVE-2015-3988 (Closes: #786741): + Persistent_XSS_in_Horizon_metadata_dashboard.patch + + -- Thomas Goirand Tue, 12 May 2015 23:23:46 +0200 + +horizon (2015.1.0-1) unstable; urgency=medium + + * New upstream release. + + -- Thomas Goirand Thu, 30 Apr 2015 21:57:20 +0000 + +horizon (2015.1~rc2-1) unstable; urgency=medium + + * New upstream release. + * Uploading to unstable. + * Fixed (build-)depends for this release. + * Removed upstream-applied patches. + + -- Thomas Goirand Thu, 25 Dec 2014 17:36:23 +0800 + +horizon (2014.2.1-1) experimental; urgency=medium + + * New upstream release. + * Removed Update_WSGI_app_creation_to_be_compatible_with_Django_1.7.patch + applied upstream. + + -- Thomas Goirand Sun, 14 Dec 2014 11:44:10 +0000 + +horizon (2014.2-3) experimental; urgency=medium + + * CVE-2014-8124: Horizon denial of service attack through login page. Applied + upstream patch (Closes: #772710). + + -- Thomas Goirand Wed, 10 Dec 2014 19:53:49 +0800 + +horizon (2014.2-2) experimental; urgency=medium + + * Added a trigger thing when a javascript lib is updated. + + -- Thomas Goirand Tue, 02 Dec 2014 19:03:08 +0800 + +horizon (2014.2-1) experimental; urgency=medium + + * New upstream release. + * Added Update_WSGI_app_creation_to_be_compatible_with_Django_1.7.patch. + + -- Thomas Goirand Thu, 16 Oct 2014 14:56:33 +0000 + +horizon (2014.2~rc2-1) experimental; urgency=medium + + * New upstream release. + * New debian/compile-messages to build the .mo files which were removed + upstream. + * Mangling upstream rc and beta versions in watch file. + * Fixed bootstrap-datepicker (build-)depends. + * Adds Remove_selenium_dependency_when_not_using_selenium_tests.patch. + + -- Thomas Goirand Sun, 05 Oct 2014 14:32:50 +0800 + +horizon (2014.2~rc1-1) experimental; urgency=medium + + * New upstream release. + * Added missing python-xstatic-bootstrap-datepicker depends. + * Updated (build-)depends for this release. + * Removed all Django 1.7 fix-up, as they were applied upstream. Only + disable-failed-django-1.7-test.patch remains, as nobody was able to work + on it and solve it. + + -- Thomas Goirand Sat, 04 Oct 2014 11:46:51 +0800 + +horizon (2014.2~b3-1) experimental; urgency=medium + + * New upstream release. + * Fixed (build-)depends for this release. + * Removed fix-python-m-coverage.patch FINALLY applied upstream !!! :) + * Added 0008_Handle_TypeError_from_table_column_summation_code.patch. + * Added 0009_Fix-TypeError-SecurityGroup-object-is-not-iterable-t.patch + * Added disable-failed-django-1.7-test.patch + * Note: there's still 2 unit test errors, one about selenium not being + installed, which can be safely ignored (Selenium is non-free, and Horizon + can't build-depend on it), and the 2nd one is about Trove flavors, which + isn't crytical IMO. + + -- Thomas Goirand Tue, 01 Jul 2014 16:06:08 +0800 + +horizon (2014.1.1-2) unstable; urgency=medium + + * Updated de.po thanks to Chris Leick (Closes: #751163). + + -- Thomas Goirand Wed, 11 Jun 2014 12:24:13 +0800 + +horizon (2014.1.1-1) unstable; urgency=medium + + * New upstream release. + * Removed Use_escapejs_filter_on_JavaScript_strings.patch applied upstream. + * Now needs python-six >= 1.6.0. + + -- Thomas Goirand Mon, 09 Jun 2014 23:16:43 +0800 + +horizon (2014.1-2) unstable; urgency=medium + + * Added Use_escapejs_filter_on_JavaScript_strings.patch. + + -- Thomas Goirand Wed, 21 May 2014 08:42:42 +0800 + +horizon (2014.1-1) unstable; urgency=medium + + * New upstream release. + * Uploading to unstable. + + -- Thomas Goirand Wed, 09 Apr 2014 17:32:13 +0800 + +horizon (2014.1~rc1-1) experimental; urgency=low + + * New upstream release. + * Reviewed (build-)depends for this release. + * Refreshed fix-python-m-coverage.patch + + -- Thomas Goirand Wed, 02 Apr 2014 18:24:26 +0800 + +horizon (2014.1~b3-2) experimental; urgency=low + + * Fixed MANIFEST.in which was missing the openstack_dashboard *.py. + + -- Thomas Goirand Tue, 18 Mar 2014 00:44:21 +0800 + +horizon (2014.1~b3-1) experimental; urgency=low + + [ Gonéri Le Bouder ] + * Compress the CSS and JS during the postinst (Closes: #739698) + - Turns COMPRESS_OFFLINE to True since we now pre-compress the + CSS and the JS + - call "manage.py compress" in the post-inst script + * avoid openstack-dashboard-apache.postinst failure if the default vhost + has been removed. + * Add myself in Uploaders + * run horizon with the horizon user/group + * Bump standard version, no change needed + * Call debconf-updatepo to refresh the i18n template + + [ Thomas Goirand ] + * New upstream release (Icehouse beta 3). + * Removes CVE-2013-6858 patch applied upstream. + * Refreshed patch. + + -- Thomas Goirand Fri, 14 Mar 2014 11:34:49 +0000 + +horizon (2013.2-2) unstable; urgency=high + + * CVE-2013-6858: persistent XSS vulnerability. Applies upstream patch: Fix + bug by escaping strings from Nova before displaying them (Closes: #730752). + * Adds debconf translations updates, with warm thanks to: + - French, Julien Patriarca (Closes: #726711). + - Italian, Beatrice Torracca (Closes: #726829). + * New debconf translations, with warm thanks to: + - Portuguese, Américo Monteiro (Closes: #729911). + + -- Thomas Goirand Wed, 04 Dec 2013 20:43:44 +0800 + +horizon (2013.2-1) unstable; urgency=low + + * New upstream release. + * Uploading to unstable. + + -- Thomas Goirand Fri, 18 Oct 2013 00:15:57 +0800 + +horizon (2013.2~rc3-1) experimental; urgency=low + + * New upstream pre-release. + * Now running the upstream unit tests, and added a debian/source/options file + with extend-diff-ignore = "[.]*.secret_key_store" + + -- Thomas Goirand Thu, 17 Oct 2013 11:27:06 +0800 + +horizon (2013.2~rc2-1) experimental; urgency=low + + * New upstream pre-release. + + -- Thomas Goirand Wed, 16 Oct 2013 23:17:44 +0800 + +horizon (2013.2~rc1-2) experimental; urgency=low + + * Now creates /var/lib/openstack-dashboard/secret-key in the postinst, and + sets this path as default in /etc/openstack-dashbaord/local_settings.py, + instead of the path in /usr/share (Closes: #726373). + * Debconf translations updates: + - Czech, thanks to Michal Šimůnek (Closes: #726124). + - Danish, thanks to Joe Dalton (Closes: #725988). + - Russian, thanks to Yuri Kozlov (Closes: #725878). + * Added new debconf translation: + - Swedish, thanks to Martin Bagge (Closes: #725101). + + -- Thomas Goirand Sun, 13 Oct 2013 22:48:35 +0800 + +horizon (2013.2~rc1-1) experimental; urgency=low + + * New upstream release. + * Lots of dependencies adjustments. + + -- Thomas Goirand Tue, 08 Oct 2013 09:22:10 +0000 + +horizon (2013.1.3-2) unstable; urgency=low + + * Added new French debconf translation (Closes: #722421). + + -- Thomas Goirand Wed, 25 Sep 2013 17:30:14 +0800 + +horizon (2013.1.3-1) unstable; urgency=low + + * New upstream point release. + * Added a few Debconf translations: + - japaneese, thanks to victory (Closes: #719723). + - Danish, thanks to Joe Dalton (Closes: #720012). + - Italian, thanks to Beatrice Torracca (Closes: #720644). + - Czech, thanks to Michal Šimůnek (Closes: #721223). + - Russian, thanks to Yuri Kozlov (Closes: #721306). + + -- Thomas Goirand Fri, 30 Aug 2013 16:52:24 +0800 + +horizon (2013.1.2-4) unstable; urgency=low + + * Fixes prerm so that it uninstalls the correct .conf files for apache, since + old apache vhost has been rename because of apache 2.4. Also remove the old + ones as a transition, but using || true to avoid failure (Closes: #669836). + + -- Thomas Goirand Fri, 19 Jul 2013 01:06:46 +0800 + +horizon (2013.1.2-3) unstable; urgency=low + + * Now works with Sid apache 2.4 (Closes: #669836). + * Debconf and long description rewrite from the debian-l10n-english team: a + big thanks to them (Closes: #709000). + + -- Thomas Goirand Sun, 14 Jul 2013 06:13:46 +0000 + +horizon (2013.1.2-2) unstable; urgency=low + + * Added a /etc/default/openstack-dashboard-apache to save the values of + debconf about setting-up the Apache vhosts. + + -- Thomas Goirand Sat, 15 Jun 2013 02:45:58 +0800 + +horizon (2013.1.2-1) unstable; urgency=low + + * New upstream release. + * Ran wrap-and-sort. + * Also rm -rf /var/lib/horizon on purge (Closes: #668760). + * Removed chown -R, does more selective chown instead. + * Removes "a2ensite default" in postrm (Closes: #708632). + + -- Thomas Goirand Thu, 30 May 2013 11:23:28 +0800 + +horizon (2013.1.1-2) unstable; urgency=low + + * Added missing symlink to /var for the css and js dynamic generation folder. + + -- Thomas Goirand Tue, 21 May 2013 12:51:27 +0800 + +horizon (2013.1.1-1) unstable; urgency=low + + * Uploading to unstable. + * New upstream release. + * Removes the build of static CSS and JS, as they are done dynamically. + * Cleans better the package now (rebuild twice should work). + + -- Thomas Goirand Thu, 16 May 2013 14:14:58 +0000 + +horizon (2013.1-1) experimental; urgency=low + + * New upstream release. + * Kills the COMPRESS_OFFLINE = True patch, no longer needed. + + -- Thomas Goirand Mon, 28 Jan 2013 22:39:15 +0800 + +horizon (2012.2.1-1) experimental; urgency=low + + * New upstream release 2012.2.1 + * Recommends: memcached and use it as default on localhost. + * Rewrote Apache vhost, diables apache "default" vhost by default, (probably + we should ask for permission to do that using debconf). + * Now writing css and js script in /var, plus we aren't doing chown www-data + of all the static, but only css + js in /var. + * Now asking using debconf if we should disable the default apache vhost, + and activate the Dasboard, and if we should use SSL or not. + * Added missing dependency on node-less. + * The package had only Build-Depends:, now setting lots of them in + Build-Depends-Indep: as it should be. + * Using pkgos.make in debian/rules. + + -- Thomas Goirand Sun, 02 Dec 2012 11:59:19 +0000 + +horizon (2012.2~rc1-1) experimental; urgency=low + + [ Mehdi Abaakouk ] + * New upstream version + * Remove CVE-2012-3540 fixed by upstream + [ Thomas Goirand ] + * Now using xz compression level 9 for the debs. + + -- Mehdi Abaakouk Mon, 10 Sep 2012 17:56:09 +0200 + +horizon (2012.1.1-5) unstable; urgency=low + + * Add the /static/horizon alias to the apache host definition. Without + it the javascript files cannot be found and most of the dashboard + functions are not working. + + -- Loic Dachary (OuoU) Tue, 04 Sep 2012 13:47:54 +0200 + +horizon (2012.1.1-4) unstable; urgency=high + + * CVE-2012-3540: added patch: Disallow login redirects to anywhere other than + the same origin (Closes: #686050). + + -- Thomas Goirand Tue, 28 Aug 2012 03:05:44 +0000 + +horizon (2012.1.1-3) unstable; urgency=low + + [ Thomas Goirand ] + * Added missing (build-)dependencies (took what was in the Ubuntu package and + which seems to be missing in Debian). + * Fixed missing license in debian/copyright. + * Added a get-vcs-source target in debian/rules. + * Fixed debian/copyright header. + + [ Loic Dachary (OuoU) ] + * Add compression = xz to debian/gbp.conf + + -- Thomas Goirand Sun, 08 Jul 2012 18:05:14 +0000 + +horizon (2012.1.1-2) unstable; urgency=low + + * Add a /static alias to serve the static files. By default django is + configured in debug mode and will serve the static files. However, + when it is configured in production mode, it will no longer serve them + and it is expected that apache will take care of it. (Closes: #679440). + * Add Loic Dachary as Uploader + + -- Loic Dachary (OuoU) Fri, 29 Jun 2012 10:23:33 +0200 + +horizon (2012.1.1-1) unstable; urgency=low + + [ Julien Danjou ] + * Remove useless dependency on openstackx + * Fix clean target + + [ Mehdi Abaakouk ] + * New upsteam release + * Remove patches fixed upstream: CVE_2012-2094, CVE_2012-2144. + * Add gbp configuration file + * Clean horizon user home directory on purge. Closes: #668760 + * Add Mehdi Abaakouk as Uploader + + -- Julien Danjou Mon, 25 Jun 2012 13:13:35 +0200 + +horizon (2012.1-4) unstable; urgency=low + + * Fixed CVE_2012-2144. Closes: #671604 + + -- Ghe Rivero Sat, 05 May 2012 12:02:08 +0200 + +horizon (2012.1-3) unstable; urgency=low + + * Fixed CVE_2012-2094 + + -- Ghe Rivero Tue, 17 Apr 2012 19:38:18 +0200 + +horizon (2012.1-2) unstable; urgency=low + + * Make openstack-dashboard depends on the same version of + python-django-horizon, otherwise it just fails to work most of the + time, since upstream doesn't guarantee it'd work. + + -- Julien Danjou Mon, 16 Apr 2012 16:11:45 +0200 + +horizon (2012.1-1) unstable; urgency=low + + * New upstream release + + -- Ghe Rivero Mon, 09 Apr 2012 09:29:59 +0200 + +horizon (2012.1~rc2-1) unstable; urgency=low + + * New upstream release + + -- Ghe Rivero Wed, 04 Apr 2012 10:46:08 +0200 + +horizon (2012.1~rc1-1) unstable; urgency=low + + * New upstream release. + + -- Ghe Rivero Tue, 20 Mar 2012 18:29:45 +0100 + +horizon (2012.1~e4-1) unstable; urgency=low + + * New upstream release + + -- Ghe Rivero Fri, 02 Mar 2012 08:42:48 +0100 + +horizon (2012.1~e3-3) unstable; urgency=low + + * Added manage.py to openstack-dashboard pkg + + -- Ghe Rivero Sun, 29 Jan 2012 10:26:12 +0100 + +horizon (2012.1~e3-2) unstable; urgency=low + + *Fixed typo in libjs-jquery + + -- Ghe Rivero Thu, 26 Jan 2012 16:40:21 +0100 + +horizon (2012.1~e3-1) unstable; urgency=low + + * New upstream release + + -- Ghe Rivero Thu, 26 Jan 2012 14:37:30 +0100 + +horizon (2012.1~e2-2) unstable; urgency=low + + * Rebuild to not depends on python-openstack-compute + + -- Julien Danjou Mon, 19 Dec 2011 09:43:45 +0100 + +horizon (2012.1~e2-1) unstable; urgency=low + + * New upstream release + + -- Julien Danjou Fri, 16 Dec 2011 10:16:19 +0100 + +horizon (2012.1~e1-1) unstable; urgency=low + + * Initial release (Closes: #649897, #649994) + + -- Julien Danjou Fri, 25 Nov 2011 11:30:34 +0100 diff --git a/xenial/debian/compat b/xenial/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/xenial/debian/compat @@ -0,0 +1 @@ +9 diff --git a/xenial/debian/compile-messages b/xenial/debian/compile-messages new file mode 100755 index 0000000..4079622 --- /dev/null +++ b/xenial/debian/compile-messages @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e +set -x + +CURDIR=`pwd` +cd horizon +${CURDIR}/manage.py compilemessages +cd .. +cd openstack_dashboard +${CURDIR}/manage.py compilemessages +cd .. +rm -vf horizon/locale/en/LC_MESSAGES/django*.mo +rm -vf openstack_dashboard/locale/en/LC_MESSAGES/django.mo diff --git a/xenial/debian/control b/xenial/debian/control new file mode 100644 index 0000000..f9a0bb2 --- /dev/null +++ b/xenial/debian/control @@ -0,0 +1,203 @@ +Source: horizon +Section: net +Priority: extra +Maintainer: PKG OpenStack +Uploaders: Thomas Goirand , + Ivan Udovichenko , +Build-Depends: debhelper (>= 9), + dh-python, + openstack-pkg-tools, + po-debconf, + python-all, + python-pbr (>= 1.6), + python-setuptools, + python-sphinx (>= 1.2.1), +Build-Depends-Indep: gettext, + git, + python-babel (>= 2.3.4), + python-ceilometerclient (>= 2.2.1), + python-cinderclient (>= 1:1.6.0), + python-django-compressor (>= 2.0), + python-coverage (>= 3.6), + python-django (>= 1.8), + python-django-babel (>= 0.5.1), + python-django-nose (>= 1.4.3), + python-django-openstack-auth (>= 2.3.0), + python-django-pyscss (>= 2.0.2), + python-glanceclient (>= 1:2.0.0), + python-hacking (>= 0.10.0), + python-heatclient (>= 1.1.0), + python-iso8601 (>= 0.1.11), + python-keystoneclient (>= 1:1.7.0), + python-mock (>= 2.0), + python-mox3 (>= 0.7.0), + python-netaddr (>= 0.7.12), + python-neutronclient (>= 1:4.2.0), + python-nose, + python-nose-exclude, + python-nosehtmloutput (>= 0.0.3), + python-nosexcover, + python-novaclient (>= 2:2.29.0), + python-openstack.nose-plugin, + python-oslo.concurrency (>= 3.8.0), + python-oslo.config (>= 1:3.10.0), + python-oslo.i18n (>= 2.1.0), + python-oslo.policy (>= 1.9.0), + python-oslo.serialization (>= 2.0.0), + python-oslo.utils (>= 3.11.0), + python-oslosphinx (>= 2.5.0), + python-pint (>= 0.5), + python-pyscss (>= 1.3.4), + python-selenium, + python-six (>= 1.9.0), + python-swiftclient (>= 2.2.0), + python-testtools (>= 1.4.0), + python-tz (>= 2013.6), + python-xstatic (>= 1.0.0), + python-xstatic-angular (>= 1.3.7), + python-xstatic-angular-bootstrap (>= 0.11.0.2), + python-xstatic-angular-fileupload (>= 12.0.4.0), + python-xstatic-angular-gettext (>= 2.1.0.2), + python-xstatic-angular-lrdragndrop (>= 1.0.2.2), + python-xstatic-bootstrap-datepicker, + python-xstatic-bootstrap-scss (>= 3), + python-xstatic-bootswatch, + python-xstatic-d3 (>= 3.1.6.2), + python-xstatic-font-awesome, + python-xstatic-hogan (>= 2.0.0.2), + python-xstatic-jasmine (>= 2.1.2.0), + python-xstatic-jquery (>= 1.7.2), + python-xstatic-jquery-migrate (>= 1.2.1.1), + python-xstatic-jquery-ui (>= 1.10.1), + python-xstatic-jquery.quicksearch (>= 2.0.3.1), + python-xstatic-jquery.tablesorter (>= 2.14.5.1), + python-xstatic-jsencrypt (>= 2.0.0.2), + python-xstatic-magic-search (>= 0.2.5.1), + python-xstatic-mdi (>= 1.4.57.0), + python-xstatic-rickshaw (>= 1.5.0), + python-xstatic-roboto-fontface (>= 0.4.3.2), + python-xstatic-smart-table (>= 1.4.5.3), + python-xstatic-spin (>= 1.2.5.2), + python-xstatic-term.js (>= 0.0.4), + python-xvfbwrapper (>= 0.1.3), + python-yaml, +Standards-Version: 3.9.8 +Homepage: http://horizon.openstack.org +Vcs-Browser: https://anonscm.debian.org/cgit/openstack/horizon.git/ +Vcs-Git: https://anonscm.debian.org/git/openstack/horizon.git + +Package: python-django-horizon +Section: python +Architecture: all +Depends: python-babel (>= 2.3.4), + python-ceilometerclient (>= 2.2.1), + python-cinderclient (>= 1:1.6.0), + python-django-compressor (>= 2.0), + python-django (>= 1.8), + python-django-babel (>= 0.5.1), + python-django-openstack-auth (>= 2.3.0), + python-django-pyscss (>= 2.0.2), + python-glanceclient (>= 1:2.0.0), + python-heatclient (>= 1.1.0), + python-iso8601 (>= 0.1.11), + python-keystoneclient (>= 1:1.7.0), + python-memcache, + python-netaddr (>= 0.7.12), + python-neutronclient (>= 1:4.2.0), + python-novaclient (>= 2:2.29.0), + python-oslo.concurrency (>= 3.8.0), + python-oslo.config (>= 1:3.10.0), + python-oslo.i18n (>= 2.1.0), + python-oslo.policy (>= 1.9.0), + python-oslo.serialization (>= 2.0.0), + python-oslo.utils (>= 3.11.0), + python-pbr (>= 1.8), + python-pint (>= 0.5), + python-pyscss (>= 1.3.4), + python-six (>= 1.9.0), + python-swiftclient (>= 2.2.0), + python-tz (>= 2013.6), + python-xstatic (>= 1.0.0), + python-xstatic-angular (>= 1.3.7), + python-xstatic-angular-bootstrap (>= 0.11.0.2), + python-xstatic-angular-fileupload (>= 12.0.4.0), + python-xstatic-angular-gettext (>= 2.1.0.2), + python-xstatic-angular-lrdragndrop (>= 1.0.2.2), + python-xstatic-bootstrap-datepicker, + python-xstatic-bootstrap-scss (>= 3), + python-xstatic-bootswatch, + python-xstatic-d3 (>= 3.1.6.2), + python-xstatic-font-awesome, + python-xstatic-hogan (>= 2.0.0.2), + python-xstatic-jasmine (>= 2.1.2.0), + python-xstatic-jquery (>= 1.7.2), + python-xstatic-jquery-migrate (>= 1.2.1.1), + python-xstatic-jquery-ui (>= 1.10.1), + python-xstatic-jquery.quicksearch (>= 2.0.3.1), + python-xstatic-jquery.tablesorter (>= 2.14.5.1), + python-xstatic-jsencrypt (>= 2.0.0.2), + python-xstatic-magic-search (>= 0.2.5.1), + python-xstatic-mdi (>= 1.4.57.0), + python-xstatic-rickshaw (>= 1.5.0), + python-xstatic-roboto-fontface (>= 0.4.3.2), + python-xstatic-smart-table (>= 1.4.5.3), + python-xstatic-spin (>= 1.2.5.2), + python-xstatic-term.js (>= 0.0.4), + python-yaml, + ${misc:Depends}, + ${python:Depends}, +Suggests: memcached, +Description: Django module providing web interaction with OpenStack + The OpenStack Dashboard is a web application to control an OpenStack + cloud. It connects to OpenStack services such as Nova, Swift, or Keystone + using the OpenStack REST API just as you would with the command line + clients. + . + Horizon is a Django module that permits interaction with an OpenStack + cloud. It can be used to build a dashboard to control an OpenStack cloud. + +Package: openstack-dashboard +Architecture: all +Depends: adduser, + libjs-jquery, + libjs-jquery-cookie, + python-django-horizon (= ${source:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Suggests: memcached, + openstack-dashboard-apache, +Description: web application to control an OpenStack cloud + The OpenStack Dashboard is a web application to control an OpenStack + cloud. It connects to OpenStack services such as Nova, Swift, or Keystone + using the OpenStack REST API just as you would with the command line + clients. + +Package: openstack-dashboard-apache +Architecture: all +Depends: apache2 (>= 2.4), + debconf, + libapache2-mod-wsgi (>= 2.3), + openstack-dashboard, + ${misc:Depends}, +Description: web application to control an OpenStack cloud - Apache support + The OpenStack Dashboard is a web application to control an OpenStack + cloud. It connects to OpenStack services such as Nova, Swift, or Keystone + using the OpenStack REST API just as you would with the command line + clients. + . + This package includes the configuration files to use within Apache. If you + wish to configure Apache yourself, use only openstack-dashboard. + +Package: horizon-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, + ${sphinxdoc:Depends}, +Description: web application to control an OpenStack cloud - doc + The OpenStack Dashboard is a web application to control an OpenStack + cloud. It connects to OpenStack services such as Nova, Swift, or Keystone + using the OpenStack REST API just as you would with the command line + clients. + . + This package contains the documentation. diff --git a/xenial/debian/copyright b/xenial/debian/copyright new file mode 100644 index 0000000..f4ae4c0 --- /dev/null +++ b/xenial/debian/copyright @@ -0,0 +1,32 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: horizon +Source: https://github.com/openstack/horizon + +Files: * +Copyright: 2011 OpenStack LLC + 2011 Nebula, Inc + 2011 United States Government as represented by the Administrator + of the National Aeronautics and Space Administration + 2011 Midokura KK +License: Apache-2.0 + +Files: debian/* +Copyright: (c) 2011, Julien Danjou + (c) 2012-2016, Thomas Goirand +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); you may not + use this file except in compliance with the License. You may obtain a copy of + the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations under + the License. + . + On Debian systems, the complete text of the Apache version 2.0 license can be + found in "/usr/share/common-licenses/Apache-2.0". diff --git a/xenial/debian/docs b/xenial/debian/docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/xenial/debian/docs @@ -0,0 +1 @@ +README.rst diff --git a/xenial/debian/gbp.conf b/xenial/debian/gbp.conf new file mode 100644 index 0000000..60415a9 --- /dev/null +++ b/xenial/debian/gbp.conf @@ -0,0 +1,8 @@ +[DEFAULT] +upstream-branch = master +debian-branch = debian/newton +upstream-tag = %(version)s + +[buildpackage] +export-dir = ../build-area/ +compression = xz diff --git a/xenial/debian/horizon-doc.doc-base b/xenial/debian/horizon-doc.doc-base new file mode 100644 index 0000000..3a1c47a --- /dev/null +++ b/xenial/debian/horizon-doc.doc-base @@ -0,0 +1,9 @@ +Document: horizon-doc +Title: Horizon Documentation +Author: OpenStack +Abstract: Sphinx documentation for Horizon +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/horizon-doc/html/index.html +Files: /usr/share/doc/horizon-doc/html/* diff --git a/xenial/debian/openstack-dashboard-apache.config b/xenial/debian/openstack-dashboard-apache.config new file mode 100644 index 0000000..4174d90 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.config @@ -0,0 +1,35 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +if [ -r /etc/default/openstack-dashboard-apache ] ; then + . /etc/default/openstack-dashboard-apache + + if [ "${HORIZON_ACTIVATE_VHOSTS}" = "true" ] || [ "${HORIZON_ACTIVATE_VHOSTS}" = "yes" ] ; then + db_set horizon/activate_vhost true + else + db_set horizon/activate_vhost false + fi +fi + + +db_input high horizon/activate_vhost || true +db_go || true + +db_get horizon/activate_vhost +if [ "${RET}" = "true" ] ; then + if [ -r /etc/default/openstack-dashboard-apache ] ; then + if [ "${HORIZON_USE_SSL}" = "true" ] || [ "${HORIZON_USE_SSL}" = "yes" ] ; then + db_set horizon/use_ssl true + else + db_set horizon/use_ssl false + fi + fi + + db_input high horizon/use_ssl || true + db_go || true +fi + +exit 0 diff --git a/xenial/debian/openstack-dashboard-apache.install b/xenial/debian/openstack-dashboard-apache.install new file mode 100644 index 0000000..ef330db --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.install @@ -0,0 +1,4 @@ +debian/apache-sites-available/openstack-dashboard-alias-only.conf /etc/apache2/sites-available +debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf /etc/apache2/sites-available +debian/apache-sites-available/openstack-dashboard-ssl.conf /etc/apache2/sites-available +debian/apache-sites-available/openstack-dashboard.conf /etc/apache2/sites-available diff --git a/xenial/debian/openstack-dashboard-apache.postinst b/xenial/debian/openstack-dashboard-apache.postinst new file mode 100644 index 0000000..a34dbca --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.postinst @@ -0,0 +1,84 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper dir_to_symlink \ + /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard-apache -- "$@" + +if [ "$1" = "configure" ] ; then + . /usr/share/debconf/confmodule + if ! [ -f /etc/default/openstack-dashboard-apache ] ; then + echo "# This file controls the behavior of the +# Apache installation / upgrade. + +# Controls if the Apache \"default\" site provided by the Debian +# Apache package should be disabled, and the \"openstack-dashboard\" +# virtual host enabled. If set to no, then you will have to do the +# setup manually. +HORIZON_ACTIVATE_VHOSTS=yes + +# If the above HORIZON_ACTIVATE_VHOSTS is set to yes, the +# below directive is set to yes also, then Horizon will +# be setup using SSL, and any query to the non-SSL site +# will be redirected to the SSL site. +HORIZON_USE_SSL=yes" >/etc/default/openstack-dashboard-apache + fi + db_get horizon/activate_vhost + if [ "${RET}" = "true" ] && [ -x /etc/init.d/apache2 ] ; then + sed -i 's#[ \t]*HORIZON_ACTIVATE_VHOSTS=.*#HORIZON_ACTIVATE_VHOSTS=yes#' /etc/default/openstack-dashboard-apache + a2dissite 000-default.conf || true + a2dissite default-ssl.conf || true + sed -i "s|^[ \t]*WEBROOT[ \t]=.*|WEBROOT = '/'|" /etc/openstack-dashboard/local_settings.py + db_get horizon/use_ssl + if [ "${RET}" = "true" ] ; then + sed -i 's#[ \t]*HORIZON_USE_SSL=.*#HORIZON_USE_SSL=yes#' /etc/default/openstack-dashboard-apache + a2enmod ssl + a2enmod rewrite + a2dissite openstack-dashboard.conf + a2dissite openstack-dashboard-alias-only.conf + a2ensite openstack-dashboard-ssl-redirect.conf + a2ensite openstack-dashboard-ssl.conf + else + sed -i 's#[ \t]*HORIZON_USE_SSL=.*#HORIZON_USE_SSL=no#' /etc/default/openstack-dashboard-apache + a2dissite openstack-dashboard-ssl.conf + a2dissite openstack-dashboard-ssl-redirect.conf + a2dissite openstack-dashboard-alias-only.conf + a2ensite openstack-dashboard.conf + fi + if [ -L /usr/share/openstack-dashboard/static ]; then + if ! [ $(readlink -s /usr/share/openstack-dashboard/static) = /var/lib/openstack-dashboard/static ]; then + ln -fs /var/lib/openstack-dashboard/static /usr/share/openstack-dashboard/static + fi + else + ln -fs /var/lib/openstack-dashboard/static /usr/share/openstack-dashboard/static + fi + /usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput + /usr/share/openstack-dashboard/manage.py compress --force + if [ -f '/var/lib/openstack-dashboard/secret-key/.secret_key_store' ]; then + rm -f /var/lib/openstack-dashboard/secret-key/.secret_key_store + fi + chown -R www-data /var/lib/openstack-dashboard/secret-key /var/lib/openstack-dashboard/static + invoke-rc.d --quiet apache2 reload + else + sed -i 's#[ \t]*HORIZON_ACTIVATE_VHOSTS=.*#HORIZON_ACTIVATE_VHOSTS=no#' /etc/default/openstack-dashboard-apache + a2ensite 000-default.conf || true + a2ensite default-ssl.conf || true + sed -i "s|^[ \t]*WEBROOT[ \t]=.*|WEBROOT = '/horizon'|" /etc/openstack-dashboard/local_settings.py + a2dissite openstack-dashboard.conf + a2dissite openstack-dashboard-ssl-redirect.conf + a2dissite openstack-dashboard-ssl.conf + a2ensite openstack-dashboard-alias-only.conf + /usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput + /usr/share/openstack-dashboard/manage.py compress --force + if [ -f /var/lib/openstack-dashboard/secret-key/.secret_key_store ]; then + rm -f /var/lib/openstack-dashboard/secret-key/.secret_key_store + fi + chown -R www-data /var/lib/openstack-dashboard/secret-key /var/lib/openstack-dashboard/static + invoke-rc.d --quiet apache2 reload + fi + db_stop +fi + +#DEBHELPER# + +exit 0 diff --git a/xenial/debian/openstack-dashboard-apache.postrm b/xenial/debian/openstack-dashboard-apache.postrm new file mode 100644 index 0000000..f53a6ee --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper dir_to_symlink \ + /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard-apache -- "$@" + + +if [ "${1}" = "purge" ] ; then + if [ -f /etc/default/openstack-dashboard-apache ] ; then + rm -rf /etc/default/openstack-dashboard-apache + fi +fi + +#DEBHELPER# diff --git a/xenial/debian/openstack-dashboard-apache.preinst b/xenial/debian/openstack-dashboard-apache.preinst new file mode 100644 index 0000000..c3585c8 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.preinst @@ -0,0 +1,37 @@ +#!/bin/sh + +set -e + +error() { + echo "error: $1" >&2 + exit 1 +} + +dir_to_symlink_preinst() { + local PATHNAME="$1" + local SYMLINK_TARGET="$2" + local LASTVERSION="$3" + local PACKAGE="$4" + + # Skip remaining parameters up to -- + while [ "$1" != "--" -a $# -gt 0 ]; do shift; done + shift + + if [ -n "$DPKG_MAINTSCRIPT_NAME" ] || error "environment variable DPKG_MAINTSCRIPT_NAME is required" + [ -n "$1" ] || error "maintainer script parameters are missing" + + [ -n "$2" ] && [ ! -h "$PATHNAME" ] && [ -d "$PATHNAME" ] && dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then + mv -f "$PATHNAME" "${PATHNAME}.dpkg-backup" + mkdir "$PATHNAME" + touch "$PATHNAME/.dpkg-staging-dir" + fi +} + +if [ "$1" = "install" -o "$1" = "upgrade" ] ; then + if [ -e /usr/share/openstack-dashboard/static ] ; then + dir_to_symlink_preinst /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard-apache -- "$@" + fi + dir_to_symlink_preinst /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard-apache -- "$@" +fi + +#DEBHELPER# diff --git a/xenial/debian/openstack-dashboard-apache.prerm b/xenial/debian/openstack-dashboard-apache.prerm new file mode 100644 index 0000000..a11c190 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.prerm @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +if [ -x /usr/sbin/a2dissite ] ; then + for i in openstack-dashboard openstack-dashboard-ssl-redirect openstack-dashboard-ssl openstack-dashboard-alias-only.conf openstack-dashboard.conf openstack-dashboard-ssl.conf openstack-dashboard-ssl-redirect.conf ; do + if [ -L /etc/apache2/sites-enabled/${i} ] ; then + a2dissite ${i} || true + fi + if [ -L /etc/apache2/sites-enabled/${i}.conf ] ; then + a2dissite ${i}.conf + fi + done +fi + +#DEBHELPER# diff --git a/xenial/debian/openstack-dashboard-apache.templates b/xenial/debian/openstack-dashboard-apache.templates new file mode 100644 index 0000000..248acc4 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.templates @@ -0,0 +1,28 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# debian-l10n-english@lists.debian.org for advice. +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: horizon/activate_vhost +Type: boolean +Default: false +_Description: Activate Dashboard and disable default VirtualHost? + The Apache package sets up a default web site and a default page, configured + in /etc/apache2/sites-available/default. + . + If this option is not selected, Horizon will be installed using /horizon + instead of the webroot. + . + Choose this option to replace that default with the OpenStack Dashboard + configuration. + +Template: horizon/use_ssl +Type: boolean +Default: true +_Description: Should the Dashboard use HTTPS? + Select this option if you would like Horizon to be served over HTTPS only, + with a redirection to HTTPS if HTTP is in use. diff --git a/xenial/debian/openstack-dashboard-nginx.conf b/xenial/debian/openstack-dashboard-nginx.conf new file mode 100644 index 0000000..03534a9 --- /dev/null +++ b/xenial/debian/openstack-dashboard-nginx.conf @@ -0,0 +1,6 @@ +server { + location / { + include uwsgi_params; + uwsgi_pass unix:///var/run/horizon-wsgi.sock; + } +} \ No newline at end of file diff --git a/xenial/debian/openstack-dashboard-uwsgi.xml b/xenial/debian/openstack-dashboard-uwsgi.xml new file mode 100644 index 0000000..12c1f96 --- /dev/null +++ b/xenial/debian/openstack-dashboard-uwsgi.xml @@ -0,0 +1,8 @@ + + /var/run/horizon-uwsgi.sock + /var/run/horizon-uwsgi.pid + /=/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + python27 + www-data + www-data + diff --git a/xenial/debian/openstack-dashboard.dirs b/xenial/debian/openstack-dashboard.dirs new file mode 100644 index 0000000..f0b5d7f --- /dev/null +++ b/xenial/debian/openstack-dashboard.dirs @@ -0,0 +1,2 @@ +/usr/share/openstack-dashboard/bin/less/ + diff --git a/xenial/debian/openstack-dashboard.install b/xenial/debian/openstack-dashboard.install new file mode 100644 index 0000000..369bff1 --- /dev/null +++ b/xenial/debian/openstack-dashboard.install @@ -0,0 +1 @@ +usr/share/openstack-dashboard diff --git a/xenial/debian/openstack-dashboard.links b/xenial/debian/openstack-dashboard.links new file mode 100644 index 0000000..0dc73d1 --- /dev/null +++ b/xenial/debian/openstack-dashboard.links @@ -0,0 +1 @@ +/usr/bin/lessc /usr/share/openstack-dashboard/bin/less/lessc diff --git a/xenial/debian/openstack-dashboard.postinst b/xenial/debian/openstack-dashboard.postinst new file mode 100644 index 0000000..7d064f5 --- /dev/null +++ b/xenial/debian/openstack-dashboard.postinst @@ -0,0 +1,54 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper dir_to_symlink \ + /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard -- "$@" + +if [ "$1" = "configure" ] ; then + adduser --system \ + --home /var/lib/horizon \ + --quiet \ + --disabled-password \ + --group horizon + + mkdir -p /var/lib/openstack-dashboard/secret-key + chown www-data:www-data /var/lib/openstack-dashboard/secret-key + + mkdir -p /etc/openstack-dashboard + DASHBOARD_LOCAL_SETTINGS='/etc/openstack-dashboard/local_settings.py' + if ! [ -f "$DASHBOARD_LOCAL_SETTINGS" ] ; then + cp /usr/share/openstack-dashboard/local_settings.py $DASHBOARD_LOCAL_SETTINGS + fi + if [ -f "$DASHBOARD_LOCAL_SETTINGS" ] && grep -q 'django.utils.log.NullHandler' $DASHBOARD_LOCAL_SETTINGS; then + sed -i 's/django.utils.log.NullHandler/logging.NullHandler/g' $DASHBOARD_LOCAL_SETTINGS + fi + if [ -L /usr/share/openstack-dashboard/static ]; then + if ! [ $(readlink -s /usr/share/openstack-dashboard/static) = /var/lib/openstack-dashboard/static ]; then + ln -fs /var/lib/openstack-dashboard/static /usr/share/openstack-dashboard/static + fi + else + ln -fs /var/lib/openstack-dashboard/static /usr/share/openstack-dashboard/static + fi + + # Compress the JS and CSS with python-compressor and python-lesscpy + /usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput + /usr/share/openstack-dashboard/manage.py compress --force + if [ -f /var/lib/openstack-dashboard/secret-key/.secret_key_store ]; then + rm /var/lib/openstack-dashboard/secret-key/.secret_key_store + fi + chown -R www-data /var/lib/openstack-dashboard/secret-key /var/lib/openstack-dashboard/static +fi + +if [ "$1" = "triggered" ] ; then + /usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput + /usr/share/openstack-dashboard/manage.py compress --force + if [ -f /var/lib/openstack-dashboard/secret-key/.secret_key_store ]; then + rm /var/lib/openstack-dashboard/secret-key/.secret_key_store + fi + chown -R www-data /var/lib/openstack-dashboard/secret-key /var/lib/openstack-dashboard/static +fi + +#DEBHELPER# + +exit 0 diff --git a/xenial/debian/openstack-dashboard.postrm b/xenial/debian/openstack-dashboard.postrm new file mode 100644 index 0000000..f80555c --- /dev/null +++ b/xenial/debian/openstack-dashboard.postrm @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper dir_to_symlink \ + /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard -- "$@" + +if [ "${1}" = "purge" ] ; then + rm -f /etc/openstack-dashboard/local_settings.py + rmdir --ignore-fail-on-non-empty /etc/openstack-dashboard || true + rm -rf /var/lib/openstack-dashboard + rm -rf /var/lib/horizon + rm -rf /usr/share/openstack-dashboard +fi + +#DEBHELPER# + +exit 0 diff --git a/xenial/debian/openstack-dashboard.preinst b/xenial/debian/openstack-dashboard.preinst new file mode 100644 index 0000000..c1bd0e1 --- /dev/null +++ b/xenial/debian/openstack-dashboard.preinst @@ -0,0 +1,37 @@ +#!/bin/sh + +set -e + +error() { + echo "error: $1" >&2 + exit 1 +} + +dir_to_symlink_preinst() { + local PATHNAME="$1" + local SYMLINK_TARGET="$2" + local LASTVERSION="$3" + local PACKAGE="$4" + + # Skip remaining parameters up to -- + while [ "$1" != "--" -a $# -gt 0 ]; do shift; done + shift + + if [ -n "$DPKG_MAINTSCRIPT_NAME" ] || error "environment variable DPKG_MAINTSCRIPT_NAME is required" + [ -n "$1" ] || error "maintainer script parameters are missing" + + [ -n "$2" ] && [ ! -h "$PATHNAME" ] && [ -d "$PATHNAME" ] && dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then + mv -f "$PATHNAME" "${PATHNAME}.dpkg-backup" + mkdir "$PATHNAME" + touch "$PATHNAME/.dpkg-staging-dir" + fi +} + +if [ "$1" = "install" -o "$1" = "upgrade" ] ; then + if [ -e /usr/share/openstack-dashboard/static ] ; then + dir_to_symlink_preinst /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard -- "$@" + fi + dir_to_symlink_preinst /usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard -- "$@" +fi + +#DEBHELPER# diff --git a/xenial/debian/openstack-dashboard.triggers b/xenial/debian/openstack-dashboard.triggers new file mode 100644 index 0000000..f121264 --- /dev/null +++ b/xenial/debian/openstack-dashboard.triggers @@ -0,0 +1,18 @@ +interest-noawait /usr/lib/python2.7/dist-packages/xstatic/pkg/bootstrap_scss/data +interest-noawait /usr/lib/python2.7/dist-packages/xstatic/pkg/jasmine/data +interest-noawait /usr/share/javascript/angular.js +interest-noawait /usr/share/javascript/d3 +interest-noawait /usr/share/javascript/jquery +interest-noawait /usr/share/javascript/jquery-cookie +interest-noawait /usr/share/javascript/jquery-metadata +interest-noawait /usr/share/javascript/jquery.quicksearch +interest-noawait /usr/share/javascript/jquery-tablesorter +interest-noawait /usr/share/javascript/jquery-ui +interest-noawait /usr/share/javascript/jsencrypt +interest-noawait /usr/share/javascript/qunit +interest-noawait /usr/share/javascript/rickshaw +interest-noawait /usr/share/javascript/spin.js +interest-noawait /usr/share/javascript/underscore +interest-noawait /usr/share/twitter-bootstrap/files +interest-noawait /usr/share/javascript/term.js +interest-noawait /usr/share/javascript/lrDragNDrop diff --git a/xenial/debian/po/POTFILES.in b/xenial/debian/po/POTFILES.in new file mode 100644 index 0000000..e2d3c4d --- /dev/null +++ b/xenial/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] openstack-dashboard-apache.templates diff --git a/xenial/debian/po/cs.po b/xenial/debian/po/cs.po new file mode 100644 index 0000000..43a9a68 --- /dev/null +++ b/xenial/debian/po/cs.po @@ -0,0 +1,67 @@ +# Czech PO debconf template translation of horizon. +# Copyright (C) 2013 Michal Simunek +# This file is distributed under the same license as the horizon package. +# Michal Simunek , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon 2013.1.3-2\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-10-12 10:41+0200\n" +"Last-Translator: Michal Simunek \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Aktivovat Ovládací panel a zakázat výchozího virtuálního hosta?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Balíček Apache má výchozí web a výchozí stránku nastavené v /etc/apache2/" +"sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Tuto možnost zvolte k nahrazení výchozího nastavení nastavením Ovládacího " +"panelu pro OpenStack." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Má Ovládací panel používat HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Tuto možnost zvolte, pokud chcete mít Horizon přístupný pouze přes HTTPS s " +"přesměrováním na HTTPS v případě, že se použije HTTP." diff --git a/xenial/debian/po/da.po b/xenial/debian/po/da.po new file mode 100644 index 0000000..31e3f01 --- /dev/null +++ b/xenial/debian/po/da.po @@ -0,0 +1,67 @@ +# Danish translation horizon. +# Copyright (C) 2013 horizon & nedenstående oversættere. +# This file is distributed under the same license as the horizon package. +# Joe Hansen , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-10-10 23:51+0200\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Aktiver Dashboard og deaktiver standard-VirtualHost?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Pakken Apache opsætter en standardnetside og en standardside, konfigureret " +"i !/etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Vælg denne indstilling for at erstatte den standard med Openstack Dashboard-" +"konfigurationen." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Skal Dashboard'et bruge HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Vælg venligst om du ønsker, at Horizon kun skal betjenes over HTTPS, med en " +"videresendelse til HTTPS hvis HTTP er i brug." diff --git a/xenial/debian/po/de.po b/xenial/debian/po/de.po new file mode 100644 index 0000000..14ec44f --- /dev/null +++ b/xenial/debian/po/de.po @@ -0,0 +1,69 @@ +# German translation of horizon debconf templates +# This file is distributed under the same license as the horizon package. +# Copyright: Martin Eberhard Schauer , 2013. +# Chris Leick , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon 2014.1-2\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2014-06-05 22:45+0100\n" +"Last-Translator: Chris Leick \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Dashboard aktivieren und die Vorgabe für VirtualHost deaktivieren?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Das Paket Apache richtet eine Standard-Website und eine Standardseite ein, " +"die in /etc/apache2/sites-available/default konfiguriert werden." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Wählen Sie diese Option, um diese Voreinstellung durch die OpenStack-" +"Dashboard-Konfiguration zu ersetzen." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Soll das Dashboard HTTPS verwenden?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Wählen Sie diese Option, falls Horizon nur über HTTPS bereitgestellt und bei " +"der Nutzung von HTTP auf HTTPS umgeleitet werden soll." diff --git a/xenial/debian/po/es.po b/xenial/debian/po/es.po new file mode 100644 index 0000000..bdf69ad --- /dev/null +++ b/xenial/debian/po/es.po @@ -0,0 +1,102 @@ +# horizon po-debconf translation to Spanish. +# Copyright (C) 2013 Software in the Public Interest +# This file is distributed under the same license as the horizon package. +# +# Changes: +# - Initial translation +# Matías Bellone , 2013. +# +# Traductores, si no conocen el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-12-08 21:21-0300\n" +"Last-Translator: Matías Bellone \n" +"Language-Team: Debian Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "" +"¿Desea activar el panel de control de OpenStack («Dashboard») y desactivar " +"el «VirtualHost» predeterminado?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +#, fuzzy +#| msgid "" +#| "In Debian, Apache comes with a default website and a default page, " +#| "configured in /etc/apache2/sites-available/default. Select if this " +#| "configuration should be disabled and replaced by the Openstack Dashboard " +#| "configuration." +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"En Debian, Apache provee un sitio web y una página web predeterminados, " +"ambos configurados en el archivo «/etc/apache2/sites-available/default». " +"Seleccione esta opción si desea desactivar esta configuración y reemplazarla " +"con la configuración del panel de control de OpenStack («Dashboard»)." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +#, fuzzy +#| msgid "Should the Dashboard be installed on HTTPS?" +msgid "Should the Dashboard use HTTPS?" +msgstr "¿Desea instalar el panel de control con HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +#, fuzzy +#| msgid "" +#| "Please choose if you would like Horizon to be installed on HTTPS only, " +#| "with a redirection to HTTPS if HTTP is in use." +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Indique si desea que se instale Horizon sólo con HTTPS o con una redirección " +"a HTTPS cuando se utilice HTTP." diff --git a/xenial/debian/po/fr.po b/xenial/debian/po/fr.po new file mode 100644 index 0000000..3ee591f --- /dev/null +++ b/xenial/debian/po/fr.po @@ -0,0 +1,70 @@ +# Translation of horizon debconf templates to French. +# Copyright (C) 2013, French l10n team +# This file is distributed under the same license as the HORIZON package. +# Julien Patriarca , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-10-09 09:09+0100\n" +"Last-Translator: Julien Patriarca \n" +"Language-Team: FRENCH \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Activer Dashboard et désactiver l'hôte virtuel par défaut ?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Le paquet Apache installe un site et une page par défaut, configurés dans /" +"etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" +"Si cette option n'est pas selectionée, Horizon sera installé sur /horizon " +"plustot que la racine du server web." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Choisissez cette option pour remplacer le réglage par défaut par la " +"configuration d'OpenStack Dashboard." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Faut-il utiliser HTTPS pour le Dashboard ?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Veuillez choisir cette option si vous souhaitez qu'Horizon soit installé sur HTTPS " +"uniquement, avec une redirection vers HTTPS si HTTP est utilisé." diff --git a/xenial/debian/po/it.po b/xenial/debian/po/it.po new file mode 100644 index 0000000..63a0b65 --- /dev/null +++ b/xenial/debian/po/it.po @@ -0,0 +1,68 @@ +# Italian translation of horizon's debconf messages. +# Copyright (C) 2013, horizon package copyright holder +# This file is distributed under the same license as the horizon package. +# Beatrice Torracca , 2013. +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-10-19 18:48+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Attivare Dashboard e disabilitare il VirtualHost predefinito?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Il pacchetto Apache imposta un sito web e una pagina predefiniti, " +"configurati in /etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Scegliere questa opzione per sostituire il valore predefinito con la " +"configurazione di Dashboard di OpenStack." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Dashboard deve usare HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Scegliere questa opzione se si desidera che Horizon venga servito solamente " +"su HTTPS, con una ridirezione verso HTTPS se viene usato HTTP." diff --git a/xenial/debian/po/ja.po b/xenial/debian/po/ja.po new file mode 100644 index 0000000..eec0e93 --- /dev/null +++ b/xenial/debian/po/ja.po @@ -0,0 +1,72 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# victory , 2013. +# Takuma Yamada , 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2016-02-22 13:28+0900\n" +"Last-Translator: Takuma Yamada \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Gtranslator 2.91.6\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Dashboard を有効にしてデフォルトのバーチャルホストを無効にしますか?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Apache パッケージがデフォルトウェブサイトやデフォルトページを用意しています。" +"これは /etc/apache2/sites-available/default で設定されています。" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" +"このオプションが選択されていない場合は、Horizon は webroot ではなく /horizon " +"を使用してインストールされます。" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"そのデフォルトを OpenStack の Dashboard 設定で置き換える場合はこのオプション" +"を選択してください。" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Dashboard で HTTPS を使いますか?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Horizon を HTTPS だけで使い、HTTP によるアクセスを HTTPS に転送する場合はこの" +"オプションを選択してください。" diff --git a/xenial/debian/po/nl.po b/xenial/debian/po/nl.po new file mode 100644 index 0000000..09ae027 --- /dev/null +++ b/xenial/debian/po/nl.po @@ -0,0 +1,71 @@ +# Dutch translation of horizon debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# Frans Spiesschaert , 2014, 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2015-10-30 22:09+0100\n" +"Last-Translator: Frans Spiesschaert \n" +"Language-Team: Debian Dutch l10n Team \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Gtranslator 2.91.6\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Dashboard activeren en de standaard VirtualHost uitzetten?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Het pakket Apache zet een standaardwebsite en een standaardpagina op in /etc/" +"apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" +"Indien deze optie niet gekozen wordt, zal de installatie van Horizon de map /" +"horizon gebruiken in plaats van de web-hoofdmap." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Kies deze optie om die standaard te vervangen door de configuratie van " +"OpenStack Dashboard." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Moet Dashboard gebruik maken van HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Kies deze optie indien u wenst dat Horizon enkel over HTTPS bediend wordt, " +"met een omlegging naar HTTPS als HTTP gebruikt wordt." diff --git a/xenial/debian/po/pt.po b/xenial/debian/po/pt.po new file mode 100644 index 0000000..2337ed3 --- /dev/null +++ b/xenial/debian/po/pt.po @@ -0,0 +1,72 @@ +# Translation of horizon's debconf messages to european portuguese +# Copyright (C) 2013 THE horizon'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# +# Américo Monteiro , 2013, 2015. +msgid "" +msgstr "" +"Project-Id-Version: horizon 2:8.0.0-2\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2015-10-19 23:49+0100\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.4\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Activar o Dashboard e desactivar o VirtualHost predefinido?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"O pacote Apache define um sítio web predefinido e uma página predefinida, " +"configurada em /etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" +"Se esta opção não for seleccionada, o Horizon será instalado usando " +"/horizon em vez da webroot." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Escolha esta opção para substituir essa predefinição pela configuração " +"Dashboard do OpenStack." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Deve o Dashboard usar HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Seleccione esta opção se você desejar que o Horizon seja servido apenas por " +"HTTPS, com um redireccionamento para HTTPS se for usado HTTP." + diff --git a/xenial/debian/po/pt_BR.po b/xenial/debian/po/pt_BR.po new file mode 100644 index 0000000..21ffee6 --- /dev/null +++ b/xenial/debian/po/pt_BR.po @@ -0,0 +1,70 @@ +# Debconf translations for horizon. +# Copyright (C) 2016 THE horizon'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# Adriano Rafael Gomes , 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2016-02-07 21:55-0200\n" +"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Ativar o Dashboard e desabilitar o VirtualHost padrão?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"O pacote do Apache define um site web padrão e uma página padrão, " +"configurados em /etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" +"Se essa opção não for selecionada, o Horizon será instalado usando /horizon " +"em vez da raiz web (\"webroot\")." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Escolha essa opção para substituir esse padrão pela configuração do " +"OpenStack Dashboard." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "O Dashboard deverá usar HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Selecione essa opção se você gostaria que o Horizon fosse servido somente " +"sobre HTTPS, com um redirecionamento para HTTPS se HTTP for usado." diff --git a/xenial/debian/po/ru.po b/xenial/debian/po/ru.po new file mode 100644 index 0000000..f057ee0 --- /dev/null +++ b/xenial/debian/po/ru.po @@ -0,0 +1,67 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# +# Yuri Kozlov , 2013. +msgid "" +msgstr "" +"Project-Id-Version: horizon 2013.1.3-2\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2013-10-09 19:26+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 1.4\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "Активировать Dashboard и отключить VirtualHost по умолчанию?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"В пакете Apache уже настроен веб-сайт и страница по умолчанию согласно /etc/" +"apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "Выберите, нужно ли заменить её на настройку из Openstack Dashboard." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Использовать HTTPS в Dashboard?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Выберите, нужно ли включить доступ к Horizon только по HTTPS, с " +"перенаправлением на HTTPS, если использован HTTP." diff --git a/xenial/debian/po/sv.po b/xenial/debian/po/sv.po new file mode 100644 index 0000000..afab3ff --- /dev/null +++ b/xenial/debian/po/sv.po @@ -0,0 +1,68 @@ +# Translation of horizon debconf template to Swedish +# Copyright (C) 2015 Martin Bagge +# This file is distributed under the same license as the horizon package. +# +# Martin Bagge , 2013, 2015 +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: 2015-04-01 16:51+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.10\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "" +"Aktivera Dashboard och avaktivera den standardiserade virtuella värden?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" +"Apache-paketet levereras med en standard webbplats och en standard sida, " +"dessa inställningar finns i /etc/apache2/sites-available/default." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" +"Välj denna väg för att ersätta standard-Dashboard i OpenStack med Horizon." + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "Ska Dashboard använda HTTPS?" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" +"Välj detta om du vill att Horizon endast ska levereras på HTTPS, en " +"omdirigering av HTTP till HTTPS kommer att aktiveras." diff --git a/xenial/debian/po/templates.pot b/xenial/debian/po/templates.pot new file mode 100644 index 0000000..2dc11e6 --- /dev/null +++ b/xenial/debian/po/templates.pot @@ -0,0 +1,62 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the horizon package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: horizon\n" +"Report-Msgid-Bugs-To: horizon@packages.debian.org\n" +"POT-Creation-Date: 2015-09-22 13:31+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "Activate Dashboard and disable default VirtualHost?" +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"The Apache package sets up a default web site and a default page, configured " +"in /etc/apache2/sites-available/default." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"If this option is not selected, Horizon will be installed using /horizon " +"instead of the webroot." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:2001 +msgid "" +"Choose this option to replace that default with the OpenStack Dashboard " +"configuration." +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "Should the Dashboard use HTTPS?" +msgstr "" + +#. Type: boolean +#. Description +#: ../openstack-dashboard-apache.templates:3001 +msgid "" +"Select this option if you would like Horizon to be served over HTTPS only, " +"with a redirection to HTTPS if HTTP is in use." +msgstr "" diff --git a/xenial/debian/python-django-horizon.links b/xenial/debian/python-django-horizon.links new file mode 100644 index 0000000..0752090 --- /dev/null +++ b/xenial/debian/python-django-horizon.links @@ -0,0 +1,2 @@ +/usr/share/javascript/jquery-cookie/jquery.cookie.js /usr/lib/python2.7/dist-packages/horizon/static/horizon/lib/jquery/jquery.cookie.js +/usr/share/javascript/jquery/jquery.min.js /usr/lib/python2.7/dist-packages/horizon/static/horizon/lib/jquery/jquery.min.js diff --git a/xenial/debian/rules b/xenial/debian/rules new file mode 100755 index 0000000..562bff4 --- /dev/null +++ b/xenial/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +PYTHONS:=$(shell pyversions -vr) + +include /usr/share/openstack-pkg-tools/pkgos.make +export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1) + +%: + dh $@ --buildsystem=python_distutils --with python2,sphinxdoc + +override_dh_auto_install: + # Note: upstream advises to use "python setup.py compile_catalog" + # maybe we should do that next time. + chmod +x debian/compile-messages + $(CURDIR)/debian/compile-messages + + set -e && for pyvers in $(PYTHONS); do \ + python$$pyvers setup.py install \ + --install-layout=deb \ + --root $(CURDIR)/debian/python-django-horizon \ + --no-compile -O0; \ + done + + install -d -m 755 $(CURDIR)/debian/tmp/usr/share/openstack-dashboard + + cp -a $(CURDIR)/openstack_dashboard/ $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/ + + # Sets memcached by default in local_settings.py + cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py + sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py + echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py + install -d -m 755 $(CURDIR)/debian/openstack-dashboard/var/lib/openstack-dashboard/static + + + cp $(CURDIR)/manage.py \ + $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/ + ln -fs /etc/openstack-dashboard/local_settings.py \ + $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py + +override_dh_auto_clean: + dh_auto_clean + python setup.py clean + rm -rf $(CURDIR)/static + rm -rf $(CURDIR)/horizon/build + rm -rf $(CURDIR)/horizon.egg-info + rm -rf $(CURDIR)/openstack_dashboard/openstack_dashboard.egg-info + rm -rf doc/source/sourcecode + rm -rf $(CURDIR)/doc/build + rm -f horizon/openstack_dashboard/test/.secret_key_store + find $(CURDIR)/openstack_dashboard -iname '*.pyc' -delete + +override_dh_sphinxdoc: +ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) + sphinx-build -b html doc/source debian/horizon-doc/usr/share/doc/horizon-doc/html + dh_sphinxdoc -O--buildsystem=python_distutils +endif + +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) +override_dh_auto_test: + # We should add --compilemessages when the .mo are removed. + ./run_tests.sh --no-virtual-env --no-pep8 --verbosity=2 +endif + diff --git a/xenial/debian/source/format b/xenial/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/xenial/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/xenial/debian/source/options b/xenial/debian/source/options new file mode 100644 index 0000000..ec30cb9 --- /dev/null +++ b/xenial/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = ".*\.secret_key_store|.*\.mo" diff --git a/xenial/debian/watch b/xenial/debian/watch new file mode 100644 index 0000000..a3ac9cd --- /dev/null +++ b/xenial/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/\.(b|rc)/~$1/" \ +https://github.com/openstack/horizon/tags .*/(\d[\d\.]+)\.tar\.gz -- 2.45.2