~ubuntu-branches/ubuntu/breezy/koffice/breezy-security

« back to all changes in this revision

Viewing changes to admin/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-10-11 14:49:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051011144950-lwpngbifzp8nk0ds
Tags: 1:1.4.1-0ubuntu7
* SECURITY UPDATE: fix heap based buffer overflow in the RTF importer of KWord
* Opening specially crafted RTF files in KWord can cause
  execution of abitrary code.
* Add kubuntu_01_rtfimport_heap_overflow.diff
* References:
  CAN-2005-2971
  CESA-2005-005
  http://www.koffice.org/security/advisory-20051011-1.txt

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2002-09-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
118
118
# Here we must recognize all the valid KERNEL-OS combinations.
119
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
120
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
 
121
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
122
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122
123
    os=-$maybe_os
123
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
125
    ;;
144
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
148
        -apple | -axis | -knuth | -cray)
148
149
                os=
149
150
                basic_machine=$1
150
151
                ;;
228
229
        | a29k \
229
230
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
231
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
232
        | am33_2.0 \
231
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
 
        | clipper \
 
234
        | c4x | clipper \
233
235
        | d10v | d30v | dlx | dsp16xx \
234
236
        | fr30 | frv \
235
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
238
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
239
        | ip2k | iq2000 \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
239
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
242
        | mips16 \
241
243
        | mips64 | mips64el \
245
247
        | mips64vr4300 | mips64vr4300el \
246
248
        | mips64vr5000 | mips64vr5000el \
247
249
        | mipsisa32 | mipsisa32el \
 
250
        | mipsisa32r2 | mipsisa32r2el \
248
251
        | mipsisa64 | mipsisa64el \
 
252
        | mipsisa64r2 | mipsisa64r2el \
249
253
        | mipsisa64sb1 | mipsisa64sb1el \
250
254
        | mipsisa64sr71k | mipsisa64sr71kel \
251
255
        | mipstx39 | mipstx39el \
252
256
        | mn10200 | mn10300 \
 
257
        | msp430 \
253
258
        | ns16k | ns32k \
254
259
        | openrisc | or32 \
255
260
        | pdp10 | pdp11 | pj | pjl \
256
261
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
257
262
        | pyramid \
258
 
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
263
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
259
264
        | sh64 | sh64le \
260
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
265
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
261
266
        | strongarm \
262
 
        | tahoe | thumb | tic80 | tron \
 
267
        | tahoe | thumb | tic4x | tic80 | tron \
263
268
        | v850 | v850e \
264
269
        | we32k \
265
270
        | x86 | xscale | xstormy16 | xtensa \
294
299
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
295
300
        | avr-* \
296
301
        | bs2000-* \
297
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
298
 
        | clipper-* | cydra-* \
 
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
303
        | clipper-* | craynv-* | cydra-* \
299
304
        | d10v-* | d30v-* | dlx-* \
300
305
        | elxsi-* \
301
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
302
307
        | h8300-* | h8500-* \
303
308
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
304
309
        | i*86-* | i860-* | i960-* | ia64-* \
305
 
        | ip2k-* \
306
 
        | m32r-* \
 
310
        | ip2k-* | iq2000-* \
 
311
        | m32r-* | m32rle-* \
307
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
308
313
        | m88110-* | m88k-* | mcore-* \
309
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
320
        | mips64vr4300-* | mips64vr4300el-* \
316
321
        | mips64vr5000-* | mips64vr5000el-* \
317
322
        | mipsisa32-* | mipsisa32el-* \
 
323
        | mipsisa32r2-* | mipsisa32r2el-* \
318
324
        | mipsisa64-* | mipsisa64el-* \
 
325
        | mipsisa64r2-* | mipsisa64r2el-* \
319
326
        | mipsisa64sb1-* | mipsisa64sb1el-* \
320
327
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321
 
        | mipstx39 | mipstx39el \
 
328
        | mipstx39-* | mipstx39el-* \
 
329
        | mmix-* \
 
330
        | msp430-* \
322
331
        | none-* | np1-* | ns16k-* | ns32k-* \
323
332
        | orion-* \
324
333
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325
334
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
326
335
        | pyramid-* \
327
336
        | romp-* | rs6000-* \
328
 
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
337
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
329
338
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
330
339
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
331
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
332
 
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
 
340
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
341
        | tahoe-* | thumb-* \
 
342
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
343
        | tron-* \
333
344
        | v850-* | v850e-* | vax-* \
334
345
        | we32k-* \
335
346
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
353
364
                basic_machine=a29k-amd
354
365
                os=-udi
355
366
                ;;
 
367
        abacus)
 
368
                basic_machine=abacus-unknown
 
369
                ;;
356
370
        adobe68k)
357
371
                basic_machine=m68010-adobe
358
372
                os=-scout
367
381
                basic_machine=a29k-none
368
382
                os=-bsd
369
383
                ;;
 
384
        amd64)
 
385
                basic_machine=x86_64-pc
 
386
                ;;
 
387
        amd64-*)
 
388
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
389
                ;;
370
390
        amdahl)
371
391
                basic_machine=580-amdahl
372
392
                os=-sysv
426
446
                basic_machine=j90-cray
427
447
                os=-unicos
428
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
 
453
        cr16c)
 
454
                basic_machine=cr16c-unknown
 
455
                os=-elf
 
456
                ;;
429
457
        crds | unos)
430
458
                basic_machine=m68k-crds
431
459
                ;;
432
460
        cris | cris-* | etrax*)
433
461
                basic_machine=cris-axis
434
462
                ;;
 
463
        crx)
 
464
                basic_machine=crx-unknown
 
465
                os=-elf
 
466
                ;;
435
467
        da30 | da30-*)
436
468
                basic_machine=m68k-da30
437
469
                ;;
632
664
        mips3*)
633
665
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
634
666
                ;;
635
 
        mmix*)
636
 
                basic_machine=mmix-knuth
637
 
                os=-mmixware
638
 
                ;;
639
667
        monitor)
640
668
                basic_machine=m68k-rom68k
641
669
                os=-coff
727
755
                basic_machine=or32-unknown
728
756
                os=-coff
729
757
                ;;
 
758
        os400)
 
759
                basic_machine=powerpc-ibm
 
760
                os=-os400
 
761
                ;;
730
762
        OSE68000 | ose68000)
731
763
                basic_machine=m68000-ericsson
732
764
                os=-ose
758
790
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
759
791
                basic_machine=i686-pc
760
792
                ;;
761
 
        pentiumii | pentium2)
 
793
        pentiumii | pentium2 | pentiumiii | pentium3)
762
794
                basic_machine=i686-pc
763
795
                ;;
 
796
        pentium4)
 
797
                basic_machine=i786-pc
 
798
                ;;
764
799
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
765
800
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
766
801
                ;;
767
802
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
768
803
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
769
804
                ;;
770
 
        pentiumii-* | pentium2-*)
 
805
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
771
806
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
772
807
                ;;
 
808
        pentium4-*)
 
809
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
810
                ;;
773
811
        pn)
774
812
                basic_machine=pn-gould
775
813
                ;;
828
866
        sb1el)
829
867
                basic_machine=mipsisa64sb1el-unknown
830
868
                ;;
 
869
        sei)
 
870
                basic_machine=mips-sei
 
871
                os=-seiux
 
872
                ;;
831
873
        sequent)
832
874
                basic_machine=i386-sequent
833
875
                ;;
835
877
                basic_machine=sh-hitachi
836
878
                os=-hms
837
879
                ;;
 
880
        sh64)
 
881
                basic_machine=sh64-unknown
 
882
                ;;
838
883
        sparclite-wrs | simso-wrs)
839
884
                basic_machine=sparclite-wrs
840
885
                os=-vxworks
901
946
                basic_machine=i386-sequent
902
947
                os=-dynix
903
948
                ;;
904
 
        t3d)
905
 
                basic_machine=alpha-cray
906
 
                os=-unicos
907
 
                ;;
908
949
        t3e)
909
950
                basic_machine=alphaev5-cray
910
951
                os=-unicos
913
954
                basic_machine=t90-cray
914
955
                os=-unicos
915
956
                ;;
916
 
        tic4x | c4x*)
917
 
                basic_machine=tic4x-unknown
918
 
                os=-coff
919
 
                ;;
920
957
        tic54x | c54x*)
921
958
                basic_machine=tic54x-unknown
922
959
                os=-coff
923
960
                ;;
 
961
        tic55x | c55x*)
 
962
                basic_machine=tic55x-unknown
 
963
                os=-coff
 
964
                ;;
 
965
        tic6x | c6x*)
 
966
                basic_machine=tic6x-unknown
 
967
                os=-coff
 
968
                ;;
924
969
        tx39)
925
970
                basic_machine=mipstx39-unknown
926
971
                ;;
934
979
        tower | tower-32)
935
980
                basic_machine=m68k-ncr
936
981
                ;;
 
982
        tpf)
 
983
                basic_machine=s390x-ibm
 
984
                os=-tpf
 
985
                ;;
937
986
        udi29k)
938
987
                basic_machine=a29k-amd
939
988
                os=-udi
977
1026
                basic_machine=hppa1.1-winbond
978
1027
                os=-proelf
979
1028
                ;;
980
 
        windows32)
981
 
                basic_machine=i386-pc
982
 
                os=-windows32-msvcrt
983
 
                ;;
984
1029
        xps | xps100)
985
1030
                basic_machine=xps100-honeywell
986
1031
                ;;
1011
1056
        romp)
1012
1057
                basic_machine=romp-ibm
1013
1058
                ;;
 
1059
        mmix)
 
1060
                basic_machine=mmix-knuth
 
1061
                ;;
1014
1062
        rs6000)
1015
1063
                basic_machine=rs6000-ibm
1016
1064
                ;;
1027
1075
        we32k)
1028
1076
                basic_machine=we32k-att
1029
1077
                ;;
1030
 
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
 
1078
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1031
1079
                basic_machine=sh-unknown
1032
1080
                ;;
1033
1081
        sh64)
1034
1082
                basic_machine=sh64-unknown
1035
1083
                ;;
1036
 
        sparc | sparcv9 | sparcv9b)
 
1084
        sparc | sparcv8 | sparcv9 | sparcv9b)
1037
1085
                basic_machine=sparc-sun
1038
1086
                ;;
1039
1087
        cydra)
1106
1154
              | -aos* \
1107
1155
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1108
1156
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1109
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1110
 
              | -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* \
1111
1160
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1112
1161
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1113
1162
              | -chorusos* | -chorusrdb* \
1114
1163
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1115
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1116
 
              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 
1164
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1165
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1117
1166
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1118
1167
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1119
1168
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1120
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
 
1169
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
1170
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1121
1171
        # Remember, each alternative MUST END IN *, to match a version number.
1122
1172
                ;;
1123
1173
        -qnx*)
1129
1179
                        ;;
1130
1180
                esac
1131
1181
                ;;
 
1182
        -nto-qnx*)
 
1183
                ;;
1132
1184
        -nto*)
1133
 
                os=-nto-qnx
 
1185
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1134
1186
                ;;
1135
1187
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1136
1188
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1139
1191
        -mac*)
1140
1192
                os=`echo $os | sed -e 's|mac|macos|'`
1141
1193
                ;;
 
1194
        -linux-dietlibc)
 
1195
                os=-linux-dietlibc
 
1196
                ;;
1142
1197
        -linux*)
1143
1198
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1144
1199
                ;;
1151
1206
        -opened*)
1152
1207
                os=-openedition
1153
1208
                ;;
 
1209
        -os400*)
 
1210
                os=-os400
 
1211
                ;;
1154
1212
        -wince*)
1155
1213
                os=-wince
1156
1214
                ;;
1172
1230
        -atheos*)
1173
1231
                os=-atheos
1174
1232
                ;;
 
1233
        -syllable*)
 
1234
                os=-syllable
 
1235
                ;;
1175
1236
        -386bsd)
1176
1237
                os=-bsd
1177
1238
                ;;
1194
1255
        -sinix*)
1195
1256
                os=-sysv4
1196
1257
                ;;
 
1258
        -tpf*)
 
1259
                os=-tpf
 
1260
                ;;
1197
1261
        -triton*)
1198
1262
                os=-sysv3
1199
1263
                ;;
1224
1288
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1225
1289
                os=-mint
1226
1290
                ;;
 
1291
        -aros*)
 
1292
                os=-aros
 
1293
                ;;
 
1294
        -kaos*)
 
1295
                os=-kaos
 
1296
                ;;
1227
1297
        -none)
1228
1298
                ;;
1229
1299
        *)
1255
1325
        arm*-semi)
1256
1326
                os=-aout
1257
1327
                ;;
 
1328
    c4x-* | tic4x-*)
 
1329
        os=-coff
 
1330
        ;;
1258
1331
        # This must come before the *-dec entry.
1259
1332
        pdp10-*)
1260
1333
                os=-tops20
1301
1374
        *-ibm)
1302
1375
                os=-aix
1303
1376
                ;;
 
1377
        *-knuth)
 
1378
                os=-mmixware
 
1379
                ;;
1304
1380
        *-wec)
1305
1381
                os=-proelf
1306
1382
                ;;
1433
1509
                        -mvs* | -opened*)
1434
1510
                                vendor=ibm
1435
1511
                                ;;
 
1512
                        -os400*)
 
1513
                                vendor=ibm
 
1514
                                ;;
1436
1515
                        -ptx*)
1437
1516
                                vendor=sequent
1438
1517
                                ;;
 
1518
                        -tpf*)
 
1519
                                vendor=ibm
 
1520
                                ;;
1439
1521
                        -vxsim* | -vxworks* | -windiss*)
1440
1522
                                vendor=wrs
1441
1523
                                ;;