diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-12-20 22:03:06 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-01-19 09:26:16 +0100 |
commit | def2483db69afdf8799b86ac0234a9ba52e8debf (patch) | |
tree | 9eeea29c04bf4fdae079e435df56688b61b16a0d /meta-networking | |
parent | c50baaa487e4d560798d7eb540c9d158e8a25fcc (diff) | |
download | meta-openembedded-def2483db69afdf8799b86ac0234a9ba52e8debf.tar.gz |
usrsctp: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/usrsctp/usrsctp/0001-Use-foreign-switch-for-automake.patch | 28 | ||||
-rw-r--r-- | meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb | 26 |
2 files changed, 54 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp/0001-Use-foreign-switch-for-automake.patch b/meta-networking/recipes-protocols/usrsctp/usrsctp/0001-Use-foreign-switch-for-automake.patch new file mode 100644 index 0000000000..b932ebbb4f --- /dev/null +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp/0001-Use-foreign-switch-for-automake.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 748bc693cf24baf42e459e12f152349e392b6737 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 20 Dec 2016 21:32:11 -0800 | ||
4 | Subject: [PATCH] Use foreign switch for automake | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | configure.ac | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 64cc9994..19ccd4a3 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -29,7 +29,7 @@ dnl SUCH DAMAGE. | ||
18 | dnl | ||
19 | |||
20 | AC_INIT([libusrsctp], [0.9.3.0]) | ||
21 | -AM_INIT_AUTOMAKE | ||
22 | +AM_INIT_AUTOMAKE([foreign]) | ||
23 | |||
24 | AC_PROG_CC | ||
25 | AC_PROG_LIBTOOL | ||
26 | -- | ||
27 | 2.11.0 | ||
28 | |||
diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file mode 100644 index 0000000000..99a261ec7d --- /dev/null +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows." | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5" | ||
4 | |||
5 | SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c" | ||
6 | SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \ | ||
7 | file://0001-Use-foreign-switch-for-automake.patch \ | ||
8 | " | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | DEPENDS += "openssl" | ||
15 | |||
16 | CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC" | ||
17 | LDFLAGS += "-lssl -lcrypto" | ||
18 | |||
19 | PACKAGECONFIG ?= "disablewarnings" | ||
20 | PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," | ||
21 | |||
22 | EXTRA_OECONF += "--disable-inet \ | ||
23 | --disable-inet6 \ | ||
24 | --disable-shared \ | ||
25 | --disable-debug \ | ||
26 | " | ||