debian/ 0000755 0000000 0000000 00000000000 11556267073 007202 5 ustar debian/apache.conf 0000644 0000000 0000000 00000000342 11550356017 011260 0 ustar # Configuration for serverstats using apache.
Alias /serverstats /usr/share/serverstats
DirectoryIndex index.php
Options FollowSymLinks
Order allow,deny
Allow from all
debian/copyright 0000644 0000000 0000000 00000006577 11550356017 011143 0 ustar This package was debianized by Bjoern Boschman and
Patrick Matthäi on Mon, 10 Dec 2007 23:59:34 +0100.
It was downloaded from http://serverstats.berlios.de/
The directory "sources/external/cacti" has the following license.
Upstream Author: Ian Berry
Copyright: 2004 - 2007 The Cacti Group
License:
This package 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; version 2 dated June, 1991.
This package 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 package; 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'.
The files config.class.php, rrd.class.php and rrdgraph.class.php in
the directory "includes" have the following license.
Upstream Author: David Danier
Copyright: 2005 David Danier
License:
This library 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 library 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 library; 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 can be found in `/usr/share/common-licenses/LGPL-2.1'.
The rest of the source has the following license.
Upstream Author: David Danier
Copyright: 2005 - 2007 David Danier
License:
This package 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; either version 2 of the License, or
(at your option) any later version.
This package 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 package; 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 can be found in `/usr/share/common-licenses/GPL-2'.
The Debian packaging is © 2007-2009, Bjoern Boschman ,
© 2007-2009 Patrick Matthäi and is licensed
under the GPL, see above.
debian/watch 0000644 0000000 0000000 00000000276 11550356017 010227 0 ustar version=3
opts=downloadurlmangle=s/prdownload/download/ \
http://developer.berlios.de/project/showfiles.php?group_id=5571 \
http://prdownload.berlios.de/serverstats/serverstats-(.*).tar.bz2
debian/dirs 0000644 0000000 0000000 00000000162 11550356017 010054 0 ustar etc/serverstats
usr/share/serverstats
var/lib/serverstats/cache
var/lib/serverstats/graph
var/lib/serverstats/rrd
debian/control 0000644 0000000 0000000 00000001175 11556266527 010614 0 ustar Source: serverstats
Section: web
Priority: optional
Homepage: http://serverstats.berlios.de/
Maintainer: Bjoern Boschman
Build-Depends: debhelper (>= 5), cdbs
Standards-Version: 3.9.2
Package: serverstats
Architecture: all
Depends: ${misc:Depends}, apache2 | httpd, rrdtool, php5, php5-cli
Recommends: php5-mysql, php5-snmp, php5-gd, php5-imap, php5-mcrypt
Description: a simple tool for creating graphs using rrdtool
Serverstats is a simple web based tool for creating performance
graphs using rrdtool. It does not need any kind of database.
So it is an small and efficient alternative for the cacti
frontend.
debian/docs 0000644 0000000 0000000 00000000134 11550356017 010042 0 ustar doc/faq.txt
doc/graph-config.txt
doc/simple-config.txt
doc/sources.txt
debian/README.Debian
debian/README.Debian 0000644 0000000 0000000 00000000632 11550356017 011233 0 ustar How to enable serverstats for Apache:
=====================================
You just have to copy the /usr/share/doc/serverstats/examples/apache.conf to
your Apaches configuration dir /etc/apache2/conf.d/.
After that you just have to reload your servers configuration and access
serverstats about http://localhost/serverstats.
-- Patrick Matthäi Thu, 26 Mar 2009 11:36:02 +0200
debian/patches/ 0000755 0000000 0000000 00000000000 11550356017 010620 5 ustar debian/patches/03-do_not_define_syslog_variabes.diff 0000644 0000000 0000000 00000001241 11550356017 017740 0 ustar # Do not define the syslog variables about a deprecated function, which is not needed here.
# Closes Debian bug: #574344
diff -Naur serverstats-0.8.2.orig//includes/logger_syslog.class.php serverstats-0.8.2/includes/logger_syslog.class.php
--- serverstats-0.8.2.orig//includes/logger_syslog.class.php 2007-12-03 15:04:48.000000000 +0100
+++ serverstats-0.8.2/includes/logger_syslog.class.php 2010-04-09 22:43:47.000000000 +0200
@@ -27,7 +27,7 @@
{
public function __construct($ident = 'Serverstats', $options = null, $facility = null)
{
- define_syslog_variables();
+// define_syslog_variables();
if (!isset($options))
{
$options = LOG_ODELAY || LOG_PID;
debian/patches/02-fix_rrd_generation.diff 0000644 0000000 0000000 00000000756 11550356017 015551 0 ustar # Change parameter for autoscaling. Closes: #571964
diff -Naur serverstats-0.8.2.orig//includes/rrdgraph.class.php serverstats-0.8.2/includes/rrdgraph.class.php
--- serverstats-0.8.2.orig//includes/rrdgraph.class.php 2007-12-03 15:04:48.000000000 +0100
+++ serverstats-0.8.2/includes/rrdgraph.class.php 2010-03-16 19:27:04.000000000 +0100
@@ -319,7 +319,7 @@
}
if ($this->altAutoscaleMax)
{
- $params .= ' -M ';
+ $params .= ' --alt-autoscale-max ';
}
if ($this->lazy)
{
debian/patches/series 0000644 0000000 0000000 00000000173 11550356017 012036 0 ustar 01-fix_mysql5.1_status.diff
02-fix_rrd_generation.diff
03-do_not_define_syslog_variabes.diff
04-changed-ping-response.diff
debian/patches/01-fix_mysql5.1_status.diff 0000644 0000000 0000000 00000001072 11550356017 015532 0 ustar # Fix query for the number of questions in MySQL 5.1.
diff -Naur serverstats-0.8.2.orig/sources/mysql.php serverstats-0.8.2/sources/mysql.php
--- serverstats-0.8.2.orig/sources/mysql.php 2009-08-22 14:10:53.000000000 +0200
+++ serverstats-0.8.2/sources/mysql.php 2009-08-22 14:11:44.000000000 +0200
@@ -51,7 +51,7 @@
public function refreshData()
{
// Questions
- $sql = "SHOW STATUS LIKE 'QUESTIONS';";
+ $sql = "SHOW GLOBAL STATUS LIKE 'QUESTIONS';";
$result = mysql_query($sql, $this->db);
$data = mysql_fetch_row($result);
$questions = $data[1];
debian/patches/04-changed-ping-response.diff 0000644 0000000 0000000 00000001354 11550356017 016056 0 ustar # The output of /bin/ping has been changed with the consequence, that the
# regexp does not match anymore. Much thanks for fixing this bug to
# Benedikt Marquadt .
# Closes: #596263
diff -Naur serverstats-0.8.2.orig/sources/ping.php serverstats-0.8.2/sources/ping.php
--- serverstats-0.8.2.orig/sources/ping.php 2007-12-03 15:04:48.000000000 +0100
+++ serverstats-0.8.2/sources/ping.php 2010-10-30 19:44:15.000000000 +0200
@@ -57,7 +57,7 @@
foreach ($output as $line)
{
$matches = array();
- if (preg_match('/^.*icmp_seq=.+ttl=.+time=([0-9\.]+) ms$/', $line, $matches))
+ if (preg_match('/^.*icmp_req=.+ttl=.+time=([0-9\.]+) ms$/', $line, $matches))
{
$this->ping_time = $matches[1];
break;
debian/compat 0000644 0000000 0000000 00000000002 11550356017 010367 0 ustar 5
debian/rules 0000755 0000000 0000000 00000001557 11550356017 010261 0 ustar #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
# Add here any variable or target overrides you need.
DEB_FIXPERMS_EXCLUDE := serverstats
common-binary-post-install-indep::
find debian/serverstats/usr/share/serverstats/ -type d -exec chmod 0755 {} \;
find debian/serverstats/usr/share/serverstats/ -type f -exec chmod 0644 {} \;
find debian/serverstats/usr/share/serverstats/sources/external/ -type f -name \*.pl -exec chmod 0755 {} \;
find debian/serverstats/usr/share/serverstats/sources/ -type f -name \*.sh -exec chmod 0755 {} \;
chmod 0755 debian/serverstats/usr/share/serverstats/update.php
chown nobody:nogroup debian/serverstats/var/lib/serverstats/cache
chown nobody:nogroup debian/serverstats/var/lib/serverstats/rrd
chown www-data:www-data debian/serverstats/var/lib/serverstats/graph
cp config.sample/* debian/serverstats/etc/serverstats/
debian/cron.d 0000644 0000000 0000000 00000000306 11550356017 010276 0 ustar # Update the serverstatistic every minute.
* * * * * nobody if [ -x /usr/bin/php5 ] && [ -f /usr/share/serverstats/update.php ]; then /usr/bin/php5 /usr/share/serverstats/update.php > /dev/null; fi
debian/changelog 0000644 0000000 0000000 00000006743 11556267066 011070 0 ustar serverstats (0.8.2-10) unstable; urgency=low
* Adopted serverstats (Closes: #622166)
-- Bjoern Boschman Thu, 28 Apr 2011 15:39:49 +0200
serverstats (0.8.2-9) unstable; urgency=low
* Bump Standards-Version to 3.9.2 (no changes needed).
* Set maintainer to the Debian QA Group.
-- Patrick Matthäi Sun, 10 Apr 2011 18:31:12 +0200
serverstats (0.8.2-8) unstable; urgency=low
* Add patch 04-changed-ping-response.diff, which fixes the regexpression for
the changed ping output. Much thanks to Benedikt Marquadt
for fixing that!
Closes: #596263
* Bump Standards-Version to 3.9.1 (no changes needed).
-- Patrick Matthäi Sat, 30 Oct 2010 19:51:35 +0200
serverstats (0.8.2-7) unstable; urgency=low
* Add patch 03-do_not_define_syslog_variabes.diff from Elmar Athmer
, to prevent serverstats spamming the cronjob log.
Closes: #574344
-- Patrick Matthäi Fri, 09 Apr 2010 22:48:37 +0200
serverstats (0.8.2-6) unstable; urgency=low
* Bump Standards-Version to 3.8.4 (no changes needed).
* Convert package to the 3.0 (quilt) format.
* Add patch 02-fix_rrd_generation.diff, which workarounds the broken
generation in the rrd class.
Closes: #571964
-- Patrick Matthäi Tue, 16 Mar 2010 19:29:49 +0100
serverstats (0.8.2-5) unstable; urgency=low
* Bump Standards-Version to 3.8.3 (no changes needed).
* Add 01-fix_mysql5.1_status.diff which fixes the STATUS query for MySQL 5.1.
Thanks to Ralf Hildebrandt.
Closes: #542946
-- Patrick Matthäi Sat, 22 Aug 2009 14:15:34 +0200
serverstats (0.8.2-4) unstable; urgency=low
* Change my email address.
* Remove DM-Upload-Allowed control field.
* Refer in debian/copyright to the GPL-2 and to the LGPL-2.1 file finstead of
their symlinks.
Thanks lintian.
-- Patrick Matthäi Thu, 23 Apr 2009 13:20:42 +0200
serverstats (0.8.2-3) unstable; urgency=low
[ Bjoern Boschman ]
* Removed /var/www/serverstats symlink to get Lintian clean.
[ Patrick Matthäi ]
* Bump Standards-Version to 3.8.1 (no changes needed).
* Add missing ${misc:Depends}. Thanks lintian.
* Add recommends on php5-{mysql,snmp,gd,imap,mcrypt} packages.
Closes: #518084
* Add README.Debian which describes briefly how to enable serverstats
for the Apache webserver.
* Add the DM-Upload-Allowed control field.
* Refresh debian/copyright.
* Drop dependencie on mysql-client in flavour of the php5-mysql recommends.
* Fix copyright-with-old-dh-make-debian-copyright.
-- Patrick Matthäi Thu, 26 Mar 2009 11:36:02 +0200
serverstats (0.8.2-2) unstable; urgency=low
* Fixed crontest failure.
Closes: #461573
-- Bjoern Boschman Sat, 19 Jan 2008 20:58:53 +0100
serverstats (0.8.2-1) unstable; urgency=low
* New upstream release.
* debian/copyright:
- The license of some files has been changed from GPL to LGPL.
- Some visuable changes.
* debian/serverstats.install:
- Prevent the installation of the new LICENSE file in the cacti directory.
- Removed useless README from the cacti directory.
-- Patrick Matthäi Wed, 2 Jan 2008 23:30:00 +0100
serverstats (0.8-1) unstable; urgency=low
* Initial release.
Closes: #450701
-- Bjoern Boschman Mon, 10 Dec 2007 23:59:34 +0100
debian/serverstats.examples 0000644 0000000 0000000 00000000116 11550356017 013314 0 ustar debian/apache.conf
sources/traffic/iptables.sample
sources/traffic/traffic.sh
debian/source/ 0000755 0000000 0000000 00000000000 11550356017 010471 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11550356017 011677 0 ustar 3.0 (quilt)
debian/conffile 0000644 0000000 0000000 00000000022 11550356017 010673 0 ustar etc/serverstats/*
debian/serverstats.install 0000644 0000000 0000000 00000001017 11550356017 013145 0 ustar includes usr/share/serverstats/
lang usr/share/serverstats/
sources/*.php usr/share/serverstats/sources/
sources/external/cacti/*.sh usr/share/serverstats/sources/external/cacti/
sources/external/cacti/*.pl usr/share/serverstats/sources/external/cacti/
sources/external/cacti/*.php usr/share/serverstats/sources/external/cacti/
detail.php usr/share/serverstats/
graph.php usr/share/serverstats/
index.php usr/share/serverstats/
init.php usr/share/serverstats/
style.css usr/share/serverstats/
update.php usr/share/serverstats/
debian/serverstats.links 0000644 0000000 0000000 00000000313 11550356017 012615 0 ustar etc/serverstats usr/share/serverstats/config
var/lib/serverstats/cache usr/share/serverstats/cache
var/lib/serverstats/graph usr/share/serverstats/graph
var/lib/serverstats/rrd usr/share/serverstats/rrd