~ubuntu-branches/ubuntu/wily/ipsec-tools/wily

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso, Lorenzo De Liso, Alessio Treglia
  • Date: 2010-11-24 22:37:15 UTC
  • mfrom: (3.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20101124223715-lbrztexdw55qx8c0
Tags: 1:0.7.3-12ubuntu1
[ Lorenzo De Liso ]
* Merge from debian unstable (LP: #681427), remaining changes:
  - debian/control: Depend on lsb-base
  - debian/ipsec-tools.setket.init: LSB init script.
  - debian/patches/fix-address-already-in-use.patch: Fix address already 
    in use. (LP: #332606)
* Dropped changes:
  - debian/{control,rules}: add and enable hardening build for PIE
    (Debian bug 542731): fixed in debian
  - src/racoon/ipsec_doi.c: Patched to fix segfault when using
    ipv6 addresses in sainfo section of racoon.conf. Thanks to
    Fredrik Ljunggren. (LP: #374185): fixed upstream

[ Alessio Treglia ]
* Refresh Lorenzo's patch in order to make it apply cleanly,
  add patch header as per DEP-3 spec.
* Refresh fix-several-formating-errors-in-setkey-manpage.patch.

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, 2004, 2005, 2006, 2007, 2008, 2009
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-06-11'
 
7
timestamp='2008-01-16'
8
8
 
9
9
# This file is (in principle) common to ALL GNU software.
10
10
# The presence of a machine in this file suggests that SOME GNU software
122
122
case $maybe_os in
123
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
125
 
  kopensolaris*-gnu* | \
126
125
  storm-chaos* | os2-emx* | rtmk-nova*)
127
126
    os=-$maybe_os
128
127
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
153
152
                os=
154
153
                basic_machine=$1
155
154
                ;;
156
 
        -bluegene*)
157
 
                os=-cnk
158
 
                ;;
159
155
        -sim | -cisco | -oki | -wec | -winbond)
160
156
                os=
161
157
                basic_machine=$1
253
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
254
250
        | i370 | i860 | i960 | ia64 \
255
251
        | ip2k | iq2000 \
256
 
        | lm32 \
257
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
258
 
        | maxq | mb | microblaze | mcore | mep | metag \
 
253
        | maxq | mb | microblaze | mcore | mep \
259
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
260
255
        | mips16 \
261
256
        | mips64 | mips64el \
262
 
        | mips64octeon | mips64octeonel \
 
257
        | mips64vr | mips64vrel \
263
258
        | mips64orion | mips64orionel \
264
 
        | mips64r5900 | mips64r5900el \
265
 
        | mips64vr | mips64vrel \
266
259
        | mips64vr4100 | mips64vr4100el \
267
260
        | mips64vr4300 | mips64vr4300el \
268
261
        | mips64vr5000 | mips64vr5000el \
275
268
        | mipsisa64sr71k | mipsisa64sr71kel \
276
269
        | mipstx39 | mipstx39el \
277
270
        | mn10200 | mn10300 \
278
 
        | moxie \
279
271
        | mt \
280
272
        | msp430 \
281
273
        | nios | nios2 \
285
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286
278
        | pyramid \
287
279
        | score \
288
 
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289
281
        | sh64 | sh64le \
290
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
291
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
294
286
        | v850 | v850e \
295
287
        | we32k \
296
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297
 
        | z8k | z80)
 
289
        | z8k)
298
290
                basic_machine=$basic_machine-unknown
299
291
                ;;
300
292
        m6811 | m68hc11 | m6812 | m68hc12)
337
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
338
330
        | i*86-* | i860-* | i960-* | ia64-* \
339
331
        | ip2k-* | iq2000-* \
340
 
        | lm32-* \
341
332
        | m32c-* | m32r-* | m32rle-* \
342
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
344
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345
336
        | mips16-* \
346
337
        | mips64-* | mips64el-* \
347
 
        | mips64octeon-* | mips64octeonel-* \
 
338
        | mips64vr-* | mips64vrel-* \
348
339
        | mips64orion-* | mips64orionel-* \
349
 
        | mips64r5900-* | mips64r5900el-* \
350
 
        | mips64vr-* | mips64vrel-* \
351
340
        | mips64vr4100-* | mips64vr4100el-* \
352
341
        | mips64vr4300-* | mips64vr4300el-* \
353
342
        | mips64vr5000-* | mips64vr5000el-* \
369
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370
359
        | pyramid-* \
371
360
        | romp-* | rs6000-* \
372
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375
364
        | sparclite-* \
376
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377
366
        | tahoe-* | thumb-* \
378
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
379
368
        | tron-* \
380
369
        | v850-* | v850e-* | vax-* \
381
370
        | we32k-* \
382
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
383
372
        | xstormy16-* | xtensa*-* \
384
373
        | ymp-* \
385
 
        | z8k-* | z80-*)
 
374
        | z8k-*)
386
375
                ;;
387
376
        # Recognize the basic CPU types without company name, with glob match.
388
377
        xtensa*)
450
439
                basic_machine=m68k-apollo
451
440
                os=-bsd
452
441
                ;;
453
 
        aros)
454
 
                basic_machine=i386-pc
455
 
                os=-aros
456
 
                ;;
457
442
        aux)
458
443
                basic_machine=m68k-apple
459
444
                os=-aux
470
455
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
471
456
                os=-linux
472
457
                ;;
473
 
        bluegene*)
474
 
                basic_machine=powerpc-ibm
475
 
                os=-cnk
476
 
                ;;
477
458
        c90)
478
459
                basic_machine=c90-cray
479
460
                os=-unicos
480
461
                ;;
481
 
        cegcc)
482
 
                basic_machine=arm-unknown
483
 
                os=-cegcc
484
 
                ;;
485
462
        convex-c1)
486
463
                basic_machine=c1-convex
487
464
                os=-bsd
549
526
                basic_machine=m88k-motorola
550
527
                os=-sysv3
551
528
                ;;
552
 
        dicos)
553
 
                basic_machine=i686-pc
554
 
                os=-dicos
555
 
                ;;
556
529
        djgpp)
557
530
                basic_machine=i586-pc
558
531
                os=-msdosdjgpp
1155
1128
                basic_machine=z8k-unknown
1156
1129
                os=-sim
1157
1130
                ;;
1158
 
        z80-*-coff)
1159
 
                basic_machine=z80-unknown
1160
 
                os=-sim
1161
 
                ;;
1162
1131
        none)
1163
1132
                basic_machine=none-none
1164
1133
                os=-none
1197
1166
        we32k)
1198
1167
                basic_machine=we32k-att
1199
1168
                ;;
1200
 
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
 
1169
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1201
1170
                basic_machine=sh-unknown
1202
1171
                ;;
1203
1172
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1267
1236
        # Each alternative MUST END IN A *, to match a version number.
1268
1237
        # -sysv* is not here because it comes later, after sysvr4.
1269
1238
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1239
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1271
1240
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1272
 
              | -kopensolaris* \
1273
1241
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274
 
              | -aos* | -aros* \
 
1242
              | -aos* \
1275
1243
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1276
1244
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1277
1245
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1280
1248
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1281
1249
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1282
1250
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1283
 
              | -chorusos* | -chorusrdb* | -cegcc* \
 
1251
              | -chorusos* | -chorusrdb* \
1284
1252
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1285
1253
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1286
1254
              | -uxpv* | -beos* | -mpeix* | -udk* \
1420
1388
        -zvmoe)
1421
1389
                os=-zvmoe
1422
1390
                ;;
1423
 
        -dicos*)
1424
 
                os=-dicos
1425
 
                ;;
1426
1391
        -none)
1427
1392
                ;;
1428
1393
        *)
1620
1585
                        -sunos*)
1621
1586
                                vendor=sun
1622
1587
                                ;;
1623
 
                        -cnk*|-aix*)
 
1588
                        -aix*)
1624
1589
                                vendor=ibm
1625
1590
                                ;;
1626
1591
                        -beos*)