pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libwebsockets-1.7.2 as wip/libwebsocket.
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Feb 27 01:55:52 2016 +0100
Changeset: 37236d7b38d36b7671646516e91bed616f6ec173
Added Files:
libwebsocket/DESCR
libwebsocket/Makefile
libwebsocket/PLIST
libwebsocket/distinfo
Log Message:
Import libwebsockets-1.7.2 as wip/libwebsocket.
Libwebsockets is a lightweight pure C library built to use minimal CPU and
memory resources, and provide fast throughput in both directions as client or
server.
libwebsockets features
- Provides server and client APIs for RFC6455 v13 ws:// and wss://
websocket protocol, along with http:// and https://
- Can be configured to use OpenSSL, CyaSSL, or WolfSSL to provide fully
encrypted client and server links - including client certificate support
- Lightweight and fast even at 250K connections per thread and beyond -
- performance per byte and performance per MIPS many times better than
traditional solutions
- CMake based project that has been used in a variety of OS contexts including
Linux (uclibc and glibc), ARM-based embedded boards, MBED3, MIPS / OpenWRT,
Windows, Android, Apple iOS and even Tivo. It's used all over the place
including The New York Times customer-facing servers and BMW.
- It includes a stub webserver that is enough to deliver your scripts to the
browser that open websocket connections back to the same server, so it can
solve the entire server side, ws://, wss://, http://, and https:// in one
step. Apache, Java or any other server-side support is not needed.
- Compliant browsers from the last few years are supported on any platform.
- Full-strength SSL suport (test server is A+ on SSLLABS test)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=37236d7b38d36b7671646516e91bed616f6ec173
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libwebsocket/DESCR | 22 ++++++++++++++++++++++
libwebsocket/Makefile | 20 ++++++++++++++++++++
libwebsocket/PLIST | 9 +++++++++
libwebsocket/distinfo | 6 ++++++
4 files changed, 57 insertions(+)
diffs:
diff --git a/libwebsocket/DESCR b/libwebsocket/DESCR
new file mode 100644
index 0000000..2a47d86
--- /dev/null
+++ b/libwebsocket/DESCR
@@ -0,0 +1,22 @@
+Libwebsockets is a lightweight pure C library built to use minimal CPU and
+memory resources, and provide fast throughput in both directions as client or
+server.
+
+libwebsockets features
+- Provides server and client APIs for RFC6455 v13 ws:// and wss://
+ websocket protocol, along with http:// and https://
+- Can be configured to use OpenSSL, CyaSSL, or WolfSSL to provide fully
+ encrypted client and server links - including client certificate support
+- Lightweight and fast even at 250K connections per thread and beyond -
+ - performance per byte and performance per MIPS many times better than
+ traditional solutions
+- CMake based project that has been used in a variety of OS contexts including
+ Linux (uclibc and glibc), ARM-based embedded boards, MBED3, MIPS / OpenWRT,
+ Windows, Android, Apple iOS and even Tivo. It's used all over the place
+ including The New York Times customer-facing servers and BMW.
+- It includes a stub webserver that is enough to deliver your scripts to the
+ browser that open websocket connections back to the same server, so it can
+ solve the entire server side, ws://, wss://, http://, and https:// in one
+ step. Apache, Java or any other server-side support is not needed.
+- Compliant browsers from the last few years are supported on any platform.
+- Full-strength SSL suport (test server is A+ on SSLLABS test)
diff --git a/libwebsocket/Makefile b/libwebsocket/Makefile
new file mode 100644
index 0000000..de13127
--- /dev/null
+++ b/libwebsocket/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= libwebsockets-1.7.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=warmcat/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= ${MASTER_SITE_GITHUB:=warmcat/libwebsockets/}
+COMMENT= Lightweight C library for websocket clients and servers
+# LGPL-2.1 with static link exceptions
+LICENSE= gnu-lgpl-v2.1
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DLWS_WITHOUT_TESTAPPS=ON
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libwebsocket/PLIST b/libwebsocket/PLIST
new file mode 100644
index 0000000..c83d16b
--- /dev/null
+++ b/libwebsocket/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+include/libwebsockets.h
+include/lws_config.h
+lib/cmake/libwebsockets/LibwebsocketsConfig.cmake
+lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
+lib/libwebsockets.a
+lib/libwebsockets.so
+lib/libwebsockets.so.7
+lib/pkgconfig/libwebsockets.pc
diff --git a/libwebsocket/distinfo b/libwebsocket/distinfo
new file mode 100644
index 0000000..a835001
--- /dev/null
+++ b/libwebsocket/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libwebsockets-1.7.2.tar.gz) = aa5df5138ffd1568cd07c22c5e7c84e8458c71d3
+RMD160 (libwebsockets-1.7.2.tar.gz) = 16e89ed29c78c3be14adf99b410592717cb82a3d
+SHA512 (libwebsockets-1.7.2.tar.gz) = 4293b06d5586e1742c247697402a92359a3851caad3bb945644c3ab35399e11a1772249ac7ceaa7da9c5d00e5c2d1b723021300a3057aeeb7747dfe05b3e8630
+Size (libwebsockets-1.7.2.tar.gz) = 2908161 bytes
Home |
Main Index |
Thread Index |
Old Index