Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] Add lksctp tools
@ 2010-05-16  3:40 João Henrique Freitas
  2010-05-16  7:38 ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: João Henrique Freitas @ 2010-05-16  3:40 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

Hi,

---
 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

diff --git a/recipes/lksctp-tools/lksctp-tools.inc
b/recipes/lksctp-tools/lksctp-tools.inc
new file mode 100644
index 0000000..678531e
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -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 = ""
diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
new file mode 100644
index 0000000..34c2ce5
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
@@ -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"
-- 
1.7.0.4


-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

[-- Attachment #2: 0006-Add-lksctp-tools.patch --]
[-- Type: text/x-patch, Size: 1932 bytes --]

From 4b965e4ca59ace220e08e51d4fe28f386e42d83c Mon Sep 17 00:00:00 2001
From: Joao H. Freitas <joaohf@gmail.com>
Date: Sat, 15 May 2010 15:44:57 -0300
Subject: [PATCH 6/7] 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

diff --git a/recipes/lksctp-tools/lksctp-tools.inc b/recipes/lksctp-tools/lksctp-tools.inc
new file mode 100644
index 0000000..678531e
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -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 = ""
diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
new file mode 100644
index 0000000..34c2ce5
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
@@ -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"
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-16  3:40 [PATCH] Add lksctp tools João Henrique Freitas
@ 2010-05-16  7:38 ` Koen Kooi
  2010-05-16 21:06   ` João Henrique Freitas
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2010-05-16  7:38 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16-05-10 05:40, João Henrique Freitas wrote:

> +PARALLEL_MAKE = ""
> +CCACHE = ""

I can guess why parallel make would fail, but ccache?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL76D/MkyGM64RGpERAqh3AJ0Zo82pyhnTHJvwuq76RNkovvq1ZwCePT9d
BeBgJaW9Uk0wKHcvu2+XldM=
=yVfS
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-16  7:38 ` Koen Kooi
@ 2010-05-16 21:06   ` João Henrique Freitas
  2010-05-23 18:50     ` João Henrique Freitas
  0 siblings, 1 reply; 7+ messages in thread
From: João Henrique Freitas @ 2010-05-16 21:06 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

The same thing.

---
 recipes/lksctp-tools/lksctp-tools.inc      |    3 +--
 recipes/lksctp-tools/lksctp-tools_1.0.7.bb |    4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/recipes/lksctp-tools/lksctp-tools.inc
b/recipes/lksctp-tools/lksctp-tools.inc
index 678531e..02ec988 100644
--- a/recipes/lksctp-tools/lksctp-tools.inc
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -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}"

diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
index 34c2ce5..1d4faa3 100644
--- a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
+++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
@@ -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"
-- 
1.7.0.4



-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

[-- Attachment #2: 0009-Remove-mistake-configs.patch --]
[-- Type: text/x-diff, Size: 1366 bytes --]

From 3b4794423d24daff6a9bedc4f2f3648dc3a23209 Mon Sep 17 00:00:00 2001
From: Joao H. Freitas <joaohf@gmail.com>
Date: Sun, 16 May 2010 18:00:46 -0300
Subject: [PATCH v2 9/9] Remove mistake configs

---
 recipes/lksctp-tools/lksctp-tools.inc      |    3 +--
 recipes/lksctp-tools/lksctp-tools_1.0.7.bb |    4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/recipes/lksctp-tools/lksctp-tools.inc b/recipes/lksctp-tools/lksctp-tools.inc
index 678531e..02ec988 100644
--- a/recipes/lksctp-tools/lksctp-tools.inc
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -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}"
 
diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
index 34c2ce5..1d4faa3 100644
--- a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
+++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
@@ -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"
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-16 21:06   ` João Henrique Freitas
@ 2010-05-23 18:50     ` João Henrique Freitas
  2010-05-26 20:09       ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: João Henrique Freitas @ 2010-05-23 18:50 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

Hi,

Attached a unique patch.

Thanks.

2010/5/16 João Henrique Freitas <joaohf@gmail.com>:
> The same thing.
>
> ---
>  recipes/lksctp-tools/lksctp-tools.inc      |    3 +--
>  recipes/lksctp-tools/lksctp-tools_1.0.7.bb |    4 ----
>  2 files changed, 1 insertions(+), 6 deletions(-)
>
> diff --git a/recipes/lksctp-tools/lksctp-tools.inc
> b/recipes/lksctp-tools/lksctp-tools.inc
> index 678531e..02ec988 100644
> --- a/recipes/lksctp-tools/lksctp-tools.inc
> +++ b/recipes/lksctp-tools/lksctp-tools.inc
> @@ -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}"
>
> diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
> b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
> index 34c2ce5..1d4faa3 100644
> --- a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
> +++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
> @@ -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"
> --
> 1.7.0.4
>
>
>
> --
> -----------------------------------------------------------
> João Henrique Freitas - joaohf_at_gmail.com
> Campinas-SP-Brasil
> BSD051283
> LPI 1
> http://www.joaohfreitas.eti.br
>



-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

[-- Attachment #2: lksctp-tools.patch --]
[-- Type: text/x-diff, Size: 1329 bytes --]

diff --git a/recipes/lksctp-tools/lksctp-tools.inc b/recipes/lksctp-tools/lksctp-tools.inc
new file mode 100644
index 0000000..02ec988
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2"
+
+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 = ""
diff --git a/recipes/lksctp-tools/lksctp-tools_1.0.7.bb b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
new file mode 100644
index 0000000..1d4faa3
--- /dev/null
+++ b/recipes/lksctp-tools/lksctp-tools_1.0.7.bb
@@ -0,0 +1,7 @@
+require lksctp-tools.inc
+PR = "${INC_PR}.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/lksctp-tools-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "047562b40537eb3be5d5ec3ae0a2198b"
+SRC_URI[sha256sum] = "e920e89d110cff9847f1d86a1d7a23a156a8abcc9e65a35655d687fd08377595"

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-23 18:50     ` João Henrique Freitas
@ 2010-05-26 20:09       ` Khem Raj
  2010-05-27  0:17         ` João Henrique Freitas
  2010-05-27  6:59         ` Koen Kooi
  0 siblings, 2 replies; 7+ messages in thread
From: Khem Raj @ 2010-05-26 20:09 UTC (permalink / raw)
  To: openembedded-devel

On (23/05/10 15:50), João Henrique Freitas wrote:
> Hi,
> 
> Attached a unique patch.

same as cgreen. but it builds. I get these warnings. Are they ok ?

NOTE: the following files were installed but not shipped in any package:
NOTE:   /usr/lib/lksctp-tools/libwithsctp.so.1
NOTE:   /usr/lib/lksctp-tools/libwithsctp.so
NOTE:   /usr/lib/lksctp-tools/libwithsctp.so.1.0.7
NOTE:   /usr/lib/lksctp-tools/libwithsctp.a
NOTE:   /usr/lib/lksctp-tools/libwithsctp.la
NOTE:   /usr/share/lksctp-tools/checksctp.c
NOTE:   /usr/share/lksctp-tools/sctp_socket.c
NOTE:   /usr/share/lksctp-tools/sctp_bind.c
NOTE:   /usr/share/lksctp-tools/sctp_darn.c
NOTE:   /usr/share/lksctp-tools/sctp_load_libs.c
NOTE:   /usr/share/lksctp-tools/sctp_sockopt.c
NOTE:   /usr/share/lksctp-tools/sctp_socket.h
NOTE:   /usr/share/lksctp-tools/sctp_test.c
NOTE:   /usr/share/lksctp-tools/sctp_darn.h
NOTE:   /usr/bin/sctp_test
NOTE:   /usr/bin/sctp_darn
NOTE:   /usr/bin/checksctp
NOTE:   /usr/bin/withsctp


Thx
-Khem



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-26 20:09       ` Khem Raj
@ 2010-05-27  0:17         ` João Henrique Freitas
  2010-05-27  6:59         ` Koen Kooi
  1 sibling, 0 replies; 7+ messages in thread
From: João Henrique Freitas @ 2010-05-27  0:17 UTC (permalink / raw)
  To: openembedded-devel

Hi,

>
> same as cgreen. but it builds. I get these warnings. Are they ok ?

Yes, they are. Thanks.

-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Add lksctp tools
  2010-05-26 20:09       ` Khem Raj
  2010-05-27  0:17         ` João Henrique Freitas
@ 2010-05-27  6:59         ` Koen Kooi
  1 sibling, 0 replies; 7+ messages in thread
From: Koen Kooi @ 2010-05-27  6:59 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26-05-10 22:09, Khem Raj wrote:
> On (23/05/10 15:50), João Henrique Freitas wrote:
>> Hi,
>>
>> Attached a unique patch.
> 
> same as cgreen. but it builds. I get these warnings. Are they ok ?

Unpackaged file are almost never OK, so please update PACKAGES and FILES
to package these:

> 
> NOTE: the following files were installed but not shipped in any package:
> NOTE:   /usr/lib/lksctp-tools/libwithsctp.so.1
> NOTE:   /usr/lib/lksctp-tools/libwithsctp.so
> NOTE:   /usr/lib/lksctp-tools/libwithsctp.so.1.0.7
> NOTE:   /usr/lib/lksctp-tools/libwithsctp.a
> NOTE:   /usr/lib/lksctp-tools/libwithsctp.la
> NOTE:   /usr/share/lksctp-tools/checksctp.c
> NOTE:   /usr/share/lksctp-tools/sctp_socket.c
> NOTE:   /usr/share/lksctp-tools/sctp_bind.c
> NOTE:   /usr/share/lksctp-tools/sctp_darn.c
> NOTE:   /usr/share/lksctp-tools/sctp_load_libs.c
> NOTE:   /usr/share/lksctp-tools/sctp_sockopt.c
> NOTE:   /usr/share/lksctp-tools/sctp_socket.h
> NOTE:   /usr/share/lksctp-tools/sctp_test.c
> NOTE:   /usr/share/lksctp-tools/sctp_darn.h
> NOTE:   /usr/bin/sctp_test
> NOTE:   /usr/bin/sctp_darn
> NOTE:   /usr/bin/checksctp
> NOTE:   /usr/bin/withsctp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL/hhkMkyGM64RGpERAqd2AJ9oe2hjZg9OCf0jsJt6gllNSZMMrACgjhvC
wDJUhKoyPLc0g8PxH5Rfzks=
=Oojb
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-27  7:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-16  3:40 [PATCH] Add lksctp tools João Henrique Freitas
2010-05-16  7:38 ` Koen Kooi
2010-05-16 21:06   ` João Henrique Freitas
2010-05-23 18:50     ` João Henrique Freitas
2010-05-26 20:09       ` Khem Raj
2010-05-27  0:17         ` João Henrique Freitas
2010-05-27  6:59         ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox