/usr/share/doc/ubuntu-policy/mime-policy.html/ch2.html is in ubuntu-policy 3.8.2.0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>The Debian MIME support sub-policy - MIME support mechanism</title>
<link href="index.html" rel="start">
<link href="ch1.html" rel="prev">
<link href="index.html" rel="next">
<link href="index.html#contents" rel="contents">
<link href="index.html#copyright" rel="copyright">
<link href="ch1.html" rel="chapter" title="1 About this document">
<link href="ch2.html" rel="chapter" title="2 MIME support mechanism">
<link href="ch2.html#s2.1" rel="section" title="2.1 Background">
<link href="ch2.html#s2.2" rel="section" title="2.2 MIME support implementation">
</head>
<body>
<p><a name="ch2"></a></p>
<hr>
<p>
[ <a href="ch1.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ 2 ]
[ <a href="index.html">next</a> ]
</p>
<hr>
<h1>
The Debian MIME support sub-policy
<br>Chapter 2 - MIME support mechanism
</h1>
<hr>
<p>
If you need assistance implementing this sub-policy, please please ask for it
on the debian-devel mailing list. If you have proposals for changes or
additions to this sub-policy, please bring it up on debian-policy.
</p>
<hr>
<h2><a name="s2.1"></a>2.1 Background</h2>
<p>
MIME (Multipurpose Internet Mail Extensions, RFC 1521) is a mechanism for
encoding files and datastreams and providing meta-information about them, in
particular their type (e.g. audio or video) and format (e.g. PNG, HTML, MP3).
</p>
<p>
Registration of MIME type handlers allows programs like mail user agents and
web browsers to to invoke these handlers to view, edit or display MIME types
they don't support directly.
</p>
<hr>
<h2><a name="s2.2"></a>2.2 MIME support implementation</h2>
<p>
The <code>mime-support</code> package provides the <code>update-mime</code>
program which allows packages to register programs that can show, compose, edit
or print MIME types.
</p>
<p>
Packages containing such programs must register them with
<code>update-mime</code> as documented in <code>update-mime(8)</code>. They
should <em>not</em> depend on, recommend, or suggest <code>mime-support</code>.
Instead, they should just put something like the following in the
<samp>postinst</samp> and <samp>postrm</samp> scripts:
</p>
<pre>
if [ -x /usr/sbin/update-mime ]; then
update-mime
fi
</pre>
<hr>
<p>
[ <a href="ch1.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ 2 ]
[ <a href="index.html">next</a> ]
</p>
<hr>
<p>
The Debian MIME support sub-policy
</p>
<address>
version 3.8.2.0ubuntu1, 2009-06-19<br>
<br>
J.H.M. Dassen (Ray) <code><a href="mailto:jdassen@debian.org">jdassen@debian.org</a></code><br>
The Debian Policy mailing List <code><a href="mailto:debian-policy@lists.debian.org">debian-policy@lists.debian.org</a></code><br>
<br>
</address>
<hr>
</body>
</html>
|