~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-14 13:24:46 UTC
  • Revision ID: james.westby@ubuntu.com-20050314132446-l3z00jyi0toqjtbu
Tags: 1:4.2.0a-11ubuntu3
* ntpd/ntpd.c:
  - Revert the hardcoded root dropping parameters from previous version.
    This is now done in init script.
  - Bugfix: If group was specified as name, previous versions erroneously
    used the uid as gid.
* debian/ntp-server.init.d:
  - Run as user/group ntp by default (previously hardcoded in ntpd.c).
  - Already determine the uid/gid of 'ntp' instead of doing it in ntpd.c
    (for some reason this fails directly after boot). (Ubuntu #5399)
  - Add -e to interpreter to stop on errors.
  - append "/usr/bin/" to PATH setting (for getent and cut).

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-03-12'
 
6
timestamp='2004-11-30'
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
                ;;
267
267
        | tahoe | thumb | tic4x | tic80 | tron \
268
268
        | v850 | v850e \
269
269
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
270
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
271
        | z8k)
272
272
                basic_machine=$basic_machine-unknown
273
273
                ;;
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-* \
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-* \
342
343
        | tron-* \
343
344
        | v850-* | v850e-* | vax-* \
344
345
        | we32k-* \
345
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
346
 
        | xtensa-* \
 
346
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
347
        | xstormy16-* | xtensa-* \
347
348
        | ymp-* \
348
349
        | z8k-*)
349
350
                ;;
445
446
                basic_machine=j90-cray
446
447
                os=-unicos
447
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
448
453
        cr16c)
449
454
                basic_machine=cr16c-unknown
450
455
                os=-elf
452
457
        crds | unos)
453
458
                basic_machine=m68k-crds
454
459
                ;;
 
460
        crisv32 | crisv32-* | etraxfs*)
 
461
                basic_machine=crisv32-axis
 
462
                ;;
455
463
        cris | cris-* | etrax*)
456
464
                basic_machine=cris-axis
457
465
                ;;
481
489
                basic_machine=m88k-motorola
482
490
                os=-sysv3
483
491
                ;;
 
492
        djgpp)
 
493
                basic_machine=i586-pc
 
494
                os=-msdosdjgpp
 
495
                ;;
484
496
        dpx20 | dpx20-*)
485
497
                basic_machine=rs6000-bull
486
498
                os=-bosx
659
671
        mips3*)
660
672
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
661
673
                ;;
662
 
        mmix*)
663
 
                basic_machine=mmix-knuth
664
 
                os=-mmixware
665
 
                ;;
666
674
        monitor)
667
675
                basic_machine=m68k-rom68k
668
676
                os=-coff
743
751
        np1)
744
752
                basic_machine=np1-gould
745
753
                ;;
746
 
        nv1)
747
 
                basic_machine=nv1-cray
748
 
                os=-unicosmp
749
 
                ;;
750
754
        nsr-tandem)
751
755
                basic_machine=nsr-tandem
752
756
                ;;
1029
1033
                basic_machine=hppa1.1-winbond
1030
1034
                os=-proelf
1031
1035
                ;;
 
1036
        xbox)
 
1037
                basic_machine=i686-pc
 
1038
                os=-mingw32
 
1039
                ;;
1032
1040
        xps | xps100)
1033
1041
                basic_machine=xps100-honeywell
1034
1042
                ;;
1059
1067
        romp)
1060
1068
                basic_machine=romp-ibm
1061
1069
                ;;
 
1070
        mmix)
 
1071
                basic_machine=mmix-knuth
 
1072
                ;;
1062
1073
        rs6000)
1063
1074
                basic_machine=rs6000-ibm
1064
1075
                ;;
1294
1305
        -kaos*)
1295
1306
                os=-kaos
1296
1307
                ;;
 
1308
        -zvmoe)
 
1309
                os=-zvmoe
 
1310
                ;;
1297
1311
        -none)
1298
1312
                ;;
1299
1313
        *)
1374
1388
        *-ibm)
1375
1389
                os=-aix
1376
1390
                ;;
 
1391
        *-knuth)
 
1392
                os=-mmixware
 
1393
                ;;
1377
1394
        *-wec)
1378
1395
                os=-proelf
1379
1396
                ;;