package/libmd: new package

This library provides message digest functions found on BSD systems
either on their libc (NetBSD, OpenBSD) or libmd (FreeBSD, DragonflyBSD,
macOS, Solaris) libraries and lacking on others like GNU systems.

https://www.hadrons.org/software/libmd/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-01-08 23:38:28 +01:00 committed by Yann E. MORIN
parent 5138621497
commit cc232de771
5 changed files with 30 additions and 0 deletions

View File

@ -904,6 +904,7 @@ F: package/libidn2/
F: package/libjpeg/
F: package/liblockfile/
F: package/libmatroska/
F: package/libmd/
F: package/libmpdclient/
F: package/libnetfilter_conntrack/
F: package/libnetfilter_queue/

View File

@ -1415,6 +1415,7 @@ menu "Crypto"
source "package/libgpgme/Config.in"
source "package/libkcapi/Config.in"
source "package/libksba/Config.in"
source "package/libmd/Config.in"
source "package/libmhash/Config.in"
source "package/libnss/Config.in"
source "package/libolm/Config.in"

9
package/libmd/Config.in Normal file
View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_LIBMD
bool "libmd"
help
This library provides message digest functions found on BSD
systems either on their libc (NetBSD, OpenBSD) or libmd
(FreeBSD, DragonflyBSD, macOS, Solaris) libraries and lacking
on others like GNU systems.
https://www.hadrons.org/software/libmd/

5
package/libmd/libmd.hash Normal file
View File

@ -0,0 +1,5 @@
# From https://lists.freedesktop.org/archives/libbsd/2021-October/000311.html
sha512 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3 libmd-1.0.4.tar.xz
# Hash for license file
sha256 4365ef6255ad553fce69dd4bc0e093472c5d0e41b8ea493a545cc926ce171aa6 COPYING

14
package/libmd/libmd.mk Normal file
View File

@ -0,0 +1,14 @@
################################################################################
#
# libmd
#
################################################################################
LIBMD_VERSION = 1.0.4
LIBMD_SOURCE = libmd-$(LIBMD_VERSION).tar.xz
LIBMD_SITE = https://archive.hadrons.org/software/libmd
LIBMD_LICENSE = BSD-2-Clause, BSD-3-Clause, Beerware, ISC, Public Domain
LIBMD_LICENSE_FILES = COPYING
LIBMD_INSTALL_STAGING = YES
$(eval $(autotools-package))