I've modified the anonftpsync script to work with debian-ipv6 @ debian.seabone.net.
that's what I use for my internal mirror (Sorry they don't allow me to make it world accesable) Maybe it would be a good idea to include it at all mirrors.
greets Uwe -- no .signature loaded
#! /bin/sh set -e
# This script originates from http://www.debian.org/mirror/anonftpsync # It was modified by Uwe A. P. W�rdinger <[EMAIL PROTECTED]> # To support Fabbione's Debin Repository # Note: You MUST have rsync 2.0.16-1 or newer, which is available in slink # and all newer Debian releases, or at http://rsync.samba.org/ # Set the variables below to fit your site. You can then use cron to have # this script run daily to automatically update your copy of the archive. # Don't forget: # chmod 744 anonftpsync # TO is the destination for the base of the Debian mirror directory # (the dir that holds dists/ and ls-lR). TO=/home/mirrors/debian-ipv6 # RSYNC_HOST is the site you have chosen from the mirrors file. # (http://debian.seabone.net/mirrors.html) RSYNC_HOST=debian.seabone.net # RSYNC_DIR is the directory given in the "Packages over rsync:" line of # the mirrors file for the site you have chosen to mirror. RSYNC_DIR=debian-ipv6/ # There should be no need to edit anything below this point, unless there # are problems. #-----------------------------------------------------------------------------# # Note: on some non-Debian systems, hostname doesn't accept -f option. # If that's the case on your system, make sure hostname prints the full # hostname, and remove the -f option. If there's no hostname command, # explicitly replace `hostname -f` with the hostname. HOSTNAME=`hostname -f` LOCK="${TO}/Archive-Update-in-Progress-${HOSTNAME}" # Get in the right directory and set the umask to be group writable # cd $HOME umask 002 # Check to see if another sync is in progress if lockfile -! -l 43200 -r 0 "$LOCK"; then echo ${HOSTNAME} is unable to start rsync, lock file exists exit 1 fi # Note: on some non-Debian systems, trap doesn't accept "exit" as signal # specification. If that's the case on your system, try using "0". trap "rm -f $LOCK > /dev/null 2>&1" exit set +e rsync --recursive --links --times --verbose --compress --delete \ --exclude "Archive-Update-in-Progress-${HOSTNAME}" \ $RSYNC_HOST::$RSYNC_DIR $TO > rsync.log 2>&1 # Note: if you don't have savelog, use any other log rotation facility, or # comment this out, the log will simply be overwritten each time. savelog rsync.log > /dev/null 2>&1

