~ubuntu-branches/ubuntu/precise/a2ps/precise-updates

« back to all changes in this revision

Viewing changes to auxdir/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2004-12-05 12:59:29 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041205125929-5bd2dz1wb75ki44g
Tags: 1:4.13b-4.2
* NMU
* Applied patch from Rudolf Polzer to fix bad shell quoting in popen
  that could be exploited to run shell commands if you controlled the
  filename that a2ps opened. Note that the previous fix was insufficient.
  Closes: #283134

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-01-05'
 
6
timestamp='2004-06-24'
7
7
 
8
8
# This file is (in principle) common to ALL GNU software.
9
9
# The presence of a machine in this file suggests that SOME GNU software
70
70
version="\
71
71
GNU config.sub ($timestamp)
72
72
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
74
74
Free Software Foundation, Inc.
75
75
 
76
76
This is free software; see the source for copying conditions.  There is NO
145
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
146
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
147
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
148
 
        -apple | -axis)
 
148
        -apple | -axis | -knuth | -cray)
149
149
                os=
150
150
                basic_machine=$1
151
151
                ;;
237
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238
238
        | i370 | i860 | i960 | ia64 \
239
239
        | ip2k | iq2000 \
240
 
        | m32r | m68000 | m68k | m88k | mcore \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
241
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
242
242
        | mips16 \
243
243
        | mips64 | mips64el \
262
262
        | pyramid \
263
263
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264
264
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
265
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
266
266
        | strongarm \
267
267
        | tahoe | thumb | tic4x | tic80 | tron \
268
268
        | v850 | v850e \
300
300
        | avr-* \
301
301
        | bs2000-* \
302
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
 
        | clipper-* | cydra-* \
 
303
        | clipper-* | craynv-* | cydra-* \
304
304
        | d10v-* | d30v-* | dlx-* \
305
305
        | elxsi-* \
306
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
308
308
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
309
309
        | i*86-* | i860-* | i960-* | ia64-* \
310
310
        | ip2k-* | iq2000-* \
311
 
        | m32r-* \
 
311
        | m32r-* | m32rle-* \
312
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
313
        | m88110-* | m88k-* | mcore-* \
314
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
326
326
        | mipsisa64sb1-* | mipsisa64sb1el-* \
327
327
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
328
        | mipstx39-* | mipstx39el-* \
 
329
        | mmix-* \
329
330
        | msp430-* \
330
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
331
        | none-* | np1-* | ns16k-* | ns32k-* \
331
332
        | orion-* \
332
333
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
333
334
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
336
337
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
337
338
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
338
339
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
339
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
340
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
340
341
        | tahoe-* | thumb-* \
341
342
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
342
343
        | tron-* \
363
364
                basic_machine=a29k-amd
364
365
                os=-udi
365
366
                ;;
 
367
        abacus)
 
368
                basic_machine=abacus-unknown
 
369
                ;;
366
370
        adobe68k)
367
371
                basic_machine=m68010-adobe
368
372
                os=-scout
442
446
                basic_machine=j90-cray
443
447
                os=-unicos
444
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
 
453
        cr16c)
 
454
                basic_machine=cr16c-unknown
 
455
                os=-elf
 
456
                ;;
445
457
        crds | unos)
446
458
                basic_machine=m68k-crds
447
459
                ;;
448
460
        cris | cris-* | etrax*)
449
461
                basic_machine=cris-axis
450
462
                ;;
 
463
        crx)
 
464
                basic_machine=crx-unknown
 
465
                os=-elf
 
466
                ;;
451
467
        da30 | da30-*)
452
468
                basic_machine=m68k-da30
453
469
                ;;
648
664
        mips3*)
649
665
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
650
666
                ;;
651
 
        mmix*)
652
 
                basic_machine=mmix-knuth
653
 
                os=-mmixware
654
 
                ;;
655
667
        monitor)
656
668
                basic_machine=m68k-rom68k
657
669
                os=-coff
732
744
        np1)
733
745
                basic_machine=np1-gould
734
746
                ;;
735
 
        nv1)
736
 
                basic_machine=nv1-cray
737
 
                os=-unicosmp
738
 
                ;;
739
747
        nsr-tandem)
740
748
                basic_machine=nsr-tandem
741
749
                ;;
1048
1056
        romp)
1049
1057
                basic_machine=romp-ibm
1050
1058
                ;;
 
1059
        mmix)
 
1060
                basic_machine=mmix-knuth
 
1061
                ;;
1051
1062
        rs6000)
1052
1063
                basic_machine=rs6000-ibm
1053
1064
                ;;
1070
1081
        sh64)
1071
1082
                basic_machine=sh64-unknown
1072
1083
                ;;
1073
 
        sparc | sparcv9 | sparcv9b)
 
1084
        sparc | sparcv8 | sparcv9 | sparcv9b)
1074
1085
                basic_machine=sparc-sun
1075
1086
                ;;
1076
1087
        cydra)
1143
1154
              | -aos* \
1144
1155
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1145
1156
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1146
 
              | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1147
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1157
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1158
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1159
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1148
1160
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1149
1161
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1150
1162
              | -chorusos* | -chorusrdb* \
1362
1374
        *-ibm)
1363
1375
                os=-aix
1364
1376
                ;;
 
1377
        *-knuth)
 
1378
                os=-mmixware
 
1379
                ;;
1365
1380
        *-wec)
1366
1381
                os=-proelf
1367
1382
                ;;