debian/0000755000000000000000000000000012206420400007154 5ustar debian/source/0000755000000000000000000000000011317110174010462 5ustar debian/source/format0000644000000000000000000000001411317110174011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017711571714736010240 0ustar # Compulsory line, this is a version 3 file version=3 http://people.cs.uu.nl/henkp/mirmon/mirmon-(.*)\.tar\.gz debian uupdate debian/patches/0000755000000000000000000000000012110155150010604 5ustar debian/patches/trace-UTC_timestamps0000644000000000000000000000241612064426727014552 0ustar convert non-numeric timestamp to numeric one Index: mirmon-2.7/Mirmon.pm =================================================================== --- mirmon-2.7.orig/Mirmon.pm 2012-12-15 18:27:03.000000000 +0900 +++ mirmon-2.7/Mirmon.pm 2012-12-20 06:12:34.614435881 +0900 @@ -1541,6 +1541,14 @@ else { $res = ( split ' ', $res ) [ 0 ] ; +# Debian repository mirrors' timestamp is like "Thu Sep 6 08:00:01 UTC 2007", +# so we need to hack this. + + if ( $res !~ /^[0-9]*$/ ) + { $res = `date --date "$res" +%s` ; + $res =~ s/\n// ; + } + if ( $res !~ /^\d+$/ ) { $res =~ s/ /_/g ; $res = Base::htmlquote $res ; Index: mirmon-2.7/mirmon =================================================================== --- mirmon-2.7.orig/mirmon 2012-12-20 06:12:34.602435856 +0900 +++ mirmon-2.7/mirmon 2012-12-20 06:12:34.614435881 +0900 @@ -1541,6 +1541,14 @@ else { $res = ( split ' ', $res ) [ 0 ] ; +# Debian repository mirrors' timestamp is like "Thu Sep 6 08:00:01 UTC 2007", +# so we need to hack this. + + if ( $res !~ /^[0-9]*$/ ) + { $res = `date --date "$res" +%s` ; + $res =~ s/\n// ; + } + if ( $res !~ /^\d+$/ ) { $res =~ s/ /_/g ; $res = Base::htmlquote $res ; debian/patches/series0000644000000000000000000000002512110155150012016 0ustar trace-UTC_timestamps debian/copyright0000644000000000000000000000253012206420400011107 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mirmon Source: http://www.staff.science.uu.nl/~penni101/mirmon/ Files: * Copyright: 2003-2012 Henk Penning License: MIT Files: debian/* Copyright: 2007-2012 Hideki Yamane License: MIT License: MIT 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. debian/compat0000644000000000000000000000000211317075141010364 0ustar 7 debian/mirmon.doc-base0000644000000000000000000000034011327545002012062 0ustar Document: mirmon Title: mirmon Author: Henk Penning Abstract: mirmon manual page Section: Network/Monitoring Format: HTML Files: /usr/share/doc/mirmon/mirmon.html Index: /usr/share/doc/mirmon/mirmon.html debian/postinst0000644000000000000000000000202311041562652010773 0ustar #!/bin/sh # postinst script for mirmon # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) if [ ! -f /var/lib/mirmon/state ]; then touch /var/lib/mirmon/state fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/mirmon.examples0000644000000000000000000000002111317242554012224 0ustar debian/example/* debian/rules0000755000000000000000000000020111765105300010235 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ override_dh_installchangelogs: dh_installchangelogs $(CURDIR)/RELEASE-NOTES debian/cron.hourly0000644000000000000000000000026011046030754011371 0ustar #!/bin/sh -e # # Regular cron jobs for the mirmon package # SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin [ -x /usr/bin/mirmon ] || exit 0 /usr/bin/mirmon -q -get update debian/README.Debian0000644000000000000000000000060611037427005011230 0ustar mirmon for Debian ----------------- mirmon data spools /var/lib/mirmon directory. You can see locally or just link against somewhere your public web server directory. By default, this package generates all official Debian mirror state. You should edit /etc/mirmon.conf file to make what you want. -- Hideki Yamane (Debian-JP) Tue, 17 Jul 2008 02:22:44 +0900 debian/docs0000644000000000000000000000010211521537524010037 0ustar mirmon.txt mirmon.html mirmon.pm.html mirmon.pm.txt RELEASE-NOTES debian/mirmon.conf0000644000000000000000000000102511037425620011334 0ustar # for detail, see its manual page. countries /usr/share/mirmon/countries.list timeout 30 # example for Debian mirror project_name Debian project_url http://www.debian.org/ project_logo http://www.debian.org/logos/openlogo-nd-50.png mirror_list /usr/share/doc/mirmon/examples/debian_mirror_list probe /usr/bin/wget -q -O - -T %TIMEOUT% -t 1 %URL%project/trace/ftp-master.debian.org state /var/lib/mirmon/state web_page /var/lib/mirmon/debian-mirror-check.html # about icons' location, see sample apache configuration icons icons debian/mirmon.manpages0000644000000000000000000000002511521537454012210 0ustar mirmon.1 mirmon.pm.1 debian/mirmon.install0000644000000000000000000000021612167710122012055 0ustar debian/mirmon.conf etc/ probe usr/bin mirmon usr/bin Mirmon.pm usr/share/perl5 countries.list usr/share/mirmon icons usr/share/mirmon debian/changelog0000644000000000000000000001746512206420267011056 0ustar mirmon (2.9-1) unstable; urgency=low * New upstream release -- Hideki Yamane Mon, 26 Aug 2013 00:19:22 +0900 mirmon (2.8-3) unstable; urgency=low * debian/mirmon.install - change Mirmon.pm location -- Hideki Yamane Fri, 12 Jul 2013 14:12:52 +0900 mirmon (2.8-2) unstable; urgency=low * Upload to unstable -- Hideki Yamane Mon, 06 May 2013 20:01:06 +0900 mirmon (2.8-1) experimental; urgency=low * New upstream release * debian/patches - drop fix_spelling_error.patch and fix_crontab_entry_manpage.patch since they are merged to upstream, Thanks! -- Hideki Yamane Sun, 17 Feb 2013 22:26:37 +0900 mirmon (2.7-1) experimental; urgency=low * New upstream release * debian/copyright - update to copyright format 1.0 - update upstream information * remove unnecessary debian/README.source file -- Hideki Yamane Thu, 20 Dec 2012 05:59:38 +0900 mirmon (2.6-2) unstable; urgency=low * debian/patches - remove unnecessary debian-changes-2.4-1 patch. - add fix_spelling_error.patch to fix spelling error. - add fix_crontab_entry_manpage.patch (Closes: #676672) Thanks to Yaroslav Halchenko * debian/rules - install RELEASE-NOTES as upstream changelog file -- Hideki Yamane Sun, 10 Jun 2012 20:42:37 +0900 mirmon (2.6-1) unstable; urgency=low * New upstream release -- Hideki Yamane Tue, 29 May 2012 18:15:09 +0900 mirmon (2.5-1) unstable; urgency=low * New upstream release * debian/control - set "Standartds-Version: 3.9.3" with no change -- Hideki Yamane Wed, 28 Mar 2012 06:28:46 +0900 mirmon (2.4-2) unstable; urgency=low * debian/install - don't install mirmon.pl. Thanks to lintian. * debina/rules - remove quilt option * debian/control - remove quilt from Build-Depends. - set Standards-Version: 3.9.2 -- Hideki Yamane Thu, 02 Jun 2011 23:06:09 +0900 mirmon (2.4-1) unstable; urgency=low * New upstream release - now the code is modularised, see RELEASE-NOTES file * debian/patches - deal with upstream change, once remove all patches - recreate trace-UTC_timestamps * debian/mirmon.install - add probe, Mirmon.pm, mirmon.pl * debian/docs - add RELEASE-NOTES * debian/{rules,mirmon.1} - remove related stuff since upstream now includes mirmon.1 * debian/mirmon.manpages - use upstream manpage file * debian/postrm - remove mirror state in purge only -- Hideki Yamane Mon, 31 Jan 2011 23:04:50 +0900 mirmon (1.38-13) unstable; urgency=low * debian/control - remove "DM-Upload-Allowed" and update maintainer email address - Bump up to "Standards-Version: 3.9.1" * debian/watch - update it -- Hideki Yamane Mon, 31 Jan 2011 22:34:00 +0900 mirmon (1.38-12) unstable; urgency=low * debian/control - improve "Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~)" - set Standards-Vesion: 3.8.4 -- Hideki Yamane (Debian-JP) Sat, 01 May 2010 00:16:10 +0900 mirmon (1.38-11) unstable; urgency=low * debian/mirmon.doc-base - add it. -- Hideki Yamane (Debian-JP) Tue, 26 Jan 2010 19:55:27 +0900 mirmon (1.38-10) unstable; urgency=low * move lines from rules to each files (.manpages, .examples and .install). -- Hideki Yamane (Debian-JP) Fri, 01 Jan 2010 09:45:37 +0900 mirmon (1.38-9) unstable; urgency=low * use debhelper7 * switch from dpatch to quilt (I like dpatch but dh is familiar with quilt). * use source format 3.0 (quilt) * debian/control: - add "Depends: ${misc:Depends}" - move httpd from "Recommends:" to "Suggests:" -- Hideki Yamane (Debian-JP) Thu, 31 Dec 2009 20:52:32 +0900 mirmon (1.38-8) unstable; urgency=low * debian/README.sources - fix "patch-system-but-no-source-readme" * debian/control - Bump up Standards-Version 3.8.3 with no changes -- Hideki Yamane (Debian-JP) Fri, 28 Aug 2009 04:57:50 +0900 mirmon (1.38-7) unstable; urgency=low * debian/copyright - fix "copyright-with-old-dh-make-debian-copyright" * debian/control - fix "build-depends-without-arch-dep", add Build-Depends-Indep: perl -- Hideki Yamane (Debian-JP) Sun, 22 Feb 2009 03:54:03 +0900 mirmon (1.38-6) unstable; urgency=low * debian/cron.hourly - mv cron.d cron.hourly, because it causes cron error. Thanks to Filippo Giunchedi (closes: #493336). -- Hideki Yamane (Debian-JP) Tue, 05 Aug 2008 19:51:41 +0900 mirmon (1.38-5) unstable; urgency=low * debian/postinst,postrm - not use /srv dir, it's mistake. use /var/lib/mirmon -- Hideki Yamane (Debian-JP) Wed, 23 Jul 2008 17:04:18 +0900 mirmon (1.38-4) unstable; urgency=low * Now really close ITP (closes: #442381). * debian/control - Bump up Standard version 3.8.0. - add "Homepage:" line - add "DM-Upload-Allowed: yes" * fix lintian error "dir-or-file-in-var-www var/www/mirmon/" - /var/www/mirmon -> /var/lib/mirmon * debian/patches - add patch descriptions. -- Hideki Yamane (Debian-JP) Tue, 08 Jul 2008 02:22:44 +0900 mirmon (1.38-3) unstable; urgency=low * debian/example/debian_mirror_jp - remove some servers entry. -- Hideki Yamane (Debian-JP) Sat, 20 Oct 2007 11:46:13 +0900 mirmon (1.38-2) unstable; urgency=low * debian/rules, debian/copyright, debian/watch - remove unneeded comments and lines. * debian/rules - removing man in clean target * Thanks to Patrick Schoenfeld for those suggestions. -- Hideki Yamane (Debian-JP) Mon, 17 Sep 2007 11:17:25 +0900 mirmon (1.38-1) unstable; urgency=low * Upload to mentors. -- Hideki Yamane (Debian-JP) Sun, 16 Sep 2007 01:40:26 +0900 mirmon (1.38-0+private8) unstable; urgency=low * debian/example - add apache2 configuration -- Hideki Yamane (Debian-JP) Tue, 11 Sep 2007 00:04:59 +0900 mirmon (1.38-0+private7) unstable; urgency=low * debian/example - add debian_mirror_list_jp and backports_mirror_list -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 11:22:38 +0900 mirmon (1.38-0+private6) unstable; urgency=low * debian/control - move perl-doc, httpd from Suggests to Recommends. -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 10:20:16 +0900 mirmon (1.38-0+private5) unstable; urgency=low * debian/patches - fix 02.trace-UTC_timestamps -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 09:56:13 +0900 mirmon (1.38-0+private4) unstable; urgency=low * debian/cron.d - fix to work * debian/postinst, debian/postrm - add /var/www/mirmon/state work -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 09:33:42 +0900 mirmon (1.38-0+private3) unstable; urgency=low * debian/example/debian_mirror_list - US site is provided by http.us.debian.org, not ftp.us.debian.org. - remove "project/trace/" from URI and move it to mirmon.conf. -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 02:01:40 +0900 mirmon (1.38-0+private2) unstable; urgency=low * debian/patches - add 02.trace-UTC_timestamps patch. -- Hideki Yamane (Debian-JP) Sun, 09 Sep 2007 01:28:07 +0900 mirmon (1.38-0+private1) unstable; urgency=low * Initial release. * debian/patches - add 01.perl-path to fix binary path. -- Hideki Yamane (Debian-JP) Sun, 26 Aug 2007 03:40:12 +0900 debian/dirs0000644000000000000000000000005511037425510010050 0ustar etc/ usr/bin usr/share/mirmon var/lib/mirmon debian/postrm0000644000000000000000000000200011521542171010424 0ustar #!/bin/sh # postrm script for mirmon # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; purge) if [ -f /var/lib/mirmon/state ]; then rm /var/lib/mirmon/state fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000644000000000000000000000113012064426474010575 0ustar Source: mirmon Section: web Priority: optional Maintainer: Hideki Yamane Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl Standards-Version: 3.9.4 Homepage: http://www.staff.science.uu.nl/~penni101/mirmon/ Package: mirmon Architecture: all Depends: perl, ${misc:Depends} Suggests: wget, httpd Recommends: perl-doc Description: monitor the state of mirrors Mirmon helps administrators in keeping an eye on the mirror sites. In a concise graphic format, mirmon shows each site's status history of the last two weeks. It is easy to spot stale or dead mirrors. debian/example/0000755000000000000000000000000010706265753010634 5ustar debian/example/mirror-apache2.conf0000644000000000000000000000075410671256265014323 0ustar ServerName debian-mirror.example.org ServerAdmin webmaster@debian-mirror.example.org DocumentRoot /var/www/mirmon/ Alias /icons/ "/usr/share/mirmon/icons/" ErrorLog /var/log/apache2/error-debian-mirror.example.org.log LogLevel warn CustomLog /var/log/apache2/access-debian-mirror.example.log combined ServerSignature Off debian/example/backports_mirror_list0000644000000000000000000000203110670655367015174 0ustar at http://debian.sil.at/backports.org/ at http://backports.debian.or.at/backports.org/ au http://mirror.linux.org.au/backports.org/ au http://mirror.pacific.net.au/linux/debian-backports/ be http://mirror.realroute.net/backports.org/ be http://backports.debian.skynet.be/ bg http://ftp.uni-sofia.bg/debian-backports/ bg http://backports.cisbg.com/ ca http://gulus.USherbrooke.ca/debian-backports/ ch http://backports.ethz.ch/mirror/backports.org/ ch http://mirror.switch.ch/ftp/mirror/backports.org/ de http://www.backports.org/backports.org/ de http://backports.linuxdediziert.de/backports.org/ de http://ftp.de.debian.org/backports.org/ de http://mirror.buildd.net/backports.org/ ee http://ftp.estpak.ee/backports.org/ gb http://www.uk.backports.org/ gb http://www.mirrorservice.org/sites/backports.org/ it http://debian.acantho.net/backports.org/ jp http://backports.mithril-linux.org/ nl http://backports.essentkabel.com/backports.org/ nl http://ftp.nl.debian.org/backports.org/ nl http://backports.sipo.nl/ sk http://ftp.tuke.sk/backports.org/ debian/example/debian_mirror_list0000644000000000000000000000242110670553107014416 0ustar au http://ftp.au.debian.org/debian/ at http://ftp.at.debian.org/debian/ br http://ftp.br.debian.org/debian/ bg http://ftp.bg.debian.org/debian/ cl http://ftp.cl.debian.org/debian/ hr http://ftp.hr.debian.org/debian/ cz http://ftp.cz.debian.org/debian/ dk http://ftp.dk.debian.org/debian/ ee http://ftp.ee.debian.org/debian/ fi http://ftp.fi.debian.org/debian/ fr http://ftp.fr.debian.org/debian/ de http://ftp.de.debian.org/debian/ hk http://ftp.hk.debian.org/debian/ hu http://ftp.hu.debian.org/debian/ is http://ftp.is.debian.org/debian/ ie http://ftp.ie.debian.org/debian/ it http://ftp.it.debian.org/debian/ jp http://ftp.jp.debian.org/debian/ kr http://ftp.kr.debian.org/debian/ mx http://ftp.mx.debian.org/debian/ nl http://ftp.nl.debian.org/debian/ nz http://ftp.nz.debian.org/debian/ no http://ftp.no.debian.org/debian/ pl http://ftp.pl.debian.org/debian/ pt http://ftp.pt.debian.org/debian/ ro http://ftp.ro.debian.org/debian/ ru http://ftp.ru.debian.org/debian/ sk http://ftp.sk.debian.org/debian/ si http://ftp.si.debian.org/debian/ es http://ftp.es.debian.org/debian/ se http://ftp.se.debian.org/debian/ ch http://ftp.ch.debian.org/debian/ tw http://ftp.tw.debian.org/debian/ tr http://ftp.tr.debian.org/debian/ uk http://ftp.uk.debian.org/debian/ us http://http.us.debian.org/debian/ debian/example/debian_mirror_jp0000644000000000000000000000260710706265753014071 0ustar jp http://cdn.debian.or.jp/debian/ jp http://ftp.jp.debian.org/debian/ jp ftp://ftp.jp.debian.org/debian/ jp http://ftp2.jp.debian.org/debian/ jp ftp://ftp2.jp.debian.org/debian/ jp http://dennou-h.gfd-dennou.org/debian/ jp ftp://dennou-h.gfd-dennou.org/debian/ jp http://dennou-k.gfd-dennou.org/debian/ jp ftp://dennou-k.gfd-dennou.org/debian/ jp http://dennou-q.gfd-dennou.org/debian/ jp ftp://dennou-q.gfd-dennou.org/debian/ jp ftp://ftp.dti.ad.jp/pub/Linux/debian/ jp http://ftp.dti.ad.jp/pub/Linux/debian/ jp ftp://debian.mis.hiroshima-u.ac.jp/debian/ jp http://aist.ring.gr.jp/pub/linux/debian/debian/ jp http://ring.nict.go.jp/pub/linux/debian/debian/ jp http://ring.shibaura-it.ac.jp/pub/linux/debian/debian/ jp http://ring.ocn.ad.jp/pub/linux/debian/debian/ jp http://ring.tains.tohoku.ac.jp/pub/linux/debian/debian/ jp http://ring.u-toyama.ac.jp/pub/linux/debian/debian/ jp http://ring.yamanashi.ac.jp/pub/linux/debian/debian/ jp http://ring.nihon-u.ac.jp/pub/linux/debian/debian/ jp http://ring.riken.jp/pub/linux/debian/debian/ jp http://ring.atr.jp/pub/linux/debian/debian/ jp http://ring.airnet.ne.jp/pub/linux/debian/debian/ jp http://ring.k-opti.com/pub/linux/debian/debian/ jp http://ring.maffin.ad.jp/pub/linux/debian/debian/ jp http://ring.sakura.ad.jp/pub/linux/debian/debian/ jp http://ring.ix.oita-u.ac.jp/archives/linux/debian/debian/ jp ftp://ftp.lab.kdd.co.jp/Linux/packages/Debian/debian/