lksctp-tools: add recipe (version 1.0.16)
PATCH v5 1/2 lksctp-tools: add recipe (version 1.0.16)
This recipe comes from arago-oe-dev:
https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-tools
--- .../lksctp-tools/lksctp-tools_1.0.16.bb | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb new file +43 -0
@@ -0,0 +1,43 @@ +SUMMARY = "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/*.c \ + ${datadir}/lksctp-tools/*.h \ +" + +FILES_${PN}-utils = "${bindir}/*"
Signature · 1 line
1.8.5.3
PATCH v5 2/2 netperf: enable SCTP support
--- meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-networking/recipes-support/netperf/netperf_2.6.0.bb +5 -0
@@ -27,6 +27,9 @@ 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," + # 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() {
@@ -57,5 +60,7 @@ do_install() { install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf } +RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" + INITSCRIPT_NAME="netperf" INITSCRIPT_PARAMS="defaults"
Signature · 1 line
1.8.5.3
Re: [meta-networking][PATCH v5 2/2] netperf: enable SCTP support
Merged, sorry for the excessive delay on this.
-J.
Quoted 35 lines · Mihaela Sendrea
Signed-off-by Mihaela Sendrea <[email protected]>--- meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++ 1 file changed, 5 insertions(+)meta-networking/recipes-support/netperf/netperf_2.6.0.bb +5
-1@@ -27,6 +27,9 @@ 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," + # 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() {@@ -57,5 +60,7 @@ do_install() { install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf } +RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" + INITSCRIPT_NAME="netperf" INITSCRIPT_PARAMS="defaults" --1.8.5.3
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Joe MacDonald :wq
Joe MacDonald
AppliedMerged, thanks.
-J.
Quoted 66 lines · Mihaela Sendrea
This recipe comes from arago-oe-dev:
https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-toolsSigned-off-by Mihaela Sendrea <[email protected]>--- .../lksctp-tools/lksctp-tools_1.0.16.bb | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bbmeta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb new file +43
-1@@ -0,0 +1,43 @@ +SUMMARY = "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/*.c \ + ${datadir}/lksctp-tools/*.h \ +" + +FILES_${PN}-utils = "${bindir}/*" --1.8.5.3
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Joe MacDonald :wq