pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libwebosckets: Rename libwebsocket to libwebsockets



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Feb 27 02:21:31 2016 +0100
Changeset:	546ca89422d84b97190d053bfd166c714ddb5c78

Added Files:
	libwebsockets/DESCR
	libwebsockets/Makefile
	libwebsockets/PLIST
	libwebsockets/buildlink3.mk
	libwebsockets/distinfo

Log Message:
libwebosckets: Rename libwebsocket to libwebsockets

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=546ca89422d84b97190d053bfd166c714ddb5c78

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libwebsockets/DESCR         | 22 ++++++++++++++++++++++
 libwebsockets/Makefile      | 21 +++++++++++++++++++++
 libwebsockets/PLIST         |  9 +++++++++
 libwebsockets/buildlink3.mk | 14 ++++++++++++++
 libwebsockets/distinfo      |  6 ++++++
 5 files changed, 72 insertions(+)

diffs:
diff --git a/libwebsockets/DESCR b/libwebsockets/DESCR
new file mode 100644
index 0000000..2a47d86
--- /dev/null
+++ b/libwebsockets/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/libwebsockets/Makefile b/libwebsockets/Makefile
new file mode 100644
index 0000000..86ee623
--- /dev/null
+++ b/libwebsockets/Makefile
@@ -0,0 +1,21 @@
+# $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++
+
+# Build without tests (with them it doesn't build for now)
+CMAKE_ARGS+=	-DLWS_WITHOUT_TESTAPPS=ON
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libwebsockets/PLIST b/libwebsockets/PLIST
new file mode 100644
index 0000000..c83d16b
--- /dev/null
+++ b/libwebsockets/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/libwebsockets/buildlink3.mk b/libwebsockets/buildlink3.mk
new file mode 100644
index 0000000..25ca28f
--- /dev/null
+++ b/libwebsockets/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libwebsockets
+
+.if !defined(LIBWEBSOCKETS_BUILDLINK3_MK)
+LIBWEBSOCKETS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libwebsockets+=	libwebsockets>=1.7.2
+BUILDLINK_PKGSRCDIR.libwebsockets?=	../../wip/libwebsocket
+
+.include "../../security/openssl/buildlink3.mk"
+.endif	# LIBWEBSOCKETS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libwebsockets
diff --git a/libwebsockets/distinfo b/libwebsockets/distinfo
new file mode 100644
index 0000000..a835001
--- /dev/null
+++ b/libwebsockets/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