ports/117300: [UPDATE] misc/mirmon - update to 1.38 and take maintainership

Philippe Audeoud jadawin at tuxaco.net
Thu Oct 18 14:40:02 UTC 2007


>Number:         117300
>Category:       ports
>Synopsis:       [UPDATE] misc/mirmon - update to 1.38 and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 18 14:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Audeoud
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD huppa.tuxaco.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar 20 16:05:42 CET 2007 root@:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Here is the patch to update mirmon to 1.38. I'd like to maintain this port.
>How-To-Repeat:
	
>Fix:

	

--- patch-mirmon.1 begins here ---
diff -ruN mirmon.orig/Makefile mirmon/Makefile
--- mirmon.orig/Makefile	Thu Oct 18 14:05:41 2007
+++ mirmon/Makefile	Thu Oct 18 14:17:40 2007
@@ -7,18 +7,23 @@
 #
 
 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 at FreeBSD.org
+MAINTAINER=	jadawin at tuxaco.net
 COMMENT=	Monitor the status of mirrors
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 NO_BUILD=	yes
 USE_PERL5_RUN=	yes
 
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
+SUB_FILES=	pkg-message
+SUB_LIST=	PREFIX=${PREFIX}
+
 PLIST_FILES=	bin/mirmon
 
 .if !defined(NOPORTDOCS)
@@ -43,5 +48,8 @@
 	@${MKDIR} ${DOCSDIR}
 	${CP} ${WRKSRC}/mirmon.html ${DOCSDIR}
 .endif
+
+post-install:
+	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
 
 .include <bsd.port.mk>
diff -ruN mirmon.orig/distinfo mirmon/distinfo
--- mirmon.orig/distinfo	Thu Oct 18 14:05:41 2007
+++ mirmon/distinfo	Thu Oct 18 14:08:10 2007
@@ -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
diff -ruN mirmon.orig/files/pkg-message.in mirmon/files/pkg-message.in
--- mirmon.orig/files/pkg-message.in	Thu Jan  1 00:00:00 1970
+++ mirmon/files/pkg-message.in	Thu Oct 18 14:18:21 2007
@@ -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.
+
+---------------------------------------------------------------------------
--- patch-mirmon.1 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list