Prepare release 0.6.5

Change-Id: I2cc63230fd6b949cfae763a7a1cbeb03ea1d6400
Refs: #4821
diff --git a/docs/manpages/ndn-autoconfig.rst b/docs/manpages/ndn-autoconfig.rst
index 7dd1fca..9767c86 100644
--- a/docs/manpages/ndn-autoconfig.rst
+++ b/docs/manpages/ndn-autoconfig.rst
@@ -45,7 +45,7 @@
 
 When an end host starts up, or detects a change in its network environment, it MAY use
 this procedure to discover a NDN router, in order to gain connectivity to
-`the NDN research testbed <https://named-data.net/ndn-testbed/>`_.
+`the NDN research testbed <https://named-data.net/ndn-testbed/>`__.
 This procedure can discover either an NDN router in the local network, or a NDN testbed
 gateway router (commonly known as a "hub").
 
@@ -110,7 +110,7 @@
 Request
 +++++++
 
-HTTP/1.0 request for the NDN-FCH server URI (`http://ndn-fch.named-data.net/`__ by default)
+HTTP/1.0 request for the NDN-FCH server URI (`<http://ndn-fch.named-data.net/>`__ by default)
 
 Response
 ++++++++
@@ -122,7 +122,7 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 
 This stage assumes that user has configured default certificate using
-`https://ndncert.named-data.net/`__ as described in `Certification Architecture
+`<https://ndncert.named-data.net/>`__ as described in `Certification Architecture
 <https://redmine.named-data.net/attachments/download/23/CertificationArchitecture.pptx>`__.
 
 Request
diff --git a/docs/release-notes-latest.rst b/docs/release-notes-latest.rst
index 08335e0..93bee35 120000
--- a/docs/release-notes-latest.rst
+++ b/docs/release-notes-latest.rst
@@ -1 +1 @@
-release-notes/release-notes-0.6.4.rst
\ No newline at end of file
+release-notes/release-notes-0.6.5.rst
\ No newline at end of file
diff --git a/docs/release-notes/release-notes-0.6.3.rst b/docs/release-notes/release-notes-0.6.3.rst
index 2b989cd..bb312c5 100644
--- a/docs/release-notes/release-notes-0.6.3.rst
+++ b/docs/release-notes/release-notes-0.6.3.rst
@@ -5,11 +5,6 @@
 
 Release date: September 18, 2018
 
-Note that this is the last release that encodes to `NDN packet format version 0.2.1
-<https://named-data.net/doc/NDN-packet-spec/0.2.1/>`__. A future release will continue to
-decode v0.2.1 format, but will encode to `v0.3 format
-<https://named-data.net/doc/NDN-packet-spec/0.3/>`__.
-
 The build requirements have been upgraded to gcc >= 5.3 or clang >= 3.6, boost >= 1.58,
 openssl >= 1.0.2. This effectively drops support for all versions of Ubuntu older than 16.04
 that use distribution-provided compilers and packages.
diff --git a/docs/release-notes/release-notes-0.6.5.rst b/docs/release-notes/release-notes-0.6.5.rst
new file mode 100644
index 0000000..95b4079
--- /dev/null
+++ b/docs/release-notes/release-notes-0.6.5.rst
@@ -0,0 +1,48 @@
+NFD version 0.6.5
+-----------------
+
+Release date: February 4, 2019
+
+Note that this is the last release that encodes to `NDN packet format version 0.2.1
+<https://named-data.net/doc/NDN-packet-spec/0.2.1/>`__. A future release will continue to
+decode v0.2.1 format, but will encode to `v0.3 format
+<https://named-data.net/doc/NDN-packet-spec/0.3/>`__.
+
+New features
+^^^^^^^^^^^^
+
+- Self-learning forwarding strategy (:issue:`4279`)
+
+- Support IPv6-only WebSocket channels (:issue:`4710`)
+
+- Add satisfied and unsatisfied counters to forwarder status management and tools (:issue:`4720`)
+
+- Report face MTU in faces/list and faces/query datasets (:issue:`4763`)
+
+Improvements and bug fixes
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Stop using the global scheduler in RIB (:issue:`4528`)
+
+- Reimplement auto prefix propagation on top of the readvertise framework (:issue:`3819`)
+
+- Don't set ``SO_BINDTODEVICE`` on Android (:issue:`4761`)
+
+- Set ``EthernetTransport`` UP/DOWN based on netif state (:issue:`3352`)
+
+- Update WebSocket++ to 0.8.1
+
+- Add ``EndpointId`` field in ``NextHop`` record (:issue:`4284`)
+
+- Seed the global PRNG with more entropy
+
+- Use ndn-cxx ``scheduler::ScopedEventId`` (:issue:`4698`)
+
+- Improvements with systemd integration (:issue:`2815`)
+
+Removed
+^^^^^^^
+
+- Remove obsolete upstart files
+
+- Delete deprecated ``ClientControlStrategy`` (:issue:`3783`)
diff --git a/docs/releases.rst b/docs/releases.rst
index f47d556..7688c02 100644
--- a/docs/releases.rst
+++ b/docs/releases.rst
@@ -5,6 +5,7 @@
    :hidden:
    :maxdepth: 1
 
+   release-notes/release-notes-0.6.5
    release-notes/release-notes-0.6.4
    release-notes/release-notes-0.6.3
    release-notes/release-notes-0.6.2
@@ -22,6 +23,12 @@
    release-notes/release-notes-0.2.0
    release-notes/release-notes-0.1.0
 
+* **NFD version 0.6.5**
+  (:doc:`Release Notes <release-notes/release-notes-0.6.5>`, `Documentation <https://named-data.net/doc/NFD/0.6.5/>`__)
+
+  `src (git) <https://github.com/named-data/NFD/releases/tag/NFD-0.6.5>`__,
+  `src (tarball) <https://named-data.net/downloads/nfd-0.6.5.tar.bz2>`__ (`checksum <https://named-data.net/downloads/nfd-0.6.5.tar.bz2.sha256>`__)
+
 * **NFD version 0.6.4**
   (:doc:`Release Notes <release-notes/release-notes-0.6.4>`, `Documentation <https://named-data.net/doc/NFD/0.6.4/>`__)
 
diff --git a/wscript b/wscript
index 217cfa4..6aee7cd 100644
--- a/wscript
+++ b/wscript
@@ -26,7 +26,7 @@
 from waflib import Context, Logs, Utils
 import os, subprocess
 
-VERSION = '0.6.4'
+VERSION = '0.6.5'
 APPNAME = 'nfd'
 BUGREPORT = 'https://redmine.named-data.net/projects/nfd'
 URL = 'https://named-data.net/doc/NFD/'