Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
From 4201c0ff3fd75e09025d515c427f85f9fec89621 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 5 Apr 2022 22:27:35 +0200
|
||||
Subject: [PATCH] src/eXtl_dtls.c: fix build with libressl >= 3.4.1
|
||||
|
||||
Fix the following build failure with libressl >= 3.4.1 which provides
|
||||
SSL_set0_rbio() since
|
||||
https://github.com/libressl-portable/openbsd/commit/c99939f9665a9c3c648682b4987df46600b70efc:
|
||||
|
||||
In file included from eXtl_dtls.c:82:
|
||||
/home/autobuild/autobuild/instance-4/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/openssl/ssl.h:1272:6: note: previous declaration of 'SSL_set0_rbio' was here
|
||||
1272 | void SSL_set0_rbio(SSL *s, BIO *rbio);
|
||||
| ^~~~~~~~~~~~~
|
||||
eXtl_dtls.c: In function 'SSL_set0_rbio':
|
||||
eXtl_dtls.c:108:17: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'}
|
||||
108 | BIO_free_all(s->rbio);
|
||||
| ^~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/dfafdbf71b31fbda1b5ba491ac35239af4a20aa2
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: sent to amoizard@antisip.com]
|
||||
---
|
||||
src/eXtl_dtls.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c
|
||||
index 07c0dc2..d0bd7dc 100644
|
||||
--- a/src/eXtl_dtls.c
|
||||
+++ b/src/eXtl_dtls.c
|
||||
@@ -102,7 +102,7 @@
|
||||
#define RANDOM "random.pem"
|
||||
#define DHFILE "dh1024.pem"
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3040100L)
|
||||
|
||||
static void SSL_set0_rbio(SSL *s, BIO *rbio) {
|
||||
BIO_free_all(s->rbio);
|
||||
--
|
||||
2.35.1
|
||||
|
||||
14
package/libeXosip2/Config.in
Normal file
14
package/libeXosip2/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBEXOSIP2
|
||||
bool "libeXosip2"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBOSIP2
|
||||
help
|
||||
eXosip is a library that hides the complexity of using the
|
||||
SIP protocol for multimedia session establishment.
|
||||
This protocol is mainly to be used by VoIP telephony
|
||||
applications (endpoints or conference server) but might be
|
||||
also useful for any application that wish to establish
|
||||
sessions like multiplayer games.
|
||||
eXosip is based in libosip.
|
||||
|
||||
http://savannah.nongnu.org/projects/exosip/
|
||||
3
package/libeXosip2/libeXosip2.hash
Normal file
3
package/libeXosip2/libeXosip2.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5b7823986431ea5cedc9f095d6964ace966f093b2ae7d0b08404788bfcebc9c2 libexosip2-5.3.0.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
38
package/libeXosip2/libeXosip2.mk
Normal file
38
package/libeXosip2/libeXosip2.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# libexosip2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEXOSIP2_VERSION = 5.3.0
|
||||
# Since version 5.0, letter 'X' in library's name is in lower case
|
||||
LIBEXOSIP2_SOURCE = libexosip2-$(LIBEXOSIP2_VERSION).tar.gz
|
||||
LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip
|
||||
LIBEXOSIP2_INSTALL_STAGING = YES
|
||||
LIBEXOSIP2_LICENSE = GPL-2.0+
|
||||
LIBEXOSIP2_LICENSE_FILES = COPYING
|
||||
LIBEXOSIP2_CPE_ID_VENDOR = gnu
|
||||
LIBEXOSIP2_CPE_ID_PRODUCT = exosip
|
||||
|
||||
LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
|
||||
|
||||
ifeq ($(BR2_arc),y)
|
||||
# toolchain __arc__ define conflicts with libeXosip2 source
|
||||
LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
||||
LIBEXOSIP2_DEPENDENCIES += c-ares
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBEXOSIP2_DEPENDENCIES += openssl
|
||||
LIBEXOSIP2_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
LIBEXOSIP2_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
LIBEXOSIP2_CONF_OPTS += \
|
||||
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user