Bump buidlroot version to 2018.02.6
This commit is contained in:
16
bsp/buildroot/package/erlang-p1-xmpp/0001-fix-includes.patch
Normal file
16
bsp/buildroot/package/erlang-p1-xmpp/0001-fix-includes.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Without this patch, rebar fails to find include file fxml.hrl.
|
||||
|
||||
Signed-off-by: Christophe Romain <cromain@process-one.net>
|
||||
|
||||
diff --git a/include/xmpp.hrl b/include/xmpp.hrl
|
||||
index afa5f61..678858e 100644
|
||||
--- a/include/xmpp.hrl
|
||||
+++ b/include/xmpp.hrl
|
||||
@@ -26,7 +26,7 @@
|
||||
-include("ns.hrl").
|
||||
-include("jid.hrl").
|
||||
-include("xmpp_codec.hrl").
|
||||
--include("fxml.hrl").
|
||||
+-include_lib("p1_xml/include/fxml.hrl").
|
||||
|
||||
-type stanza() :: iq() | presence() | message().
|
||||
@@ -0,0 +1,19 @@
|
||||
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
|
||||
--- a/rebar.config 2017-11-30 14:24:52.348695123 +0100
|
||||
+++ b/rebar.config 2017-11-30 14:35:11.816407195 +0100
|
||||
@@ -29,10 +29,6 @@
|
||||
|
||||
{port_specs, [{"priv/lib/jid.so", ["c_src/jid.c"]}]}.
|
||||
|
||||
-{deps, [{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.25"}}},
|
||||
- {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.10"}}},
|
||||
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.10"}}}]}.
|
||||
-
|
||||
{clean_files, ["c_src/jid.gcda", "c_src/jid.gcno"]}.
|
||||
|
||||
{cover_enabled, true}.
|
||||
13
bsp/buildroot/package/erlang-p1-xmpp/Config.in
Normal file
13
bsp/buildroot/package/erlang-p1-xmpp/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
comment "erlang-p1-xmpp needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_XMPP
|
||||
bool "erlang-p1-xmpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # erlang-p1-stringprep
|
||||
select BR2_PACKAGE_ERLANG_P1_XML
|
||||
select BR2_PACKAGE_ERLANG_P1_STRINGPREP
|
||||
select BR2_PACKAGE_ERLANG_P1_UTILS
|
||||
help
|
||||
XMPP library for Erlang.
|
||||
|
||||
https://github.com/processone/xmpp
|
||||
2
bsp/buildroot/package/erlang-p1-xmpp/erlang-p1-xmpp.hash
Normal file
2
bsp/buildroot/package/erlang-p1-xmpp/erlang-p1-xmpp.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 558e8d8734052bdbe679cf10165a63944c208940ab84be78c97ba661dfcf3cb2 erlang-p1-xmpp-1.1.16.tar.gz
|
||||
16
bsp/buildroot/package/erlang-p1-xmpp/erlang-p1-xmpp.mk
Normal file
16
bsp/buildroot/package/erlang-p1-xmpp/erlang-p1-xmpp.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# erlang-p1-xmpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_XMPP_VERSION = 1.1.16
|
||||
ERLANG_P1_XMPP_SITE = $(call github,processone,xmpp,$(ERLANG_P1_XMPP_VERSION))
|
||||
ERLANG_P1_XMPP_LICENSE = Apache-2.0
|
||||
ERLANG_P1_XMPP_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_P1_XMPP_INSTALL_STAGING = YES
|
||||
ERLANG_P1_XMPP_DEPENDENCIES = erlang-p1-xml erlang-p1-stringprep \
|
||||
erlang-p1-utils host-erlang-p1-xml
|
||||
|
||||
$(eval $(rebar-package))
|
||||
$(eval $(host-rebar-package))
|
||||
Reference in New Issue
Block a user