mcelog: Update to 181

Message ID 687701db-4ca1-1b07-eb1f-a80842e1ac28@ipfire.org
State Accepted
Commit 7481abecc3ae49406b8312af1dff521755f72428
Headers
Series mcelog: Update to 181 |

Commit Message

Peter Müller April 23, 2022, 2:59 p.m. UTC
  No changelog or release notes are provided. Please refer to
https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/log/ for the
source code history since the 175 release of mcelog.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 lfs/mcelog                                   | 11 +++++++----
 src/patches/mcelog-181-fix-Python-call.patch |  8 ++++++++
 2 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 src/patches/mcelog-181-fix-Python-call.patch
  

Patch

diff --git a/lfs/mcelog b/lfs/mcelog
index 8b75feecf..0f4694f2b 100644
--- a/lfs/mcelog
+++ b/lfs/mcelog
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = Log Machine Check Events
 
-VER        = 175
+VER        = 181
 
 THISAPP    = mcelog-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mcelog
-PAK_VER    = 2
+PAK_VER    = 3
 SUP_ARCH   = x86_64
 
 DEPS       =
@@ -49,7 +49,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = a324af0f4961fb0f6f2af1b198e07a34c24fb5874edd550ca9bdfe452d84cf48d9565530a290a3cdba51eb4ad57f3bbe3d3c9b2beb6d3411195d6dccdb9dfd64
+$(DL_FILE)_BLAKE2 = 4e182c84ae15abf3673e0210940830c66377b275e05c0bf88ff2199ef1b87bf1e9bcff12ebd9c07e5af00d763369c96aae37c274174563fb3ae0db7bbd7306de
 
 install : $(TARGET)
 
@@ -83,6 +83,9 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
+	# Fix Python interpreter call in genconfig.py script
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/mcelog-181-fix-Python-call.patch
+
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 
diff --git a/src/patches/mcelog-181-fix-Python-call.patch b/src/patches/mcelog-181-fix-Python-call.patch
new file mode 100644
index 000000000..b0781f828
--- /dev/null
+++ b/src/patches/mcelog-181-fix-Python-call.patch
@@ -0,0 +1,8 @@ 
+--- mcelog-181.orig/genconfig.py	2022-04-23 14:54:26.721031777 +0000
++++ mcelog-181/genconfig.py	2022-04-23 14:54:35.577658935 +0000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # generate man config documentation from mcelog.conf example
+ # genconfig.py mcelog.conf intro.html
+ from __future__ import print_function