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

Bug#454689: marked as done (packages.debian.org: Switch from gnuab.org to debian-ports.org)



Your message dated Mon, 10 Dec 2007 02:44:38 +0100
with message-id <20071210014438.GC30992@planck.djpig.de>
and subject line Bug#454689: packages.debian.org: Switch from gnuab.org to debian-ports.org
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: www.debian.org
Severity: normal

Hi,

Last weekend [0] the main server for the kfreebsd-* and armel ports
was switched from gnuab.org to debian-ports.org. The new server should
behave better on the hardware and connectivity fronts.

Attached is a patch against latest git master. I've not tested it so
please review. Initially I called the repo 'ports' but changed to
'debports' to avoid confusion with the www.debian.org/ports stuff.

regards,
guillem

[0] <http://lists.debian.org/debian-arm/2007/12/msg00004.html>
>From 86fd531c1d808ee46b6f7d8512c629ab64d1d4f9 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Fri, 7 Dec 2007 05:30:31 +0200
Subject: [PATCH] Switch from gnuab.org to debian-ports.org

---
 README                         |    3 ++-
 bin/parse-packages             |    4 ++--
 config.sh.sed.in               |    4 ++--
 cron.d/100syncarchive_debports |   33 +++++++++++++++++++++++++++++++++
 cron.d/100syncarchive_gnuab    |   33 ---------------------------------
 templates/config/mirrors.tmpl  |   14 +++++++-------
 6 files changed, 46 insertions(+), 45 deletions(-)
 create mode 100755 cron.d/100syncarchive_debports
 delete mode 100755 cron.d/100syncarchive_gnuab

diff --git a/README b/README
index f55856e..5d7067b 100644
--- a/README
+++ b/README
@@ -45,7 +45,8 @@ Cron
 100syncarchive             -- retrieve data from main Debian archive
 100syncarchive_amd64       -- retrieve data from sarge amd64 archive
 100syncarchive_backports   -- retrieve data from backports.org
-100syncarchive_gnuab       -- retrieve data from gnuab (kfreebsd-*, armel)
+100syncarchive_debports    -- retrieve data from debian-ports.org
+                              (kfreebsd-*, armel)
 100syncarchive_installer   -- retrieve d-i data
 100syncarchive_m68k        -- retrieve data for etch-m68k
 100syncarchive_maintainers -- retrieve maintainer index
diff --git a/bin/parse-packages b/bin/parse-packages
index 61d6b84..2e713c6 100755
--- a/bin/parse-packages
+++ b/bin/parse-packages
@@ -87,9 +87,9 @@ for my $suite (@SUITES) {
 		}
 		# Skip double package
 		next if exists($packages_all_db{"$data{'package'} $data{'architecture'} $data{'version'}"});
-		# Skip arch:all for amd64 & gnuab, any non-redundancy is
+		# Skip arch:all for amd64 & debports, any non-redundancy is
 		# usually a bug anyway
-		next if ($archive eq 'amd64' or $archive eq 'gnuab')
+		next if ($archive eq 'amd64' or $archive eq 'debports')
 		    and $data{architecture} eq 'all';
 
 		if ($data{'provides'}) {
diff --git a/config.sh.sed.in b/config.sh.sed.in
index 7481446..9a95654 100644
--- a/config.sh.sed.in
+++ b/config.sh.sed.in
@@ -29,7 +29,7 @@ security_ftpsite=http://security.debian.org/debian-security
 volatile_ftpsite=http://volatile.debian.org/debian-volatile
 backports_ftpsite=http://backports.org/debian
 amd64_ftpsite=http://amd64.debian.net/debian
-gnuab_ftpsite=http://kfreebsd-gnu.debian.net/debian
+debports_ftpsite=http://ftp.debian-ports.org/debian
 ddtp_ftpsite=http://ddtp.debian.net/debian
 
 root=""
@@ -38,7 +38,7 @@ root=""
 #
 polangs="de fi fr hu ja nl ru sv uk zh-cn"
 ddtplangs="ca cs da de eo es fi fr hu it ja km-kh ko nl pl pt pt-br ru sk sv uk zh-cn zh-tw"
-archives="us security amd64 gnuab backports volatile"
+archives="us security amd64 debports backports volatile"
 sections="main contrib non-free"
 parts="$sections"
 suites="sarge sarge-volatile sarge-backports etch etch-m68k etch-volatile etch-backports lenny sid experimental"
diff --git a/cron.d/100syncarchive_debports b/cron.d/100syncarchive_debports
new file mode 100755
index 0000000..897d1dd
--- /dev/null
+++ b/cron.d/100syncarchive_debports
@@ -0,0 +1,33 @@
+#! /bin/bash
+
+. `dirname $0`/../config.sh
+
+test -d ${archivedir} || mkdir -p ${archivedir}
+cd ${archivedir}
+
+# Main archive
+#
+architectures="armel kfreebsd-i386 kfreebsd-amd64"
+
+for dist in sid experimental
+  do
+  echo "retrieve Release(.gpg) $dist"
+  test -d debports/${dist} || mkdir -p debports/${dist}
+  (cd debports/${dist} &&
+	    wget -q -N ${debports_ftpsite}/dists/${dist}/Release &&
+	    wget -q -N ${debports_ftpsite}/dists/${dist}/Release.gpg )
+
+  for arch in $architectures
+    do
+    for part in ${parts} main/debian-installer
+      do
+      echo retrieve Packages $dist/$part/$arch
+      test -d debports/${dist}/${part}/binary-${arch} || mkdir -p debports/${dist}/${part}/binary-${arch}
+      (cd debports/${dist}/${part}/binary-${arch} &&
+	  wget -q -N ${debports_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
+    done
+    echo retrieve Contents $dist/$arch
+    (cd debports/${dist} &&
+	wget -q -N ${debports_ftpsite}/dists/${dist}/Contents-${arch}.gz)
+  done
+done
diff --git a/cron.d/100syncarchive_gnuab b/cron.d/100syncarchive_gnuab
deleted file mode 100755
index b42d165..0000000
--- a/cron.d/100syncarchive_gnuab
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-architectures="armel kfreebsd-i386 kfreebsd-amd64"
-
-for dist in sid experimental
-  do
-  echo "retrieve Release(.gpg) $dist"
-  test -d gnuab/${dist} || mkdir -p gnuab/${dist}
-  (cd gnuab/${dist} &&
-	    wget -q -N ${gnuab_ftpsite}/dists/${dist}/Release &&
-	    wget -q -N ${gnuab_ftpsite}/dists/${dist}/Release.gpg )
-
-  for arch in $architectures
-    do
-    for part in ${parts} main/debian-installer
-      do
-      echo retrieve Packages $dist/$part/$arch
-      test -d gnuab/${dist}/${part}/binary-${arch} || mkdir -p gnuab/${dist}/${part}/binary-${arch}
-      (cd gnuab/${dist}/${part}/binary-${arch} &&
-	  wget -q -N ${gnuab_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
-    done
-    echo retrieve Contents $dist/$arch
-    (cd gnuab/${dist} &&
-	wget -q -N ${gnuab_ftpsite}/dists/${dist}/Contents-${arch}.gz)
-  done
-done
diff --git a/templates/config/mirrors.tmpl b/templates/config/mirrors.tmpl
index 0d77561..f90d7cb 100644
--- a/templates/config/mirrors.tmpl
+++ b/templates/config/mirrors.tmpl
@@ -147,8 +147,8 @@ mirrors = {
 		],
 	},
 
-	gnuab => {
-		mirror_list => 'http://wiki.debian.org/Debian_GNU/kFreeBSD_Mirrors',
+	debports => {
+		mirror_list => 'http://wiki.debian.org/DebianPorts/Mirrors',
 		unofficial_port => {
 			'kfreebsd-amd64' => {
 				url_name => 'kfreebsd-gnu',
@@ -159,19 +159,19 @@ mirrors = {
 				name => 'GNU/kFreeBSD',
 			},
 			armel => {
-				url => 'http://www.debonaras.org/',
+				url => 'http://wiki.debian.org/ArmEabiPort',
 				name => 'armel',
 			},
 		},
 		north_america => [
 			"www.gtlib.gatech.edu/pub/gnuab/debian",
+			"www.superunprivileged.org/debian",
 		],
 		europa => [
-			# master site, aka ftp.gnuab.org
-			"kfreebsd-gnu.debian.net/debian",
+			"ftp.debian-ports/debian",
+			"ftp.de.debian.org/debian-ports",
+			"ftp.ch.debian.org/debian-ports",
 			"ftp.easynet.be/ftp/gnuab/debian",
-			"ftp.de.debian.org/debian-kfreebsd",
-			"ftp.ch.debian.org/debian-kfreebsd",
 		],
 	},
 }
-- 
1.5.3.7


--- End Message ---
--- Begin Message ---
On Sun, Dec 09, 2007 at 09:40:41AM +0200, Guillem Jover wrote:
> On Fri, 2007-12-07 at 16:01:39 +0100, Frank Lichtenheld wrote:
> > Some small comments, but none that require a resending of the patch.
> > Will try applying this at the weekend.
> > 
> > >  cron.d/100syncarchive_debports |   33 +++++++++++++++++++++++++++++++++
> > >  cron.d/100syncarchive_gnuab    |   33 ---------------------------------
> > 
> > git format-patch -M would probably have formatted that nicer.
> > (doesn't change anything for applying though, only for review)
> 
> Hmm was annoyed by that but completely forgot about that option. Will
> remember for next time.
> 
> > >  		europa => [
> > > -			# master site, aka ftp.gnuab.org
> > > -			"kfreebsd-gnu.debian.net/debian",
> > > +			"ftp.debian-ports/debian",
> > 
> > .org missing here I presume?
> 
> Ooops.

Patch applied. Might not work correctly until the indices are recreated,
though.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/


--- End Message ---

Reply to: