pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/mirmon Import of mirmon 1.36.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a7903d594e8
branches:  trunk
changeset: 516454:2a7903d594e8
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Fri Jul 21 13:15:22 2006 +0000

description:
Import of mirmon 1.36.

Many software projects are mirrored worldwide. The mirror sites are
required to update the mirror archive regularly (daily, weekly) from
a root server.

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.

diffstat:

 misc/mirmon/DESCR             |    7 ++
 misc/mirmon/MESSAGE           |    8 +++
 misc/mirmon/Makefile          |   49 ++++++++++++++++++
 misc/mirmon/PLIST             |  111 ++++++++++++++++++++++++++++++++++++++++++
 misc/mirmon/distinfo          |    7 ++
 misc/mirmon/files/mirmon.conf |   86 ++++++++++++++++++++++++++++++++
 misc/mirmon/patches/patch-aa  |   12 ++++
 misc/mirmon/patches/patch-ab  |   82 +++++++++++++++++++++++++++++++
 8 files changed, 362 insertions(+), 0 deletions(-)

diffs (truncated from 394 to 300 lines):

diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/DESCR Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,7 @@
+Many software projects are mirrored worldwide. The mirror sites are
+required to update the mirror archive regularly (daily, weekly) from
+a root server.
+
+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.
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/MESSAGE       Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+
+Mirmon needs a configuration file. For an example, see
+
+  ${PREFIX}/share/examples/mirmon/mirmon.conf
+
+===========================================================================
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/Makefile      Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+#
+
+DISTNAME=              mirmon-1.36
+CATEGORIES=            misc
+MASTER_SITES=          http://www.cs.uu.nl/people/henkp/mirmon/src/
+
+MAINTAINER=            heinz%NetBSD.org@localhost
+HOMEPAGE=              http://www.cs.uu.nl/people/henkp/mirmon/
+COMMENT=               Monitor the state of mirror servers
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+REPLACE_PERL+=         mirmon
+USE_TOOLS+=            perl:run pod2man
+USE_LANGUAGES=         # empty
+
+EG_DIR=                        ${PREFIX}/share/examples/mirmon
+MIRMONDIR=             ${PREFIX}/share/mirmon
+
+SUBST_CLASSES+=                mirmon1 mirmon2
+
+SUBST_STAGE.mirmon1=   pre-configure
+SUBST_FILES.mirmon1=   mirmon
+SUBST_SED.mirmon1+=    -e s!/etc/!${PKG_SYSCONFDIR}/!g
+SUBST_SED.mirmon1+=    -e s!/sw/!${LOCALBASE}/!g
+
+SUBST_STAGE.mirmon2=   pre-configure
+SUBST_FILES.mirmon2=   ${WRKDIR}/mirmon.conf
+SUBST_SED.mirmon2+=    -e s!@@MIRMONDIR@@!${MIRMONDIR}!g
+
+post-extract:
+       ${CP} ${FILESDIR}/mirmon.conf ${WRKDIR}
+
+do-build:
+       cd ${WRKSRC} && ${POD2MAN} mirmon > ${WRKDIR}/mirmon.1
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKDIR}/mirmon.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA_DIR} ${EG_DIR}
+       ${INSTALL_DATA} ${WRKDIR}/mirmon.conf ${EG_DIR}
+       ${INSTALL_DATA_DIR} ${MIRMONDIR}
+       ${INSTALL_DATA} ${WRKSRC}/countries.list ${MIRMONDIR}
+       ${INSTALL_DATA_DIR} ${MIRMONDIR}/icons
+       cd ${WRKSRC}/icons && \
+        for f in *; do ${INSTALL_DATA} $${f} ${MIRMONDIR}/icons; done
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/PLIST Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+bin/mirmon
+man/man1/mirmon.1
+share/examples/mirmon/mirmon.conf
+share/mirmon/countries.list
+share/mirmon/icons/bar.gif
+share/mirmon/icons/mirmon.gif
+share/mirmon/icons/mirmon_b.gif
+share/mirmon/icons/mirmon_f.gif
+share/mirmon/icons/mirmon_s.gif
+share/mirmon/icons/mirmon_z.gif
+share/mirmon/icons/mmb01.gif
+share/mirmon/icons/mmb02.gif
+share/mirmon/icons/mmb03.gif
+share/mirmon/icons/mmb04.gif
+share/mirmon/icons/mmb05.gif
+share/mirmon/icons/mmb06.gif
+share/mirmon/icons/mmb07.gif
+share/mirmon/icons/mmb08.gif
+share/mirmon/icons/mmb09.gif
+share/mirmon/icons/mmb10.gif
+share/mirmon/icons/mmb11.gif
+share/mirmon/icons/mmb12.gif
+share/mirmon/icons/mmb13.gif
+share/mirmon/icons/mmb14.gif
+share/mirmon/icons/mmf01.gif
+share/mirmon/icons/mmf02.gif
+share/mirmon/icons/mmf03.gif
+share/mirmon/icons/mmf04.gif
+share/mirmon/icons/mmf05.gif
+share/mirmon/icons/mmf06.gif
+share/mirmon/icons/mmf07.gif
+share/mirmon/icons/mmf08.gif
+share/mirmon/icons/mmf09.gif
+share/mirmon/icons/mmf10.gif
+share/mirmon/icons/mmf11.gif
+share/mirmon/icons/mmf12.gif
+share/mirmon/icons/mmf13.gif
+share/mirmon/icons/mmf14.gif
+share/mirmon/icons/mms01.gif
+share/mirmon/icons/mms02.gif
+share/mirmon/icons/mms03.gif
+share/mirmon/icons/mms04.gif
+share/mirmon/icons/mms05.gif
+share/mirmon/icons/mms06.gif
+share/mirmon/icons/mms07.gif
+share/mirmon/icons/mms08.gif
+share/mirmon/icons/mms09.gif
+share/mirmon/icons/mms10.gif
+share/mirmon/icons/mms11.gif
+share/mirmon/icons/mms12.gif
+share/mirmon/icons/mms13.gif
+share/mirmon/icons/mms14.gif
+share/mirmon/icons/mmsb01.gif
+share/mirmon/icons/mmsb02.gif
+share/mirmon/icons/mmsb03.gif
+share/mirmon/icons/mmsb04.gif
+share/mirmon/icons/mmsb05.gif
+share/mirmon/icons/mmsb06.gif
+share/mirmon/icons/mmsb07.gif
+share/mirmon/icons/mmsb08.gif
+share/mirmon/icons/mmsb09.gif
+share/mirmon/icons/mmsb10.gif
+share/mirmon/icons/mmsb11.gif
+share/mirmon/icons/mmsb12.gif
+share/mirmon/icons/mmsb13.gif
+share/mirmon/icons/mmsb14.gif
+share/mirmon/icons/mmsbf01.gif
+share/mirmon/icons/mmsbf02.gif
+share/mirmon/icons/mmsbf03.gif
+share/mirmon/icons/mmsbf04.gif
+share/mirmon/icons/mmsbf05.gif
+share/mirmon/icons/mmsbf06.gif
+share/mirmon/icons/mmsbf07.gif
+share/mirmon/icons/mmsbf08.gif
+share/mirmon/icons/mmsbf09.gif
+share/mirmon/icons/mmsbf10.gif
+share/mirmon/icons/mmsbf11.gif
+share/mirmon/icons/mmsbf12.gif
+share/mirmon/icons/mmsbf13.gif
+share/mirmon/icons/mmsf01.gif
+share/mirmon/icons/mmsf02.gif
+share/mirmon/icons/mmsf03.gif
+share/mirmon/icons/mmsf04.gif
+share/mirmon/icons/mmsf05.gif
+share/mirmon/icons/mmsf06.gif
+share/mirmon/icons/mmsf07.gif
+share/mirmon/icons/mmsf08.gif
+share/mirmon/icons/mmsf09.gif
+share/mirmon/icons/mmsf10.gif
+share/mirmon/icons/mmsf11.gif
+share/mirmon/icons/mmsf12.gif
+share/mirmon/icons/mmsf13.gif
+share/mirmon/icons/mmsf14.gif
+share/mirmon/icons/mmz01.gif
+share/mirmon/icons/mmz02.gif
+share/mirmon/icons/mmz03.gif
+share/mirmon/icons/mmz04.gif
+share/mirmon/icons/mmz05.gif
+share/mirmon/icons/mmz06.gif
+share/mirmon/icons/mmz07.gif
+share/mirmon/icons/mmz08.gif
+share/mirmon/icons/mmz09.gif
+share/mirmon/icons/mmz10.gif
+share/mirmon/icons/mmz11.gif
+share/mirmon/icons/mmz12.gif
+share/mirmon/icons/mmz13.gif
+share/mirmon/icons/mmz14.gif
+@dirrm share/examples/mirmon
+@dirrm share/mirmon/icons
+@dirrm share/mirmon
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/distinfo      Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+
+SHA1 (mirmon-1.36.tar.gz) = 035e4e2d125c4d260a9348c1c29cc7365afdefbf
+RMD160 (mirmon-1.36.tar.gz) = d40d7843c4291afe33a788df4a719c1470bc87e3
+Size (mirmon-1.36.tar.gz) = 25858 bytes
+SHA1 (patch-aa) = 8a6c586269d4c08ed8fb97856d0bbd94f18a3141
+SHA1 (patch-ab) = bf7f76576b8ed125b1476b7a30e9b883819b4169
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/files/mirmon.conf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/files/mirmon.conf     Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,86 @@
+####################################################################
+## lines that start with '#' are comment
+## blank lines are ignored too
+## tabs are replaced by a space
+#
+## the config entries are 'key' and 'value' pairs
+## a 'key' begins in column 1
+## the 'value' is the rest of the line
+#somekey  A_val B_val ...
+#otherkey X_val Y_val ...
+#
+## indented lines are glued
+## the next three lines mean 'somekey part1 part2 part3'
+#somekey part1
+#  part2
+#  part3
+#
+## lines starting with a '+' are concatenated
+## the next three lines mean 'somekey part1part2part3'
+#somekey part1
+#+ part2
+#+ part3
+#
+## lines starting with a '.' are glued too
+## don't use a '.' on a line by itself
+## 'somekey' gets the value "part1\n part2\n part3"
+#somekey part1
+#. part2
+#. part3
+#
+####################################################################
+
+project_name NetBSD
+
+project_url http://www.NetBSD.org/
+
+mirror_list /var/tmp/mirror-list.mirmon
+
+web_page /var/tmp/mirmon.html
+
+# This absolute path can only work for local tests without a web server
+# (see the generated web page).
+icons @@MIRMONDIR@@/icons
+
+probe ftp -V -o - -q %TIMEOUT% %URL%/mirrors/timestamp.txt
+
+state /var/tmp/state.mirmon
+
+countries @@MIRMONDIR@@/countries.list
+
+#max_probes 25
+
+#timeout 300
+
+#project_logo http://www.NetBSD.org/images/NetBSD-flag.png
+
+#htm_foot
+# <hr>
+# <a href=""><img src="" border="0"></a>
+# <hr>
+
+#htm_top Some words
+
+#put_histo top
+
+#min_poll 4h
+
+#max_poll 12h
+
+#min_sync 1d
+
+#max_sync 2d
+
+#no_randomize
+
+#list_style plain
+
+#site_url <site> <url>
+
+#env <key> <value>
+
+#include <file name>
+
+#show
+
+#exit
diff -r 4aeb1013fa1f -r 2a7903d594e8 misc/mirmon/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mirmon/patches/patch-aa      Fri Jul 21 13:15:22 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/07/21 13:15:22 heinz Exp $
+
+--- mirmon.orig        2006-07-20 11:03:07.000000000 +0200
++++ mirmon



Home | Main Index | Thread Index | Old Index