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

Bug#886688: packages.debian.org: Add ia64 from debian-ports



Package: www.debian.org
Tags: patch
User: www.debian.org@packages.debian.org
Usertag: packages
User: debian-ia64@lists.debian.org
Usertag: ia64
X-Debbugs-Cc: debian-ia64@lists.debian.org

Hi,
Within debian-ports we have readded ia64 for sid/experimental and have
started bootstrapping, with automated builds hopefully starting within a
few days once we have uploaded the few remaining packages for the base
chroot. The attached untested patch should hopefully make
packages.debian.org aware of its existence; the extra code is because
ia64 still exists on ftp-master for wheezy.

Thanks,
James
>From e3e077a71660ed8029d525109999361485ade7cf Mon Sep 17 00:00:00 2001
From: James Clarke <jrtc27@jrtc27.com>
Date: Mon, 8 Jan 2018 15:21:33 +0000
Subject: [PATCH] Add ia64 from debian-ports

---
 bin/parse-contents | 8 +++++---
 config.sh.sed.in   | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bin/parse-contents b/bin/parse-contents
index f228e0d..19b405d 100755
--- a/bin/parse-contents
+++ b/bin/parse-contents
@@ -51,9 +51,11 @@ my @sections = @SECTIONS;
 # Add empty section, need to search Contents directly at dist root, for debports compat
 push(@sections, "");
 
-my %debports_hash;
+my %debports_arch_hash;
 # copy from config.sh ${arch_debports}
-@debports_hash{qw( alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = ();
+@debports_arch_hash{qw( alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = ();
+my %debports_suite_hash;
+@debports_suite_hash{qw( sid unstable experimental rc-buggy )} = ();
 
 $DBDIR .= "/contents";
 mkdirp( $DBDIR );
@@ -173,7 +175,7 @@ for my $suite (@suites) {
 
 	    activate($filelist_db);
 	    #FIXME: hardcoded archs. (debports has no contrib/non-free)
-	    if (not exists $debports_hash{$arch}) {
+	    if (not exists $debports_arch_hash{$arch} or not exists $debports_suite_hash{$suite}) {
 		system("ln", "-sf", basename($filelist_db),
 		       "$DBDIR/filelists_${suite}_all.db") == 0
 			   or die "Oops";
diff --git a/config.sh.sed.in b/config.sh.sed.in
index c88bbb6..45b4f4f 100644
--- a/config.sh.sed.in
+++ b/config.sh.sed.in
@@ -67,7 +67,7 @@ ext_stretch=gz
 # Refresh this architecture list using this command:
 # wget -qO - http://ftp.ports.debian.org/debian-ports/dists/{sid,experimental}/Release | sed -n 's/Architectures: //p' | tr ' ' '\n' | sort -u
 # Please remember to also update the architecture list in bin/parse-contents
-arch_debports="alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32"
+arch_debports="alpha hppa ia64 m68k powerpcspe ppc64 sh4 sparc64 x32"
 
 # Miscellaneous
 #
-- 
2.15.1


Reply to: