Fixes lksctp recipe
[PATCH 1/4] Add lksctp tools [PATCH 2/4] Remove mistake configs [PATCH 3/4] fix missing packages [PATCH 4/4] rename libsctp package
Thanks
PATCH 1/4 Add lksctp tools
--- recipes/lksctp-tools/lksctp-tools.inc | 29 ++++++++++++++++++++++++++++ recipes/lksctp-tools/lksctp-tools_1.0.7.bb | 11 ++++++++++ 2 files changed, 40 insertions(+), 0 deletions(-) create mode 100644 recipes/lksctp-tools/lksctp-tools.inc create mode 100644 recipes/lksctp-tools/lksctp-tools_1.0.7.bb
recipes/lksctp-tools/lksctp-tools.inc new file +29 -0
@@ -0,0 +1,29 @@ +DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPLv2" +#DEPENDS_virtclass-native = "python-native" + +S = "${WORKDIR}/${BPN}-${PV}" + +INC_PR = "r0" + +BBCLASSEXTEND = "native" + +inherit autotools pkgconfig binconfig + +export LDFLAGS += "-ldl" + +do_install_append_virtclass-native() { + : +} + +DEBIANNAME_${PN} = "lksctp" + +PACKAGES =+ "${PN}-tools" +FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \ + ${sysconfdir} ${sharedstatedir} ${localstatedir} \ + ${base_libdir}/*${SOLIBS}" + +FILES_${PN}-dev += "${bindir}/*-config" +FILES_${PN}-utils = ""
recipes/lksctp-tools/lksctp-tools_1.0.7.bb new file +11 -0
@@ -0,0 +1,11 @@ +require lksctp-tools.inc +PR = "${INC_PR}.0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/lksctp-tools-${PV}.tar.gz" + +PARALLEL_MAKE = "" +CCACHE = "" + + +SRC_URI[md5sum] = "047562b40537eb3be5d5ec3ae0a2198b" +SRC_URI[sha256sum] = "e920e89d110cff9847f1d86a1d7a23a156a8abcc9e65a35655d687fd08377595"
Signature · 1 line
1.7.0.2
PATCH 2/4 Remove mistake configs
In reply to Joao H. Freitas--- recipes/lksctp-tools/lksctp-tools.inc | 3 +-- recipes/lksctp-tools/lksctp-tools_1.0.7.bb | 4 ---- 2 files changed, 1 insertions(+), 6 deletions(-)
recipes/lksctp-tools/lksctp-tools.inc +1 -2
@@ -1,8 +1,7 @@ DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project" SECTION = "libs" PRIORITY = "optional" -LICENSE = "GPLv2" -#DEPENDS_virtclass-native = "python-native" +LICENSE = "LGPLv2" S = "${WORKDIR}/${BPN}-${PV}"
recipes/lksctp-tools/lksctp-tools_1.0.7.bb +0 -4
@@ -3,9 +3,5 @@ PR = "${INC_PR}.0" SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/lksctp-tools-${PV}.tar.gz" -PARALLEL_MAKE = "" -CCACHE = "" - - SRC_URI[md5sum] = "047562b40537eb3be5d5ec3ae0a2198b" SRC_URI[sha256sum] = "e920e89d110cff9847f1d86a1d7a23a156a8abcc9e65a35655d687fd08377595"
Signature · 1 line
1.7.0.2
PATCH 3/4 fix missing packages
In reply to Joao H. Freitas--- recipes/lksctp-tools/lksctp-tools.inc | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-)
recipes/lksctp-tools/lksctp-tools.inc +21 -3
@@ -19,10 +19,28 @@ do_install_append_virtclass-native() { DEBIANNAME_${PN} = "lksctp" -PACKAGES =+ "${PN}-tools" +PACKAGES =+ "${PN}-withsctp ${PN}-utils" + FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \ ${sysconfdir} ${sharedstatedir} ${localstatedir} \ ${base_libdir}/*${SOLIBS}" -FILES_${PN}-dev += "${bindir}/*-config" -FILES_${PN}-utils = "" +FILES_${PN}-withsctp = " \ + ${libdir}/lksctp-tools/lib*" + +FILES_${PN}-dev += " \ + ${datadir}/lksctp-tools/checksctp.c \ + ${datadir}/lksctp-tools/sctp_socket.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"
Signature · 1 line
1.7.0.2
PATCH 4/4 rename libsctp package
In reply to Joao H. Freitas--- recipes/lksctp-tools/lksctp-tools.inc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
recipes/lksctp-tools/lksctp-tools.inc +4 -4
@@ -5,19 +5,19 @@ LICENSE = "LGPLv2" S = "${WORKDIR}/${BPN}-${PV}" -INC_PR = "r0" +INC_PR = "r1" BBCLASSEXTEND = "native" inherit autotools pkgconfig binconfig -export LDFLAGS += "-ldl" - do_install_append_virtclass-native() { : } -DEBIANNAME_${PN} = "lksctp" +RREPLACES = "lksctp" + +LEAD_SONAME = "libsctp.so" PACKAGES =+ "${PN}-withsctp ${PN}-utils"
Signature · 1 line
1.7.0.2
Quoted 6 lines · Joao H. Freitas
[PATCH 1/4] Add lksctp tools [PATCH 2/4] Remove mistake configs [PATCH 3/4] fix missing packages [PATCH 4/4] rename libsctp package
Thanks
Please use the git rebase -i and squash function.
We don't need the whole history how you envolved the package.
Thanks and bye Henning
Signature · 1 line
IBM Certified Specialist - eserver i5 iSeries Technical Solutions Designer V5R3