/usr/share/cone/INSTALL.html is in cone 0.89-1.
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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"/>
<title>Installing Cone</title>
<link rel="stylesheet" href="manpage.css" type="text/css"/>
<link rel="home" href="index.html" title="Cone: COnsole Newsreader And Emailer"/>
<link rel="up" href="index.html" title="Cone: COnsole Newsreader And Emailer"/>
<link rel="prev" href="index.html" title="Cone: COnsole Newsreader And Emailer"/>
<link rel="next" href="README.html" title="Building Cone"/>
<link xmlns="" rel="icon" href="icon.gif" type="image/gif"/>
<meta xmlns="" name="MSSmartTagsPreventParsing" content="TRUE"/>
<!--
Copyright 2002 - 2007 Double Precision, Inc. See COPYING for distribution
information.
-->
</head>
<body>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center" rowspan="1">Installing
<span class="application">Cone</span></th>
</tr>
<tr>
<td width="20%" align="left" rowspan="1" colspan="1">
<a accesskey="p" href="index.html" shape="rect">Prev</a> </td>
<th width="60%" align="center" rowspan="1" colspan="1">
 </th>
<td width="20%" align="right" rowspan="1" colspan="1">
 <a accesskey="n" href="README.html" shape="rect">Next</a></td>
</tr>
</table>
<hr/>
</div>
<div class="section" title="Installing Cone">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a id="INSTALL" shape="rect" name="INSTALL"> </a>Installing <span class="application">Cone</span></h2>
</div>
</div>
</div>
<p>First, make sure that all the necessary requirements
(<a class="link" href="README.html" title="Building Cone" shape="rect">README</a>) are satisfied. See RPM instructions
below if building for Red Hat Linux. See additional notes below
for upgrade instructions. Otherwise:</p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<p>Download the Courier Socks 5 proxy client library from
<a class="ulink" href="http://www.courier-mta.org/download.php#sox" target="_top" shape="rect">http://www.courier-mta.org/download.php#sox</a>
and follow its installation instructions. Binary RPMs can
be built from the source code tarball by following the
procedure outlined in <a class="ulink" href="http://www.courier-mta.org/FAQ.html#rpm" target="_top" shape="rect">http://www.courier-mta.org/FAQ.html#rpm</a>
using the <span class="quote">“<span class="quote">courier-sox-<em class="replaceable"><code>version</code></em></span>”</span>
tarball, and installing the <span class="quote">“<span class="quote">courier-sox</span>”</span> and <span class="quote">“<span class="quote">courier-sox-devel</span>”</span> binary
RPMs afterwards.</p>
<p>This step can be omitted if Socks 5 support is not
required. <span class="application">Cone</span> will
compile without the Socks 5 proxy toolkit.</p>
</li>
<li class="listitem">
<p>Download the source code tarball from <a class="ulink" href="http://www.courier-mta.org/download.php#cone" target="_top" shape="rect">http://www.courier-mta.org/download.php#cone</a>
and unpack it.</p>
</li>
<li class="listitem">
<p>Set the appropriate environment variables if the
compiler or linker needs any custom command line flags.
Run <span class="quote">“<span class="quote"><span class="command"><strong>./configure
--help</strong></span></span>”</span> to list the
available environment variables that specify additional
arbitrary parameters for the C/C++ compiler.</p>
</li>
<li class="listitem">
<p>Run <span class="quote">“<span class="quote"><span class="command"><strong>./configure
<em class="replaceable"><code>[options]</code></em></strong></span></span>”</span>.
See below for a list of available options.</p>
</li>
<li class="listitem">
<p>Run <span class="command"><strong>make</strong></span>.</p>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>The GNU version of the <code class="literal">command</code> is required. On BSD systems
it's the <span class="command"><strong>gmake</strong></span>. Use
<span class="command"><strong>gmake</strong></span> in
this, and the following steps.</p>
</div>
</li>
<li class="listitem">
<p>Run <span class="command"><strong>make
check</strong></span>.</p>
</li>
<li class="listitem">
<p>Run <span class="command"><strong>make
install</strong></span>.</p>
</li>
<li class="listitem">
<p>Run <span class="command"><strong>make
install-configure</strong></span>.</p>
</li>
</ul>
</div>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>Do not forget <span class="quote">“<span class="quote"><span class="command"><strong>make
install-configure</strong></span></span>”</span>. It is
required.</p>
</div>
<p>Unless other options are used, <span class="application">Cone</span> installs in <code class="filename">/usr/local</code>:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><code class="filename">/usr/local/etc</code></span></dt>
<dd>
<p>The configuration file.</p>
</dd>
<dt><span class="term"><code class="filename">/usr/local/bin</code></span></dt>
<dd>
<p>The shell script that runs <span class="application">Cone</span>.</p>
</dd>
<dt><span class="term"><code class="filename">/usr/local/libexec</code></span></dt>
<dd>
<p>The <span class="application">Cone</span> program
itself.</p>
</dd>
<dt><span class="term"><code class="filename">/usr/local/share</code></span></dt>
<dd>
<p>Documentation, online help, other files.</p>
</dd>
<dt><span class="term"><code class="filename">/usr/local/lib</code> and <code class="filename">/usr/local/include</code></span></dt>
<dd>
<p>The development libraries and include files (only if
<em class="parameter"><code>--with-devel</code></em> was
specified to the <span class="command"><strong>configure</strong></span> script).</p>
</dd>
</dl>
</div>
<p>These installation directories, and other options, may be
controlled by additional options to the <span class="command"><strong>configure</strong></span> script:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><em class="parameter"><code>--prefix</code></em>, <em class="parameter"><code>--bindir</code></em>, and
others...</span></dt>
<dd>
<p><span class="command"><strong>./configure
--help</strong></span> lists about a dozen parameters to
the <span class="command"><strong>./configure</strong></span> that
specify the directories where various files should be
installed.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>--with-certdb</code></em>, <em class="parameter"><code>--without-certdb</code></em>, <em class="parameter"><code>--with-certdb=<em class="replaceable"><code>filename</code></em></code></em></span></dt>
<dd>
<p>Install or do not install a default set of trusted SSL
certificate authorities. When using SSL <span class="application">Cone</span> normally checks the server's
SSL certificate, which must be signed by a trusted
certificate authority. <span class="application">Cone</span>'s source distribution includes
the same list of trusted certificate authorities as the
<a class="ulink" href="http://www.mozilla.org" target="_top" shape="rect"><span class="application">Mozilla</span></a> browser. <span class="application">Cone</span>'s certificate list is installed
by default, unless <a class="ulink" href="http://www.courier-mta.org" target="_top" shape="rect"><span class="application">Courier</span></a> is
also installed, in which case <span class="application">Cone</span>'s default configuration points
to <span class="application">Courier</span>'s
<code class="filename">rootcerts</code> directory (which
contains the same certificate as <span class="application">Cone</span>'s).</p>
<p><em class="parameter"><code>--with-certdb</code></em>
installs <span class="application">Cone</span>'s trusted
SSL certificate authority list, even if <span class="application">Courier</span> is also installed, in
<code class="filename">/usr/local/share/cone/rootcerts</code> (which
is derived from the <em class="parameter"><code>--datadir</code></em> default option,
as explained by <span class="command"><strong>./configure
--help</strong></span>). <em class="parameter"><code>--with-certdb=<em class="replaceable"><code>filename</code></em></code></em>
installs the trusted SSL certificate authority list in
the directory <em class="replaceable"><code>filename</code></em>. <em class="parameter"><code>--without-certdb</code></em> does not
install <span class="application">Cone</span>'s trusted
SSL certificate authority list.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>--with-gnutls</code></em></span></dt>
<dd>
<p>Select the GnuTLS library even if the OpenSSL library
is also installed. The <span class="command"><strong>configure</strong></span> script
automatically selects whichever one is available. The
OpenSSL library is selected if both are present. Use this
option to override and select GnuTLS instead.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>--with-devel</code></em></span></dt>
<dd>
<p>Install <a class="link" href="libmail.html" title="LibMAIL reference" shape="rect"><span class="application">LibMAIL</span></a> , the mail library used
by <span class="application">Cone</span> to access and
handle E-mail messages.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>--with-spellcheck=pspell</code></em></span></dt>
<dd>
<p><span class="application">Cone</span> can use either
<span class="command"><strong>aspell</strong></span> or
<span class="command"><strong>pspell</strong></span> for
spell checking. <span class="command"><strong>aspell</strong></span> is used if both
are installed. This option selects <span class="command"><strong>pspell</strong></span> instead.</p>
</dd>
</dl>
</div>
<div class="section" title="Upgrading from an earlier version of Cone">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="id515758" shape="rect" name="id515758"> </a>Upgrading from an earlier version of
<span class="application">Cone</span></h3>
</div>
</div>
</div>
<p>Upgrading <span class="application">Cone</span> consists
simply of building the new version, and installing it. The
new version will overwrite the previous version. Special
upgrade instructions are given below.</p>
<div class="section" title="Upgrading from version 0.59 and earlier">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a id="id515778" shape="rect" name="id515778"> </a>Upgrading from version 0.59 and
earlier</h4>
</div>
</div>
</div>
<p>The address book format has changed in version 0.60. The
old address book format will be automatically converted to
the new format, when necessary, so no manual intervention
is necessary. If <span class="application">Cone</span> is
later downgraded to an earlier version, addresses in an
address book that contain non-English characters will not
be shown correctly.</p>
</div>
</div>
<div class="section" title="RPM builds">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="id515796" shape="rect" name="id515796"> </a>RPM builds</h3>
</div>
</div>
</div>
<p>Use the following procedure to build <span class="application">Cone</span>.</p>
<p>The first step is to create a work area for building RPMs.
Skip this step if an RPM build directory is already
configured.</p>
<pre class="programlisting" xml:space="preserve">
echo "%_topdir $HOME/rpm" > $HOME/.rpmmacros
mkdir $HOME/rpm
cd $HOME/rpm
mkdir SOURCES SPECS BUILD SRPMS RPMS
</pre>
<p>Finally, download the source code to <span class="application">Cone</span> from <a class="ulink" href="http://www.courier-mta.org/download.php#cone" target="_top" shape="rect">http://www.courier-mta.org/download.php#cone</a>. Do
not unpack the tarball. Execute <span class="quote">“<span class="quote"><span class="command"><strong>rpmbuild -ta cone-<em class="replaceable"><code>version</code></em>.tar.bz2</strong></span></span>”</span>.
Two binary RPMs will be created: the main binary package
contains <span class="application">Cone</span>. The
<span class="quote">“<span class="quote">devel</span>”</span> package contains the
<span class="application">LibMAIL</span> library and
development files. It is only necessary to install the main
package to run <span class="application">Cone</span> the
<span class="quote">“<span class="quote">devel</span>”</span> subpackage is only needed
for additional development with <span class="application">LibMAIL</span> .</p>
</div>
<div class="section" title="CVS Source checkouts">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="id515886" shape="rect" name="id515886"> </a>CVS Source checkouts</h3>
</div>
</div>
</div>
<p>It is also possible to check out the source from CVS,
however additional requirements apply. Besides the usual
prerequisites for building <span class="application">Cone</span>, additional development software
must be installed. See the <span class="quote">“<span class="quote">Download via
CVS</span>”</span> instructions at <a class="ulink" href="http://www.courier-mta.org/status.html" target="_top" shape="rect">http://www.courier-mta.org/status.html</a>.
<span class="application">Cone</span> has the same
requirements as <span class="application">Courier</span> for
CVS builds (technically, <span class="application">Cone</span> does not need libtool, but that may
change in the future). Make sure that the prerequisite
software is installed, then check out the <span class="quote">“<span class="quote"><span class="application">Cone</span></span>”</span> module from
CVS, tagged at revision <span class="quote">“<span class="quote"><span class="application">Cone</span>-latest</span>”</span>. The
<code class="literal">HEAD</code> may be checked out, but
carries more of the usual risks.</p>
<p>After the module is checked out, run the <code class="filename">autobloat</code> shell script to rebuild the
autoconf/automake scripts.</p>
</div>
</div>
<div class="navfooter">
<hr/>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left" rowspan="1" colspan="1">
<a accesskey="p" href="index.html" shape="rect">Prev</a> </td>
<td width="20%" align="center" rowspan="1" colspan="1">
 </td>
<td width="40%" align="right" rowspan="1" colspan="1">
 <a accesskey="n" href="README.html" shape="rect">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top" rowspan="1" colspan="1"><span class="application">Cone</span>: COnsole
Newsreader And Emailer </td>
<td width="20%" align="center" rowspan="1" colspan="1">
<a accesskey="h" href="index.html" shape="rect">Home</a> | <a accesskey="t" href="bk01-toc.html" shape="rect">ToC</a></td>
<td width="40%" align="right" valign="top" rowspan="1" colspan="1"> Building <span class="application">Cone</span></td>
</tr>
</table>
</div>
</body>
</html>
|