comment "Legacy options removed in 2021.08"
+config BR2_PACKAGE_LIBMCRYPT
+ bool "libmcrypt package was removed"
+ select BR2_LEGACY
+ help
+ This package has been removed as "the last update to libmcrypt
+ was in 2007, despite years of unmerged patches. These facts
+ have led security experts to declare mcrypt abandonware and
+ discourage its use in new development" (extract from
+ https://en.wikipedia.org/wiki/Mcrypt).
+
config BR2_PACKAGE_MCRYPT
bool "mcrypt package was removed"
select BR2_LEGACY
source "package/libgpgme/Config.in"
source "package/libkcapi/Config.in"
source "package/libksba/Config.in"
- source "package/libmcrypt/Config.in"
source "package/libmhash/Config.in"
source "package/libnss/Config.in"
source "package/libolm/Config.in"
+++ /dev/null
-libmcrypt doesn't use C++ so remove the check.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura libmcrypt-2.5.8.orig/configure.in libmcrypt-2.5.8/configure.in
---- libmcrypt-2.5.8.orig/configure.in 2013-01-07 12:20:44.332200669 -0300
-+++ libmcrypt-2.5.8/configure.in 2013-01-07 12:20:50.405390565 -0300
-@@ -19,7 +19,6 @@
-
- AC_PROG_MAKE_SET
-
--AC_PROG_CXX
- AC_PROG_CC
- AC_PROG_CPP
- AC_PROG_INSTALL
+++ /dev/null
-config BR2_PACKAGE_LIBMCRYPT
- bool "libmcrypt"
- help
- libmcrypt is a library that provides uniform interface to
- access several encryption algorithms.
-
- http://mcrypt.sourceforge.net/
+++ /dev/null
-# Locally computed:
-sha256 e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e libmcrypt-2.5.8.tar.gz
-sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB
+++ /dev/null
-################################################################################
-#
-# libmcrypt
-#
-################################################################################
-
-LIBMCRYPT_VERSION = 2.5.8
-LIBMCRYPT_SITE = http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$(LIBMCRYPT_VERSION)
-LIBMCRYPT_AUTORECONF = YES
-LIBMCRYPT_INSTALL_STAGING = YES
-LIBMCRYPT_LICENSE = LGPL-2.1
-LIBMCRYPT_LICENSE_FILES = COPYING.LIB
-LIBMCRYPT_CONFIG_SCRIPTS = libmcrypt-config
-
-$(eval $(autotools-package))