This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=6e5422961f83c79f893158eaf1b011276afc2511

commit 6e5422961f83c79f893158eaf1b011276afc2511
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Nov 13 02:11:50 2023 +0100

    arch: Restrict darwin ports to amd64, arm, arm64, i386, powerpc and ppc64
    
    These are all the currently and historically supported CPUs by XNU.
---
 data/tupletable       | 7 ++++++-
 scripts/t/Dpkg_Arch.t | 4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/data/tupletable b/data/tupletable
index 9d627cff9..61f426b2b 100644
--- a/data/tupletable
+++ b/data/tupletable
@@ -47,7 +47,12 @@ base-bsd-dragonflybsd-amd64  dragonflybsd-amd64
 base-bsd-freebsd-<cpu>         freebsd-<cpu>
 base-bsd-openbsd-<cpu>         openbsd-<cpu>
 base-bsd-netbsd-<cpu>          netbsd-<cpu>
-base-bsd-darwin-<cpu>          darwin-<cpu>
+base-bsd-darwin-amd64          darwin-amd64
+base-bsd-darwin-arm            darwin-arm
+base-bsd-darwin-arm64          darwin-arm64
+base-bsd-darwin-i386           darwin-i386
+base-bsd-darwin-powerpc                darwin-powerpc
+base-bsd-darwin-ppc64          darwin-ppc64
 base-sysv-aix-powerpc          aix-powerpc
 base-sysv-aix-ppc64            aix-ppc64
 base-sysv-solaris-amd64                solaris-amd64
diff --git a/scripts/t/Dpkg_Arch.t b/scripts/t/Dpkg_Arch.t
index 09e205fe1..b2fa5b9c5 100644
--- a/scripts/t/Dpkg_Arch.t
+++ b/scripts/t/Dpkg_Arch.t
@@ -16,7 +16,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 8934;
+use Test::More tests => 8038;
 
 use_ok('Dpkg::Arch', qw(debarch_to_debtuple debarch_to_multiarch
                         debarch_eq debarch_is debarch_is_wildcard
@@ -28,7 +28,7 @@ use_ok('Dpkg::Arch', qw(debarch_to_debtuple 
debarch_to_multiarch
                         get_host_gnu_type
                         get_valid_arches));
 
-my $KNOWN_ARCHES_TOTAL = 262;
+my $KNOWN_ARCHES_TOTAL = 234;
 my @valid_arches = get_valid_arches();
 
 sub get_valid_wildcards

-- 
Dpkg.Org's dpkg

Reply via email to