FreeBSD Bugzilla – Attachment 178049 Details for
Bug 215155
[NEW PORT] www/py-horizon: OpenStack Dashboard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated port, v2
horizon.shar (text/plain), 8.48 KB, created by
Roman Bogorodskiy
on 2016-12-18 13:57:59 UTC
(
hide
)
Description:
updated port, v2
Filename:
MIME Type:
Creator:
Roman Bogorodskiy
Created:
2016-12-18 13:57:59 UTC
Size:
8.48 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-horizon/ ># py-horizon/Makefile ># py-horizon/distinfo ># py-horizon/files ># py-horizon/files/01-django.patch ># py-horizon/files/pkg-message.in ># py-horizon/pkg-descr ># >echo c - py-horizon/ >mkdir -p py-horizon/ > /dev/null 2>&1 >echo x - py-horizon/Makefile >sed 's/^X//' >py-horizon/Makefile << '47940ef7871e2294504cee53c639f5b1' >X# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com> >X# $FreeBSD$ >X >XPORTNAME= horizon >XPORTVERSION= 10.0.1 >XCATEGORIES= www python >XMASTER_SITES= https://fossies.org/linux/misc/openstack/ >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= alexander.nusov@nfvexpress.com >XCOMMENT= OpenStack Dashboard (Horizon) >X >XLICENSE= APACHE20 >X >XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr >XRUN_DEPENDS:= ${BUILD_DEPENDS} >XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel \ >X ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18 \ >X ${PYTHON_PKGNAMEPREFIX}Pint>=0.5:devel/py-Pint \ >X ${PYTHON_PKGNAMEPREFIX}django-babel>=0.5.1:www/py-django-babel \ >X ${PYTHON_PKGNAMEPREFIX}django_compressor>=2.0:www/py-django_compressor \ >X ${PYTHON_PKGNAMEPREFIX}django_openstack_auth>=2.4.0:www/py-django_openstack_auth \ >X ${PYTHON_PKGNAMEPREFIX}django-pyscss>=2.0.2:www/py-django-pyscss \ >X ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \ >X ${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr \ >X ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \ >X ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \ >X ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \ >X ${PYTHON_PKGNAMEPREFIX}oslo.policy>=1.9.0:devel/py-oslo.policy \ >X ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \ >X ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \ >X ${PYTHON_PKGNAMEPREFIX}pyscss>=1.3.4:textproc/py-pyscss \ >X ${PYTHON_PKGNAMEPREFIX}python-ceilometerclient>=2.5.0:net/py-python-ceilometerclient \ >X ${PYTHON_PKGNAMEPREFIX}python-cinderclient>=0:net/py-python-cinderclient \ >X ${PYTHON_PKGNAMEPREFIX}python-glanceclient>=0:net/py-python-glanceclient \ >X ${PYTHON_PKGNAMEPREFIX}python-heatclient>=1.4.0:net/py-python-heatclient \ >X ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=0:net/py-python-keystoneclient \ >X ${PYTHON_PKGNAMEPREFIX}python-neutronclient>=5.1.0:net/py-python-neutronclient \ >X ${PYTHON_PKGNAMEPREFIX}python-novaclient>=0:net/py-python-novaclient \ >X ${PYTHON_PKGNAMEPREFIX}swiftclient>=2.2.0:databases/py-swiftclient \ >X ${PYTHON_PKGNAMEPREFIX}pytz>=2013.6:devel/py-pytz \ >X ${PYTHON_PKGNAMEPREFIX}yaml>=3.1.0:devel/py-yaml \ >X ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \ >X ${PYTHON_PKGNAMEPREFIX}XStatic>=1.0.0:devel/py-XStatic \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular>=1.3.7:devel/py-XStatic-Angular \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Bootstrap>=0.11.0.2:devel/py-XStatic-Angular-Bootstrap \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-FileUpload>=12.0.4.0:devel/py-XStatic-Angular-FileUpload \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Gettext>=2.1.0.2:devel/py-XStatic-Angular-Gettext \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-lrdragndrop>=1.0.2.2:devel/py-XStatic-Angular-lrdragndrop \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Schema-Form>=0.8.13.0:devel/py-XStatic-Angular-Schema-Form \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Bootstrap-Datepicker>=1.3.1.0:devel/py-XStatic-Bootstrap-Datepicker \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Bootstrap-SCSS>=3:devel/py-XStatic-Bootstrap-SCSS \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-bootswatch>=3.3.5.3:devel/py-XStatic-bootswatch \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-D3>=3.1.6.2:devel/py-XStatic-D3 \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Hogan>=2.0.0.2:devel/py-XStatic-Hogan \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Font-Awesome>=4.3.0:devel/py-XStatic-Font-Awesome \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Jasmine>=2.1.2.0:devel/py-XStatic-Jasmine \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-jQuery>=1.7.2:devel/py-XStatic-jQuery \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery-Migrate>=1.2.1.1:devel/py-XStatic-JQuery-Migrate \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery.quicksearch>=2.0.3.1:devel/py-XStatic-JQuery.quicksearch \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery.TableSorter>=2.14.5.1:devel/py-XStatic-JQuery.TableSorter \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-jquery-ui>=1.10.1:devel/py-XStatic-jquery-ui \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-JSEncrypt>=2.0.0.2:devel/py-XStatic-JSEncrypt \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-mdi>=1.4.57.0:devel/py-XStatic-mdi \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-objectpath>=1.2.1.0:devel/py-XStatic-objectpath \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Rickshaw>=1.5.0:devel/py-XStatic-Rickshaw \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-roboto-fontface>=0.4.3.2:devel/py-XStatic-roboto-fontface \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-smart-table>=0:devel/py-XStatic-smart-table \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-Spin>=1.2.5.2:devel/py-XStatic-Spin \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-term.js>=0.0.4:devel/py-XStatic-term.js \ >X ${PYTHON_PKGNAMEPREFIX}XStatic-tv4>=1.2.7.0:devel/py-XStatic-tv4 >X >XEXTRA_PATCHES= ${FILESDIR}/01-django.patch:-p1 >X >XNO_ARCH= yes >X >XUSES= python >XUSE_PYTHON= autoplist distutils >X >XUSERS= horizon >XGROUPS= horizon >X >XSUB_FILES= pkg-message >XSUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} >X >X.include <bsd.port.mk> >47940ef7871e2294504cee53c639f5b1 >echo x - py-horizon/distinfo >sed 's/^X//' >py-horizon/distinfo << 'e7e8798728f85674a58c412baf654f29' >XTIMESTAMP = 1481116590 >XSHA256 (horizon-10.0.1.tar.gz) = 919e1e466007684ee80a0dec46f18c7f8147bd826ac1085a262fbb15b6c789be >XSIZE (horizon-10.0.1.tar.gz) = 4093291 >e7e8798728f85674a58c412baf654f29 >echo c - py-horizon/files >mkdir -p py-horizon/files > /dev/null 2>&1 >echo x - py-horizon/files/01-django.patch >sed 's/^X//' >py-horizon/files/01-django.patch << 'e88b3a0e1ee24fec3b86970a6253b46c' >Xdiff --git a/openstack_dashboard/wsgi/django.wsgi b/openstack_dashboard/wsgi/django.wsgi >Xindex 1be0e06..b7fbe81 100644 >X--- a/openstack_dashboard/wsgi/django.wsgi >X+++ b/openstack_dashboard/wsgi/django.wsgi >X@@ -5,7 +5,7 @@ from django.core.wsgi import get_wsgi_application >X from django.conf import settings >X >X # Add this file path to sys.path in order to import settings >X-sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '../..')) >X+sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../..'))) >X os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' >X sys.stdout = sys.stderr >X >e88b3a0e1ee24fec3b86970a6253b46c >echo x - py-horizon/files/pkg-message.in >sed 's/^X//' >py-horizon/files/pkg-message.in << '1b79c05c12e6e3755c4573993ecfb6ec' >XPlease note that this is a development version of Horizon. >X >XYou may serve horizon (OpenStack Dashboard) with apache web server. >XUse this snippet as reference: >X >XWSGIScriptAlias / %%PYTHON_SITELIBDIR%%/openstack_dashboard/wsgi/django.wsgi process-group=horizon >XWSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 display-name=%{GROUP} >XWSGIProcessGroup horizon >XAlias /static/dashboard %%PYTHON_SITELIBDIR%%/openstack_dashboard/static/dashboard >X<Directory %%PYTHON_SITELIBDIR%%/openstack_dashboard/static> >X Require all granted >X</Directory> >X<Directory %%PYTHON_SITELIBDIR%%/openstack_dashboard/wsgi> >X Require all granted >X</Directory> >X >XAlso if you plan to use apache make sure that wsgi4 module is enabled and >Xyou set correct ownership for static and local libraries for openstack_dashboard: >X >X# chown -R horizon %%PYTHON_SITELIBDIR%%/openstack_dashboard/static >X# chown -R horizon %%PYTHON_SITELIBDIR%%/openstack_dashboard/local >X >XCreate local_settings.py with your settings at >X%%PYTHON_SITELIBDIR%%/openstack_dashboard/local >X >XTo enable django-compressor add this option to local_settings.py file: >X >XSTATIC_ROOT = '%%PYTHON_SITELIBDIR%%/openstack_dashboard/static' >X >1b79c05c12e6e3755c4573993ecfb6ec >echo x - py-horizon/pkg-descr >sed 's/^X//' >py-horizon/pkg-descr << '5283d912f2780212cc5f2fd99f36f53d' >XHorizon is a Django-based project aimed at providing a complete OpenStack >XDashboard along with an extensible framework for building new dashboards from >Xreusable components. The openstack_dashboard module is a reference >Ximplementation of a Django site that uses the horizon app to provide web-based >Xinteractions with the various OpenStack projects. >X >XWWW: http://openstack.org/horizon >5283d912f2780212cc5f2fd99f36f53d >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 215155
:
177801
|
177866
| 178049 |
178051
|
178101