Summary: | [NEW PORT] net/libwebsockets: C library for lightweight websocket clients and servers | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Iblis Lin <iblis.dif01> | ||||||||||
Component: | Individual Port(s) | Assignee: | Vanilla I. Shu <vanilla> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | ler, ohauer, vanilla | ||||||||||
Priority: | --- | Keywords: | feature, needs-qa, patch | ||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 211190 | ||||||||||||
Attachments: |
|
Description
Iblis Lin
2016-07-18 09:06:58 UTC
Needs review: MAINTAINER must be an email address GH_PROJECT defaults to PORTNAME, can remove Created attachment 172638 [details]
libwebsockets shar v2
Ha, ok. I fixed it.
Hm, If I try to build the port with HTTP2=off: HTTP_PROXY=off: IPV6=on: LIBEV=off: LIBUV=off: UNIX_SOCK=off: WEBSERVER=on: I get the following error: ... -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found libuv include dir: LIBUV_INCLUDE_DIRS-NOTFOUND libuv libraries: LIBUV_LIBRARIES-NOTFOUND -- Looking for SSL_CTX_set1_param CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBUV_LIBRARIES ... CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBUV_INCLUDE_DIRS used as include directory in directory /usr/ports/net/libwebsockets/work/libwebsockets-2.0.2 ... LIBUV_LIBRARIES linked by target "websockets" in directory /usr/ports/net/libwebsockets/work/libwebsockets-2.0.2 linked by target "websockets_shared" in directory /usr/ports/net/libwebsockets/work/libwebsockets-2.0.2 Created attachment 172740 [details]
libwebsockets shar v3
- Added libuv as webserver dependency.
```
+ WEBSERVER_LIB_DEPENDS= libuv.so:devel/libuv
```
(I'm also curious about is there any parameter make poudriere build all the combination of options?
(In reply to Iblis Lin from comment #4) Maybe you can use 'poudriere testport -c' to handle config options, it will run 'make config' before test. (In reply to Vanilla I. Shu from comment #5) (Y) tnx! Created attachment 172742 [details]
libwebsockets shar v4
I miss the `pkgconfig`
```
-USES= cmake ssl
+USES= cmake pkgconfig ssl
```
bug 211190 is referenced in Blocks already, remove from See Also A commit references this bug: Author: vanilla Date: Wed Jul 20 09:04:51 UTC 2016 New revision: 418827 URL: https://svnweb.freebsd.org/changeset/ports/418827 Log: Add libwebsockets 2.0.2, c library for lightweight websocket clients and servers. PR: 211189 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> Changes: head/net/Makefile head/net/libwebsockets/ head/net/libwebsockets/Makefile head/net/libwebsockets/distinfo head/net/libwebsockets/files/ head/net/libwebsockets/files/patch-CMakeLists.txt head/net/libwebsockets/pkg-descr head/net/libwebsockets/pkg-plist |