* [Buildroot] [PATCH 2025.02.x] package/libxmlsec1: new package
@ 2026-05-08 5:57 Waldemar Brodkorb
2026-05-15 14:13 ` Thomas Perale via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-05-08 5:57 UTC (permalink / raw)
To: buildroot
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?
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 2025.02.x] package/libxmlsec1: new package
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
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Perale via buildroot @ 2026-05-15 14:13 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: Thomas Perale, buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-15 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox