update to mirmon-2.11
This commit is contained in:
parent
4de164dc1e
commit
9e876a8328
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2015/11/02 11:56:55 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2016/07/30 21:20:33 sthen Exp $
|
||||
|
||||
COMMENT= monitors the status of mirrors
|
||||
|
||||
DISTNAME= mirmon-2.10
|
||||
DISTNAME= mirmon-2.11
|
||||
|
||||
CATEGORIES= net
|
||||
HOMEPAGE= http://people.cs.uu.nl/henkp/mirmon/
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mirmon-2.10.tar.gz) = IxdCJ6wkGBA7lqXysgCO2ajRq9Rj/aKI/YaVPJorCvA=
|
||||
SIZE (mirmon-2.10.tar.gz) = 72212
|
||||
SHA256 (mirmon-2.11.tar.gz) = 2wLt0o94XPFmLkITTMW8w1rMFolxnCtpMQtEFsN5jmc=
|
||||
SIZE (mirmon-2.11.tar.gz) = 72482
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-mirmon_pl,v 1.1.1.1 2010/06/08 00:03:55 sthen Exp $
|
||||
--- mirmon.pl.orig Wed Mar 17 09:35:27 2010
|
||||
+++ mirmon.pl Tue Jun 8 01:02:50 2010
|
||||
@@ -59,6 +59,12 @@ Mirmon::verbose ( $opt{v} ) ;
|
||||
Mirmon::debug ( $opt{d} ) ;
|
||||
Mirmon::quiet ( $opt{q} ) ;
|
||||
$OpenBSD: patch-mirmon_pl,v 1.2 2016/07/30 21:20:33 sthen Exp $
|
||||
--- mirmon.pl.orig Sat Jul 23 11:45:38 2016
|
||||
+++ mirmon.pl Sat Jul 30 22:18:56 2016
|
||||
@@ -55,6 +55,12 @@ $opt{v} ||= $opt{d} ;
|
||||
|
||||
my $URL = shift ;
|
||||
|
||||
+use POSIX qw(setuid setgid getpwnam);
|
||||
+print "Dropping privileges to _mirmon ...\n" if Mirmon::debug;
|
||||
@ -13,4 +13,4 @@ $OpenBSD: patch-mirmon_pl,v 1.1.1.1 2010/06/08 00:03:55 sthen Exp $
|
||||
+
|
||||
my $M = Mirmon -> new ( $opt{c} ) ;
|
||||
$M -> conf -> timeout ( $opt{t} ) if $opt{t} ;
|
||||
if ( $get ) { $M -> get_dates ( $get ) ; $M -> put_state ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user