[Pkg-puppet-devel] [puppetboard] 01/01: initial debian/
Jonas Genannt
jonas at brachium-system.net
Mon Jul 28 21:39:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository puppetboard.
commit 53e38429843785bd3d37f8753f8bf97b3051a002
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Mon Jul 28 23:39:35 2014 +0200
initial debian/
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 36 +++++++++++++++++++++
debian/copyright | 56 +++++++++++++++++++++++++++++++++
debian/examples/apache-puppetboard.conf | 26 +++++++++++++++
debian/puppetboard.dirs | 2 ++
debian/puppetboard.docs | 1 +
debian/puppetboard.examples | 1 +
debian/puppetboard.install | 1 +
debian/puppetboard.wsgi | 6 ++++
debian/rules | 18 +++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
13 files changed, 156 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7ce98a2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+puppetboard (0.0.4-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #754796)
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de> Mon, 28 Jul 2014 22:45:52 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b4e9445
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: puppetboard
+Section: contrib/admin
+Priority: optional
+Maintainer: Puppet Package Maintainers <pkg-puppet-devel at lists.alioth.debian.org>
+Uploaders: Jonas Genannt <jonas.genannt at capi2name.de>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-requests,
+ python-setuptools
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+Homepage: https://github.com/sodabrew/puppet-dashboard
+Vcs-Git: git://anonscm.debian.org/pkg-puppet/puppetboard.git
+Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-puppet/puppetboard.git;a=summary
+
+Package: puppetboard
+Architecture: all
+Depends: python-flask,
+ python-flaskext.wtf,
+ python-itsdangerous,
+ python-jinja2,
+ python-markupsafe,
+ python-pypuppetdb,
+ python-werkzeug,
+ python-wtforms,
+ ${misc:Depends},
+ ${python:Depends}
+Suggests: libapache2-mod-wsgi
+Description: web interface to the PuppetDB
+ This web interface to the PuppetDB aiming to replace the reporting
+ functionality of Puppet Dashboard. It receives the data via HTTP or HTTPs from
+ the PuppetDB.
+ .
+ PuppetDB is not yet included into Debian. It's available from the PuppetLabs
+ download repositories.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bc4aa0e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: puppetboard
+Upstream-Contact: Daniele Sluijters
+Source: https://github.com/sodabrew/puppet-dashboard
+
+Files: *
+Copyright: 2013 Daniele Sluijters <github at daenney.net>
+License: Apache
+
+Files: puppetboard/static/js/Chart.js
+Copyright: 2013 Nick Downie <hello at nickdownie.com>
+License: Expat
+
+Files: puppetboard/static/js/moment.js
+Copyright: 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Jonas Genannt <jonas.genannt at capi2name.de>
+License: Apache
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: Apache
+ 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 full text of the Apache License can be found at
+ "/usr/share/common-licenses/Apache-2.0"
diff --git a/debian/examples/apache-puppetboard.conf b/debian/examples/apache-puppetboard.conf
new file mode 100644
index 0000000..9d4de22
--- /dev/null
+++ b/debian/examples/apache-puppetboard.conf
@@ -0,0 +1,26 @@
+<VirtualHost *:80>
+
+ WSGIDaemonProcess _puppetboard threads=5 user=www-data group=www-data display-name='%{GROUP}'
+ WSGIProcessGroup _puppetboard
+ WSGIImportScript /usr/share/puppetboard/puppetboard.wsgi process-group=_puppetboard application-group=%{GLOBAL}
+ WSGIScriptAlias / /usr/share/puppetboard/puppetboard.wsgi
+
+ <Location />
+ Require all granted
+ </Location>
+
+ Alias /static /usr/share/puppetboard/static
+ <Location /static>
+ SetHandler None
+ Require all granted
+ </Location>
+
+ ErrorLog ${APACHE_LOG_DIR}/puppetboard_error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog ${APACHE_LOG_DIR}/puppetboard_access.log combined
+
+</VirtualHost>
diff --git a/debian/puppetboard.dirs b/debian/puppetboard.dirs
new file mode 100644
index 0000000..061b022
--- /dev/null
+++ b/debian/puppetboard.dirs
@@ -0,0 +1,2 @@
+etc/puppetboard
+usr/share/puppetboard
diff --git a/debian/puppetboard.docs b/debian/puppetboard.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/puppetboard.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/puppetboard.examples b/debian/puppetboard.examples
new file mode 100644
index 0000000..23d932e
--- /dev/null
+++ b/debian/puppetboard.examples
@@ -0,0 +1 @@
+debian/examples/apache-puppetboard.conf
diff --git a/debian/puppetboard.install b/debian/puppetboard.install
new file mode 100644
index 0000000..5fc9998
--- /dev/null
+++ b/debian/puppetboard.install
@@ -0,0 +1 @@
+debian/puppetboard.wsgi usr/share/puppetboard
diff --git a/debian/puppetboard.wsgi b/debian/puppetboard.wsgi
new file mode 100644
index 0000000..643ce4a
--- /dev/null
+++ b/debian/puppetboard.wsgi
@@ -0,0 +1,6 @@
+from __future__ import absolute_import
+import os
+
+# Needed if a settings.py file exists
+os.environ['PUPPETBOARD_SETTINGS'] = '/etc/puppetboard/settings.py'
+from puppetboard.app import app as application
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d80f6e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=puppetboard
+
+%:
+ dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_install:
+ dh_auto_install -O--buildsystem=pybuild
+ rm -rf debian/puppetboard/usr/lib/python*/dist-packages/puppetboard/static
+ cp -R puppetboard/static debian/puppetboard/usr/share/puppetboard/
+
+
+override_dh_installchangelogs:
+ dh_installchangelogs CHANGELOG.rst
+
+# disable tests, require network access
+override_dh_auto_test:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7416286
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/p/puppetboard/puppetboard-(.+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/puppetboard.git
More information about the Pkg-puppet-devel
mailing list