[BACK]Return to MirrorOpenBSD CVS log [TXT][DIR] Up to [local] / openbsd / OpenBSDTorrents

Diff for /openbsd/OpenBSDTorrents/MirrorOpenBSD between version 1.1 and 1.6

version 1.1, 2006/07/24 19:03:53 version 1.6, 2009/10/20 20:05:58
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver$  # $RedRiver: MirrorOpenBSD,v 1.4 2007/10/01 20:17:23 andrew Exp $
   
 . /etc/OpenBSDTorrents.conf  . /etc/OpenBSDTorrents.conf
   
Line 16 
Line 16 
 fi  fi
 echo $$ > ${PIDFILE}  echo $$ > ${PIDFILE}
   
 SERVER=ftp://ftp3.usa.openbsd.org/pub/${OBT_BASENAME}  SERVER=rsync://ftp3.usa.openbsd.org/ftp/
   #SERVER=rsync://ftp5.usa.openbsd.org/ftp/
   #SERVER=rsync://openbsd.mirrors.tds.net/OpenBSD
   #SERVER=rsync://openbsd.mirror.frontiernet.net/OpenBSD
   
 lftp -c "mirror --delete \  #       --dry-run \
         --verbose=1 \  rsync -a \
         -x ls-lR.gz \          --delete --delete-excluded \
         -x \.mirror\..* \          --verbose=1 --log-format="%t [%p] %o %f %l" \
         -x /\..* \          -f "exclude .*" \
         -x ^OpenBGPD/ \          -f "exclude ls-lR.gz" \
         -x ^OpenNTPD/ \          -f "exclude /OpenBGPD/" \
         -x ^OpenSSH/ \          -f "exclude /OpenNTPD/" \
         -x ^cvs/ \          -f "exclude /OpenSSH/" \
         -x ^src/ \          -f "exclude /cvs/" \
         -x ^src.tar.gz \          -f "exclude /src/" \
         -x ^srcsys.tar.gz \          -f "exclude /distfiles/" \
         -x ^distfiles/ \          -f "exclude /patches/" \
         -x ^snapshots/packages/ \          -f "exclude /snapshots/packages/" \
         -x ^(patches/)?2\../ \          -f "exclude /2.?/" \
         -x ^(patches/)?3\.0/ \          -f "exclude /3.?/" \
         -x ^(patches/)?3\.1/ \          -f "exclude /4.[01234]/" \
         -x ^(patches/)?3\.2/ \          -f "exclude /4.7/packages/" \
         -x ^(patches/)?3\.3/ \          ${SERVER} ${OBT_DIR_FTP}/${OBT_BASENAME}
         -x ^(patches/)?3\.4/ \  
         -x ^(patches/)?3\.5/ \  
         -x ^(patches/)?3\.6/ \  
         -x ^(patches/)?3\.7/ \  
         ${SERVER} ${OBT_DIR_FTP}/${OBT_BASENAME}"  
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>