Skip to contentSkip to conversation

package/libmd: new package

PATCH In review Fabrice Fontaine 2 participants 3 messages Jan 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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/

---
 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
DEVELOPERS +1 -0
index cb06de820d..c1ccab966c 100644
@@ -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/
package/Config.in +1 -0
index ad542ac8bc..d8ee96a588 100644
@@ -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"
package/libmd/Config.in new file +9 -0
new file mode 100644
index 0000000000..63139ad69b
@@ -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/
package/libmd/libmd.hash new file +5 -0
new file mode 100644
index 0000000000..1a3c9d80df
@@ -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
package/libmd/libmd.mk new file +14 -0
new file mode 100644
index 0000000000..19a2458982
@@ -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))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/libbsd: bump to version 0.11.3

- Update indentation in hash file (two spaces)
- Update hash of COPYING:
- files added and year updated with

    https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/01f0d1ea1e71f1018a009ebd9203dd48e6d90c45
    https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/37a9b56c05339301510213c41fc507ea31cc2464
    https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/d54ceb37ce9d7c04fa450a6638eaee31375bbde1
  - files removed with
    https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/847e682f8de452d5f0038458f06ae68ae3959b3a

- libmmd is a mandatory dependency since version 0.11 and
https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/847e682f8de452d5f0038458f06ae68ae3959b3a

https://lists.freedesktop.org/archives/libbsd/2021-February/000298.html
https://lists.freedesktop.org/archives/libbsd/2021-February/000302.html
https://lists.freedesktop.org/archives/libbsd/2021-February/000305.html

---
 package/libbsd/Config.in   | 1 +
 package/libbsd/libbsd.hash | 6 +++---
 package/libbsd/libbsd.mk   | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)
package/libbsd/Config.in +1 -0
index 845a22162b..093a2e646c 100644
@@ -13,6 +13,7 @@ config BR2_PACKAGE_LIBBSD
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_WCHAR
+	select BR2_PACKAGE_LIBMD
 	help
 	  This library provides useful functions commonly found on BSD
 	  systems, and lacking on others like GNU systems, thus making
package/libbsd/libbsd.hash +3 -3
index 95887bd607..17bb32e01c 100644
@@ -1,3 +1,3 @@
-# From https://lists.freedesktop.org/archives/libbsd/2019-August/000229.html
-sha256	34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887	libbsd-0.10.0.tar.xz
-sha256	933d14a6bc89ee1fd7adbf5b6ec97f6ff0e002549d0b0c164f8a8895371d78f8	COPYING
+# From https://lists.freedesktop.org/archives/libbsd/2021-February/000305.html
+sha512  a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5  libbsd-0.11.3.tar.xz
+sha256  ff2fdeeb0fe8bcb9045fe91d69e8312a5b477c54db48dffe34dd1c0d730c5864  COPYING
package/libbsd/libbsd.mk +2 -1
index 256a75f15e..86df8a97a2 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBBSD_VERSION = 0.10.0
+LIBBSD_VERSION = 0.11.3
 LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
 LIBBSD_SITE = https://libbsd.freedesktop.org/releases
 LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
@@ -12,5 +12,6 @@ LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
 LIBBSD_LICENSE_FILES = COPYING
 LIBBSD_CPE_ID_VENDOR = freedesktop
 LIBBSD_INSTALL_STAGING = YES
+LIBBSD_DEPENDENCIES = libmd
 
 $(eval $(autotools-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine

Fabrice, All,

On 2022-01-08 23:38 +0100, Fabrice Fontaine spake thusly:

Quoted 7 lines

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/

Series of 2 patches applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 84 lines
---
 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
DEVELOPERS +1 -0
index cb06de820d..c1ccab966c 100644
@@ -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/
package/Config.in +1 -0
index ad542ac8bc..d8ee96a588 100644
@@ -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"
package/libmd/Config.in new file +9 -0
new file mode 100644
index 0000000000..63139ad69b
@@ -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/
package/libmd/libmd.hash new file +5 -0
new file mode 100644
index 0000000000..1a3c9d80df
@@ -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
package/libmd/libmd.mk new file +14 -0
new file mode 100644
index 0000000000..19a2458982
@@ -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))
Signature · 1 line
2.34.1
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot