summaryrefslogtreecommitdiffstats
path: root/share/misc
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-08-05 18:35:35 +0000
committerwollman <wollman@FreeBSD.org>1996-08-05 18:35:35 +0000
commitbca99d79d3eb1b8ae4861f4b2905f95d77ea732d (patch)
tree99e53d51ab0e876649422d60eb433927af6bce53 /share/misc
parent6a498116770bb8685b459bb01d58d96e08f0fcd0 (diff)
downloadFreeBSD-src-bca99d79d3eb1b8ae4861f4b2905f95d77ea732d.zip
FreeBSD-src-bca99d79d3eb1b8ae4861f4b2905f95d77ea732d.tar.gz
Add a listing of ISO 3166 country codes (probably the first thing in this
directory that's actually useful). This will be needed for the next-generation `tzsetup'.
Diffstat (limited to 'share/misc')
-rw-r--r--share/misc/Makefile8
-rw-r--r--share/misc/iso3166460
2 files changed, 464 insertions, 4 deletions
diff --git a/share/misc/Makefile b/share/misc/Makefile
index 983e43a..8eb62fa 100644
--- a/share/misc/Makefile
+++ b/share/misc/Makefile
@@ -1,8 +1,8 @@
-# @(#)Makefile 8.1 (Berkeley) 6/8/93
+# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
+# $Id$
-FILES= airport ascii birthtoken eqnchar flowers inter.phone \
- man.template \
- mdoc.template na.phone operator scsi_modes zipcodes
+FILES= airport ascii birthtoken eqnchar flowers inter.phone iso3166 \
+ man.template mdoc.template na.phone operator scsi_modes zipcodes
NOOBJ= noobj
all clean cleandir depend lint tags:
diff --git a/share/misc/iso3166 b/share/misc/iso3166
new file mode 100644
index 0000000..64089e6
--- /dev/null
+++ b/share/misc/iso3166
@@ -0,0 +1,460 @@
+# $Id$
+#
+# ISO 3166 country codes
+# Ths includes many places that are not legally independent countries,
+# but which is it convenient to refer to separately from their
+# parent lands.
+#
+# The original information in this file comes from ftp.ripe.net,
+# which got it from DIN, the official keeper of these codes.
+# The file format used by RIPE was not suitable, so it has been
+# rearranged to put the two-letter country code first. The country
+# names were capitalized, and most parenthetical designations have
+# been deleted unless necessary to distinguish two counties.
+#
+# Latest change: Thu Feb 10 10:20:28 MET 1994
+#
+# two three number name
+AF AFG 004 Afghanistan
+AL ALB 008 Albania
+DZ DZA 012 Algeria
+AS ASM 016 American Samoa
+AD AND 020 Andorra
+AO AGO 024 Angola
+AI AIA 660 Anguilla
+AQ ATA 010 Antarctica
+AG ATG 028 Antigua and Barbuda
+AR ARG 032 Argentina
+AM ARM 051 Armenia
+AW ABW 533 Aruba
+AU AUS 036 Australia
+AT AUT 040 Austria
+AZ AZE 031 Azerbaijan
+BS BHS 044 Bahamas
+BH BHR 048 Bahrain
+BD BGD 050 Bangladesh
+BB BRB 052 Barbados
+BY BLR 112 Belarus
+BE BEL 056 Belgium
+BZ BLZ 084 Belize
+BJ BEN 204 Benin
+BM BMU 060 Bermuda
+BT BTN 064 Bhutan
+BO BOL 068 Bolivia
+BA BIH 070 Bosnia and Herzegowina
+BW BWA 072 Botswana
+BV BVT 074 Bouvet Island
+BR BRA 076 Brazil
+IO IOT 086 British Indian Ocean Territory
+BN BRN 096 Brunei Darussalam
+BG BGR 100 Bulgaria
+BF BFA 854 Burkina Faso
+BI BDI 108 Burundi
+KH KHM 116 Cambodia
+CM CMR 120 Cameroon
+CA CAN 124 Canada
+CV CPV 132 Cape Verde
+KY CYM 136 Cayman Islands
+CF CAF 140 Central African Republic
+TD TCD 148 Chad
+CL CHL 152 Chile
+CN CHN 156 China
+CX CXR 162 Christmas Island
+CC CCK 166 Cocos (Keeling) Islands
+CO COL 170 Colombia
+KM COM 174 Comoros
+CG COG 178 Congo
+CK COK 184 Cook Islands
+CR CRI 188 Costa Rica
+CI CIV 384 Cote d'Ivoire
+HR HRV 191 Croatia
+CU CUB 192 Cuba
+CY CYP 196 Cyprus
+CZ CZE 203 Czech Republic
+DK DNK 208 Denmark
+DJ DJI 262 Djibouti
+DM DMA 212 Dominica
+DO DOM 214 Dominican Republic
+TP TMP 626 East Timor
+EC ECU 218 Ecuador
+EG EGY 818 Egypt
+SV SLV 222 El Salvador
+GQ GNQ 226 Equatorial Guinea
+ER ERI 232 Eritrea
+EE EST 233 Estonia
+ET ETH 231 Ethiopia
+FK FLK 238 Falkland Islands
+FO FRO 234 Faroe Islands
+FJ FJI 242 Fiji
+FI FIN 246 Finland
+FR FRA 250 France
+FX FXX 249 France, Metropolitan
+GF GUF 254 French Guiana
+PF PYF 258 French Polynesia
+TF ATF 260 French Southern Territories
+GA GAB 266 Gabon
+GM GMB 270 Gambia
+GE GEO 268 Georgia
+DE DEU 276 Germany
+GH GHA 288 Ghana
+GI GIB 292 Gibraltar
+GR GRC 300 Greece
+GL GRL 304 Greenland
+GD GRD 308 Grenada
+GP GLP 312 Guadeloupe
+GU GUM 316 Guam
+GT GTM 320 Guatemala
+GN GIN 324 Guinea
+GW GNB 624 Guinea-Bissau
+GY GUY 328 Guyana
+HT HTI 332 Haiti
+HM HMD 334 Heard and McDonald Islands
+HN HND 340 Honduras
+HK HKG 344 Hong Kong
+HU HUN 348 Hungary
+IS ISL 352 Iceland
+IN IND 356 India
+ID IDN 360 Indonesia
+IR IRN 364 Iran
+IQ IRQ 368 Iraq
+IE IRL 372 Ireland
+IL ISR 376 Israel
+IT ITA 380 Italy
+JM JAM 388 Jamaica
+JP JPN 392 Japan
+JO JOR 400 Jordan
+KZ KAZ 398 Kazakhstan
+KE KEN 404 Kenya
+KI KIR 296 Kiribati
+KP PRK 408 Korea (Democratic People's Republic of)
+KR KOR 410 Korea (Republic of)
+KW KWT 414 Kuwait
+KG KGZ 417 Kyrgyzstan
+LA LAO 418 Lao People's Democratic Republic
+LV LVA 428 Latvia
+LB LBN 422 Lebanon
+LS LSO 426 Lesotho
+LR LBR 430 Liberia
+LY LBY 434 Libyan Arab Jamahiriya
+LI LIE 438 Liechtenstein
+LT LTU 440 Lithuania
+LU LUX 442 Luxembourg
+MO MAC 446 Macau
+MK MKD 807 Macedonia (The Former Yugoslav Republic of)
+MG MDG 450 Madagascar
+MW MWI 454 Malawi
+MY MYS 458 Malaysia
+MV MDV 462 Maldives
+ML MLI 466 Mali
+MT MLT 470 Malta
+MH MHL 584 Marshall Islands
+MQ MTQ 474 Martinique
+MR MRT 478 Mauritania
+MU MUS 480 Mauritius
+YT MYT 175 Mayotte
+MX MEX 484 Mexico
+FM FSM 583 Micronesia (Federated States of)
+MD MDA 498 Moldova
+MC MCO 492 Monaco
+MN MNG 496 Mongolia
+MS MSR 500 Montserrat
+MA MAR 504 Morocco
+MZ MOZ 508 Mozambique
+MM MMR 104 Myanmar
+NA NAM 516 Namibia
+NR NRU 520 Nauru
+NP NPL 524 Nepal
+NL NLD 528 Netherlands
+AN ANT 530 Netherlands Antilles
+NC NCL 540 New Caledonia
+NZ NZL 554 New Zealand
+NI NIC 558 Nicaragua
+NE NER 562 Niger
+NG NGA 566 Nigeria
+NU NIU 570 Niue
+NF NFK 574 Norfolk Island
+MP MNP 580 Northern Mariana Islands
+NO NOR 578 Norway
+OM OMN 512 Oman
+PK PAK 586 Pakistan
+PW PLW 585 Palau
+PA PAN 591 Panama
+PG PNG 598 Papua-New Guinea
+PY PRY 600 Paraguay
+PE PER 604 Peru
+PH PHL 608 Philippines
+PN PCN 612 Pitcairn
+PL POL 616 Poland
+PT PRT 620 Portugal
+PR PRI 630 Puerto Rico
+QA QAT 634 Qatar
+RE REU 638 Reunion
+RO ROM 642 Romania
+RU RUS 643 Russian Federation
+RW RWA 646 Rwanda
+KN KNA 659 Saint Kitts and Nevis
+LC LCA 662 Saint Lucia
+VC VCT 670 Saint Vincent and the Grenadines
+WS WSM 882 Samoa
+SM SMR 674 San Marino
+ST STP 678 Sao Tome and Principe
+SA SAU 682 Saudi Arabia
+SN SEN 686 Senegal
+SC SYC 690 Seychelles
+SL SLE 694 Sierra Leone
+SG SGP 702 Singapore
+SK SVK 703 Slovakia
+SI SVN 705 Slovenia
+SB SLB 090 Solomon Islands
+SO SOM 706 Somalia
+ZA ZAF 710 South Africa
+GS SGS 239 South Georgia and the South Sandwich Islands
+ES ESP 724 Spain
+LK LKA 144 Sri Lanka
+SH SHN 654 St. Helena
+PM SPM 666 St. Pierre and Miquelon
+SD SDN 736 Sudan
+SR SUR 740 Suriname
+SJ SJM 744 Svalbard and Jan Mayen Islands
+SZ SWZ 748 Swaziland
+SE SWE 752 Sweden
+CH CHE 756 Switzerland
+SY SYR 760 Syrian Arab Republic
+TW TWN 158 Taiwan
+TJ TJK 762 Tajikistan
+TZ TZA 834 Tanzania
+TH THA 764 Thailand
+TG TGO 768 Togo
+TK TKL 772 Tokelau
+TO TON 776 Tonga
+TT TTO 780 Trinidad and Tobago
+TN TUN 788 Tunisia
+TR TUR 792 Turkey
+TM TKM 795 Turkmenistan
+TC TCA 796 Turks and Caicos Islands
+TV TUV 798 Tuvalu
+UG UGA 800 Uganda
+UA UKR 804 Ukraine
+AE ARE 784 United Arab Emirates
+GB GBR 826 United Kingdom
+US USA 840 United States
+UM UMI 581 United States Minor Outlying Islands
+UY URY 858 Uruguay
+UZ UZB 860 Uzbekistan
+VU VUT 548 Vanuatu
+VA VAT 336 Vatican City State
+VE VEN 862 Venezuela
+VN VNM 704 Viet Nam
+VG VGB 092 Virgin Islands (British)
+VI VIR 850 Virgin Islands (U.S.)
+WF WLF 876 Wallis and Futuna Islands
+EH ESH 732 Western Sahara
+YE YEM 887 Yemen
+YU YUG 891 Yugoslavia
+ZR ZAR 180 Zaire
+ZM ZMB 894 Zambia
+ZW ZWE 716 Zimbabwe
+#
+# Revision history:
+#
+#
+# List of changes applied, as specified in registration newsletters:
+#
+# Newsletter III-1, 1989-12-5:
+# Burma deleted, Myanmar added (same numeric value, change of country name)
+#
+# Newsletter III-2, 1990-07-16
+# Namibia, changing information not included in this file
+#
+# Newsletter III-3, 1990-08-14
+# Afghanistan, changing information not included in this file
+#
+# Newsletter III-4, 1990-08-14
+# Ethiopia, changing information not included in this file
+#
+# Newsletter III-5, 1990-08-14
+# Fiji, changing information not included in this file
+#
+# Newsletter III-6, 1990-08-14
+# Hungary, changing information not included in this file
+#
+# Newsletter III-7, 1990-08-14
+# Unification of Yemen, under new numeric code
+#
+# Newsletter III-8, 1990-08-14
+# Romania, changing information not included in this file
+#
+# Newsletter III-9, 1990-08-14
+# Poland, changing information not included in this file
+#
+# Newsletter III-10, 1990-08-14
+# Kampuchea deleted, Cambodia added (same numeric value, change of name)
+#
+# Newsletter III-11, 1990-08-14
+# Benin, changing information not included in this file
+#
+# Newsletter III-12, 1990-12-04
+# Czechoslovakia, changing information not included in this file
+#
+# Newsletter III-13, 1990-10-30
+# Germany unified (DDR deleted, new name and numeric code for unified Germany)
+#
+# Newsletter III-14 1991-02-10
+# Mozambique, changing information not included in this file
+#
+# Newsletter III-15 1991-02-10
+# Bulgaria, changing information not included in this file
+#
+# Newsletter III-16 1992-06-15
+# ESTONIA added (EE, EST, 233)
+#
+# Newsletter III-17 1992-06-15
+# LATVIA added (LV, LVA, 428)
+#
+# Newsletter III-18 1992-06-15
+# Lithuania added
+#
+# Newsletter III-19 1992-06-15
+# Belarus, named and 3c changed
+#
+# Newsletter III-20 1992-04-06
+# Albania, changing information not included in this file
+#
+# Newsletter III-21 1992-04-06
+# Congo, changing information not included in this file
+#
+# Newsletter III-22 1992-04-19
+# Micronesia, name changed to Micronesia (Federated States of)
+#
+# Newsletter III-23 1992-04-19
+# Ukraine, name changed
+#
+# Newsletter III-24 1993-06-18
+# France, Metropolitan (FX) added (European part of France thus excluding:
+# GF, GP, MQ, NC, PF, PM, RE, TF, WF, YT)
+#
+# Newsletter III-25, 1991-12-18
+# Pitcairn, changing information not included in this file
+#
+# Newsletter III-26, 1992-06-15
+# Croatia, added NR, HRV, 191
+#
+# Newsletter III-27, 1992-06-15
+# Armenia, added AM, ARM, 051
+#
+# Newsletter III-28, 1992-08-28
+# Georgia added
+#
+# Newsletter III-29, 1992-06-15
+# Russian Federation added
+#
+# Newsletter III-30, 1992-06-15
+# Turkmenistan added
+#
+# Newsletter III-31, 1992-06-15
+# Kazakhstan added
+#
+# Newsletter III-32, 1992-06-15
+# Kyrgyzstan added
+#
+# Newsletter III-33, 1992-06-15
+# Tajikistan added
+#
+# Newsletter III-34, 1992-06-15
+# Uzbekistan added
+#
+# Newsletter III-35, 1992-06-15
+# Azerbaijan added
+#
+# Newsletter III-36 1992-06-15
+# MOLDOVA, REPUBLIC OF added (MD, MDA, 498)
+#
+# Newsletter III-37 1992-08-30
+# USSR deleted
+#
+# Newsletter III-38, 1993-06-15
+# Slovenia, number code 705 assigned
+#
+# Newsletter III-39 (undated)
+# BOSNIA AND HERZEGOWINA added (BA, BIH, 070)
+#
+# Newsletter III-40 1993-07-12
+# YEMEN, REPUBLIC OF changed to YEMEN
+#
+# Newsletter III-41 1993-07-28
+# MAURITIUS, changes outside this document
+#
+# Newletter III-42 1993-07-12
+# SAINT VINCENT AND THE GRENADINES, changes outside this document
+#
+# Newsletter III-43 1993-07-12
+# MONGOLIA, changes outside this document
+#
+# Newsletter III-44 1993-07-22
+# PANAMA, changed numeric code from 590 to 591
+#
+# Newsletter III-45 1993-07-28
+# YUGOSLAVIA changed numeric code from 890 to 891
+#
+# Newsletter III-46 1993-07-12
+# NEUTRAL ZONE deleted
+#
+# Newsletter III-47 1993-07-12
+# NETHERLANDS ANTILLES changed numeric code from 532 to 530
+#
+# Newsletter III-48, 1993-07-12
+# Added MAYOTTE
+#
+# Newsletter III-49, 1993-06-15
+# Slovakia added
+#
+# Newsletter III-50, 1993-06-15
+# Czech Republic added
+#
+# Newsletter III-51, 1993-06-15
+# Czechoslovakia officially deleted
+#
+# Newsletter III-52, 1993-07-02
+# Angola, changing information not included in this file. Offical name
+# change to Republic of Angola
+#
+# Newsletter III-53, 1993-07-12
+# Madagascar, changing information not included in this file. Official
+# name change to Republic of Madagascar
+#
+# Newsletter III-54, 1993-07-23
+# South Georgia and the South Sandwich Islands, previously covered by
+# Falkland Islands
+#
+# Newsletter III-55, 1993-07-16
+# Ethiopia, numeric code change to 231
+#
+# Newsletter III-56, 1993-07-16
+# Eritrea, changing information not included in this file
+# Previously covered by the entry ET
+#
+# Newsletter III-57, 1993-07-16
+# Macedonia, the former Yugolslav Republic of,
+# Previously covered by the entry YU
+#
+# Newsletter III-58, 1993-07-16
+# Afghanistan, changing information not included in this file
+# Official name change to Islamic State of Afghanistan
+#
+# Newsletter III-32, 1993-07-25 ammendment
+# Kyrgyzstan, changing information not included in this file. Offical name
+# change to Kyrgyz Republic
+#
+# Newsletter III-59, 1994-01-26
+# Andorra, changing information not included in this file. Offical name
+# change to Pricipality of Andorra
+#
+# Newsletter III-60, 1994-01-26
+# Cambodia, changing information not included in this file. Offical name
+# change to Kingdom of Cambodia
+#
+# Thu Feb 10 1994
+# At this point the fourth edition of ISO 3166 appears. It can *now* be
+# ordered from national standards institutions. The RIPE NCC will continue
+# tracking changes.
+#
OpenPOWER on IntegriCloud