EVERYTHING FROM THE OTHER REPO
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Version=2.0
|
||||
#
|
||||
# This file contains the table of arch ABI attribute overrides.
|
||||
#
|
||||
# If the ABI is not present here then the attribute information for a
|
||||
# Debian arch tuple matches the one on the cputable.
|
||||
#
|
||||
# - Column 1 is the Debian name for the ABI.
|
||||
# - Column 2 is the size (in bits) of the ABI pointers.
|
||||
#
|
||||
# <Debian name> <Bits>
|
||||
abin32 32
|
||||
x32 32
|
||||
@@ -0,0 +1,54 @@
|
||||
# Version=1.0
|
||||
#
|
||||
# This file contains the table of known CPU names.
|
||||
#
|
||||
# Architecture names are formed as a combination of the system name
|
||||
# (from ostable) and CPU name (from this table) after mapping from
|
||||
# the Debian arch tuple (from tupletable).
|
||||
#
|
||||
# - Column 1 is the Debian name for the CPU, used to form the cpu part in
|
||||
# the Debian arch tuple.
|
||||
# - Column 2 is the GNU name for the CPU, used to output build, host and
|
||||
# target variables in ‘dpkg-architecture’.
|
||||
# - Column 3 is an extended regular expression used to fully match against
|
||||
# the CPU part of the output of the GNU config.guess script. The order of
|
||||
# this column is important when using wildcards as it is used in a first
|
||||
# match basis.
|
||||
# - Column 4 is the size (in bits) of pointers.
|
||||
# - Column 5 is the endianness (byte ordering in numbers).
|
||||
#
|
||||
# <Debian name> <GNU name> <config.guess regex> <Bits> <Endianness>
|
||||
alpha alpha alpha.* 64 little
|
||||
amd64 x86_64 (amd64|x86_64) 64 little
|
||||
arc arc arc 32 little
|
||||
armeb armeb arm.*b 32 big
|
||||
arm arm arm.* 32 little
|
||||
arm64 aarch64 aarch64 64 little
|
||||
hppa hppa hppa.* 32 big
|
||||
loong64 loongarch64 loongarch64 64 little
|
||||
i386 i686 (i[34567]86|pentium) 32 little
|
||||
ia64 ia64 ia64 64 little
|
||||
m68k m68k m68k 32 big
|
||||
mips mips mips(eb)? 32 big
|
||||
mipsel mipsel mipsel 32 little
|
||||
mipsr6 mipsisa32r6 mipsisa32r6 32 big
|
||||
mipsr6el mipsisa32r6el mipsisa32r6el 32 little
|
||||
mips64 mips64 mips64 64 big
|
||||
mips64el mips64el mips64el 64 little
|
||||
mips64r6 mipsisa64r6 mipsisa64r6 64 big
|
||||
mips64r6el mipsisa64r6el mipsisa64r6el 64 little
|
||||
nios2 nios2 nios2 32 little
|
||||
or1k or1k or1k 32 big
|
||||
powerpc powerpc (powerpc|ppc) 32 big
|
||||
powerpcel powerpcle powerpcle 32 little
|
||||
ppc64 powerpc64 (powerpc|ppc)64 64 big
|
||||
ppc64el powerpc64le powerpc64le 64 little
|
||||
riscv64 riscv64 riscv64 64 little
|
||||
s390 s390 s390 32 big
|
||||
s390x s390x s390x 64 big
|
||||
sh3 sh3 sh3 32 little
|
||||
sh3eb sh3eb sh3eb 32 big
|
||||
sh4 sh4 sh4 32 little
|
||||
sh4eb sh4eb sh4eb 32 big
|
||||
sparc sparc sparc 32 big
|
||||
sparc64 sparc64 sparc64 64 big
|
||||
@@ -0,0 +1,41 @@
|
||||
# Version=2.0
|
||||
#
|
||||
# This file contains the table of known operating system names.
|
||||
#
|
||||
# Architecture names are formed as a combination of the system name
|
||||
# (from this table) and CPU name (from cputable) after mapping from
|
||||
# the Debian arch tuple (from tupletable).
|
||||
#
|
||||
# - Column 1 is the Debian name for the system, used to form the system part
|
||||
# in the Debian arch tuple.
|
||||
# - Column 2 is the GNU name for the system, used to output build, host and
|
||||
# target variables in ‘dpkg-architecture’.
|
||||
# - Column 3 is an extended regular expression used to fully match against
|
||||
# the system part of the output of the GNU config.guess script. The order
|
||||
# of this column is important when using wildcards as it is used in a first
|
||||
# match basis.
|
||||
#
|
||||
# <Debian name> <GNU name> <config.guess regex>
|
||||
eabi-uclibc-linux linux-uclibceabi linux[^-]*-uclibceabi
|
||||
base-uclibc-linux linux-uclibc linux[^-]*-uclibc
|
||||
eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
|
||||
base-musl-linux linux-musl linux[^-]*-musl
|
||||
eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf
|
||||
eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
|
||||
abin32-gnu-linux linux-gnuabin32 linux[^-]*-gnuabin32
|
||||
abi64-gnu-linux linux-gnuabi64 linux[^-]*-gnuabi64
|
||||
spe-gnu-linux linux-gnuspe linux[^-]*-gnuspe
|
||||
x32-gnu-linux linux-gnux32 linux[^-]*-gnux32
|
||||
base-gnu-linux linux-gnu linux[^-]*(-gnu.*)?
|
||||
eabihf-gnu-kfreebsd kfreebsd-gnueabihf kfreebsd[^-]*-gnueabihf
|
||||
base-gnu-kfreebsd kfreebsd-gnu kfreebsd[^-]*(-gnu.*)?
|
||||
base-gnu-kopensolaris kopensolaris-gnu kopensolaris[^-]*(-gnu.*)?
|
||||
base-gnu-hurd gnu gnu[^-]*
|
||||
base-bsd-darwin darwin darwin[^-]*
|
||||
base-bsd-dragonflybsd dragonflybsd dragonfly[^-]*
|
||||
base-bsd-freebsd freebsd freebsd[^-]*
|
||||
base-bsd-netbsd netbsd netbsd[^-]*
|
||||
base-bsd-openbsd openbsd openbsd[^-]*
|
||||
base-sysv-aix aix aix[^-]*
|
||||
base-sysv-solaris solaris solaris[^-]*
|
||||
base-tos-mint mint mint[^-]*
|
||||
@@ -0,0 +1,127 @@
|
||||
#
|
||||
# Copyright © 2010 Raphaël Hertzog <hertzog@debian.org>
|
||||
# Copyright © 2011-2015 Guillem Jover <guillem@debian.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
# shellcheck shell=sh
|
||||
|
||||
# This shell library (since dpkg 1.20.1) provides reporting support.
|
||||
#
|
||||
# Symbols starting with «_dpkg_» are considered private and should not
|
||||
# be used outside this shell library.
|
||||
|
||||
# Set a default program name (since 1.22.12).
|
||||
: "${PROGNAME:=$(basename "$0")}"
|
||||
|
||||
# Standard ANSI colors and attributes.
|
||||
COLOR_NORMAL=''
|
||||
COLOR_RESET='[0m'
|
||||
COLOR_BOLD='[1m'
|
||||
COLOR_BLACK='[30m'
|
||||
COLOR_RED='[31m'
|
||||
COLOR_GREEN='[32m'
|
||||
COLOR_YELLOW='[33m'
|
||||
COLOR_BLUE='[34m'
|
||||
COLOR_MAGENTA='[35m'
|
||||
COLOR_CYAN='[36m'
|
||||
COLOR_WHITE='[37m'
|
||||
COLOR_BOLD_BLACK='[1;30m'
|
||||
COLOR_BOLD_RED='[1;31m'
|
||||
COLOR_BOLD_GREEN='[1;32m'
|
||||
COLOR_BOLD_YELLOW='[1;33m'
|
||||
COLOR_BOLD_BLUE='[1;34m'
|
||||
COLOR_BOLD_MAGENTA='[1;35m'
|
||||
COLOR_BOLD_CYAN='[1;36m'
|
||||
COLOR_BOLD_WHITE='[1;37m'
|
||||
|
||||
: "${DPKG_COLORS=auto}"
|
||||
|
||||
case "$DPKG_COLORS" in
|
||||
auto)
|
||||
if [ -t 1 ]; then
|
||||
_dpkg_use_colors=yes
|
||||
else
|
||||
_dpkg_use_colors=no
|
||||
fi
|
||||
;;
|
||||
always)
|
||||
_dpkg_use_colors=yes
|
||||
;;
|
||||
*)
|
||||
_dpkg_use_colors=no
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $_dpkg_use_colors = yes ]; then
|
||||
_dpkg_color_clear="$COLOR_RESET"
|
||||
_dpkg_color_prog="$COLOR_BOLD"
|
||||
_dpkg_color_hint="$COLOR_BOLD_BLUE"
|
||||
_dpkg_color_info="$COLOR_GREEN"
|
||||
_dpkg_color_notice="$COLOR_YELLOW"
|
||||
_dpkg_color_warn="$COLOR_BOLD_YELLOW"
|
||||
_dpkg_color_error="$COLOR_BOLD_RED"
|
||||
else
|
||||
_dpkg_color_clear=""
|
||||
fi
|
||||
_dpkg_fmt_prog="$_dpkg_color_prog$PROGNAME$_dpkg_color_clear"
|
||||
|
||||
# This function is deprecated and kept only for backwards compatibility.
|
||||
# Supported since dpkg 1.20.1.
|
||||
# Deprecated since dpkg 1.22.12.
|
||||
setup_colors()
|
||||
{
|
||||
:
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.20.1.
|
||||
debug() {
|
||||
if [ -n "$DPKG_DEBUG" ]; then
|
||||
echo "$_dpkg_fmt_prog: debug: $*" >&2
|
||||
fi
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.20.1.
|
||||
error() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_error}error${_dpkg_color_clear}: $*" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.20.1.
|
||||
warning() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_warn}warning${_dpkg_color_clear}: $*" >&2
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.22.14.
|
||||
notice() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_notice}notice${_dpkg_color_clear}: $*"
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.22.14.
|
||||
info() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_info}info${_dpkg_color_clear}: $*"
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.22.14.
|
||||
hint() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_hint}hint${_dpkg_color_clear}: $*"
|
||||
}
|
||||
|
||||
# Supported since dpkg 1.20.1.
|
||||
badusage() {
|
||||
echo "$_dpkg_fmt_prog: ${_dpkg_color_error}error${_dpkg_color_clear}: $1" >&2
|
||||
echo >&2
|
||||
echo "Use '$PROGNAME --help' for program usage information." >&2
|
||||
exit 1
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
# Version=1.0
|
||||
#
|
||||
# Bidirectional mapping between a Debian arch tuple and a Debian arch name.
|
||||
#
|
||||
# Debian arch tuple names are formed as a combination of the Debian system
|
||||
# name (from the ostable) and the Debian CPU name (from the cputable) after
|
||||
# applying the variable substitutions.
|
||||
#
|
||||
# Debian arch names are the result of historical naming conventions in Debian,
|
||||
# where the predominant system architectures have many of their parts in
|
||||
# implicit form, by only exposing the CPU with the ABI bolted on, where less
|
||||
# common architectures have their OS part spelled out, and where even less
|
||||
# common ones, have their libc spelled out. This table maps between the ideal
|
||||
# architecture tuple, with the current messy reality.
|
||||
#
|
||||
# - Column 1 is the Debian arch tuple name, as the normalized form of the
|
||||
# architecture names, used as the internal representation.
|
||||
# - Column 2 is the Debian arch name, as the abbreviated form of the
|
||||
# architecture names, used as the public interface.
|
||||
#
|
||||
# Supported variables: <cpu>
|
||||
#
|
||||
# <Debian arch tuple> <Debian arch name>
|
||||
eabi-uclibc-linux-arm uclibc-linux-armel
|
||||
base-uclibc-linux-<cpu> uclibc-linux-<cpu>
|
||||
eabihf-musl-linux-arm musl-linux-armhf
|
||||
base-musl-linux-<cpu> musl-linux-<cpu>
|
||||
eabihf-gnu-linux-arm armhf
|
||||
eabi-gnu-linux-arm armel
|
||||
abin32-gnu-linux-mips64r6el mipsn32r6el
|
||||
abin32-gnu-linux-mips64r6 mipsn32r6
|
||||
abin32-gnu-linux-mips64el mipsn32el
|
||||
abin32-gnu-linux-mips64 mipsn32
|
||||
abi64-gnu-linux-mips64r6el mips64r6el
|
||||
abi64-gnu-linux-mips64r6 mips64r6
|
||||
abi64-gnu-linux-mips64el mips64el
|
||||
abi64-gnu-linux-mips64 mips64
|
||||
spe-gnu-linux-powerpc powerpcspe
|
||||
x32-gnu-linux-amd64 x32
|
||||
base-gnu-linux-<cpu> <cpu>
|
||||
base-gnu-kfreebsd-amd64 kfreebsd-amd64
|
||||
base-gnu-kfreebsd-i386 kfreebsd-i386
|
||||
base-gnu-kopensolaris-amd64 kopensolaris-amd64
|
||||
base-gnu-kopensolaris-i386 kopensolaris-i386
|
||||
base-gnu-hurd-amd64 hurd-amd64
|
||||
base-gnu-hurd-i386 hurd-i386
|
||||
base-bsd-dragonflybsd-amd64 dragonflybsd-amd64
|
||||
base-bsd-freebsd-amd64 freebsd-amd64
|
||||
base-bsd-freebsd-arm freebsd-arm
|
||||
base-bsd-freebsd-arm64 freebsd-arm64
|
||||
base-bsd-freebsd-i386 freebsd-i386
|
||||
base-bsd-freebsd-powerpc freebsd-powerpc
|
||||
base-bsd-freebsd-ppc64 freebsd-ppc64
|
||||
base-bsd-freebsd-riscv freebsd-riscv
|
||||
base-bsd-openbsd-<cpu> openbsd-<cpu>
|
||||
base-bsd-netbsd-<cpu> netbsd-<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
|
||||
base-sysv-solaris-i386 solaris-i386
|
||||
base-sysv-solaris-sparc solaris-sparc
|
||||
base-sysv-solaris-sparc64 solaris-sparc64
|
||||
base-tos-mint-m68k mint-m68k
|
||||
Reference in New Issue
Block a user