summaryrefslogtreecommitdiffstats
path: root/source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-02-06 00:29:25 +0000
committer Eric Hameleers <alien@slackware.com>2019-02-06 08:59:42 +0100
commit05538a2b6dae06b52a4533f94999286b4c89a916 (patch)
tree3d459fe6cf48cbda01f31597eaf1ccd8a8ca4678 /source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch
parentd2c74e4a2e54d27d10eded3c422abf233dafdab8 (diff)
downloadcurrent-05538a2b6dae06b52a4533f94999286b4c89a916.tar.gz
current-05538a2b6dae06b52a4533f94999286b4c89a916.tar.xz
Wed Feb 6 00:29:25 UTC 201920190206002925
ap/linuxdoc-tools-0.9.73-x86_64-1.txz: Upgraded. Upgraded to gtk-doc-1.29. Upgraded to asciidoc-8.6.10. Upgraded to perl-XML-SAX-1.00. Thanks to Stuart Winter. d/meson-0.49.2-x86_64-1.txz: Upgraded. d/python-setuptools-40.8.0-x86_64-1.txz: Upgraded. d/slacktrack-2.19-x86_64-1.txz: Upgraded. Thanks to Stuart Winter. l/imagemagick-6.9.10_26-x86_64-1.txz: Upgraded. n/dovecot-2.3.4.1-x86_64-1.txz: Upgraded. This update addresses security issues: CVE-2019-3814: If imap/pop3/managesieve/submission client has trusted certificate with missing username field (ssl_cert_username_field), under some configurations Dovecot mistakenly trusts the username provided via authentication instead of failing. ssl_cert_username_field setting was ignored with external SMTP AUTH, because none of the MTAs (Postfix, Exim) currently send the cert_username field. This may have allowed users with trusted certificate to specify any username in the authentication. This bug didn't affect Dovecot's Submission service. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3814 (* Security fix *)
Diffstat (limited to 'source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch')
-rw-r--r--source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch b/source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch
deleted file mode 100644
index d6d45df0b..000000000
--- a/source/ap/linuxdoc-tools/sources/asciidoc-0001-a2x-Write-manifests-in-UTF-8-by-default.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From adb0929f0db4da533a9d5b317e6f49a91feb3b3e Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Tue, 3 Dec 2013 18:03:13 +0100
-Subject: [PATCH] [a2x] Write manifests in UTF-8 by default
-
-This is a workaround for rhbz#968308 where a2x tries to write non-ASCII content
-epub manifest. Since the write_file is mostly used to write xml content which
-defaults to UTF-8 this seems fairly safe
----
- a2x.py | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/a2x.py b/a2x.py
-index 1b192a2..ad163e3 100755
---- a/a2x.py
-+++ b/a2x.py
-@@ -21,6 +21,7 @@ import urlparse
- import zipfile
- import xml.dom.minidom
- import mimetypes
-+import codecs
-
- PROG = os.path.basename(os.path.splitext(__file__)[0])
- VERSION = '8.6.8'
-@@ -144,8 +145,8 @@ def find_executable(file_name):
- result = _find_executable(file_name)
- return result
-
--def write_file(filename, data, mode='w'):
-- f = open(filename, mode)
-+def write_file(filename, data, mode='w', encoding='utf-8'):
-+ f = codecs.open(filename, mode, encoding)
- try:
- f.write(data)
- finally:
---
-1.8.4.2
-