### -*-conf-*-
if ( glob service run
- & glob calling-group ftpadmin
+ & ( glob calling-group ftpadmin
+ | glob calling-user root
+ )
)
no-suppress-args
execute bin/run-mirrors
esac
## Set up a plausible environment.
-HOME=/var/lib/mirror-admin; export HOME; cd
-MIRRORS=/mnt/mirrors; export MIRRORS
+HOME=/var/lib/mirror; export HOME; cd
+MIRRORS=/mnt/ftp/pub/mirrors; export MIRRORS
PATH=$HOME/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin
export PATH
umask 002
: ${RSYNC_PATH="$LABEL"}
## The host we mirror from
-: ${RSYNC_HOST=ftp.de.debian.org}
+: ${RSYNC_HOST=ftp.uk.debian.org}
## In case we need a user to access the rsync share at our upstream host
: ${RSYNC_USER=}
: ${RSYNC_PASSWORD=}
## Architectures we want to carry.
-: ${WANT_ARCH="i386:amd64"}
+: ${WANT_ARCH="i386:amd64:armel"}
## Distributions to inspect for available architectures.
: ${SEARCH_DISTS="oldstable stable testing unstable experimental"}
## want. Crazy, no?
ARCH_EXCLUDE=$(
bin/debian-excludes $RSYNC_HOST $RSYNC_PATH $WANT_ARCH $SEARCH_DISTS
- echo source
)
## Do we have leaf mirror to signal we are done and they should sync?
LABEL=debian-security
RSYNC_HOST=security.debian.org
SEARCH_DISTS=$(
- for i in oldstable stable testing; do
+ for i in stable testing; do
echo $i/updates
done
)
### ftpsync configuration for the Debian main archive.
LABEL=debian
-RSYNC_HOST=ftp.de.debian.org
-SEARCH_DISTS="oldstable stable testing unstable experimental"
+RSYNC_HOST=ftp.uk.debian.org
+SEARCH_DISTS="stable testing unstable experimental"
. etc/ftpsync-common.conf
minsize 4194304
daily
-/var/lib/mirror-admin/log/*.log {
+/var/lib/mirror/log/*.log {
}
do_deletes=true
max_delete_files=80%
+###--------------------------------------------------------------------------
+### Nelson Beebe's BibTeX database archive.
+
+package=utah-bib
+ site=ftp.math.utah.edu
+ remote_dir=/pub/tex/bib/
+ local_dir=utah-bib
+ recursive=false
+ get_patt=\.bib$
+
###----- That's all, folks --------------------------------------------------
--- /dev/null
+#! /bin/sh -e
+###
+### Mirror Debian archives.
+
+for archive in debian-security debian; do
+ RSYNC="rsync -4" bin/ftpsync sync:all sync:archive:$archive
+done
--- /dev/null
+#! /bin/sh -e
+###
+### Lee MacLoughlin's mirror scripts.
+
+here=$(pwd)
+cd /mnt/ftp/pub/mirrors
+mirror -d "$@" "$here"/etc/mirror.packages
--- /dev/null
+#! /bin/sh -e
+###
+### Mirror RFCs and Internet Drafts from mirrorservice.org
+
+. lib/functions.sh
+standard_rsync "$@" \
+ --exclude /ien/scanned/ \
+ --exclude /tar/ \
+ --exclude /internet-drafts/ \
+ www.ietf.org::everything-ftp/rfc/ \
+ /mnt/ftp/pub/mirrors/rfc/
+standard_rsync "$@" \
+ rsync.mirrorservice.org::ftp.isi.edu/internet-drafts/ \
+ /mnt/ftp/pub/mirrors/internet-drafts/