From: Sebastian Harl Date: Thu, 21 Apr 2011 07:42:24 +0000 (+0200) Subject: Imported initial packaging for version 4.0.0. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1868e3610627aa1d2c24808e051434c6750b2cfb;p=pkg-collection4.git Imported initial packaging for version 4.0.0. --- 1868e3610627aa1d2c24808e051434c6750b2cfb diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f548590 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,8 @@ +collection4 (4.0.0-1) experimental; urgency=low + + * Initial release (Closes: #597275). + * Uploading to experimental, since this is still an alpha release and work- + in-progress. + + -- Sebastian Harl Sat, 18 Sep 2010 15:20:11 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b631369 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: collection4 +Section: web +Priority: optional +Maintainer: Sebastian Harl +Build-Depends: debhelper (>= 7), autotools-dev, libfcgi-dev, librrd-dev, libyajl-dev +Standards-Version: 3.9.1 +Homepage: http://octo.it/c4/ +Vcs-Git: git://git.tokkee.org/pkg-collection4.git +Vcs-Browser: http://git.tokkee.org/?p=pkg-collection4.git + +Package: collection4 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: collectd +Description: web-based front-end for collectd + collection4 (C4 for short) is a web-based graphing front-end for collectd + using FastCGI, the statistics collection and monitoring daemon. It allows to + graph and display the performance data collected by the daemon. + . + It is designed to efficiently handle large setups (more than 50000 data sets) + as well. Also, it strives to allow a flexible customization of the generated + graphs through configuration of the front-end. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5f3143e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,107 @@ +This package was debianized by Sebastian Harl on +Sat, 18 Sep 2010 15:20:11 +0200. + +It was downloaded from . + +Upstream Author: + Core Developer: + Florian Forster + + For individual credits, see AUTHORS. + +Copyright Holders (in alphabetical order): + Dmitry Baranovskiy + Florian Forster + John Resig + Sebastian Harl + The Dojo Foundation + +License: + + Files share/g.line-min.js: + share/g.raphael-min.js + share/raphael-min.js + Copyright © 2009 Dmitry Baranovskiy + + The MIT License: + + 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. + + File share/jquery-1.4.2.min.js + Copyright © 2010 The Dojo Foundation + Copyright © 2010 John Resig + + This file is licensed under the MIT license (see above) or the GNU General + Public License, version 2. The code is based on code licensed under the + MIT license, BSD license, or the GNU General Public License. + +On Debian systems, the text of the GNU General Public License, version 2, can +be found in `/usr/share/common-licenses/GPL-2'. The text of the latest version +can be found in `/usr/share/common-licenses/GPL'. The text of the BSD license +can be found in `/usr/share/common-licenses/BSD'. + + File src/parser.y + Copyright © 2007-2008 Florian Forster + + File src/scanner.l: + Copyright © 2007 Florian Forster + Copyright © 2008 Sebastian Harl + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; only version 2 of the License is applicable. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License, +version 2, can be found in `/usr/share/common-licenses/GPL-2'. + + All other files: + Copyright © 2006-2010 Florian Forster + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public License, +version 2.1, can be found in `/usr/share/common-licenses/LGPL-2.1'. The +complete text of the latest version can be found in +`/usr/share/common-licenses/LGPL'. + +The Debian packaging is © 2010, Sebastian Harl and is +licensed under the MIT license, see above. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8bbe2d2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,78 @@ +#! /usr/bin/make -f +# debian/rules for collection4 +# +# Written by Sebastian Harl + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + CFLAGS="$(CFLAGS)" + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/collection4 + +binary-indep: build install + # nothing to do here + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs -a -A AUTHORS README + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..4fb3ae5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://octo.it/c4/files/ collection-(.*)\.tar\.gz +