debian/0000775000000000000000000000000011735426100007167 5ustar debian/mrtg-rrd.conf0000664000000000000000000000001611735423150011573 0ustar /etc/mrtg.cfg debian/compat0000664000000000000000000000000211735423150010367 0ustar 5 debian/docs0000664000000000000000000000001111735423150010034 0ustar FAQ TODO debian/rules0000775000000000000000000000041311735425043010252 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk binary-install/mrtg-rrd:: install -m755 mrtg-rrd.cgi $(DEB_DESTDIR)/usr/lib/cgi-bin install -m644 debian/mrtg-rrd.conf $(CURDIR)/debian/mrtg-rrd/etc debian/changelog0000664000000000000000000000260311735424412011046 0ustar mrtg-rrd (0.7-5) unstable; urgency=low * Bump Standards-Version to 3.9.3 * Move repository to svn.debian.org - svn://svn.debian.org/svn/collab-maint/deb-maint/mrtg-rrd * Change source format to 3.0 (quilt) -- Taku YASUI Sat, 31 Mar 2012 06:43:25 +0900 mrtg-rrd (0.7-4) unstable; urgency=low * Add "Suggests: rrdtool" to debian/control * Write notification when the user want to use "LogFormat: rrdtool" (closes: #576075) -- Taku YASUI Sun, 14 Nov 2010 00:57:33 +0900 mrtg-rrd (0.7-3) unstable; urgency=low * Change Priority: extra -- Taku YASUI Tue, 21 Apr 2009 14:25:22 +0900 mrtg-rrd (0.7-2) unstable; urgency=low * Change maintainer email address: tach@debian.org * New Standards-Version: 3.8.1 * Update debhelper compat version: 5 * New style debian/copyright format http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=454 * Add debian/watch file -- Taku YASUI Tue, 21 Apr 2009 12:27:42 +0900 mrtg-rrd (0.7-1) unstable; urgency=low * New upstream release * Change to use cdbs * Fix FSF address on copyright * Upload to Debian archive (closes: #181442) -- Taku YASUI Thu, 29 Sep 2005 04:09:59 +0900 mrtg-rrd (0.5-1) unstable; urgency=low * Initial Release. -- Taku YASUI Sun, 2 Feb 2003 18:40:39 +0900 debian/dirs0000664000000000000000000000002411735423150010051 0ustar etc usr/lib/cgi-bin debian/control0000664000000000000000000000132211735425360010577 0ustar Source: mrtg-rrd Section: web Priority: extra Maintainer: Taku YASUI Build-Depends: cdbs, debhelper (>= 5), quilt Homepage: http://www.fi.muni.cz/~kas/mrtg-rrd/ Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/mrtg-rrd Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/mrtg-rrd Package: mrtg-rrd Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, mrtg, librrds-perl Suggests: rrdtool Description: Generating graphs for MRTG statistics (CGI) mrtg-rrd is a replacement for the 14all.cgi script distributed in the MRTG contrib directory. It is the script which can generate on-the-fly HTML output and graph images from the MRTG statistics. debian/patches/0000775000000000000000000000000011735426100010616 5ustar debian/patches/series0000664000000000000000000000002411735424653012042 0ustar 010_use_config_file debian/patches/010_use_config_file0000664000000000000000000000114611735424703014252 0ustar --- a/mrtg-rrd.cgi +++ b/mrtg-rrd.cgi @@ -39,8 +39,17 @@ use vars qw(@config_files @all_config_files %targets $config_time %directories $version $imagetype); -# EDIT THIS to reflect all your MRTG config files -BEGIN { @config_files = qw(/home/fadmin/mrtg/cfg/mrtg.cfg); } +BEGIN { + my $conffile = "/etc/mrtg-rrd.conf"; + $conffile = "mrtg-rrd.conf" if ( -e "mrtg-rrd.conf" ); + $conffile = $ENV{"MRTGRRDCONF"} if ( $ENV{"MRTGRRDCONF"} ); + open CONF, $conffile or die "Cannot open mrtg-rrd.conf"; + while () { + chop $_; + push @config_files, $_; + } +close CONF; +} $version = '0.7'; debian/README.Debian0000664000000000000000000000115211735423150011231 0ustar mrtg-rrd for Debian ------------------- = Configure = 1. add path of your mrtg.cfg to /etc/mrtg-rrd.conf. (1 path per line) 2. access http://hostname/cgi-bin/mrtg-rrd.cgi = Run as different paths = 1. copy or symlink /usr/lib/cgi-bin/mrtg-rrd.cgi 2. add path of your mrtg.cfg to mrtg-rrd.conf at current (cgi is placeed) direcroty. Or set MRTGRRDCONF environmental variable include your mrtg-rrd.conf path. 3. access the cgi = Using "LogFormat: rrdtool" = You need to install "rrdtool" package if you want to use "LogFormat: rrdtool". -- Taku YASUI , Sun, 14 Nov 2010 00:54:22 +0900 debian/README.source0000664000000000000000000000353511735425240011360 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/copyright0000664000000000000000000000140111735423150011120 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=454 Upstream-Maintainer: Jan "Yenya" Kasprzak Upstream-Source: http://www.fi.muni.cz/~kas/mrtg-rrd/ Upstream-Name: mrtg-rrd Files: * Copyright: Jan "Yenya" Kasprzak License: GPL-2+ 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; either version 2, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2' Files: debian/* Copyright: 2009, Taku YASUI License: GPL-2+ debian/watch0000664000000000000000000000037311735423150010225 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search ftp://ftp.linux.cz/pub/linux/people/jan_kasprzak/mrtg-rrd/ .*\bmrtg-rrd-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/source/0000775000000000000000000000000011735426100010467 5ustar debian/source/format0000664000000000000000000000001411735426007011703 0ustar 3.0 (quilt)