Package: debmirror
Version: 20051209
Severity: minor
Tags: patch

Hi,

here is a patch to make debmirror aware of the slightly different
directory structure of the ubuntu repository.

Greetings,
  Peter Baumann

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages debmirror depends on:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libcompress-zlib-perl         1.41-1     Perl module for creation and manip
ii  liblockfile-simple-perl       0.2.5-7    Simple advisory file locking
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl [libdigest-md5-perl]     5.8.8-3    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.8-3    Core Perl modules
ii  rsync                         2.6.7-1    fast remote file copy program (lik

Versions of packages debmirror recommends:
ii  gnupg                         1.4.2.2-1  GNU privacy guard - a free PGP rep

-- no debconf information
diff --git a/debmirror b/debmirror
index bd51e6a..de0b306 100755
--- a/debmirror
+++ b/debmirror
@@ -629,6 +629,8 @@ foreach my $dist (@dists) {
     next if ($section =~ /debian-installer/ && $dist eq "woody");
     next if ($section =~ /debian-installer/ && $dist eq "experimental");
     next if ($section =~ /debian-installer/ && $dist =~ /.*-proposed-updates/);
+    next if ($section =~ /debian-installer/ && $dist =~ /.*breezy-updates/ );
+    next if ($section =~ /debian-installer/ && $dist eq "breezy-security" );
     foreach my $arch (@arches) {
       add_bytes("dists/$dist/$section/binary-$arch/Packages");
       add_bytes("dists/$dist/$section/binary-$arch/Packages.gz");
@@ -677,6 +679,8 @@ foreach my $dist (@dists) {
     next if ($section =~ /debian-installer/ && $dist eq "woody");
     next if ($section =~ /debian-installer/ && $dist eq "experimental");
     next if ($section =~ /debian-installer/ && $dist =~ /.*-proposed-updates/);
+    next if ($section =~ /debian-installer/ && $dist =~ /.*breezy-updates/ );
+    next if ($section =~ /debian-installer/ && $dist eq "breezy-security" );
     foreach my $arch (@arches) {
       get_packages("dists/$dist/$section/binary-$arch");
     }

Reply via email to