• Bug#1107839: marked as done (unblock: cifs-utils/2:7.4-1) (3/6)

    From Debian Bug Tracking System@21:1/5 to All on Sun Jun 15 22:20:01 2025
    [continued from previous message]

    - parisc64:Linux:*:* | hppa64:Linux:*:*)
    - echo hppa64-unknown-linux-"$LIBC"
    - exit ;;
    - parisc:Linux:*:* | hppa:Linux:*:*)
    - # Look for CPU level
    - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
    - PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
    - *) echo hppa-unknown-linux-"$LIBC" ;;
    - esac
    - exit ;;
    - ppc64:Linux:*:*)
    - echo powerpc64-unknown-linux-"$LIBC"
    - exit ;;
    - ppc:Linux:*:*)
    - echo powerpc-unknown-linux-"$LIBC"
    - exit ;;
    - ppc64le:Linux:*:*)
    - echo powerpc64le-unknown-linux-"$LIBC"
    - exit ;;
    - ppcle:Linux:*:*)
    - echo powerpcle-unknown-linux-"$LIBC"
    - exit ;;
    - riscv32:Linux:*:* | riscv64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - s390:Linux:*:* | s390x:Linux:*:*)
    - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
    - exit ;;
    - sh64*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - sh*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - sparc:Linux:*:* | sparc64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - tile*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - vax:Linux:*:*)
    - echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
    - exit ;;
    - x86_64:Linux:*:*)
    - if objdump -f /bin/sh | grep -q elf32-x86-64; then
    - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
    - else
    - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
    - fi
    - exit ;;
    - xtensa*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - i*86:DYNIX/ptx:4*:*)
    - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
    - # earlier versions are messed up and put the nodename in both
    - # sysname and nodename.
    - echo i386-sequent-sysv4
    - exit ;;
    - i*86:UNIX_SV:4.2MP:2.*)
    - # Unixware is an offshoot of SVR4, but it has its own version
    - # number series starting with 2...
    - # I am not positive that other SVR4 systems won't match this,
    - # I just have to hope. -- rms.
    - # Use sysv4.2uw... so that sysv4* matches it.
    - echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
    - exit ;;
    - i*86:OS/2:*:*)
    - # If we were able to find `uname', then EMX Unix compatibility
    - # is probably installed.
    - echo "$UNAME_MACHINE"-pc-os2-emx
    - exit ;;
    - i*86:XTS-300:*:STOP)
    - echo "$UNAME_MACHINE"-unknown-stop
    - exit ;;
    - i*86:atheos:*:*)
    - echo "$UNAME_MACHINE"-unknown-atheos
    - exit ;;
    - i*86:syllable:*:*)
    - echo "$UNAME_MACHINE"-pc-syllable
    - exit ;;
    - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
    - echo i386-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - i*86:*DOS:*:*)
    - echo "$UNAME_MACHINE"-pc-msdosdjgpp
    - exit ;;
    - i*86:*:4.*:*)
    - UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
    - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
    - echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
    - else
    - echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
    - fi
    - exit ;;
    - i*86:*:5:[678]*)
    - # UnixWare 7.x, OpenUNIX and OpenServer 6.
    - case `/bin/uname -X | grep "^Machine"` in
    - *486*) UNAME_MACHINE=i486 ;;
    - *Pentium) UNAME_MACHINE=i586 ;;
    - *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
    - esac
    - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
    - exit ;;
    - i*86:*:3.2:*)
    - if test -f /usr/options/cb.name; then
    - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
    - echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
    - elif /bin/uname -X 2>/dev/null >/dev/null ; then
    - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
    - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
    - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
    - && UNAME_MACHINE=i586
    - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
    - && UNAME_MACHINE=i686
    - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
    - && UNAME_MACHINE=i686
    - echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
    - else
    - echo "$UNAME_MACHINE"-pc-sysv32
    - fi
    - exit ;;
    - pc:*:*:*)
    - # Left here for compatibility:
    - # uname -m prints for DJGPP always 'pc', but it prints nothing about
    - # the processor, so we play safe by assuming i586.
    - # Note: whatever this is, it MUST be the same as what config.sub
    - # prints for the "djgpp" host, or else GDB configure will decide that
    - # this is a cross-build.
    - echo i586-pc-msdosdjgpp
    - exit ;;
    - Intel:Mach:3*:*)
    - echo i386-pc-mach3
    - exit ;;
    - paragon:*:*:*)
    - echo i860-intel-osf1
    - exit ;;
    - i860:*:4.*:*) # i860-SVR4
    - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
    - echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
    - else # Add other i860-SVR4 vendors below as they are discovered.
    - echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
    - fi
    - exit ;;
    - mini*:CTIX:SYS*5:*)
    - # "miniframe"
    - echo m68010-convergent-sysv
    - exit ;;
    - mc68k:UNIX:SYSTEM5:3.51m)
    - echo m68k-convergent-sysv
    - exit ;;
    - M680?0:D-NIX:5.3:*)
    - echo m68k-diab-dnix
    - exit ;;
    - M68*:*:R3V[5678]*:*)
    - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
    - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
    - OS_REL=''
    - test -r /etc/.relid \
    - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
    - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4; exit; } ;;
    - NCR*:*:4.2:* | MPRAS*:*:4.2:*)
    - OS_REL='.3'
    - test -r /etc/.relid \
    - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
    - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
    - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
    - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
    - echo m68k-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - mc68030:UNIX_System_V:4.*:*)
    - echo m68k-atari-sysv4
    - exit ;;
    - TSUNAMI:LynxOS:2.*:*)
    - echo sparc-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - rs6000:LynxOS:2.*:*)
    - echo rs6000-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
    - echo powerpc-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - SM[BE]S:UNIX_SV:*:*)
    - echo mips-dde-sysv"$UNAME_RELEASE"
    - exit ;;
    - RM*:ReliantUNIX-*:*:*)
    - echo mips-sni-sysv4
    - exit ;;
    - RM*:SINIX-*:*:*)
    - echo mips-sni-sysv4
    - exit ;;
    - *:SINIX-*:*:*)
    - if uname -p 2>/dev/null >/dev/null ; then
    - UNAME_MACHINE=`(uname -p) 2>/dev/null`
    - echo "$UNAME_MACHINE"-sni-sysv4
    - else
    - echo ns32k-sni-sysv
    - fi
    - exit ;;
    - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
    - # says <[email protected]>
    - echo i586-unisys-sysv4
    - exit ;;
    - *:UNIX_System_V:4*:FTX*)
    - # From Gerald Hewes <[email protected]>.
    - # How about differentiating between stratus architectures? -djm
    - echo hppa1.1-stratus-sysv4
    - exit ;;
    - *:*:*:FTX*)
    - # From [email protected].
    - echo i860-stratus-sysv4
    - exit ;;
    - i*86:VOS:*:*)
    - # From [email protected].
    - echo "$UNAME_MACHINE"-stratus-vos
    - exit ;;
    - *:VOS:*:*)
    - # From [email protected].
    - echo hppa1.1-stratus-vos
    - exit ;;
    - mc68*:A/UX:*:*)
    - echo m68k-apple-aux"$UNAME_RELEASE"
    - exit ;;
    - news*:NEWS-OS:6*:*)
    - echo mips-sony-newsos6
    - exit ;;
    - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
    - if [ -d /usr/nec ]; then
    - echo mips-nec-sysv"$UNAME_RELEASE"
    - else
    - echo mips-unknown-sysv"$UNAME_RELEASE"
    - fi
    - exit ;;
    - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
    - echo powerpc-be-beos
    - exit ;;
    - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
    - echo powerpc-apple-beos
    - exit ;;
    - BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
    - echo i586-pc-beos
    - exit ;;
    - BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
    - echo i586-pc-haiku
    - exit ;;
    - x86_64:Haiku:*:*)
    - echo x86_64-unknown-haiku
    - exit ;;
    - SX-4:SUPER-UX:*:*)
    - echo sx4-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-5:SUPER-UX:*:*)
    - echo sx5-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-6:SUPER-UX:*:*)
    - echo sx6-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-7:SUPER-UX:*:*)
    - echo sx7-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-8:SUPER-UX:*:*)
    - echo sx8-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-8R:SUPER-UX:*:*)
    - echo sx8r-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-ACE:SUPER-UX:*:*)
    - echo sxace-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - Power*:Rhapsody:*:*)
    - echo powerpc-apple-rhapsody"$UNAME_RELEASE"
    - exit ;;
    - *:Rhapsody:*:*)
    - echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
    - exit ;;
    - *:Darwin:*:*)
    - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
    - eval "$set_cc_for_build"
    - if test "$UNAME_PROCESSOR" = unknown ; then
    - UNAME_PROCESSOR=powerpc
    - fi
    - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
    - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
    - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
    - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    - grep IS_64BIT_ARCH >/dev/null
    - then
    - case $UNAME_PROCESSOR in
    - i386) UNAME_PROCESSOR=x86_64 ;;
    - powerpc) UNAME_PROCESSOR=powerpc64 ;;
    - esac
    - fi
    - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    - grep IS_PPC >/dev/null
    - then
    - UNAME_PROCESSOR=powerpc
    - fi
    - fi
    - elif test "$UNAME_PROCESSOR" = i386 ; then
    - # Avoid executing cc on OS X 10.9, as it ships with a stub
    - # that puts up a graphical alert prompting to install
    - # developer tools. Any system running Mac OS X 10.7 or
    - # later (Darwin 11 and later) is required to have a 64-bit
    - # processor. This is not true of the ARM version of Darwin
    - # that Apple uses in portable devices.
    - UNAME_PROCESSOR=x86_64
    - fi
    - echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
    - exit ;;
    - *:procnto*:*:* | *:QNX:[0123456789]*:*)
    - UNAME_PROCESSOR=`uname -p`
    - if test "$UNAME_PROCESSOR" = x86; then
    - UNAME_PROCESSOR=i386
    - UNAME_MACHINE=pc
    - fi
    - echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
    - exit ;;
    - *:QNX:*:4*)
    - echo i386-pc-qnx
    - exit ;;
    - NEO-*:NONSTOP_KERNEL:*:*)
    - echo neo-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSE-*:NONSTOP_KERNEL:*:*)
    - echo nse-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSR-*:NONSTOP_KERNEL:*:*)
    - echo nsr-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSV-*:NONSTOP_KERNEL:*:*)
    - echo nsv-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSX-*:NONSTOP_KERNEL:*:*)
    - echo nsx-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - *:NonStop-UX:*:*)
    - echo mips-compaq-nonstopux
    - exit ;;
    - BS2000:POSIX*:*:*)
    - echo bs2000-siemens-sysv
    - exit ;;
    - DS/*:UNIX_System_V:*:*)
    - echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
    - exit ;;
    - *:Plan9:*:*)
    - # "uname -m" is not consistent, so use $cputype instead. 386
    - # is converted to i386 for consistency with other x86
    - # operating systems.
    - if test "$cputype" = 386; then
    - UNAME_MACHINE=i386
    - else
    - UNAME_MACHINE="$cputype"
    - fi
    - echo "$UNAME_MACHINE"-unknown-plan9
    - exit ;;
    - *:TOPS-10:*:*)
    - echo pdp10-unknown-tops10
    - exit ;;
    - *:TENEX:*:*)
    - echo pdp10-unknown-tenex
    - exit ;;
    - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
    - echo pdp10-dec-tops20
    - exit ;;
    - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
    - echo pdp10-xkl-tops20
    - exit ;;
    - *:TOPS-20:*:*)
    - echo pdp10-unknown-tops20
    - exit ;;
    - *:ITS:*:*)
    - echo pdp10-unknown-its
    - exit ;;
    - SEI:*:*:SEIUX)
    - echo mips-sei-seiux"$UNAME_RELEASE"
    - exit ;;
    - *:DragonFly:*:*)
    - echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
    - exit ;;
    - *:*VMS:*:*)
    - UNAME_MACHINE=`(uname -p) 2>/dev/null`
    - case "$UNAME_MACHINE" in
    - A*) echo alpha-dec-vms ; exit ;;
    - I*) echo ia64-dec-vms ; exit ;;
    - V*) echo vax-dec-vms ; exit ;;
    - esac ;;
    - *:XENIX:*:SysV)
    - echo i386-pc-xenix
    - exit ;;
    - i*86:skyos:*:*)
    - echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
    - exit ;;
    - i*86:rdos:*:*)
    - echo "$UNAME_MACHINE"-pc-rdos
    - exit ;;
    - i*86:AROS:*:*)
    - echo "$UNAME_MACHINE"-pc-aros
    - exit ;;
    - x86_64:VMkernel:*:*)
    - echo "$UNAME_MACHINE"-unknown-esx
    - exit ;;
    - amd64:Isilon\ OneFS:*:*)
    - echo x86_64-unknown-onefs
    - exit ;;
    -esac
    -
    -echo "$0: unable to guess system type" >&2
    -
    -case "$UNAME_MACHINE:$UNAME_SYSTEM" in
    - mips:Linux | mips64:Linux)
    - # If we got here on MIPS GNU/Linux, output extra information.
    - cat >&2 <<EOF
    -
    -NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
    -the system type. Please install a C compiler and try again.
    -EOF
    - ;;
    -esac
    -
    -cat >&2 <<EOF
    -
    -This script (version $timestamp), has failed to recognize the
    -operating system you are using. If your script is old, overwrite *all*
    -copies of config.guess and config.sub with the latest versions from:
    -
    - https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
    -and
    - https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub -
    -If $0 has already been updated, send the following data and any
    -information you think might be pertinent to [email protected] to
    -provide the necessary information to handle your system.
    -
    -config.guess timestamp = $timestamp
    -
    -uname -m = `(uname -m) 2>/dev/null || echo unknown`
    -uname -r = `(uname -r) 2>/dev/null || echo unknown`
    -uname -s = `(uname -s) 2>/dev/null || echo unknown`
    -uname -v = `(uname -v) 2>/dev/null || echo unknown`
    -
    -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
    -/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
    -
    -hostinfo = `(hostinfo) 2>/dev/null`
    -/bin/universe = `(/bin/universe) 2>/dev/null`
    -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
    -/bin/arch = `(/bin/arch) 2>/dev/null`
    -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
    -
    -UNAME_MACHINE = "$UNAME_MACHINE"
    -UNAME_RELEASE = "$UNAME_RELEASE"
    -UNAME_SYSTEM = "$UNAME_SYSTEM"
    -UNAME_VERSION = "$UNAME_VERSION"
    -EOF
    -
    -exit 1
    -
    -# Local variables:
    -# eval: (add-hook 'write-file-functions 'time-stamp)
    -# time-stamp-start: "timestamp='"
    -# time-stamp-format: "%:y-%02m-%02d"
    -# time-stamp-end: "'"
    -# End:
    diff -Nru cifs-utils-7.3/config.sub cifs-utils-7.4/config.sub
    --- cifs-utils-7.3/config.sub 2025-03-21 02:22:36.000000000 +0300
    +++ cifs-utils-7.4/config.sub 1970-01-01 03:00:00.000000000 +0300
    @@ -1,1801 +0,0 @@
    -#! /bin/sh
    -# Configuration validation subroutine script.
    -# Copyright 1992-2018 Free Software Foundation, Inc.
    -
    -timestamp='2018-02-22'
    -
    -# This file 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 3 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/>.
    -#
    -# As a special exception to the GNU General Public License, i