From bda313a0df64d6a3e4c5aea38414299347be2b0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <dylan.aissi@collabora.com>
Date: Thu, 1 Aug 2024 12:17:03 +0200
Subject: [PATCH] whitelists: use anchors instead of duplicated data
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
---
 data/whitelists.yaml | 515 ++++++++++++++++++++++---------------------
 1 file changed, 261 insertions(+), 254 deletions(-)

diff --git a/data/whitelists.yaml b/data/whitelists.yaml
index 047f325..f98b63b 100644
--- a/data/whitelists.yaml
+++ b/data/whitelists.yaml
@@ -1,38 +1,45 @@
+.templates:
+  - &APERTIS_IS_UPSTREAM "Apertis is upstream"
+  - &FROZEN_LICENSE_CHANGE "Frozen to the version before its license change"
+  - &NOT_SUPPORTED_ARCH_DISABLED "not supported architectures disabled"
+  - &JAVA_DISABLED "java disabled"
+  - &DISABLED_LICENSE_ISSUE "disable support to avoid licensing issues"
+
 whitelists:
   uscan_package_ignore_list:
-    apertis-archive-keyring: "Apertis is upstream"
-    apertis-customizations: "Apertis is upstream"
-    apertis-dev-tools: "Apertis is upstream"
-    apertis-flatdeb: "Apertis is upstream"
-    apertis-hawkbit-agent: "Apertis is upstream"
-    apertis-tests: "Apertis is upstream"
-    apertis-update-manager: "Apertis is upstream"
-    apparmor-bluez-tester: "Apertis is upstream"
-    apparmor-chaiwala-system-tester: "Apertis is upstream"
-    apparmor-dbus-tester: "Apertis is upstream"
-    apparmor-demo: "Apertis is upstream"
-    apparmor-pulseaudio-tester: "Apertis is upstream"
-    apparmor-tumbler-tester: "Apertis is upstream"
-    bluez-phone-tester: "Apertis is upstream"
-    build-profile-presets: "Apertis is upstream"
-    cgroups-resource-control-tester: "Apertis is upstream"
-    cpio-gplv2: "Frozen to the version before its license change"
-    didcot: "Apertis is upstream"
-    diffutils-gplv2: "Frozen to the version before its license change"
-    findutils-gplv2: "Frozen to the version before its license change"
-    grep-gplv2: "Frozen to the version before its license change"
-    gzip-gplv2: "Frozen to the version before its license change"
-    maynard: "Apertis is upstream"
+    apertis-archive-keyring: *APERTIS_IS_UPSTREAM
+    apertis-customizations: *APERTIS_IS_UPSTREAM
+    apertis-dev-tools: *APERTIS_IS_UPSTREAM
+    apertis-flatdeb: *APERTIS_IS_UPSTREAM
+    apertis-hawkbit-agent: *APERTIS_IS_UPSTREAM
+    apertis-tests: *APERTIS_IS_UPSTREAM
+    apertis-update-manager: *APERTIS_IS_UPSTREAM
+    apparmor-bluez-tester: *APERTIS_IS_UPSTREAM
+    apparmor-chaiwala-system-tester: *APERTIS_IS_UPSTREAM
+    apparmor-dbus-tester: *APERTIS_IS_UPSTREAM
+    apparmor-demo: *APERTIS_IS_UPSTREAM
+    apparmor-pulseaudio-tester: *APERTIS_IS_UPSTREAM
+    apparmor-tumbler-tester: *APERTIS_IS_UPSTREAM
+    bluez-phone-tester: *APERTIS_IS_UPSTREAM
+    build-profile-presets: *APERTIS_IS_UPSTREAM
+    cgroups-resource-control-tester: *APERTIS_IS_UPSTREAM
+    cpio-gplv2: *FROZEN_LICENSE_CHANGE
+    didcot: *APERTIS_IS_UPSTREAM
+    diffutils-gplv2: *FROZEN_LICENSE_CHANGE
+    findutils-gplv2: *FROZEN_LICENSE_CHANGE
+    grep-gplv2: *FROZEN_LICENSE_CHANGE
+    gzip-gplv2: *FROZEN_LICENSE_CHANGE
+    maynard: *APERTIS_IS_UPSTREAM
     mktemp: "transitional package"
-    newport: "Apertis is upstream"
-    prestwood: "Apertis is upstream"
-    psdk: "Apertis is upstream"
-    rhosydd: "Apertis is upstream"
-    rpi64-autoconfig: "Apertis is upstream"
-    sed-gplv2: "Frozen to the version before its license change"
-    sequoia-gpgv: "Apertis is upstream"
-    tar-gplv2: "Frozen to the version before its license change"
-    traprain: "Apertis is upstream"
+    newport: *APERTIS_IS_UPSTREAM
+    prestwood: *APERTIS_IS_UPSTREAM
+    psdk: *APERTIS_IS_UPSTREAM
+    rhosydd: *APERTIS_IS_UPSTREAM
+    rpi64-autoconfig: *APERTIS_IS_UPSTREAM
+    sed-gplv2: *FROZEN_LICENSE_CHANGE
+    sequoia-gpgv: *APERTIS_IS_UPSTREAM
+    tar-gplv2: *FROZEN_LICENSE_CHANGE
+    traprain: *APERTIS_IS_UPSTREAM
   binary_version_ignore_list:
     cross-toolchain-base: "generates the binary version from the gcc sources"
     cross-toolchain-base-ports: "generates the binary version from the gcc sources"
@@ -65,54 +72,54 @@ whitelists:
   lagging_version_java_packages_ignore_list:
     apertis/v2022: "commits moving d/a/component from development to sdk and disabling java support were not backported"
   missing_binary_ignore_list:
-    binutils-alpha-linux-gnu: "not supported architectures disabled"
-    binutils-alpha-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-arc-linux-gnu: "not supported architectures disabled"
-    binutils-arc-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-hppa-linux-gnu: "not supported architectures disabled"
-    binutils-hppa-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-i686-gnu: "not supported architectures disabled"
-    binutils-i686-gnu-dbg: "not supported architectures disabled"
-    binutils-i686-kfreebsd-gnu: "not supported architectures disabled"
-    binutils-i686-kfreebsd-gnu-dbg: "not supported architectures disabled"
-    binutils-ia64-linux-gnu: "not supported architectures disabled"
-    binutils-ia64-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-m68k-linux-gnu: "not supported architectures disabled"
-    binutils-m68k-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-powerpc-linux-gnu: "not supported architectures disabled"
-    binutils-powerpc-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-powerpc64-linux-gnu: "not supported architectures disabled"
-    binutils-powerpc64-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-powerpc64le-linux-gnu: "not supported architectures disabled"
-    binutils-powerpc64le-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-riscv64-linux-gnu: "not supported architectures disabled"
-    binutils-riscv64-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-s390x-linux-gnu: "not supported architectures disabled"
-    binutils-s390x-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-sh4-linux-gnu: "not supported architectures disabled"
-    binutils-sh4-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-sparc64-linux-gnu: "not supported architectures disabled"
-    binutils-sparc64-linux-gnu-dbg: "not supported architectures disabled"
-    binutils-x86-64-kfreebsd-gnu: "not supported architectures disabled"
-    binutils-x86-64-kfreebsd-gnu-dbg: "not supported architectures disabled"
-    binutils-x86-64-linux-gnux32: "not supported architectures disabled"
-    binutils-x86-64-linux-gnux32-dbg: "not supported architectures disabled"
-    libbrlapi-java: "java disabled"
-    libbrlapi-jni: "java disabled"
-    libcephfs-java: "java disabled"
-    libcephfs-jni: "java disabled"
-    libc6-dev-ppc64el-cross: "not supported architectures disabled"
-    libc6-dev-s390-s390x-cross: "not supported architectures disabled"
-    libc6-dev-s390x-cross: "not supported architectures disabled"
-    libc6-ppc64el-cross: "not supported architectures disabled"
-    libc6-s390-s390x-cross: "not supported architectures disabled"
-    libc6-s390x-cross: "not supported architectures disabled"
-    linux-libc-dev-ppc64el-cross: "not supported architectures disabled"
-    linux-libc-dev-s390x-cross: "not supported architectures disabled"
-    libsasl2-modules-gssapi-heimdal: "disable support to avoid licensing issues"
-    libsasl2-modules-gssapi-mit: "disable support to avoid licensing issues"
-    libsasl2-modules-ldap: "disable support to avoid licensing issues"
-    libsasl2-modules-sql: "disable support to avoid licensing issues"
+    binutils-alpha-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-alpha-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-arc-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-arc-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-hppa-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-hppa-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-i686-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-i686-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-i686-kfreebsd-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-i686-kfreebsd-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-ia64-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-ia64-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-m68k-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-m68k-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc64-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc64-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-powerpc64le-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-riscv64-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-riscv64-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-s390x-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-sh4-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-sh4-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-sparc64-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-sparc64-linux-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-x86-64-kfreebsd-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-x86-64-kfreebsd-gnu-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-x86-64-linux-gnux32: *NOT_SUPPORTED_ARCH_DISABLED
+    binutils-x86-64-linux-gnux32-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    libbrlapi-java: *JAVA_DISABLED
+    libbrlapi-jni: *JAVA_DISABLED
+    libcephfs-java: *JAVA_DISABLED
+    libcephfs-jni: *JAVA_DISABLED
+    libc6-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libc6-dev-s390-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libc6-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libc6-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libc6-s390-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libc6-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    linux-libc-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    linux-libc-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libsasl2-modules-gssapi-heimdal: *DISABLED_LICENSE_ISSUE
+    libsasl2-modules-gssapi-mit: *DISABLED_LICENSE_ISSUE
+    libsasl2-modules-ldap: *DISABLED_LICENSE_ISSUE
+    libsasl2-modules-sql: *DISABLED_LICENSE_ISSUE
     libdb5.3-java: "java and tcl support disabled"
     libdb5.3-java-dev: "java and tcl support disabled"
     libdb5.3-java-jni: "java and tcl support disabled"
@@ -120,175 +127,175 @@ whitelists:
     libgomp-plugin-amdgcn1: "plugins disabled"
     libgomp-plugin-nvptx1: "plugins disabled"
     libhwasan0: "plugins disabled"
-    cpp-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    cpp-10-s390x-linux-gnu: "not supported architectures disabled"
-    g++-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    g++-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    g++-10-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-10-plugin-dev-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gcc-10-plugin-dev-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gcc-10-powerpc64le-linux-gnu-base: "not supported architectures disabled"
-    gcc-10-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-10-s390x-linux-gnu-base: "not supported architectures disabled"
-    gccgo-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gccgo-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gccgo-10-s390x-linux-gnu: "not supported architectures disabled"
-    gdc-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gdc-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gdc-10-s390x-linux-gnu: "not supported architectures disabled"
-    gfortran-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gfortran-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gfortran-10-s390x-linux-gnu: "not supported architectures disabled"
-    gm2-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gm2-10-s390x-linux-gnu: "not supported architectures disabled"
-    gnat-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gnat-10-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc++-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc++-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gobjc++-10-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc-10-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc-10-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gobjc-10-s390x-linux-gnu: "not supported architectures disabled"
-    lib32asan6-s390x-cross: "not supported architectures disabled"
-    lib32gcc-10-dev-s390x-cross: "not supported architectures disabled"
-    lib32gfortran-10-dev-s390x-cross: "not supported architectures disabled"
-    lib32go-10-dev-s390x-cross: "not supported architectures disabled"
-    lib32go16-s390x-cross: "not supported architectures disabled"
-    lib32gphobos-10-dev-s390x-cross: "not supported architectures disabled"
-    lib32gphobos1-s390x-cross: "not supported architectures disabled"
-    lib32objc-10-dev-s390x-cross: "not supported architectures disabled"
-    lib32stdc++-10-dev-s390x-cross: "not supported architectures disabled"
-    libasan6-ppc64el-cross: "not supported architectures disabled"
-    libasan6-s390x-cross: "not supported architectures disabled"
-    libgcc-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libgcc-10-dev-s390x-cross: "not supported architectures disabled"
-    libgfortran-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libgfortran-10-dev-s390x-cross: "not supported architectures disabled"
-    libgm2-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libgm2-10-dev-s390x-cross: "not supported architectures disabled"
-    libgm2-15-ppc64el-cross: "not supported architectures disabled"
-    libgm2-15-s390x-cross: "not supported architectures disabled"
-    libgnat-10-ppc64el-cross: "not supported architectures disabled"
-    libgnat-10-s390x-cross: "not supported architectures disabled"
-    libgo-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libgo-10-dev-s390x-cross: "not supported architectures disabled"
-    libgo16-ppc64el-cross: "not supported architectures disabled"
-    libgo16-s390x-cross: "not supported architectures disabled"
-    libgphobos-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libgphobos-10-dev-s390x-cross: "not supported architectures disabled"
-    libgphobos1-ppc64el-cross: "not supported architectures disabled"
-    libgphobos1-s390x-cross: "not supported architectures disabled"
-    libobjc-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libobjc-10-dev-s390x-cross: "not supported architectures disabled"
-    libstdc++-10-dev-ppc64el-cross: "not supported architectures disabled"
-    libstdc++-10-dev-s390x-cross: "not supported architectures disabled"
-    libstdc++-10-pic-ppc64el-cross: "not supported architectures disabled"
-    libstdc++-10-pic-s390x-cross: "not supported architectures disabled"
-    libtsan0-ppc64el-cross: "not supported architectures disabled"
-    cpp-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    cpp-12-s390x-linux-gnu: "not supported architectures disabled"
-    g++-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    g++-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    g++-12-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-12-plugin-dev-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gcc-12-plugin-dev-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gcc-12-powerpc64le-linux-gnu-base: "not supported architectures disabled"
-    gcc-12-s390x-linux-gnu: "not supported architectures disabled"
-    gcc-12-s390x-linux-gnu-base: "not supported architectures disabled"
-    gccgo-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gccgo-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gccgo-12-s390x-linux-gnu: "not supported architectures disabled"
-    gdc-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gdc-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gdc-12-s390x-linux-gnu: "not supported architectures disabled"
-    gfortran-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gfortran-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gfortran-12-s390x-linux-gnu: "not supported architectures disabled"
-    gm2-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gm2-12-s390x-linux-gnu: "not supported architectures disabled"
-    gnat-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gnat-12-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc++-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc++-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gobjc++-12-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc-12-multilib-s390x-linux-gnu: "not supported architectures disabled"
-    gobjc-12-powerpc64le-linux-gnu: "not supported architectures disabled"
-    gobjc-12-s390x-linux-gnu: "not supported architectures disabled"
-    lib32asan8-s390x-cross: "not supported architectures disabled"
-    lib32atomic1-s390x-cross: "not supported architectures disabled"
-    lib32gcc-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32gcc-s1-s390x-cross: "not supported architectures disabled"
-    lib32gfortran-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32gfortran5-s390x-cross: "not supported architectures disabled"
-    lib32go-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32go21-s390x-cross: "not supported architectures disabled"
-    lib32gomp1-s390x-cross: "not supported architectures disabled"
-    lib32gphobos-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32gphobos3-s390x-cross: "not supported architectures disabled"
-    lib32itm1-s390x-cross: "not supported architectures disabled"
-    lib32objc-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32objc4-s390x-cross: "not supported architectures disabled"
-    lib32stdc++-12-dev-s390x-cross: "not supported architectures disabled"
-    lib32stdc++6-s390x-cross: "not supported architectures disabled"
-    lib32ubsan1-s390x-cross: "not supported architectures disabled"
-    libasan8-ppc64el-cross: "not supported architectures disabled"
-    libasan8-s390x-cross: "not supported architectures disabled"
-    libatomic1-ppc64el-cross: "not supported architectures disabled"
-    libatomic1-s390x-cross: "not supported architectures disabled"
-    libgcc-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libgcc-12-dev-s390x-cross: "not supported architectures disabled"
-    libgcc-s1-ppc64el-cross: "not supported architectures disabled"
-    libgcc-s1-s390x-cross: "not supported architectures disabled"
-    libgfortran-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libgfortran-12-dev-s390x-cross: "not supported architectures disabled"
-    libgfortran5-ppc64el-cross: "not supported architectures disabled"
-    libgfortran5-s390x-cross: "not supported architectures disabled"
-    libgm2-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libgm2-12-dev-s390x-cross: "not supported architectures disabled"
-    libgm2-17-ppc64el-cross: "not supported architectures disabled"
-    libgm2-17-s390x-cross: "not supported architectures disabled"
-    libgnat-12-ppc64el-cross: "not supported architectures disabled"
-    libgnat-12-s390x-cross: "not supported architectures disabled"
-    libgo-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libgo-12-dev-s390x-cross: "not supported architectures disabled"
-    libgo21-ppc64el-cross: "not supported architectures disabled"
-    libgo21-s390x-cross: "not supported architectures disabled"
-    libgomp1-ppc64el-cross: "not supported architectures disabled"
-    libgomp1-s390x-cross: "not supported architectures disabled"
-    libgphobos-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libgphobos-12-dev-s390x-cross: "not supported architectures disabled"
-    libgphobos3-ppc64el-cross: "not supported architectures disabled"
-    libgphobos3-s390x-cross: "not supported architectures disabled"
-    libitm1-ppc64el-cross: "not supported architectures disabled"
-    libitm1-s390x-cross: "not supported architectures disabled"
-    liblsan0-ppc64el-cross: "not supported architectures disabled"
-    libobjc-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libobjc-12-dev-s390x-cross: "not supported architectures disabled"
-    libobjc4-ppc64el-cross: "not supported architectures disabled"
-    libobjc4-s390x-cross: "not supported architectures disabled"
-    libquadmath0-ppc64el-cross: "not supported architectures disabled"
-    libstdc++-12-dev-ppc64el-cross: "not supported architectures disabled"
-    libstdc++-12-dev-s390x-cross: "not supported architectures disabled"
-    libstdc++-12-pic-ppc64el-cross: "not supported architectures disabled"
-    libstdc++-12-pic-s390x-cross: "not supported architectures disabled"
-    libstdc++6-ppc64el-cross: "not supported architectures disabled"
-    libstdc++6-s390x-cross: "not supported architectures disabled"
-    libtsan2-ppc64el-cross: "not supported architectures disabled"
-    libubsan1-ppc64el-cross: "not supported architectures disabled"
-    libubsan1-s390x-cross: "not supported architectures disabled"
-    libhdf5-java: "java disabled"
-    libhdf5-jni: "java disabled"
-    libjpegxl-java: "java disabled"
+    cpp-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    cpp-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-plugin-dev-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-plugin-dev-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-powerpc64le-linux-gnu-base: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-10-s390x-linux-gnu-base: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gm2-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gm2-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gnat-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gnat-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-10-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-10-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-10-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32asan6-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gcc-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gfortran-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32go-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32go16-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gphobos-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gphobos1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32objc-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32stdc++-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libasan6-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libasan6-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-15-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-15-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgnat-10-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgnat-10-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo16-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo16-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-10-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-10-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-10-pic-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-10-pic-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libtsan0-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    cpp-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    cpp-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    g++-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-plugin-dev-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-plugin-dev-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-powerpc64le-linux-gnu-base: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gcc-12-s390x-linux-gnu-base: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gccgo-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gdc-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gfortran-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gm2-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gm2-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gnat-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gnat-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc++-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-12-multilib-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-12-powerpc64le-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    gobjc-12-s390x-linux-gnu: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32asan8-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32atomic1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gcc-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gcc-s1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gfortran-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gfortran5-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32go-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32go21-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gomp1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gphobos-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32gphobos3-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32itm1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32objc-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32objc4-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32stdc++-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32stdc++6-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    lib32ubsan1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libasan8-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libasan8-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libatomic1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libatomic1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-s1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgcc-s1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran5-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgfortran5-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-17-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgm2-17-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgnat-12-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgnat-12-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo21-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgo21-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgomp1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgomp1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos3-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libgphobos3-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libitm1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libitm1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    liblsan0-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc4-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libobjc4-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libquadmath0-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-12-dev-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-12-dev-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-12-pic-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++-12-pic-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++6-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libstdc++6-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libtsan2-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libubsan1-ppc64el-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libubsan1-s390x-cross: *NOT_SUPPORTED_ARCH_DISABLED
+    libhdf5-java: *JAVA_DISABLED
+    libhdf5-jni: *JAVA_DISABLED
+    libjpegxl-java: *JAVA_DISABLED
     libassuan-mingw-w64-dev: "mingw disabled"
-    libturbojpeg-java: "java disabled"
+    libturbojpeg-java: *JAVA_DISABLED
     libjsr305-java-doc: "doc disabled"
     libksba-mingw-w64-dev: "mingw disabled"
-    libsvm-java: "java disabled"
-    libsvm3-java: "java disabled"
+    libsvm-java: *JAVA_DISABLED
+    libsvm3-java: *JAVA_DISABLED
     libnlopt-guile0: "octave, guile, fortran and docs disabled"
     nlopt-doc: "octave, guile, fortran and docs disabled"
     octave-nlopt: "octave, guile, fortran and docs disabled"
@@ -305,14 +312,14 @@ whitelists:
     secilc-doc: "doc disabled"
     systemd-journal-remote: "systemd-journal-remote disabled"
     wpagui: "disable gui"
-    xen-hypervisor-4.17-arm64: "not supported architectures disabled"
-    xen-hypervisor-4.17-arm64-dbg: "not supported architectures disabled"
-    xen-hypervisor-4.17-armhf: "not supported architectures disabled"
-    xen-hypervisor-4.17-armhf-dbg: "not supported architectures disabled"
-    xen-system-arm64: "not supported architectures disabled"
-    xen-system-armhf: "not supported architectures disabled"
-    libz3-java: "java disabled"
-    libz3-jni: "java disabled"
+    xen-hypervisor-4.17-arm64: *NOT_SUPPORTED_ARCH_DISABLED
+    xen-hypervisor-4.17-arm64-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    xen-hypervisor-4.17-armhf: *NOT_SUPPORTED_ARCH_DISABLED
+    xen-hypervisor-4.17-armhf-dbg: *NOT_SUPPORTED_ARCH_DISABLED
+    xen-system-arm64: *NOT_SUPPORTED_ARCH_DISABLED
+    xen-system-armhf: *NOT_SUPPORTED_ARCH_DISABLED
+    libz3-java: *JAVA_DISABLED
+    libz3-jni: *JAVA_DISABLED
     xtables-addons-dkms: "disabled because out-of-tree kernel modules are discouraged in Apertis"
     xtables-addons-source: "disabled because out-of-tree kernel modules are discouraged in Apertis"
     cryptsetup-ssh: "SSH token disabled"
-- 
GitLab