Bug#729090: ben: Please update architecture lists
Package: ben
Version: 0.6.6
Severity: wishlist
Tags: patch
Dear Maintainer,
Architecture list provided by the ben is a bit old.
I've created patches to update.
Could you please apply these?
Best regards,
Nobuhiro
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 8305d06f9f3dc1420867edf460952c98cbc5b18c Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Sat, 9 Nov 2013 06:22:27 +0900
Subject: [PATCH 1/4] Set to debian_architectures s390x instead of s390
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
lib/benl_base.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/benl_base.ml b/lib/benl_base.ml
index 0ae5d65..d2af244 100644
--- a/lib/benl_base.ml
+++ b/lib/benl_base.ml
@@ -56,7 +56,7 @@ let debian_architectures = ref
[ "amd64"; "armel";
"i386"; "ia64";
"kfreebsd-amd64"; "kfreebsd-i386";
- "mips"; "mipsel"; "powerpc"; "s390"; "sparc" ]
+ "mips"; "mipsel"; "powerpc"; "s390x"; "sparc" ]
let ignored_architectures : string list ref = ref []
--
1.8.4.2
>From 4ade37911938125d18ad508381eb7f9b85a324a3 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Sat, 9 Nov 2013 06:27:25 +0900
Subject: [PATCH 2/4] Move armhf from debian_ports_architectures to
debian_architectures
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
lib/benl_base.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/benl_base.ml b/lib/benl_base.ml
index d2af244..3eedcee 100644
--- a/lib/benl_base.ml
+++ b/lib/benl_base.ml
@@ -53,7 +53,7 @@ let string_of_string escaping string =
string
let debian_architectures = ref
- [ "amd64"; "armel";
+ [ "amd64"; "armel"; "armhf";
"i386"; "ia64";
"kfreebsd-amd64"; "kfreebsd-i386";
"mips"; "mipsel"; "powerpc"; "s390x"; "sparc" ]
@@ -61,7 +61,7 @@ let debian_architectures = ref
let ignored_architectures : string list ref = ref []
let debian_ports_architectures =
- [ "armhf"; "avr32"; "m68k"; "powerpcspe";
+ [ "avr32"; "m68k"; "powerpcspe";
"sh4"; "sparc64" ]
type status = Unknown | Up_to_date | Outdated
--
1.8.4.2
>From 6278fcbf8703118664c604e691f9b620e4082cbc Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Sat, 9 Nov 2013 06:28:06 +0900
Subject: [PATCH 3/4] Remove avr32 from list of debian_ports_architectures
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
lib/benl_base.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/benl_base.ml b/lib/benl_base.ml
index 3eedcee..d3e0525 100644
--- a/lib/benl_base.ml
+++ b/lib/benl_base.ml
@@ -61,7 +61,7 @@ let debian_architectures = ref
let ignored_architectures : string list ref = ref []
let debian_ports_architectures =
- [ "avr32"; "m68k"; "powerpcspe";
+ [ "m68k"; "powerpcspe";
"sh4"; "sparc64" ]
type status = Unknown | Up_to_date | Outdated
--
1.8.4.2
>From 76e63df158315afa2dab5b383fc50ada256a3731 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Sat, 9 Nov 2013 06:32:00 +0900
Subject: [PATCH 4/4] Add alpha, arm64, ppc64 and x32 to list of
debian_ports_architectures
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
lib/benl_base.ml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/benl_base.ml b/lib/benl_base.ml
index d3e0525..d9a31e0 100644
--- a/lib/benl_base.ml
+++ b/lib/benl_base.ml
@@ -61,8 +61,9 @@ let debian_architectures = ref
let ignored_architectures : string list ref = ref []
let debian_ports_architectures =
- [ "m68k"; "powerpcspe";
- "sh4"; "sparc64" ]
+ [ "alpha"; "arm64";
+ "m68k"; "powerpcspe"; "ppc64";
+ "sh4"; "sparc64"; "x32" ]
type status = Unknown | Up_to_date | Outdated
--
1.8.4.2
Reply to: