Skip to content

Commit

Permalink
2008-12-17 Tatsuhiro Tsujikawa <[email protected]>
Browse files Browse the repository at this point in the history
	Updated "How to build" section in README. Mentioned about
	--with-ca-bundle compile option.
	* README
  • Loading branch information
tatsuhiro-t committed Dec 17, 2008
1 parent f7c4a1f commit 27a858a
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2008-12-17 Tatsuhiro Tsujikawa <[email protected]>

Updated "How to build" section in README. Mentioned about
--with-ca-bundle compile option.
* README

2008-12-17 Tatsuhiro Tsujikawa <[email protected]>

Bump up version number to 1.1.0.
Expand Down
26 changes: 24 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,36 @@ You can use libexpat1-dev instead of libxml2-dev:

* libexpat1-dev (Required for Metalink support)

The build process is fairly standard way for *nix programs:
The quickest way to build aria2 is just type following commands:

-------------
$ ./configure
$ make
-------------

The executable is aria2c in src directory.
The configure script checks available libraries and enables the features
as much as possible because all the features are enabled by default.

Since 1.1.0, aria2 checks the certificate of HTTPS servers by default.
If you build with HTTPS support, I recommend to supply the path to the
CA bundle file. For example, in Debian the path to CA bundle file is
'/etc/ssl/certs/ca-certificates.crt' (in ca-certificates package). This
may varies depending on the distributions. You can give it to
configure script using \--with-ca-bundle option:

-------------------------------------------------------------------
$ ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
$ make
-------------------------------------------------------------------

Without \--with-ca-bundle option, you will encounter the error when
accessing HTTPS servers because the certificate cannot be verified
without CA bundle. In such case, you can specify the CA bundle file
using aria2's \--ca-certificate option. If you don't have CA bundle
file installed, then the last resort is disable the certificate
validation using \--check-certificate=false.

The executable is 'aria2c' in src directory.

aria2 uses CppUnit for automated unit testing. To run run the unit test:

Expand Down
25 changes: 22 additions & 3 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -674,13 +674,32 @@ <h2 id="_how_to_build">4. How to build</h2>
</p>
</li>
</ul></div>
<div class="para"><p>The build process is fairly standard way for *nix programs:</p></div>
<div class="para"><p>The quickest way to build aria2 is just type following commands:</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>$ ./configure
$ make</tt></pre>
</div></div>
<div class="para"><p>The executable is aria2c in src directory.</p></div>
<div class="para"><p>The configure script checks available libraries and enables the features
as much as possible because all the features are enabled by default.</p></div>
<div class="para"><p>Since 1.1.0, aria2 checks the certificate of HTTPS servers by default.
If you build with HTTPS support, I recommend to supply the path to the
CA bundle file. For example, in Debian the path to CA bundle file is
<em>/etc/ssl/certs/ca-certificates.crt</em> (in ca-certificates package). This
may varies depending on the distributions. You can give it to
configure script using --with-ca-bundle option:</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>$ ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
$ make</tt></pre>
</div></div>
<div class="para"><p>Without --with-ca-bundle option, you will encounter the error when
accessing HTTPS servers because the certificate cannot be verified
without CA bundle. In such case, you can specify the CA bundle file
using aria2's --ca-certificate option. If you don't have CA bundle
file installed, then the last resort is disable the certificate
validation using --check-certificate=false.</p></div>
<div class="para"><p>The executable is <em>aria2c</em> in src directory.</p></div>
<div class="para"><p>aria2 uses CppUnit for automated unit testing. To run run the unit test:</p></div>
<div class="listingblock">
<div class="content">
Expand Down Expand Up @@ -867,7 +886,7 @@ <h2 id="_configuration_file">9. Configuration file</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2008-12-02 01:48:13 JST
Last updated 2008-12-17 21:33:30 JST
</div>
</div>
</body>
Expand Down

0 comments on commit 27a858a

Please sign in to comment.