Skip to contentSkip to conversation

websocketpp: new package

PATCH New Ryan Barnett 3 participants 3 messages Nov 14, 2018 – Nov 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 websocketpp: new package

---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/websocketpp/Config.in        | 15 +++++++++++++++
 package/websocketpp/websocketpp.hash |  3 +++
 package/websocketpp/websocketpp.mk   | 15 +++++++++++++++
 5 files changed, 35 insertions(+)
 create mode 100644 package/websocketpp/Config.in
 create mode 100644 package/websocketpp/websocketpp.hash
 create mode 100644 package/websocketpp/websocketpp.mk
DEVELOPERS +1 -0
index 53467da489..7c21b2f520 100644
@@ -1822,6 +1822,7 @@ F:	package/python-pysnmp/
 F:	package/python-pysnmp-apps/
 F:	package/python-pysnmp-mibs/
 F:	package/python-tornado/
+F:	package/websocketpp/
 
 N:	Ryan Coe <[email protected]>
 F:	package/inadyn/
package/Config.in +1 -0
index b60e7700ad..b6abeee8e2 100644
@@ -1582,6 +1582,7 @@ menu "Networking"
 	source "package/sofia-sip/Config.in"
 	source "package/thrift/Config.in"
 	source "package/usbredir/Config.in"
+	source "package/websocketpp/Config.in"
 	source "package/wampcc/Config.in"
 	source "package/zeromq/Config.in"
 	source "package/zmqpp/Config.in"
package/websocketpp/Config.in new file +15 -0
new file mode 100644
index 0000000000..cadb9ff696
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_WEBSOCKETPP
+	bool "websocketpp"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  WebSocket++ is a header only C++ library that implements
+	  RFC6455 The WebSocket Protocol. It allows integrating
+	  WebSocket client and server functionality into C++ programs.
+	  It uses interchangeable network transport modules including
+	  one based on C++ iostreams and one based on Boost Asio.
+
+	  http://www.zaphoyd.com/websocketpp
+
+comment "websocketpp needs a toolchain w/ C++ and gcc >= 4.8"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
package/websocketpp/websocketpp.hash new file +3 -0
new file mode 100644
index 0000000000..8bf671d96e
@@ -0,0 +1,3 @@
+# Locally Computed:
+sha256  178899de48c02853b55b1ea8681599641cedcdfce59e56beaff3dd0874bf0286  websocketpp-0.8.1.tar.gz
+sha256  b31e597bc777d884a39663c11d0557a0af40780e1f451de11ea5103924a69667  COPYING
package/websocketpp/websocketpp.mk new file +15 -0
new file mode 100644
index 0000000000..47da4dbe2f
@@ -0,0 +1,15 @@
+################################################################################
+#
+# websocketpp
+#
+################################################################################
+
+WEBSOCKETPP_VERSION = 0.8.1
+WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION))
+WEBSOCKETPP_LICENSE = BSD-3c, MIT, Zlib
+WEBSOCKETPP_LICENSE_FILES = COPYING
+WEBSOCKETPP_INSTALL_STAGING = YES
+# Only installs headers
+WEBSOCKETPP_INSTALL_TARGET = NO
+
+$(eval $(cmake-package))
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 websocketpp: new package

Ryan,

Quoted 2 lines · Ryan Barnett
Quoted 28 lines
---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/websocketpp/Config.in        | 15 +++++++++++++++
 package/websocketpp/websocketpp.hash |  3 +++
 package/websocketpp/websocketpp.mk   | 15 +++++++++++++++
 5 files changed, 35 insertions(+)
 create mode 100644 package/websocketpp/Config.in
 create mode 100644 package/websocketpp/websocketpp.hash
 create mode 100644 package/websocketpp/websocketpp.mk
DEVELOPERS +1 -0
index 53467da489..7c21b2f520 100644
@@ -1822,6 +1822,7 @@ F:        package/python-pysnmp/
 F:     package/python-pysnmp-apps/
 F:     package/python-pysnmp-mibs/
 F:     package/python-tornado/
+F:     package/websocketpp/
 
 N:     Ryan Coe <[email protected]>
 F:     package/inadyn/
package/Config.in +0 -0
index b60e7700ad..b6abeee8e2 100644

package/Config.in menu "Networking" · line 1585

Quoted 4 lines
package/Config.in +1 -0
@@ -1582,6 +1582,7 @@ menu "Networking"
        source "package/sofia-sip/Config.in"
        source "package/thrift/Config.in"
        source "package/usbredir/Config.in"
+       source "package/websocketpp/Config.in"

Alphabetical

Quoted 61 lines
package/Config.in +0 -0
        source "package/wampcc/Config.in"
        source "package/zeromq/Config.in"
        source "package/zmqpp/Config.in"
package/websocketpp/Config.in new file +15 -0
new file mode 100644
index 0000000000..cadb9ff696
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_WEBSOCKETPP
+       bool "websocketpp"
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+       depends on BR2_INSTALL_LIBSTDCPP
+       help
+         WebSocket++ is a header only C++ library that implements
+         RFC6455 The WebSocket Protocol. It allows integrating
+         WebSocket client and server functionality into C++ programs.
+         It uses interchangeable network transport modules including
+         one based on C++ iostreams and one based on Boost Asio.
+
+         http://www.zaphoyd.com/websocketpp
+
+comment "websocketpp needs a toolchain w/ C++ and gcc >= 4.8"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
package/websocketpp/websocketpp.hash new file +3 -0
new file mode 100644
index 0000000000..8bf671d96e
@@ -0,0 +1,3 @@
+# Locally Computed:
+sha256  178899de48c02853b55b1ea8681599641cedcdfce59e56beaff3dd0874bf0286  websocketpp-0.8.1.tar.gz
+sha256  b31e597bc777d884a39663c11d0557a0af40780e1f451de11ea5103924a69667  COPYING
package/websocketpp/websocketpp.mk new file +15 -1
new file mode 100644
index 0000000000..47da4dbe2f
@@ -0,0 +1,15 @@
+################################################################################
+#
+# websocketpp
+#
+################################################################################
+
+WEBSOCKETPP_VERSION = 0.8.1
+WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION))
+WEBSOCKETPP_LICENSE = BSD-3c, MIT, Zlib
+WEBSOCKETPP_LICENSE_FILES = COPYING
+WEBSOCKETPP_INSTALL_STAGING = YES
+# Only installs headers
+WEBSOCKETPP_INSTALL_TARGET = NO
+
+$(eval $(cmake-package))
--

2.18.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 8 lines
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / RC Linux Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
#2 lore raw

PATCH 1/1 websocketpp: new package

In reply to Ryan Barnett
Quoted 19 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ryan" == Ryan Barnett <[email protected]> writes:

---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/websocketpp/Config.in        | 15 +++++++++++++++
 package/websocketpp/websocketpp.hash |  3 +++
 package/websocketpp/websocketpp.mk   | 15 +++++++++++++++
 5 files changed, 35 insertions(+)
 create mode 100644 package/websocketpp/Config.in
 create mode 100644 package/websocketpp/websocketpp.hash
 create mode 100644 package/websocketpp/websocketpp.mk
DEVELOPERS +0 -0
index 53467da489..7c21b2f520 100644

DEVELOPERS F: package/python-pysnmp/ · line 1825

Quoted 4 lines
DEVELOPERS +1 -0
@@ -1822,6 +1822,7 @@ F:	package/python-pysnmp/
 F:	package/python-pysnmp-apps/
 F:	package/python-pysnmp-mibs/
 F:	package/python-tornado/
+F:	package/websocketpp/

Committed to next after fixing the alphabetical ordering as pointed out by Ryan, thanks.

Signature · 1 line
Bye, Peter Korsgaard