Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
Description: correct include
This part of the code was moved into it's own project and was packaged
separately by me. To make the build process work, this small fix is
necessary.
Author: Philipp Huebner <debalance@debian.org>
Index: erlang-p1-sip/src/esip_socket.erl
===================================================================
--- erlang-p1-sip.orig/src/esip_socket.erl
+++ erlang-p1-sip/src/esip_socket.erl
@@ -22,7 +22,7 @@
-include("esip.hrl").
-include("esip_lib.hrl").
--include("stun.hrl").
+-include_lib("p1_stun/include/stun.hrl").
-define(TCP_SEND_TIMEOUT, 15000).
-define(CONNECT_TIMEOUT, 20000).

View File

@@ -0,0 +1,20 @@
Without this patch, dependencies would be downloaded and compiled
by rebar at build time.
Signed-off-by: Christophe Romain <cromain@process-one.net>
diff --git a/rebar.config b/rebar.config
index ed93134..5b32788 100644
--- a/rebar.config
+++ b/rebar.config
@@ -31,10 +31,6 @@
{port_specs, [{"priv/lib/esip_drv.so", ["c_src/esip_codec.c"]}]}.
-{deps, [{stun, ".*", {git, "https://github.com/processone/stun", {tag, "1.0.16"}}},
- {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.17"}}},
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.10"}}}]}.
-
{clean_files, ["c_src/esip_codec.gcda", "c_src/esip_codec.gcno"]}.
{cover_enabled, true}.

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_ERLANG_P1_SIP
bool "erlang-p1-sip"
select BR2_PACKAGE_ERLANG_P1_STUN
select BR2_PACKAGE_ERLANG_P1_TLS
select BR2_PACKAGE_ERLANG_P1_UTILS
help
SIP library for Erlang
https://github.com/processone/p1_sip

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 6ac36594921561d0d5502bb824b7408223a3f53560a9d2fa4b0f685c0441baf0 erlang-p1-sip-1.0.17.tar.gz

View File

@@ -0,0 +1,14 @@
################################################################################
#
# erlang-p1-sip
#
################################################################################
ERLANG_P1_SIP_VERSION = 1.0.17
ERLANG_P1_SIP_SITE = $(call github,processone,esip,$(ERLANG_P1_SIP_VERSION))
ERLANG_P1_SIP_LICENSE = Apache-2.0
ERLANG_P1_SIP_LICENSE_FILES = LICENSE.txt
ERLANG_P1_SIP_DEPENDENCIES = erlang-p1-stun erlang-p1-tls erlang-p1-utils
ERLANG_P1_SIP_INSTALL_STAGING = YES
$(eval $(rebar-package))