[packages/syslog-ng] - remove md4, REALLY? md4? FFS this was pathetic

baggins baggins at pld-linux.org
Mon Oct 11 22:58:37 CEST 2021


commit 714d259a964d69b6de39eaa50f3ee237dde0b3c1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 11 22:57:55 2021 +0200

    - remove md4, REALLY? md4? FFS this was pathetic

 openssl3.patch | 30 ++++++++++++++++++++++++++++++
 syslog-ng.spec |  2 ++
 2 files changed, 32 insertions(+)
---
diff --git a/syslog-ng.spec b/syslog-ng.spec
index 5f59af9..4fd0637 100644
--- a/syslog-ng.spec
+++ b/syslog-ng.spec
@@ -65,6 +65,7 @@ Patch4:		man-paths.patch
 Patch5:		%{name}-link.patch
 Patch6:		no_shared_ivykis.patch
 Patch7:		32bit.patch
+Patch8:		openssl3.patch
 URL:		https://syslog-ng.org/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -373,6 +374,7 @@ rmdir lib/ivykis
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 cp -p %{SOURCE4} doc
 cp -p %{SOURCE5} contrib/syslog-ng.conf.simple
 
diff --git a/openssl3.patch b/openssl3.patch
new file mode 100644
index 0000000..8740e3f
--- /dev/null
+++ b/openssl3.patch
@@ -0,0 +1,30 @@
+--- syslog-ng-3.34.1/modules/cryptofuncs/cryptofuncs.c~	2021-09-10 13:01:49.000000000 +0200
++++ syslog-ng-3.34.1/modules/cryptofuncs/cryptofuncs.c	2021-10-11 22:51:20.705912103 +0200
+@@ -162,7 +162,6 @@
+   TEMPLATE_FUNCTION_PLUGIN(tf_hash, "sha1"),
+   TEMPLATE_FUNCTION_PLUGIN(tf_hash, "sha256"),
+   TEMPLATE_FUNCTION_PLUGIN(tf_hash, "sha512"),
+-  TEMPLATE_FUNCTION_PLUGIN(tf_hash, "md4"),
+   TEMPLATE_FUNCTION_PLUGIN(tf_hash, "md5"),
+ };
+ 
+--- syslog-ng-3.34.1/modules/cryptofuncs/tests/test_cryptofuncs.c~	2021-09-10 13:01:49.000000000 +0200
++++ syslog-ng-3.34.1/modules/cryptofuncs/tests/test_cryptofuncs.c	2021-10-11 22:51:41.905839413 +0200
+@@ -50,7 +50,6 @@
+   assert_template_format("$(sha1 bar)", "62cdb7020ff920e5aa642c3d4066950dd1f01f4d");
+   assert_template_format("$(md5 foo)", "acbd18db4cc2f85cedef654fccc4a4d8");
+   assert_template_format("$(hash foo)", "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae");
+-  assert_template_format("$(md4 foo)", "0ac6700c491d70fb8650940b1ca1e4b2");
+   assert_template_format("$(sha256 foo)", "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae");
+   assert_template_format("$(sha512 foo)",
+                          "f7fbba6e0636f890e56fbbf3283e524c6fa3204ae298382d624741d0dc6638326e282c41be5e4254d8820772c5518a2c5a8c0c7f7eda19594a7eb539453e1ed7");
+--- syslog-ng-3.34.1/modules/python/pylib/syslogng/debuggercli/syslognginternals.py~	2021-09-10 13:01:49.000000000 +0200
++++ syslog-ng-3.34.1/modules/python/pylib/syslogng/debuggercli/syslognginternals.py	2021-10-11 22:52:29.489009746 +0200
+@@ -52,7 +52,6 @@
+         "sha1",
+         "sha256",
+         "sha512",
+-        "md4",
+         "md5",
+         "format-json",
+         "grep",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/syslog-ng.git/commitdiff/714d259a964d69b6de39eaa50f3ee237dde0b3c1



More information about the pld-cvs-commit mailing list