On Sun, Apr 29, 2001 at 05:18:18AM -0400, David B . Harris wrote: > Hello there :) I'm looking to set up a local Debian mirror(for private > LAN only, until we get more bandwidth), but only of the Sid/i386 I use fmirror and works fine. It has configuration file using perl like expression using PCRE library and it is superfast and lightweight.
Package in debian is kind of old but building new personal package is very easy too. I made it and use locally. My configuration file example is attached. (Of curse I edited it to make compatible with debian version.) Osamu -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://www.aokiconsulting.com/quick/ +
# mirror debian host: http.us.debian.org #host: ftp.debian.org remotedir: /debian localdir: /home/ftp/debian # # Common header # username: anonymous password: [EMAIL PROTECTED] #loglevel: 1 #compressed: 1 #decompressor: gzip #decompressor_opt: -dc #dircmd: RETR ls-lR.gz # dont get some distributions but do not delete #exclude: nip (^|/)potato/ #exclude: nip (^|/)potato-proposed-updates/ #exclude: nip (^|/)sid/ #exclude: nip (^|/)woody/ # dont get source #exclude: np (^|/)source/ # .... from proposed updates #exclude: nf \.tar\.gz$ #exclude: nf \.diff\.gz$ #exclude: nf \.dsc$ #exclude: nf \.changes$ # do not get binary #exclude: np (^|/)(disks|binary)-(all|i386)/ # # common exclude file definitions # # dont get non-intel package exclude: ip (^|/)(disks|binary|upgrade)-(mips|mipsel|arm|alpha|m68k|sparc|powerpc|sh|hppa|ia64|s390|hurd-i386)/ exclude: if (-|_)(mips|mipsel|arm|alpha|m68k|sparc|powerpc|sh|hppa|ia64|s390|hurd-i386)\..+ # dont get project directory exclude: nip ^project/ #exclude: nip ^tools/ #exclude: nip ^doc/ # the normal excludes first exclude: if ^(\.in\.|\.mirror|core$|MIRROR\.LOG|\.notar|\.message) exclude: if ^(\.cache|\.zipped|lost\+found|Network Trash Folder) # large useless packages to mirror (Be careful not to select them in dselect) #exclude: nif kernel-doc # large useless foreign language package (Be careful not to select them in dselect) #exclude: f (-|_|\.)de(-|_|\.) #exclude: f (-|_|\.)es(-|_|\.) #exclude: f (-|_|\.)fi(-|_|\.) #exclude: f (-|_|\.)fr(-|_|\.) #exclude: f (-|_|\.)hu(-|_|\.) #exclude: f (-|_|\.)it(-|_|\.) #exclude: f (-|_|\.)ja(-|_|\.) #exclude: f (-|_|\.)ko(-|_|\.) #exclude: f (-|_|\.)pl(-|_|\.) #exclude: f (-|_|\.)zh(-|_|\.) # exclude the uncompressed Contents and Packages files, and all ls-lR files exclude: if md5sums$ exclude: if Maintainers$ exclude: if ls-lR$ # exclude all without ".gz" exclude: if Packages[^\.]*$ exclude: if Contents[^\.]*$