All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/certmonger: add certmonger package
@ 2024-10-21 11:56 Ayrton Leyssens
  2024-10-23 20:55 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Ayrton Leyssens @ 2024-10-21 11:56 UTC (permalink / raw)
  To: buildroot@buildroot.org


[-- Attachment #1.1: Type: text/plain, Size: 3697 bytes --]

Added support for the certmonger package (version 0.79.20).
Certmonger is used to monitor certificates and can refresh the certificate with the help of a CA.
In today's age, cybersecurity is a critical need for network connected devices.
Certmonger can help maintain all the certificate stuff so the user itself has less to worry about.

Signed-off-by: Ayrton aleyssens@idtech.be<mailto:aleyssens@idtech.be>
---
package/Config.in                  |  1 +
package/certmonger/Config.in       | 19 +++++++++++++++++++
package/certmonger/certmonger.hash |  2 ++
package/certmonger/certmonger.mk   | 25 +++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 100644 package/certmonger/Config.in
create mode 100644 package/certmonger/certmonger.hash
create mode 100644 package/certmonger/certmonger.mk

diff --git a/package/Config.in b/package/Config.in
index d4cc03dcdb..73efaae622 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2688,6 +2688,7 @@ endif
               source "package/zabbix/Config.in"
               source "package/zeek/Config.in"
               source "package/znc/Config.in"
+             source "package/certmonger/Config.in"
 endmenu
diff --git a/package/certmonger/Config.in b/package/certmonger/Config.in
new file mode 100644
index 0000000000..9d0e112b5a
--- /dev/null
+++ b/package/certmonger/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_CERTMONGER
+             bool "Certmonger"
+             select BR2_PACKAGE_LIBTALLOC
+             select BR2_PACKAGE_LIBTEVENT
+             select BR2_PACKAGE_DBUS
+             select BR2_PACKAGE_LIBNSS
+             select BR2_PACKAGE_LIBXML2
+             select BR2_PACKAGE_LIBCURL
+             select BR2_PACKAGE_JANSSON
+             select BR2_PACKAGE_LIBKRB5
+             select BR2_PACKAGE_POPT
+             select BR2_PACKAGE_LIBOPENSSL
+             select BR2_PACKAGE_POPT
+             select BR2_PACKAGE_OPENLDAP
+             help
+               Certmonger is a service which attempts to simplify
+               interaction with certifying authorities (CAs) on
+               networks which use public-key infrastructure (PKI).
+
diff --git a/package/certmonger/certmonger.hash b/package/certmonger/certmonger.hash
new file mode 100644
index 0000000000..653ba1dcfc
--- /dev/null
+++ b/package/certmonger/certmonger.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  1e66094ef4130fc15c8acf5abfca097c2f8f40f57f699f80bb14e9941260d473  certmonger-0.79.20-git4.tar.gz
diff --git a/package/certmonger/certmonger.mk b/package/certmonger/certmonger.mk
new file mode 100644
index 0000000000..c6a9c179e4
--- /dev/null
+++ b/package/certmonger/certmonger.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# CERTMONGER
+#
+################################################################################
+
+CERTMONGER_VERSION = 0.79.20
+CERTMONGER_SITE = https://pagure.io/certmonger.git
+CERTMONGER_LICENSE_FILES = LICENSE
+CERTMONGER_NAME = certmonger
+CERTMONGER_SITE_METHOD = git
+CERTMONGER_DEPENDENCIES = openssl dbus libtalloc libtevent libnss libcurl jansson libkrb5 openldap popt libxml2
+
+MY_CFLAGS = $(TARGET_CFLAGS) -lssl -ldbus-1 -ltalloc -ltevent -lnss -lcurl -ljansson -lkrb5 -lldap -lpopt -lxml2 -lcom_err
+
+define CERTMONGER_RUN_AUTOGEN
+             cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+CERTMONGER_PRE_CONFIGURE_HOOKS += CERTMONGER_RUN_AUTOGEN
+
+define CERTMONGER_BUILD_CMDS
+             $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CXX="$(TARGET_CXX)" CFLAGS="$(MY_CFLAGS)"
+endef
+
+$(eval $(autotools-package))
--
2.43.0

[-- Attachment #1.2: Type: text/html, Size: 12545 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

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

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

end of thread, other threads:[~2024-10-29 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 11:56 [Buildroot] [PATCH 1/1] package/certmonger: add certmonger package Ayrton Leyssens
2024-10-23 20:55 ` Thomas Petazzoni via buildroot
2024-10-24 10:14   ` Ayrton Leyssens
2024-10-29 18:23     ` Thomas Petazzoni via buildroot

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.