package/libxmlsec1: new package

Introduce the libxmlsec1 library package. libxmlsec implements XML
security standards.

The library has only a few mandatory dependencies(libxml2 and libxslt
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: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Alexis Lothoré
2025-10-16 16:46:34 +02:00
committed by Thomas Petazzoni
parent 80cbcfaead
commit 7eeb574f0e
5 changed files with 50 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ N: Alexey Lukyanchuk <skif@skif-web.ru>
F: package/zabbix/
N: Alexis Lothoré <alexis.lothore@bootlin.com>
F: package/libxmlsec1/
F: package/python-scp
N: Alistair Francis <alistair@alistair23.me>

View File

@@ -1892,6 +1892,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,13 @@
config BR2_PACKAGE_LIBXMLSEC1
bool "libxmlsec1"
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBXSLT
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,32 @@
################################################################################
#
# 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 libxslt openssl
HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-libxslt host-openssl
LIBXMLSEC1_AUTORECONF = YES
LIBXMLSEC1_CONF_OPTS = \
--enable-crypto-dl=no \
--with-openssl \
--without-gnutls \
--without-gcrypt \
--without-nss
HOST_LIBXMLSEC1_CONF_OPTS = \
--enable-crypto-dl=no \
--with-openssl \
--without-gnutls \
--without-gcrypt \
--without-nss
$(eval $(autotools-package))
$(eval $(host-autotools-package))