From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Cc: alexis.lothore@bootlin.com
Subject: [Buildroot] [PATCH v4] package/libxmlsec1: new package
Date: Thu, 5 Feb 2026 10:25:55 +0100 [thread overview]
Message-ID: <aYRiIxIb0-E_Pd6s@waldemar-brodkorb.de> (raw)
Introduce the libxmlsec1 library package. libxmlsec implements XML
security standards.
The library has only a few mandatory dependencies (libxml2 and a crypto
library). It needs one of the following cryptographic libraries:
OpenSSL, NSS, or Gcrypt/GNUTLS. Default to openssl for now to keep the
package simple.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
This is based on the patch provided by Alexis Lothoré last year.
I updated it to latest available release and fixed some issues found
via test-pkg.
./utils/test-pkg -p libxmlsec1
bootlin-armv5-uclibc [1/6]: OK
bootlin-armv7-glibc [2/6]: OK
bootlin-armv7m-uclibc [3/6]: OK
bootlin-x86-64-musl [4/6]: OK
br-arm-full-static [5/6]: OK
bootlin-aarch64-glibc-old [6/6]: OK
6 builds, 0 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/libxmlsec1/Config.in | 11 +++++++++++
package/libxmlsec1/libxmlsec1.hash | 4 ++++
package/libxmlsec1/libxmlsec1.mk | 30 ++++++++++++++++++++++++++++++
5 files changed, 47 insertions(+)
create mode 100644 package/libxmlsec1/Config.in
create mode 100644 package/libxmlsec1/libxmlsec1.hash
create mode 100644 package/libxmlsec1/libxmlsec1.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 225d1ac917..5268625e97 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3430,6 +3430,7 @@ F: package/asterisk/
F: package/evilwm/
F: package/fbv/
F: package/libpam-pkcs11/
+F: package/libxmlsec1/
F: package/mksh/
F: package/ruby/
F: package/uclibc/
diff --git a/package/Config.in b/package/Config.in
index 6284bea7f4..e69dd6e9fb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1641,6 +1641,7 @@ menu "Crypto"
source "package/libtomcrypt/Config.in"
source "package/libuecc/Config.in"
source "package/libxcrypt/Config.in"
+ source "package/libxmlsec1/Config.in"
source "package/mbedtls/Config.in"
source "package/nettle/Config.in"
source "package/oath-toolkit/Config.in"
diff --git a/package/libxmlsec1/Config.in b/package/libxmlsec1/Config.in
new file mode 100644
index 0000000000..ce3384e7b7
--- /dev/null
+++ b/package/libxmlsec1/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBXMLSEC1
+ bool "libxmlsec1"
+ select BR2_PACKAGE_LIBXML2
+ select BR2_PACKAGE_OPENSSL
+ help
+ XMLSec library provides C based implementation for major XML
+ Security standards:
+ - XML Signature Syntax and Processing
+ - XML Encryption Syntax and Processing
+
+ https://www.aleksey.com/xmlsec/
diff --git a/package/libxmlsec1/libxmlsec1.hash b/package/libxmlsec1/libxmlsec1.hash
new file mode 100644
index 0000000000..be7ca529cb
--- /dev/null
+++ b/package/libxmlsec1/libxmlsec1.hash
@@ -0,0 +1,4 @@
+# Locally calculated
+sha256 a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62f xmlsec1-1.3.9.tar.gz
+# Locally calculated
+sha256 d5e9388534256360c6a009d4f19ab2b8d6ec0aa7ff32a51e22d899ed7beb5c48 Copyright
diff --git a/package/libxmlsec1/libxmlsec1.mk b/package/libxmlsec1/libxmlsec1.mk
new file mode 100644
index 0000000000..a2d607c228
--- /dev/null
+++ b/package/libxmlsec1/libxmlsec1.mk
@@ -0,0 +1,30 @@
+################################################################################
+#
+# libxmlsec1
+#
+################################################################################
+
+LIBXMLSEC1_VERSION = 1.3.9
+LIBXMLSEC1_SOURCE = xmlsec1-$(LIBXMLSEC1_VERSION).tar.gz
+LIBXMLSEC1_SITE = http://www.aleksey.com/xmlsec/download
+LIBXMLSEC1_LICENSE = MIT
+LIBXMLSEC1_LICENSE_FILES = Copyright
+
+LIBXMLSEC1_INSTALL_STAGING = YES
+
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+LIBXMLSEC1_CONF_ENV += LIBS=-latomic
+endif
+
+LIBXMLSEC1_CONF_OPTS += \
+ --enable-crypto-dl=no \
+ --disable-pedantic \
+ --with-openssl=$(STAGING_DIR)/usr \
+ --without-gnutls \
+ --without-nss \
+ --without-gcrypt \
+ --without-libxslt
+
+LIBXMLSEC1_DEPENDENCIES = libxml2 openssl
+
+$(eval $(autotools-package))
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-02-05 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 9:25 Waldemar Brodkorb [this message]
2026-02-10 22:54 ` [Buildroot] [PATCH v4] package/libxmlsec1: new package Thomas Petazzoni via buildroot
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=aYRiIxIb0-E_Pd6s@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=alexis.lothore@bootlin.com \
--cc=buildroot@buildroot.org \
/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.