* [Buildroot] [PATCH] lksctp-tools: new package
@ 2016-02-26 9:24 yegorslists at googlemail.com
2016-02-26 21:40 ` Arnout Vandecappelle
0 siblings, 1 reply; 10+ messages in thread
From: yegorslists at googlemail.com @ 2016-02-26 9:24 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/lksctp-tools/Config.in | 17 +++++++++++++++++
package/lksctp-tools/lksctp-tools.hash | 2 ++
package/lksctp-tools/lksctp-tools.mk | 21 +++++++++++++++++++++
4 files changed, 41 insertions(+)
create mode 100644 package/lksctp-tools/Config.in
create mode 100644 package/lksctp-tools/lksctp-tools.hash
create mode 100644 package/lksctp-tools/lksctp-tools.mk
diff --git a/package/Config.in b/package/Config.in
index 67a2514..b01d3c9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1401,6 +1401,7 @@ endif
source "package/links/Config.in"
source "package/linphone/Config.in"
source "package/linux-zigbee/Config.in"
+ source "package/lksctp-tools/Config.in"
source "package/lldpd/Config.in"
source "package/lrzsz/Config.in"
source "package/macchanger/Config.in"
diff --git a/package/lksctp-tools/Config.in b/package/lksctp-tools/Config.in
new file mode 100644
index 0000000..79c89f7
--- /dev/null
+++ b/package/lksctp-tools/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LKSCTP_TOOLS
+ bool "lksctp-tools"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU # fork()
+ help
+ This is the lksctp-tools package for Linux Kernel SCTP Reference
+ Implementation.
+
+ This package is intended to supplement the Linux Kernel SCTP
+ Reference Implementation now available in the Linux kernel source
+ tree in versions 2.5.36 and following.
+
+ https://github.com/sctp/lksctp-tools
+
+comment "lksctp-tools package needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/lksctp-tools/lksctp-tools.hash b/package/lksctp-tools/lksctp-tools.hash
new file mode 100644
index 0000000..f0b2852
--- /dev/null
+++ b/package/lksctp-tools/lksctp-tools.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26 lksctp-tools-1.0.16.tar.gz
diff --git a/package/lksctp-tools/lksctp-tools.mk b/package/lksctp-tools/lksctp-tools.mk
new file mode 100644
index 0000000..115c4d8
--- /dev/null
+++ b/package/lksctp-tools/lksctp-tools.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# lksctp-tools
+#
+################################################################################
+
+LKSCTP_TOOLS_VERSION = 1.0.16
+LKSCTP_TOOLS_SITE = http://downloads.sourceforge.net/project/lksctp/lksctp-tools
+LKSCTP_TOOLS_LICENSE = GPLv2+ (tools), LGPLv2+ (library)
+LKSCTP_TOOLS_LICENSE_FILES = COPYING COPYING.lib
+LKSCTP_TOOLS_INSTALL_STAGING = YES
+
+# release archive doesn't provide configure script
+LKSCTP_TOOLS_AUTORECONF = YES
+
+define LKSCTP_TOOLS_FIX_AUTORECONF
+ mkdir -p $(@D)/m4
+endef
+LKSCTP_TOOLS_POST_PATCH_HOOKS += LKSCTP_TOOLS_FIX_AUTORECONF
+
+$(eval $(autotools-package))
--
2.7.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-02-26 9:24 yegorslists at googlemail.com
@ 2016-02-26 21:40 ` Arnout Vandecappelle
0 siblings, 0 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2016-02-26 21:40 UTC (permalink / raw)
To: buildroot
On 02/26/16 10:24, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/Config.in | 1 +
> package/lksctp-tools/Config.in | 17 +++++++++++++++++
> package/lksctp-tools/lksctp-tools.hash | 2 ++
> package/lksctp-tools/lksctp-tools.mk | 21 +++++++++++++++++++++
> 4 files changed, 41 insertions(+)
> create mode 100644 package/lksctp-tools/Config.in
> create mode 100644 package/lksctp-tools/lksctp-tools.hash
> create mode 100644 package/lksctp-tools/lksctp-tools.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 67a2514..b01d3c9 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1401,6 +1401,7 @@ endif
> source "package/links/Config.in"
> source "package/linphone/Config.in"
> source "package/linux-zigbee/Config.in"
> + source "package/lksctp-tools/Config.in"
> source "package/lldpd/Config.in"
> source "package/lrzsz/Config.in"
> source "package/macchanger/Config.in"
> diff --git a/package/lksctp-tools/Config.in b/package/lksctp-tools/Config.in
> new file mode 100644
> index 0000000..79c89f7
> --- /dev/null
> +++ b/package/lksctp-tools/Config.in
> @@ -0,0 +1,17 @@
> +config BR2_PACKAGE_LKSCTP_TOOLS
> + bool "lksctp-tools"
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on BR2_USE_MMU # fork()
> + help
> + This is the lksctp-tools package for Linux Kernel SCTP Reference
> + Implementation.
> +
> + This package is intended to supplement the Linux Kernel SCTP
> + Reference Implementation now available in the Linux kernel source
> + tree in versions 2.5.36 and following.
This description isn't so great. The part about 2.5.36 isn't very useful. How
about:
Libraries and command-line tools for the Linux kernel SCTP
implementation. SCTP (Stream Control Transmission Protocol) is a
message oriented, reliable transport protocol, with congestion
control, support for transparent multi-homing, and multiple ordered
streams of messages. RFC 2960 defines the core protocol.
> +
> + https://github.com/sctp/lksctp-tools
Isn't http://lksctp.sourceforge.net/ a more appropriate home page?
> +
> +comment "lksctp-tools package needs a toolchain w/ threads"
> + depends on BR2_USE_MMU
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/lksctp-tools/lksctp-tools.hash b/package/lksctp-tools/lksctp-tools.hash
> new file mode 100644
> index 0000000..f0b2852
> --- /dev/null
> +++ b/package/lksctp-tools/lksctp-tools.hash
> @@ -0,0 +1,2 @@
> +# Locally computed
> +sha256 0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26 lksctp-tools-1.0.16.tar.gz
> diff --git a/package/lksctp-tools/lksctp-tools.mk b/package/lksctp-tools/lksctp-tools.mk
> new file mode 100644
> index 0000000..115c4d8
> --- /dev/null
> +++ b/package/lksctp-tools/lksctp-tools.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# lksctp-tools
> +#
> +################################################################################
> +
> +LKSCTP_TOOLS_VERSION = 1.0.16
> +LKSCTP_TOOLS_SITE = http://downloads.sourceforge.net/project/lksctp/lksctp-tools
> +LKSCTP_TOOLS_LICENSE = GPLv2+ (tools), LGPLv2+ (library)
The source and header files of the library specify LGPLv2.1.
Otherwise looks good.
Regards,
Arnout
> +LKSCTP_TOOLS_LICENSE_FILES = COPYING COPYING.lib
> +LKSCTP_TOOLS_INSTALL_STAGING = YES
> +
> +# release archive doesn't provide configure script
> +LKSCTP_TOOLS_AUTORECONF = YES
> +
> +define LKSCTP_TOOLS_FIX_AUTORECONF
> + mkdir -p $(@D)/m4
> +endef
> +LKSCTP_TOOLS_POST_PATCH_HOOKS += LKSCTP_TOOLS_FIX_AUTORECONF
> +
> +$(eval $(autotools-package))
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
@ 2016-03-02 21:07 Gustavo Zacarias
2016-03-02 21:26 ` Thomas Petazzoni
2016-03-02 22:22 ` Thomas Petazzoni
0 siblings, 2 replies; 10+ messages in thread
From: Gustavo Zacarias @ 2016-03-02 21:07 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/lksctp-tools/Config.in | 16 ++++++++++++++++
package/lksctp-tools/lksctp-tools.hash | 3 +++
package/lksctp-tools/lksctp-tools.mk | 27 +++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 100644 package/lksctp-tools/Config.in
create mode 100644 package/lksctp-tools/lksctp-tools.hash
create mode 100644 package/lksctp-tools/lksctp-tools.mk
diff --git a/package/Config.in b/package/Config.in
index cc7fd58..1179157 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1147,6 +1147,7 @@ menu "Networking"
source "package/libvncserver/Config.in"
source "package/libwebsock/Config.in"
source "package/libwebsockets/Config.in"
+ source "package/lksctp-tools/Config.in"
source "package/mongoose/Config.in"
source "package/neon/Config.in"
source "package/nss-mdns/Config.in"
diff --git a/package/lksctp-tools/Config.in b/package/lksctp-tools/Config.in
new file mode 100644
index 0000000..b8a8c7a
--- /dev/null
+++ b/package/lksctp-tools/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_LKSCTP_TOOLS
+ bool "lksctp-tools"
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ The lksctp-tools project provides a Linux user space library
+ for SCTP (libsctp) including C language header files
+ (netinet/sctp.h) for accessing SCTP specific application
+ programming interfaces not provided by the standard sockets,
+ and also some helper utilities around SCTP.
+
+ http://lksctp.sourceforge.net/
+
+comment "lksctp-tools needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/lksctp-tools/lksctp-tools.hash b/package/lksctp-tools/lksctp-tools.hash
new file mode 100644
index 0000000..ae6b0dc
--- /dev/null
+++ b/package/lksctp-tools/lksctp-tools.hash
@@ -0,0 +1,3 @@
+# From https://sourceforge.net/projects/lksctp/files/lksctp-tools/
+md5 708bb0b5a6806ad6e8d13c55b067518e lksctp-tools-1.0.16.tar.gz
+sha1 8b17f913844851ee6872374cffec0745c804637b lksctp-tools-1.0.16.tar.gz
diff --git a/package/lksctp-tools/lksctp-tools.mk b/package/lksctp-tools/lksctp-tools.mk
new file mode 100644
index 0000000..91b96a6
--- /dev/null
+++ b/package/lksctp-tools/lksctp-tools.mk
@@ -0,0 +1,27 @@
+################################################################################
+#
+# lksctp-tools
+#
+################################################################################
+
+LKSCTP_TOOLS_VERSION = 1.0.16
+LKSCTP_TOOLS_SITE = http://downloads.sourceforge.net/project/lksctp/lksctp-tools
+LKSCTP_TOOLS_INSTALL_STAGING = YES
+# configure not shipped
+LKSCTP_TOOLS_AUTORECONF = YES
+LKSCTP_TOOLS_LICENSE = LGPLv2.1 (library), GPLv2+ (programs)
+LKSCTP_TOOLS_LICENSE_FILES = COPYING.lib COPYING
+
+# Needed by autoreconf
+define LKSCTP_TOOLS_MAKE_M4
+ mkdir -p $(@D)/m4
+endef
+LKSCTP_TOOLS_POST_PATCH_HOOKS += LKSCTP_TOOLS_MAKE_M4
+
+# Cleanup installed target source code
+define LKSCTP_TOOLS_CLEANUP_TARGET
+ rm -rf $(TARGET_DIR)/usr/share/lksctp-tools
+endef
+LKSCTP_TOOLS_POST_INSTALL_TARGET_HOOKS += LKSCTP_TOOLS_CLEANUP_TARGET
+
+$(eval $(autotools-package))
--
2.4.10
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:07 [Buildroot] [PATCH] lksctp-tools: new package Gustavo Zacarias
@ 2016-03-02 21:26 ` Thomas Petazzoni
2016-03-02 21:37 ` Gustavo Zacarias
2016-03-02 22:22 ` Thomas Petazzoni
1 sibling, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2016-03-02 21:26 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Wed, 2 Mar 2016 18:07:51 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/Config.in | 1 +
> package/lksctp-tools/Config.in | 16 ++++++++++++++++
> package/lksctp-tools/lksctp-tools.hash | 3 +++
> package/lksctp-tools/lksctp-tools.mk | 27 +++++++++++++++++++++++++++
> 4 files changed, 47 insertions(+)
> create mode 100644 package/lksctp-tools/Config.in
> create mode 100644 package/lksctp-tools/lksctp-tools.hash
> create mode 100644 package/lksctp-tools/lksctp-tools.mk
We already have a submission for the same package from Yegor
(initially submitted on Feb 26), which Arnout reviewed, and Yegor
posted a v2 on Feb 29.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:26 ` Thomas Petazzoni
@ 2016-03-02 21:37 ` Gustavo Zacarias
2016-03-02 21:39 ` Thomas Petazzoni
0 siblings, 1 reply; 10+ messages in thread
From: Gustavo Zacarias @ 2016-03-02 21:37 UTC (permalink / raw)
To: buildroot
On 02/03/16 18:26, Thomas Petazzoni wrote:
> We already have a submission for the same package from Yegor
> (initially submitted on Feb 26), which Arnout reviewed, and Yegor
> posted a v2 on Feb 29.
>
> Best regards,
>
> Thomas
Gah missed it, interval between "need it" and "submit it" was short enough.
Still, would be good to spin a v3 with the source code purge otherwise a
bunch of .c files end in the target.
Regards.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:37 ` Gustavo Zacarias
@ 2016-03-02 21:39 ` Thomas Petazzoni
2016-03-02 21:50 ` Yegor Yefremov
0 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2016-03-02 21:39 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 2 Mar 2016 18:37:57 -0300, Gustavo Zacarias wrote:
> Gah missed it, interval between "need it" and "submit it" was short enough.
> Still, would be good to spin a v3 with the source code purge otherwise a
> bunch of .c files end in the target.
Your review on Yegor's v2 will be much appreciated :-)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:39 ` Thomas Petazzoni
@ 2016-03-02 21:50 ` Yegor Yefremov
2016-03-02 21:56 ` Gustavo Zacarias
0 siblings, 1 reply; 10+ messages in thread
From: Yegor Yefremov @ 2016-03-02 21:50 UTC (permalink / raw)
To: buildroot
Hi Thomas, Gustavo,
On Wed, Mar 2, 2016 at 10:39 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Wed, 2 Mar 2016 18:37:57 -0300, Gustavo Zacarias wrote:
>
>> Gah missed it, interval between "need it" and "submit it" was short enough.
>> Still, would be good to spin a v3 with the source code purge otherwise a
>> bunch of .c files end in the target.
>
> Your review on Yegor's v2 will be much appreciated :-)
The only differences are placement, i.e. moving lksctp-tools to
networking libraries instead of tools and adding another hook. I can
respin v3 with these changes.
Gustavo, what are you using it for? I was interested in cannelloni
package, that depends on it.
Yegor
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:50 ` Yegor Yefremov
@ 2016-03-02 21:56 ` Gustavo Zacarias
2016-03-02 22:16 ` Yegor Yefremov
0 siblings, 1 reply; 10+ messages in thread
From: Gustavo Zacarias @ 2016-03-02 21:56 UTC (permalink / raw)
To: buildroot
On 02/03/16 18:50, Yegor Yefremov wrote:
> The only differences are placement, i.e. moving lksctp-tools to
> networking libraries instead of tools and adding another hook. I can
> respin v3 with these changes.
>
> Gustavo, what are you using it for? I was interested in cannelloni
> package, that depends on it.
I'm good with any of both categories since it's a grey area :)
An old zeromq (external) for sctp support, so the library.
But it's just a stop-gap until the app is moved to pgm.
Frankly i only care about the dirt left behind (source files) :P
Regards.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:56 ` Gustavo Zacarias
@ 2016-03-02 22:16 ` Yegor Yefremov
0 siblings, 0 replies; 10+ messages in thread
From: Yegor Yefremov @ 2016-03-02 22:16 UTC (permalink / raw)
To: buildroot
On Wed, Mar 2, 2016 at 10:56 PM, Gustavo Zacarias
<gustavo@zacarias.com.ar> wrote:
> On 02/03/16 18:50, Yegor Yefremov wrote:
>
>> The only differences are placement, i.e. moving lksctp-tools to
>> networking libraries instead of tools and adding another hook. I can
>> respin v3 with these changes.
>>
>> Gustavo, what are you using it for? I was interested in cannelloni
>> package, that depends on it.
>
>
> I'm good with any of both categories since it's a grey area :)
> An old zeromq (external) for sctp support, so the library.
> But it's just a stop-gap until the app is moved to pgm.
> Frankly i only care about the dirt left behind (source files) :P
> Regards.
Frankly speaking your patch is more complete. Thomas, what about
applying Gustavo's one?
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Yegor
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] lksctp-tools: new package
2016-03-02 21:07 [Buildroot] [PATCH] lksctp-tools: new package Gustavo Zacarias
2016-03-02 21:26 ` Thomas Petazzoni
@ 2016-03-02 22:22 ` Thomas Petazzoni
1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2016-03-02 22:22 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Wed, 2 Mar 2016 18:07:51 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/Config.in | 1 +
> package/lksctp-tools/Config.in | 16 ++++++++++++++++
> package/lksctp-tools/lksctp-tools.hash | 3 +++
> package/lksctp-tools/lksctp-tools.mk | 27 +++++++++++++++++++++++++++
> 4 files changed, 47 insertions(+)
> create mode 100644 package/lksctp-tools/Config.in
> create mode 100644 package/lksctp-tools/lksctp-tools.hash
> create mode 100644 package/lksctp-tools/lksctp-tools.mk
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-03-02 22:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02 21:07 [Buildroot] [PATCH] lksctp-tools: new package Gustavo Zacarias
2016-03-02 21:26 ` Thomas Petazzoni
2016-03-02 21:37 ` Gustavo Zacarias
2016-03-02 21:39 ` Thomas Petazzoni
2016-03-02 21:50 ` Yegor Yefremov
2016-03-02 21:56 ` Gustavo Zacarias
2016-03-02 22:16 ` Yegor Yefremov
2016-03-02 22:22 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2016-02-26 9:24 yegorslists at googlemail.com
2016-02-26 21:40 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox