From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2025.02.x] package/libxmlsec1: new package
Date: Fri, 15 May 2026 16:13:48 +0200 [thread overview]
Message-ID: <20260515141348.350163-1-thomas.perale@mind.be> (raw)
In-Reply-To: <af17STLwSLfdAgT4@waldemar-brodkorb.de>
Hi,
I added it to 2025.02.x.
In reply of:
> Added from Buildroot master.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> Is there a better way to do it?
> Do you want three cherry-picks from master to branch?
I think this is fine, I would have still kept the description of the original
commit. I wanted to add it myself but then forgot before commiting.
PERALE Thomas
> ---
> package/Config.in | 1 +
> package/libxmlsec1/Config.in | 12 +++++++++
> package/libxmlsec1/libxmlsec1.hash | 3 +++
> package/libxmlsec1/libxmlsec1.mk | 42 ++++++++++++++++++++++++++++++
> 4 files changed, 58 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/package/Config.in b/package/Config.in
> index 38da39033b..64225c03c8 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1910,6 +1910,7 @@ menu "JSON/XML"
> source "package/libxmlb/Config.in"
> source "package/libxmlpp/Config.in"
> source "package/libxmlrpc/Config.in"
> + source "package/libxmlsec1/Config.in"
> source "package/libxslt/Config.in"
> source "package/libyaml/Config.in"
> source "package/mxml/Config.in"
> diff --git a/package/libxmlsec1/Config.in b/package/libxmlsec1/Config.in
> new file mode 100644
> index 0000000000..4a686853ae
> --- /dev/null
> +++ b/package/libxmlsec1/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_LIBXMLSEC1
> + bool "libxmlsec1"
> + select BR2_PACKAGE_OPENSSL
> + select BR2_PACKAGE_LIBXML2
> + 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/
> + https://github.com/lsh123/xmlsec
> diff --git a/package/libxmlsec1/libxmlsec1.hash b/package/libxmlsec1/libxmlsec1.hash
> new file mode 100644
> index 0000000000..9e0e67e732
> --- /dev/null
> +++ b/package/libxmlsec1/libxmlsec1.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256 a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62f xmlsec1-1.3.9.tar.gz
> +sha256 d5e9388534256360c6a009d4f19ab2b8d6ec0aa7ff32a51e22d899ed7beb5c48 Copyright
> diff --git a/package/libxmlsec1/libxmlsec1.mk b/package/libxmlsec1/libxmlsec1.mk
> new file mode 100644
> index 0000000000..29222bc16f
> --- /dev/null
> +++ b/package/libxmlsec1/libxmlsec1.mk
> @@ -0,0 +1,42 @@
> +################################################################################
> +#
> +# libxmlsec1
> +#
> +################################################################################
> +
> +LIBXMLSEC1_VERSION = 1.3.9
> +LIBXMLSEC1_SOURCE = xmlsec1-$(LIBXMLSEC1_VERSION).tar.gz
> +LIBXMLSEC1_SITE = https://github.com/lsh123/xmlsec/releases/download/$(LIBXMLSEC1_VERSION)
> +LIBXMLSEC1_LICENSE = MIT
> +LIBXMLSEC1_LICENSE_FILES = Copyright
> +LIBXMLSEC1_INSTALL_STAGING = YES
> +LIBXMLSEC1_DEPENDENCIES = libxml2 openssl
> +HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-openssl
> +LIBXMLSEC1_AUTORECONF = YES
> +
> +LIBXMLSEC1_CONF_OPTS = \
> + --enable-crypto-dl=no \
> + --with-openssl \
> + --without-gnutls \
> + --without-gcrypt \
> + --without-nss \
> + --disable-des
> +
> +HOST_LIBXMLSEC1_CONF_OPTS = \
> + --enable-crypto-dl=no \
> + --with-openssl \
> + --without-gnutls \
> + --without-gcrypt \
> + --without-nss \
> + --without-libxslt \
> + --disable-des
> +
> +ifeq ($(BR2_PACKAGE_LIBXSLT),y)
> +LIBXMLSEC1_DEPENDENCIES += libxslt
> +LIBXMLSEC1_CONF_OPTS += --with-libxslt
> +else
> +LIBXMLSEC1_CONF_OPTS += --without-libxslt
> +endif
> +
> +$(eval $(autotools-package))
> +$(eval $(host-autotools-package))
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-05-15 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 5:57 [Buildroot] [PATCH 2025.02.x] package/libxmlsec1: new package Waldemar Brodkorb
2026-05-15 14:13 ` Thomas Perale via buildroot [this message]
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=20260515141348.350163-1-thomas.perale@mind.be \
--to=buildroot@buildroot.org \
--cc=thomas.perale@mind.be \
--cc=wbx@openadk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox