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

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

version 1.1, 2006/07/24 19:03:53 version 1.2, 2006/11/06 23:22:22
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver$  # $RedRiver: MirrorOpenBSD,v 1.1 2006/07/24 18:03:53 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://openbsd.mirrors.tds.net/OpenBSD
   #SERVER=rsync://ftp3.usa.openbsd.org/ftp/
   
 lftp -c "mirror --delete \  rsync -az --delete --delete-excluded \
         --verbose=1 \          --verbose=1 --log-format="%o \`%f'%L %b %l" \
         -x ls-lR.gz \          -f "exclude ls-lR.gz" \
         -x \.mirror\..* \          -f "exclude \.mirror\." \
         -x /\..* \          -f "exclude /\." \
         -x ^OpenBGPD/ \          -f "exclude /OpenBGPD/" \
         -x ^OpenNTPD/ \          -f "exclude /OpenNTPD/" \
         -x ^OpenSSH/ \          -f "exclude /OpenSSH/" \
         -x ^cvs/ \          -f "exclude /cvs/" \
         -x ^src/ \          -f "exclude /src/" \
         -x ^src.tar.gz \          -f "exclude /distfiles/" \
         -x ^srcsys.tar.gz \          -f "exclude /patches/" \
         -x ^distfiles/ \          -f "exclude /snapshots/packages/" \
         -x ^snapshots/packages/ \          -f "exclude /2\.?/" \
         -x ^(patches/)?2\../ \          -f "exclude /3\.[0-8]/" \
         -x ^(patches/)?3\.0/ \          ${SERVER} ${OBT_DIR_FTP}/${OBT_BASENAME}
         -x ^(patches/)?3\.1/ \  
         -x ^(patches/)?3\.2/ \  
         -x ^(patches/)?3\.3/ \  
         -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.2

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