[tex-live] Your rsync probe for mirmon
Karl Berry
karl at freefriends.org
Thu Aug 20 01:17:13 CEST 2009
Hi Roland,
I want to setup mirmon for our sanesecurity mirrors which use
rsync. Found your script ...
Cool :).
*** strange url :
'rsync://odin.kozstyle.org/sanesecurity/'
Ah yes. I forgot to mention that mirmon itself has to be trivially
patched to accept the rsync urls. I updated the comments in my
probe-mirmon for posterity, but anyway, here it is:
--- /usr/local/share/mirmon/ORIG/mirmon 2007-08-18 18:05:47.000000000 +0200
+++ /usr/local/share/mirmon/mirmon 2009-07-03 22:38:00.000000000 +0200
@@ -386,3 +386,3 @@
my ( $type, $site, $home ) ;
- if ( $url =~ m!^(ftp|http)://([^/:]+)(:\d+)?/! )
+ if ( $url =~ m!^(ftp|https?|rsync)://([^/:]+)(:\d+)?/! )
{ $type = $1 ; $site = $2 ; $home = $& ; }
Hope this gets you going,
Karl
More information about the tex-live
mailing list