Initial Commit
- initial default booting image
This commit is contained in:
18
package/libxmlsec1/Config.in
Normal file
18
package/libxmlsec1/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_LIBXMLSEC1
|
||||
bool "libxmlsec1"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 #-Wformat-overflow
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
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
|
||||
|
||||
comment "libxmlsec1 needs a toolchain w/ gcc >= 7"
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
3
package/libxmlsec1/libxmlsec1.hash
Normal file
3
package/libxmlsec1/libxmlsec1.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 24045199af12d93fe5fdbbbf7e386e823e4842071e9432e2b90ac108b889a923 xmlsec1-1.3.12.tar.gz
|
||||
sha256 a6d217151f3d423e06639c075bad8e442ea1936828d3a660105122ef78ecd96d Copyright
|
||||
50
package/libxmlsec1/libxmlsec1.mk
Normal file
50
package/libxmlsec1/libxmlsec1.mk
Normal file
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
#
|
||||
# libxmlsec1
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBXMLSEC1_VERSION = 1.3.12
|
||||
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
|
||||
|
||||
# xmlsec_unit_tests needs xmlDebugDumpDocument() from libxml2 which is not
|
||||
# present in buildroot because libxml2 is build with -without-debug
|
||||
define LIBXMLSEC1_DISABLE_UNIT_TESTS
|
||||
$(SED) 's/noinst_PROGRAMS = xmlsec_unit_tests/noinst_PROGRAMS =/' \
|
||||
$(@D)/apps/Makefile.am
|
||||
endef
|
||||
LIBXMLSEC1_POST_PATCH_HOOKS += LIBXMLSEC1_DISABLE_UNIT_TESTS
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user