[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alternative: Source-Centric Approach [w/code]

Mark Brown schrieb:
On Tue, Mar 15, 2005 at 11:01:06PM +0100, Adrian Bunk wrote:

On some mirrors?
-> Not all mirrors have to mirror all ports.

The mirroring part of the proposal is effectively just a proposal to
rearrange the archive in order to make this easy for mirror admins.

uwe@lmirror-04:/root/scripts$ cat anonftpsync
#! /bin/sh
set -e

# This script originates from http://www.debian.org/mirror/anonftpsync

# 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).


# RSYNC_HOST is the site you have chosen from the mirrors file.
# (http://www.debian.org/mirror/mirrors_full)


# RSYNC_DIR is the directory given in the "Packages over rsync:" line of
# the mirrors file for the site you have chosen to mirror.


# EXCLUDE is a list of parameters listing patterns that rsync will exclude.
# With a blank EXCLUDE you will mirror the entire archive.

  --exclude binary-alpha --exclude binary-arm \
  --exclude binary-m68k \
--exclude binary-ia64 --exclude binary-mips* --exclude binary-hppa --exclude binary-sh \
  --exclude *_hurd-i386.deb --exclude *_mipsel.deb \
  --exclude *_s390.deb \
  --exclude *_alpha.deb --exclude *_arm.deb \
  --exclude *_m68k.deb \
--exclude *_ia64.deb --exclude *_hppa.deb --exclude *_mips.deb --exclude *_sh.deb \
  --exclude slink --exclude slink-proposed-updates \

# There should be no need to edit anything below this point, unless


Were's the problem?

greets Uwe
Jetzt will man das Internet nicht einfach ein paar Leuten wie der IETF
überlassen, die wissen, was sie tun. Es ist zu wichtig geworden. - Scott Bradner

Reply to: