package/mc: security bump version to 4.8.27

Removed patch which was backported from upstream and is now included in
this release.

Changelog: https://midnight-commander.org/wiki/NEWS-4.8.27

Fixes CVE-2021-36370:
https://mail.gnome.org/archives/mc/2021-August/msg00010.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls 2021-09-02 17:43:59 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4672478a7a
commit f37cc65fa6
3 changed files with 3 additions and 35 deletions

View File

@ -1,32 +0,0 @@
From ba62dd32add2767d6d13f9abb82f43304418740f Mon Sep 17 00:00:00 2001
From: Andrew Borodin <aborodin@vmail.ru>
Date: Sun, 24 Jan 2021 14:19:22 +0300
Subject: [PATCH] Ticket #4181: FTBFS against NCurses on OS X 10.9.5.
lib/tty/tty-ncurses.h: define _XOPEN_SOURCE_EXTENDED to use cchar_t,
getcchar(), setcchar().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
[Retrieved from:
https://github.com/MidnightCommander/mc/commit/ba62dd32add2767d6d13f9abb82f43304418740f]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
lib/tty/tty-ncurses.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
index 9962c7c413..d75df9533a 100644
--- a/lib/tty/tty-ncurses.h
+++ b/lib/tty/tty-ncurses.h
@@ -2,6 +2,11 @@
#ifndef MC__TTY_NCURSES_H
#define MC__TTY_NCURSES_H
+/* for cchar_t, getcchar(), setcchar() */
+#ifndef _XOPEN_SOURCE_EXTENDED
+#define _XOPEN_SOURCE_EXTENDED
+#endif
+
#ifdef USE_NCURSES
#ifdef HAVE_NCURSES_CURSES_H
#include <ncurses/curses.h>

View File

@ -1,4 +1,4 @@
# Hash from http://ftp.midnight-commander.org/mc-4.8.26.sha256
sha256 c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27 mc-4.8.26.tar.xz
# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256
sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz
# sha256 locally computed:
sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING

View File

@ -4,7 +4,7 @@
#
################################################################################
MC_VERSION = 4.8.26
MC_VERSION = 4.8.27
MC_SOURCE = mc-$(MC_VERSION).tar.xz
MC_SITE = http://ftp.midnight-commander.org
MC_LICENSE = GPL-3.0+