mimetypes.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcf
- create-mimetypes.conf.pl: also parse lines with upper case characters - rerun create-mimetypes.conf.pl with debian mime-support 3.58 Change-Id: I8a6e91b8cc879158d5cd8931630a67db4d5a0dd2personal/stbuehler/wip
parent
b37d95facf
commit
3f7de3b51a
|
@ -106,7 +106,7 @@ while (<MIMETYPES>) {
|
|||
chomp;
|
||||
s/\#.*//;
|
||||
next if /^\w*$/;
|
||||
if (/^([a-z0-9\/+-.]+)\s+((?:[a-z0-9.+-]+[ ]?)+)$/) {
|
||||
if (/^([a-z0-9\/+-.]+)\s+((?:[a-z0-9.+-]+[ ]?)+)$/i) {
|
||||
my $mimetype = $1;
|
||||
my @extensions = split / /, $2;
|
||||
|
||||
|
|
|
@ -16,7 +16,12 @@ setup {
|
|||
".dcm" => "application/dicom",
|
||||
".tsp" => "application/dsptype",
|
||||
".es" => "application/ecmascript",
|
||||
".otf" => "application/font-sfnt",
|
||||
".ttf" => "application/font-sfnt",
|
||||
".pfr" => "application/font-tdpfr",
|
||||
".woff" => "application/font-woff",
|
||||
".spl" => "application/futuresplash",
|
||||
".gz" => "application/gzip",
|
||||
".hta" => "application/hta",
|
||||
".jar" => "application/java-archive",
|
||||
".ser" => "application/java-serialized-object",
|
||||
|
@ -37,6 +42,7 @@ setup {
|
|||
".bin" => "application/octet-stream",
|
||||
".ent" => "application/octet-stream",
|
||||
".oda" => "application/oda",
|
||||
".opf" => "application/oebps-package+xml",
|
||||
".ogx" => "application/ogg",
|
||||
".one" => "application/onenote",
|
||||
".onepkg" => "application/onenote",
|
||||
|
@ -71,17 +77,32 @@ setup {
|
|||
".zip" => "application/zip",
|
||||
".apk" => "application/vnd.android.package-archive",
|
||||
".cdy" => "application/vnd.cinderella",
|
||||
".ddeb" => "application/vnd.debian.binary-package",
|
||||
".deb" => "application/vnd.debian.binary-package",
|
||||
".udeb" => "application/vnd.debian.binary-package",
|
||||
".sfd" => "application/vnd.font-fontforge-sfd",
|
||||
".kml" => "application/vnd.google-earth.kml+xml",
|
||||
".kmz" => "application/vnd.google-earth.kmz",
|
||||
".xul" => "application/vnd.mozilla.xul+xml",
|
||||
".xlb" => "application/vnd.ms-excel",
|
||||
".xls" => "application/vnd.ms-excel",
|
||||
".xlt" => "application/vnd.ms-excel",
|
||||
".xlam" => "application/vnd.ms-excel.addin.macroEnabled.12",
|
||||
".xlsb" => "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
|
||||
".xlsm" => "application/vnd.ms-excel.sheet.macroEnabled.12",
|
||||
".xltm" => "application/vnd.ms-excel.template.macroEnabled.12",
|
||||
".eot" => "application/vnd.ms-fontobject",
|
||||
".thmx" => "application/vnd.ms-officetheme",
|
||||
".cat" => "application/vnd.ms-pki.seccat",
|
||||
".pps" => "application/vnd.ms-powerpoint",
|
||||
".ppt" => "application/vnd.ms-powerpoint",
|
||||
".ppam" => "application/vnd.ms-powerpoint.addin.macroEnabled.12",
|
||||
".pptm" => "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
|
||||
".sldm" => "application/vnd.ms-powerpoint.slide.macroEnabled.12",
|
||||
".ppsm" => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
|
||||
".potm" => "application/vnd.ms-powerpoint.template.macroEnabled.12",
|
||||
".docm" => "application/vnd.ms-word.document.macroEnabled.12",
|
||||
".dotm" => "application/vnd.ms-word.template.macroEnabled.12",
|
||||
".odc" => "application/vnd.oasis.opendocument.chart",
|
||||
".odb" => "application/vnd.oasis.opendocument.database",
|
||||
".odf" => "application/vnd.oasis.opendocument.formula",
|
||||
|
@ -127,6 +148,9 @@ setup {
|
|||
".cap" => "application/vnd.tcpdump.pcap",
|
||||
".pcap" => "application/vnd.tcpdump.pcap",
|
||||
".vsd" => "application/vnd.visio",
|
||||
".vss" => "application/vnd.visio",
|
||||
".vst" => "application/vnd.visio",
|
||||
".vsw" => "application/vnd.visio",
|
||||
".wbxml" => "application/vnd.wap.wbxml",
|
||||
".wmlc" => "application/vnd.wap.wmlc",
|
||||
".wmlsc" => "application/vnd.wap.wmlscriptc",
|
||||
|
@ -147,15 +171,17 @@ setup {
|
|||
".pgn" => "application/x-chess-pgn",
|
||||
".mph" => "application/x-comsol",
|
||||
".cpio" => "application/x-cpio",
|
||||
".deb" => "application/x-debian-package",
|
||||
".udeb" => "application/x-debian-package",
|
||||
".dcr" => "application/x-director",
|
||||
".dir" => "application/x-director",
|
||||
".dxr" => "application/x-director",
|
||||
".dms" => "application/x-dms",
|
||||
".wad" => "application/x-doom",
|
||||
".dvi" => "application/x-dvi",
|
||||
".woff" => "application/x-font-woff",
|
||||
".gsf" => "application/x-font",
|
||||
".pfa" => "application/x-font",
|
||||
".pfb" => "application/x-font",
|
||||
".pcf" => "application/x-font-pcf",
|
||||
".pcf.Z" => "application/x-font-pcf",
|
||||
".mm" => "application/x-freemind",
|
||||
".gan" => "application/x-ganttproject",
|
||||
".gnumeric" => "application/x-gnumeric",
|
||||
|
@ -198,8 +224,8 @@ setup {
|
|||
".frame" => "application/x-maker",
|
||||
".frm" => "application/x-maker",
|
||||
".maker" => "application/x-maker",
|
||||
".md5" => "application/x-md5",
|
||||
".mif" => "application/x-mif",
|
||||
".m3u8" => "application/x-mpegURL",
|
||||
".wmd" => "application/x-ms-wmd",
|
||||
".wmz" => "application/x-ms-wmz",
|
||||
".bat" => "application/x-msdos-program",
|
||||
|
@ -208,7 +234,6 @@ setup {
|
|||
".exe" => "application/x-msdos-program",
|
||||
".msi" => "application/x-msi",
|
||||
".nc" => "application/x-netcdf",
|
||||
".dat" => "application/x-ns-proxy-autoconfig",
|
||||
".pac" => "application/x-ns-proxy-autoconfig",
|
||||
".nwc" => "application/x-nwc",
|
||||
".o" => "application/x-object",
|
||||
|
@ -228,7 +253,6 @@ setup {
|
|||
".sce" => "application/x-scilab",
|
||||
".sci" => "application/x-scilab",
|
||||
".xcos" => "application/x-scilab-xcos",
|
||||
".sha1" => "application/x-sha1",
|
||||
".shar" => "application/x-shar",
|
||||
".swf" => "application/x-shockwave-flash",
|
||||
".swfl" => "application/x-shockwave-flash",
|
||||
|
@ -256,6 +280,7 @@ setup {
|
|||
".xcf" => "application/x-xcf",
|
||||
".fig" => "application/x-xfig",
|
||||
".xpi" => "application/x-xpinstall",
|
||||
".xz" => "application/x-xz",
|
||||
".amr" => "audio/amr",
|
||||
".awb" => "audio/amr-wb",
|
||||
".axa" => "audio/annodex",
|
||||
|
@ -343,6 +368,7 @@ setup {
|
|||
".tgf" => "chemical/x-mdl-tgf",
|
||||
".mcif" => "chemical/x-mmcif",
|
||||
".mol2" => "chemical/x-mol2",
|
||||
".b" => "chemical/x-molconn-Z",
|
||||
".gpt" => "chemical/x-mopac-graph",
|
||||
".mop" => "chemical/x-mopac-input",
|
||||
".mopcrt" => "chemical/x-mopac-input",
|
||||
|
@ -435,6 +461,8 @@ setup {
|
|||
".tsv" => "text/tab-separated-values",
|
||||
".tm" => "text/texmacs",
|
||||
".ttl" => "text/turtle",
|
||||
".vcard" => "text/vcard",
|
||||
".vcf" => "text/vcard",
|
||||
".jad" => "text/vnd.sun.j2me.app-descriptor",
|
||||
".wml" => "text/vnd.wap.wml",
|
||||
".wmls" => "text/vnd.wap.wmlscript",
|
||||
|
@ -477,8 +505,8 @@ setup {
|
|||
".sty" => "text/x-tex; charset=utf-8",
|
||||
".tex" => "text/x-tex; charset=utf-8",
|
||||
".vcs" => "text/x-vcalendar",
|
||||
".vcf" => "text/x-vcard",
|
||||
".3gp" => "video/3gpp",
|
||||
".ts" => "video/MP2T",
|
||||
".axv" => "video/annodex",
|
||||
".dl" => "video/dl",
|
||||
".dif" => "video/dv",
|
||||
|
@ -515,7 +543,6 @@ setup {
|
|||
# other useful mappings
|
||||
|
||||
".tar.gz" => "application/x-gtar-compressed",
|
||||
".gz" => "application/x-gzip",
|
||||
".tbz" => "application/x-gtar-compressed",
|
||||
".tar.bz2" => "application/x-gtar-compressed",
|
||||
".bz2" => "application/x-bzip",
|
||||
|
|
Loading…
Reference in New Issue