All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: "Yann E . MORIN" <yann.morin.1998@free.fr>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/2] package/libmd: new package
Date: Sat,  8 Jan 2022 23:38:28 +0100	[thread overview]
Message-ID: <20220108223829.3701891-1-fontaine.fabrice@gmail.com> (raw)

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

             reply	other threads:[~2022-01-08 22:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 22:38 Fabrice Fontaine [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220108223829.3701891-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.