package/libxmlsec1: new package

Added from Buildroot master.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Waldemar Brodkorb
2026-05-08 07:57:29 +02:00
committed by Thomas Perale
parent aec1220dc1
commit f516703f3b
4 changed files with 58 additions and 0 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62f xmlsec1-1.3.9.tar.gz
sha256 d5e9388534256360c6a009d4f19ab2b8d6ec0aa7ff32a51e22d899ed7beb5c48 Copyright

View File

@@ -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))