package/libmcrypt: drop package
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 19 Aug 2021 22:09:45 +0000 (00:09 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 20 Aug 2021 07:58:18 +0000 (09:58 +0200)
Drop libmcrypt which is a cryptographic package that is not maintained
anymore. Here is an extract of https://en.wikipedia.org/wiki/Mcrypt:
"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.".

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Config.in.legacy
package/Config.in
package/libmcrypt/0001-nocxx.patch [deleted file]
package/libmcrypt/Config.in [deleted file]
package/libmcrypt/libmcrypt.hash [deleted file]
package/libmcrypt/libmcrypt.mk [deleted file]

index 7cb0c40782505087f7fffa37b167df720d68f0a1..68c9f3ca49866955349801c96ede838be55b3b0e 100644 (file)
@@ -146,6 +146,16 @@ endif
 
 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
index 6fcdcc38d7c502c1b0aa0b6530b76e38fe50efea..4d323d440fa6fb4cab68b35a3fd3ec83897aaf7d 100644 (file)
@@ -1376,7 +1376,6 @@ menu "Crypto"
        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"
diff --git a/package/libmcrypt/0001-nocxx.patch b/package/libmcrypt/0001-nocxx.patch
deleted file mode 100644 (file)
index b1c2871..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-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
diff --git a/package/libmcrypt/Config.in b/package/libmcrypt/Config.in
deleted file mode 100644 (file)
index 784d2c2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_LIBMCRYPT
-       bool "libmcrypt"
-       help
-         libmcrypt is a library that provides uniform interface to
-         access several encryption algorithms.
-
-         http://mcrypt.sourceforge.net/
diff --git a/package/libmcrypt/libmcrypt.hash b/package/libmcrypt/libmcrypt.hash
deleted file mode 100644 (file)
index 30b5752..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e  libmcrypt-2.5.8.tar.gz
-sha256  ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532  COPYING.LIB
diff --git a/package/libmcrypt/libmcrypt.mk b/package/libmcrypt/libmcrypt.mk
deleted file mode 100644 (file)
index e93f013..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-################################################################################
-#
-# 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))