Skip to contentSkip to conversation

lksctp-tools: new package

PATCH Superseded yegorslists at googlemail.com 2 participants 2 messages Feb 26, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lksctp-tools: new package

From: Yegor Yefremov <[email protected]>

---
 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
package/Config.in +1 -0
index 67a2514..b01d3c9 100644
@@ -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"
package/lksctp-tools/Config.in new file +17 -0
new file mode 100644
index 0000000..79c89f7
@@ -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
package/lksctp-tools/lksctp-tools.hash new file +2 -0
new file mode 100644
index 0000000..f0b2852
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26  lksctp-tools-1.0.16.tar.gz
package/lksctp-tools/lksctp-tools.mk new file +21 -0
new file mode 100644
index 0000000..115c4d8
@@ -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))
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 lksctp-tools: new package

Quoted 32 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 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
package/Config.in +1 -0
index 67a2514..b01d3c9 100644
@@ -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"
package/lksctp-tools/Config.in new file +1 -0
new file mode 100644
index 0000000..79c89f7
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LKSCTP_TOOLS

package/lksctp-tools/Config.in line 11

Quoted 10 lines
package/lksctp-tools/Config.in new file +10 -0
+	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.

package/lksctp-tools/Config.in line 13

Quoted 2 lines
package/lksctp-tools/Config.in new file +2 -0
+
+	  https://github.com/sctp/lksctp-tools

Isn't http://lksctp.sourceforge.net/ a more appropriate home page?

Quoted 18 lines
package/lksctp-tools/Config.in new file +4 -0
+
+comment "lksctp-tools package needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/lksctp-tools/lksctp-tools.hash new file +2 -0
new file mode 100644
index 0000000..f0b2852
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26  lksctp-tools-1.0.16.tar.gz
package/lksctp-tools/lksctp-tools.mk new file +0 -0
new file mode 100644
index 0000000..115c4d8

package/lksctp-tools/lksctp-tools.mk line 9

Quoted 9 lines
package/lksctp-tools/lksctp-tools.mk new file +9 -0
@@ -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

Quoted 13 lines
package/lksctp-tools/lksctp-tools.mk new file +12 -0
+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))
Signature · 6 lines
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