Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libmd: new package
@ 2022-01-08 22:38 Fabrice Fontaine
  2022-01-08 22:38 ` [Buildroot] [PATCH 2/2] package/libbsd: bump to version 0.11.3 Fabrice Fontaine
  2022-01-08 23:17 ` [Buildroot] [PATCH 1/2] package/libmd: new package Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-01-08 22:38 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Thomas Petazzoni, Fabrice Fontaine

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>
---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/libmd/Config.in  |  9 +++++++++
 package/libmd/libmd.hash |  5 +++++
 package/libmd/libmd.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/libmd/Config.in
 create mode 100644 package/libmd/libmd.hash
 create mode 100644 package/libmd/libmd.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index cb06de820d..c1ccab966c 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -899,6 +899,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/
diff --git a/package/Config.in b/package/Config.in
index ad542ac8bc..d8ee96a588 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1412,6 +1412,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"
diff --git a/package/libmd/Config.in b/package/libmd/Config.in
new file mode 100644
index 0000000000..63139ad69b
--- /dev/null
+++ b/package/libmd/Config.in
@@ -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/
diff --git a/package/libmd/libmd.hash b/package/libmd/libmd.hash
new file mode 100644
index 0000000000..1a3c9d80df
--- /dev/null
+++ b/package/libmd/libmd.hash
@@ -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
diff --git a/package/libmd/libmd.mk b/package/libmd/libmd.mk
new file mode 100644
index 0000000000..19a2458982
--- /dev/null
+++ b/package/libmd/libmd.mk
@@ -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))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-08 23:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-08 22:38 [Buildroot] [PATCH 1/2] package/libmd: new package Fabrice Fontaine
2022-01-08 22:38 ` [Buildroot] [PATCH 2/2] package/libbsd: bump to version 0.11.3 Fabrice Fontaine
2022-01-08 23:17 ` [Buildroot] [PATCH 1/2] package/libmd: new package Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox