[oe,meta-networking,2/3] usrsctp: Add recipe

Message ID 20161216035947.18909-2-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Dec. 16, 2016, 3:59 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Martin Jansa Dec. 20, 2016, 2:32 p.m. | #1
On Thu, Dec 15, 2016 at 07:59:46PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++

>  1 file changed, 24 insertions(+)

>  create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

> 

> 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 0000000..291eaa9

> --- /dev/null

> +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

> @@ -0,0 +1,24 @@

> +DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."

> +LICENSE = "BSD-3-Clause"

> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"

> +

> +SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"

> +SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"

> +

> +S = "${WORKDIR}/git"

> +

> +inherit autotools pkgconfig

> +

> +DEPENDS += "openssl"


Fails to build here:
http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

 Makefile.am: installing './INSTALL'
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License
v3 file
| Makefile.am:     Consider adding the COPYING file to the version
control system
| Makefile.am:     for your code, to avoid questions about which license
your project uses
| programs/Makefile.am: installing './depcomp'
| autoreconf: automake failed with exit status: 1


> +

> +CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"

> +LDFLAGS += "-lssl -lcrypto"

> +

> +PACKAGECONFIG ?= "disablewarnings"

> +PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"

> +

> +EXTRA_OECONF += "--disable-inet \

> +                 --disable-inet6 \

> +                 --disable-shared \

> +                 --disable-debug \

> +               "

> -- 

> 2.10.2

> 

> -- 

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem Raj Dec. 21, 2016, 6:05 a.m. | #2
On Tue, Dec 20, 2016 at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Dec 15, 2016 at 07:59:46PM -0800, Khem Raj wrote:

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> ---

>>  .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++

>>  1 file changed, 24 insertions(+)

>>  create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

>>

>> 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 0000000..291eaa9

>> --- /dev/null

>> +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

>> @@ -0,0 +1,24 @@

>> +DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."

>> +LICENSE = "BSD-3-Clause"

>> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"

>> +

>> +SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"

>> +SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"

>> +

>> +S = "${WORKDIR}/git"

>> +

>> +inherit autotools pkgconfig

>> +

>> +DEPENDS += "openssl"

>

> Fails to build here:

> http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

>

>  Makefile.am: installing './INSTALL'

> | Makefile.am: error: required file './NEWS' not found

> | Makefile.am: error: required file './README' not found

> | Makefile.am: error: required file './AUTHORS' not found

> | Makefile.am: error: required file './ChangeLog' not found

> | Makefile.am: installing './COPYING' using GNU General Public License

> v3 file

> | Makefile.am:     Consider adding the COPYING file to the version

> control system

> | Makefile.am:     for your code, to avoid questions about which license

> your project uses

> | programs/Makefile.am: installing './depcomp'

> | autoreconf: automake failed with exit status: 1


Yeah sent a v2

>

>

>> +

>> +CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"

>> +LDFLAGS += "-lssl -lcrypto"

>> +

>> +PACKAGECONFIG ?= "disablewarnings"

>> +PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"

>> +

>> +EXTRA_OECONF += "--disable-inet \

>> +                 --disable-inet6 \

>> +                 --disable-shared \

>> +                 --disable-debug \

>> +               "

>> --

>> 2.10.2

>>

>> --

>> _______________________________________________

>> Openembedded-devel mailing list

>> Openembedded-devel@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

> --

> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch hide | download patch | download mbox

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 0000000..291eaa9
--- /dev/null
+++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
@@ -0,0 +1,24 @@ 
+DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
+
+SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
+SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS += "openssl"
+
+CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
+LDFLAGS += "-lssl -lcrypto"
+
+PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+
+EXTRA_OECONF += "--disable-inet \
+                 --disable-inet6 \
+                 --disable-shared \
+                 --disable-debug \
+               "