Index: general/genlib/libssh2.xml
===================================================================
--- general/genlib/libssh2.xml	(revision f677c498aeb5a0df17b0a1891d6c151287736ec6)
+++ general/genlib/libssh2.xml	(revision 18d3f274710a2d00b9eeebf21843c97c4d141867)
@@ -75,6 +75,7 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
-      <xref linkend="libgcrypt"/> and
-      <xref linkend="openssh"/> (both required for the testsuite)
+      <xref linkend="gnupg2"/>,
+      <xref linkend="libgcrypt"/>, and
+      <xref linkend="openssh"/> (all three required for the testsuite)
     </para>
 
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision f677c498aeb5a0df17b0a1891d6c151287736ec6)
+++ introduction/welcome/changelog.xml	(revision 18d3f274710a2d00b9eeebf21843c97c4d141867)
@@ -46,4 +46,8 @@
       <para>June 9th, 2019</para>
       <itemizedlist>
+        <listitem>
+          <para>[renodr] - Update to curl-7.65.1. Fixes
+          <ulink url="&blfs-ticket-root;12087">#12087</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[dj] - Add lxpolkit and remove LXDE dependencies on
Index: networking/netlibs/curl.xml
===================================================================
--- networking/netlibs/curl.xml	(revision f677c498aeb5a0df17b0a1891d6c151287736ec6)
+++ networking/netlibs/curl.xml	(revision 18d3f274710a2d00b9eeebf21843c97c4d141867)
@@ -7,8 +7,8 @@
   <!ENTITY curl-download-http "https://curl.haxx.se/download/curl-&curl-version;.tar.xz">
   <!ENTITY curl-download-ftp  " ">
-  <!ENTITY curl-md5sum        "8d22827310223f24d8eacc866722cc10">
+  <!ENTITY curl-md5sum        "7809378831d10fde18f9f6ae033cd3f3">
   <!ENTITY curl-size          "2.3 MB">
-  <!ENTITY curl-buildsize     "73 MB (add 13 MB for tests)">
-  <!ENTITY curl-time          "0.4 SBU (add 16 SBU for tests)">
+  <!ENTITY curl-buildsize     "79 MB (add 14 MB for tests)">
+  <!ENTITY curl-time          "0.4 SBU (add 13 SBU for tests)">
 ]>
 
@@ -95,7 +95,8 @@
       <ulink url="https://github.com/google/brotli/">Brotli</ulink>,
       <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
-      <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
-      <ulink url="https://tls.mbed.org/">mbed TLS</ulink> (formerly known as
-      PolarSSL), and
+      <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>, and
+      <!--<ulink url="https://tls.mbed.org/">mbed TLS</ulink> (formerly known as
+      PolarSSL), and -->
+      <!-- mbedTLS/PolarSSL support was removed in 7.65.1 -->
       <ulink url="http://spnego.sourceforge.net/">SPNEGO</ulink>
     </para>
@@ -159,5 +160,5 @@
     <para>
        To run the test suite, issue: <command>make test</command>. 
-       Tests 323, 1139, and 1140 are known to fail.
+       Test 1560 is known to fail.
        <!-- Two (of 857) tests
       fail for unknown reasons, and all tests fail is valgrind is installed. Moving
@@ -221,4 +222,11 @@
 TESTFAIL: These test cases failed: 323 1139 1140
 TESTDONE: 1242 tests were considered during 1483 seconds
+
+=======
+Added by renodr for curl-7.65.1:
+TESTDONE: 996 tests out of 997 reported OK: 99%
+TESTFAIL: These test cases failed: 1560
+TESTDONE: 1249 tests were considered during 1091 seconds.
+All dependencies except for externals installed.
 -->
     </para>
@@ -288,4 +296,10 @@
       <application>SSH</application> support to cURL. This is disabled
       by default.
+    </para>
+
+    <para>
+      <option>--enable-ares</option>: This paramater adds
+      support for DNS resolution through the c-ares library. It is disabled
+      by default, but does speed up DNS resolution queries.
     </para>
 
Index: packages.ent
===================================================================
--- packages.ent	(revision f677c498aeb5a0df17b0a1891d6c151287736ec6)
+++ packages.ent	(revision 18d3f274710a2d00b9eeebf21843c97c4d141867)
@@ -576,5 +576,5 @@
 <!-- Chapter 17 -->
 <!ENTITY c-ares-version               "1.15.0">
-<!ENTITY curl-version                 "7.64.1">
+<!ENTITY curl-version                 "7.65.1">
 <!ENTITY geoclue2-version             "2.5.3">
 <!ENTITY glib-networking-version      "2.60.2">
