* [meta-networking][PATCH v4 0/2] netperf: enable SCTP support
@ 2014-05-13 13:07 Mihaela Sendrea
2014-05-13 13:07 ` [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16) Mihaela Sendrea
2014-05-13 13:07 ` [meta-networking][PATCH v4 2/2] netperf: enable SCTP support Mihaela Sendrea
0 siblings, 2 replies; 5+ messages in thread
From: Mihaela Sendrea @ 2014-05-13 13:07 UTC (permalink / raw)
To: openembedded-devel
Hi Martin and Paul,
Thank you for the help, I have cleaned the recipes now, but unfortunatelly I
could not reproduce the build error you reported on lksctp-tools. I hope this
version is ok now...
Best regards,
Mihaela Sendrea (2):
lksctp-tools: add recipe (version 1.0.16)
netperf: enable SCTP support
.../lksctp-tools/lksctp-tools_1.0.16.bb | 57 ++++++++++++++++++++++
.../recipes-support/netperf/netperf_2.6.0.bb | 5 ++
2 files changed, 62 insertions(+)
create mode 100644 meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
--
1.8.5.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16)
2014-05-13 13:07 [meta-networking][PATCH v4 0/2] netperf: enable SCTP support Mihaela Sendrea
@ 2014-05-13 13:07 ` Mihaela Sendrea
2014-05-13 14:27 ` Paul Eggleton
2014-05-13 13:07 ` [meta-networking][PATCH v4 2/2] netperf: enable SCTP support Mihaela Sendrea
1 sibling, 1 reply; 5+ messages in thread
From: Mihaela Sendrea @ 2014-05-13 13:07 UTC (permalink / raw)
To: openembedded-devel
This recipe comes from arago-oe-dev:
https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-tools
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
---
.../lksctp-tools/lksctp-tools_1.0.16.bb | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
diff --git a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
new file mode 100644
index 0000000..2c229c3
--- /dev/null
+++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
@@ -0,0 +1,57 @@
+DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project"
+SECTION = "libs"
+LICENSE = "LGPLv2"
+
+LIC_FILES_CHKSUM = " \
+ file://COPYING.lib;md5=0a1b79af951c42a9c8573533fbba9a92 \
+ file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \
+"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "708bb0b5a6806ad6e8d13c55b067518e"
+SRC_URI[sha256sum] = "0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26"
+
+S = "${WORKDIR}/${BP}"
+
+BBCLASSEXTEND = "native"
+
+inherit autotools pkgconfig binconfig
+
+SOLIBVERSION="${PV}"
+SOLIBMAJORVERSION="1"
+
+PACKAGES =+ "${PN}-withsctp ${PN}-utils"
+
+FILES_${PN} = " \
+ ${libdir}/libsctp.so.${SOLIBVERSION} \
+"
+
+FILES_${PN}-withsctp = " \
+ ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBVERSION} \
+"
+
+FILES_${PN}-dev += " \
+ ${libdir}/libsctp.so.${SOLIBMAJORVERSION} \
+ ${libdir}/libsctp.so \
+ ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBMAJORVERSION} \
+ ${libdir}/lksctp-tools/libwithsctp.so \
+ ${datadir}/lksctp-tools/checksctp.c \
+ ${datadir}/lksctp-tools/sctp_socket.c \
+ ${datadir}/lksctp-tools/sctp_status.c \
+ ${datadir}/lksctp-tools/sctp_bind.c \
+ ${datadir}/lksctp-tools/sctp_darn.c \
+ ${datadir}/lksctp-tools/sctp_load_libs.c \
+ ${datadir}/lksctp-tools/sctp_sockopt.c \
+ ${datadir}/lksctp-tools/sctp_socket.h \
+ ${datadir}/lksctp-tools/sctp_test.c \
+ ${datadir}/lksctp-tools/sctp_darn.h \
+"
+
+FILES_${PN}-utils = " \
+ ${bindir}/sctp_test \
+ ${bindir}/sctp_darn \
+ ${bindir}/checksctp \
+ ${bindir}/withsctp \
+ ${bindir}/sctp_status \
+"
--
1.8.5.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-networking][PATCH v4 2/2] netperf: enable SCTP support
2014-05-13 13:07 [meta-networking][PATCH v4 0/2] netperf: enable SCTP support Mihaela Sendrea
2014-05-13 13:07 ` [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16) Mihaela Sendrea
@ 2014-05-13 13:07 ` Mihaela Sendrea
2014-05-13 13:47 ` Koen Kooi
1 sibling, 1 reply; 5+ messages in thread
From: Mihaela Sendrea @ 2014-05-13 13:07 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
---
meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
index 7124b02..07bd0cf 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
@@ -27,6 +27,11 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
' -D_FILE_OFFSET_BITS=64', '', d)}"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
+
+RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}"
+
# autotools.bbclass attends to include m4 files with path depth <= 2 by
# "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
do_configure_prepend() {
--
1.8.5.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH v4 2/2] netperf: enable SCTP support
2014-05-13 13:07 ` [meta-networking][PATCH v4 2/2] netperf: enable SCTP support Mihaela Sendrea
@ 2014-05-13 13:47 ` Koen Kooi
0 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2014-05-13 13:47 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mihaela Sendrea schreef op 13-05-14 15:07:
> Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> ---
> meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++ 1 file
> changed, 5 insertions(+)
>
> diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
> b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb index
> 7124b02..07bd0cf 100644 ---
> a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb +++
> b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb @@ -27,6
> +27,11 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
> CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \ '
> -D_FILE_OFFSET_BITS=64', '', d)}"
>
> +PACKAGECONFIG ??= "" +PACKAGECONFIG[sctp] =
> "--enable-sctp,--disable-sctp,lksctp-tools," + +RRECOMMENDS_${PN} +=
> "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '',
> d)}"
R* variables are for packaging so go below do_install.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFTciJVMkyGM64RGpERAiIdAKCtomOboF/4B0JYDfTYIzPZVphz/ACfVdP5
Htmoo8XSpGUAfn7AgoU6iwI=
=bJG/
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16)
2014-05-13 13:07 ` [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16) Mihaela Sendrea
@ 2014-05-13 14:27 ` Paul Eggleton
0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2014-05-13 14:27 UTC (permalink / raw)
To: Mihaela Sendrea; +Cc: openembedded-devel
Hi Mihaela,
On Tuesday 13 May 2014 15:07:18 Mihaela Sendrea wrote:
> This recipe comes from arago-oe-dev:
> https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-tools
>
> Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
> ---
> .../lksctp-tools/lksctp-tools_1.0.16.bb | 57
> ++++++++++++++++++++++ 1 file changed, 57 insertions(+)
> create mode 100644
> meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
>
> diff --git
> a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
> b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb new
> file mode 100644
> index 0000000..2c229c3
> --- /dev/null
> +++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
> @@ -0,0 +1,57 @@
> +DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol
> (lksctp) project"
Could you make this SUMMARY since it's short?
> +SECTION = "libs"
> +LICENSE = "LGPLv2"
> +
> +LIC_FILES_CHKSUM = " \
> + file://COPYING.lib;md5=0a1b79af951c42a9c8573533fbba9a92 \
> + file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \
> +"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/${BP}.tar.gz"
> +
> +SRC_URI[md5sum] = "708bb0b5a6806ad6e8d13c55b067518e"
> +SRC_URI[sha256sum] =
> "0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26" +
> +S = "${WORKDIR}/${BP}"
> +
> +BBCLASSEXTEND = "native"
> +
> +inherit autotools pkgconfig binconfig
> +
> +SOLIBVERSION="${PV}"
> +SOLIBMAJORVERSION="1"
> +
> +PACKAGES =+ "${PN}-withsctp ${PN}-utils"
> +
> +FILES_${PN} = " \
> + ${libdir}/libsctp.so.${SOLIBVERSION} \
> +"
> +
> +FILES_${PN}-withsctp = " \
> + ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBVERSION} \
> +"
> +
> +FILES_${PN}-dev += " \
> + ${libdir}/libsctp.so.${SOLIBMAJORVERSION} \
> + ${libdir}/libsctp.so \
> + ${libdir}/lksctp-tools/libwithsctp.so.${SOLIBMAJORVERSION} \
> + ${libdir}/lksctp-tools/libwithsctp.so \
> + ${datadir}/lksctp-tools/checksctp.c \
> + ${datadir}/lksctp-tools/sctp_socket.c \
> + ${datadir}/lksctp-tools/sctp_status.c \
> + ${datadir}/lksctp-tools/sctp_bind.c \
> + ${datadir}/lksctp-tools/sctp_darn.c \
> + ${datadir}/lksctp-tools/sctp_load_libs.c \
> + ${datadir}/lksctp-tools/sctp_sockopt.c \
> + ${datadir}/lksctp-tools/sctp_socket.h \
> + ${datadir}/lksctp-tools/sctp_test.c \
> + ${datadir}/lksctp-tools/sctp_darn.h \
> +"
> +
> +FILES_${PN}-utils = " \
> + ${bindir}/sctp_test \
> + ${bindir}/sctp_darn \
> + ${bindir}/checksctp \
> + ${bindir}/withsctp \
> + ${bindir}/sctp_status \
> +"
These FILES_ settings seem a little verbose and possibly unnecessary to me -
are these all needed?
(I realise you've probably borrowed this mostly verbatim from arago-oe-dev but
we probably ought to ensure it's as tidy as we can make it)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-13 14:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 13:07 [meta-networking][PATCH v4 0/2] netperf: enable SCTP support Mihaela Sendrea
2014-05-13 13:07 ` [meta-networking][PATCH v4 1/2] lksctp-tools: add recipe (version 1.0.16) Mihaela Sendrea
2014-05-13 14:27 ` Paul Eggleton
2014-05-13 13:07 ` [meta-networking][PATCH v4 2/2] netperf: enable SCTP support Mihaela Sendrea
2014-05-13 13:47 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.