mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Update to 1.3.8
- Pass maintainership to submitter PR: 117300 Submitted by: Philippe Audeoud <jadawin@tuxaco.net>
This commit is contained in:
parent
3a4ad5787f
commit
f18c0b6b30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201807
@ -7,18 +7,20 @@
|
||||
#
|
||||
|
||||
PORTNAME= mirmon
|
||||
PORTVERSION= 1.37
|
||||
PORTVERSION= 1.38
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
|
||||
MASTER_SITES= http://jadawin.tuxaco.net/freebsd/ \
|
||||
http://www.cs.uu.nl/people/henkp/mirmon/src/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= jadawin@tuxaco.net
|
||||
COMMENT= Monitor the status of mirrors
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= yes
|
||||
USE_PERL5_RUN= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= PREFIX=${PREFIX}
|
||||
|
||||
PLIST_FILES= bin/mirmon
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -44,4 +46,7 @@ do-install:
|
||||
${CP} ${WRKSRC}/mirmon.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (mirmon-1.37.tar.gz) = 16fe9e6b595f1cf8cb21cb7ddfbd9758
|
||||
SHA256 (mirmon-1.37.tar.gz) = a01bcc1f4d3eaefe8af35f475d83d79fa34338fb7b6addfe0b2a14d462f13b07
|
||||
SIZE (mirmon-1.37.tar.gz) = 26062
|
||||
MD5 (mirmon-1.38.tar.gz) = 71ca84082700d251fc7b15d1544a1ab1
|
||||
SHA256 (mirmon-1.38.tar.gz) = 5defb2c0890d3461a2b8dd8cc3efc4c63c0814c043cb227a69b4a457a38b0ce3
|
||||
SIZE (mirmon-1.38.tar.gz) = 33021
|
||||
|
26
misc/mirmon/files/pkg-message.in
Normal file
26
misc/mirmon/files/pkg-message.in
Normal file
@ -0,0 +1,26 @@
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
The program is intended to be run by cron every hour.
|
||||
|
||||
42 * * * * perl %%PREFIX%%/bin/mirmon -q -get update
|
||||
|
||||
It quietly probes a subset of the sites in a given list,
|
||||
writes the results in the 'state' file and generates a web page
|
||||
with the results. The subset contains the sites that are new, bad
|
||||
and/or not probed for a specified time.
|
||||
|
||||
When no 'get' option is specified, the program just generates a
|
||||
new web page from the last known state.
|
||||
|
||||
The program checks the mirrors by running a (user specified)
|
||||
program on a pipe. A (user specified) number of probes is
|
||||
run in parallel using nonblocking IO. When something can be
|
||||
read from the pipe, it switches the pipe to blocking IO and
|
||||
reads one line from the pipe. Then it flushes and closes the
|
||||
pipe. No attempt is made to kill the probe.
|
||||
|
||||
The probe should return something that looks like "1043625600\n",
|
||||
that is, a timestamp followed by a newline. The exit status of
|
||||
the probe is ignored.
|
||||
|
||||
---------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user