FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

We also have a status page:

Port details
libwebsockets C library for lightweight websocket clients and servers
2.2.2 net on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: search for ports maintained by this maintainer
Port Added: 20 Jul 2016 09:05:03
Also Listed In: devel
License: LGPL21
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.

SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (36 items)
  1. /usr/local/share/licenses/libwebsockets-2.2.2/
  2. /usr/local/share/licenses/libwebsockets-2.2.2/LICENSE
  3. /usr/local/share/licenses/libwebsockets-2.2.2/LGPL21
  4. @comment bin/lwsws
  5. @comment include/lejp.h
  6. include/libwebsockets.h
  7. include/lws_config.h
  8. lib/cmake/libwebsockets/LibwebsocketsConfig.cmake
  9. lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
  10. lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake
  11. lib/cmake/libwebsockets/LibwebsocketsTargets.cmake
  12. lib/libwebsockets.a
  13. lib/
  14. lib/
  15. libdata/pkgconfig/libwebsockets.pc
  16. @comment share/libwebsockets-test-server/generic-sessions/failed-login.html
  17. @comment share/libwebsockets-test-server/generic-sessions/index.html
  18. @comment share/libwebsockets-test-server/generic-sessions/lwsgs-logo.png
  19. @comment share/libwebsockets-test-server/generic-sessions/lwsgs.js
  20. @comment share/libwebsockets-test-server/generic-sessions/needadmin/admin-login.html
  21. @comment share/libwebsockets-test-server/generic-sessions/needauth/successful-login.html
  22. @comment share/libwebsockets-test-server/generic-sessions/post-forgot-fail.html
  23. @comment share/libwebsockets-test-server/generic-sessions/post-forgot-ok.html
  24. @comment share/libwebsockets-test-server/generic-sessions/post-register-fail.html
  25. @comment share/libwebsockets-test-server/generic-sessions/post-register-ok.html
  26. @comment share/libwebsockets-test-server/generic-sessions/post-verify-fail.html
  27. @comment share/libwebsockets-test-server/generic-sessions/post-verify-ok.html
  28. @comment share/libwebsockets-test-server/generic-sessions/seats.jpg
  29. @comment share/libwebsockets-test-server/generic-sessions/sent-forgot-fail.html
  30. @comment share/libwebsockets-test-server/generic-sessions/sent-forgot-ok.html
  31. @comment share/libwebsockets-test-server/generic-table/index.html
  32. @comment share/libwebsockets-test-server/generic-table/lwsgt.js
  33. @comment share/libwebsockets-test-server/server-status/lwsws-logo.png
  34. @comment share/libwebsockets-test-server/server-status/server-status.html
  35. @postexec /sbin/ldconfig -m /usr/local/lib
  36. @postunexec /sbin/ldconfig -R
  37. Collapse this list.

To install the port: cd /usr/ports/net/libwebsockets/ && make install clean
To add the package: pkg install libwebsockets

PKGNAME: libwebsockets


TIMESTAMP = 1500465747
SHA256 (warmcat-libwebsockets-v2.2.2_GH0.tar.gz) = e38a7d981fe87b9a86b1f1cddd1f9e062d3896c488e6b2a32cb700d4c959ecba
SIZE (warmcat-libwebsockets-v2.2.2_GH0.tar.gz) = 3548981

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf

This port is required by:

for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for libwebsockets-2.2.2:
     HTTP2=off: HTTP protocol version 2.0 support
     HTTP_PROXY=off: HTTP proxy support
     IPV6=on: IPv6 protocol support
     LIBEV=off: High-performance events support via libev
     LIBUV=off: Asynchronous I/O support via libuv
     PLUGINS=off: Build and/or install plugins
     UNIX_SOCK=off: Unix domain socket support
     WEBSERVER=off: Build and/or install internal web server
===> Use 'make config' to modify these settings

cmake pkgconfig ssl

Master Sites:

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
22 Jul 2017 12:02:56
Original commit files touched by this commit  2.2.2
jbeich search for other commits by this committer
net/libwebsockets: update to 2.2.2

PR:		220921
Submitted by:	Iblis Lin <> (maintainer)
23 Jun 2017 20:53:12
Original commit files touched by this commit  2.1.1
ultima search for other commits by this committer
* Updated to 2.1.1


PR:		220080
Submitted by:	Iblis Lin <> (maintainer)
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:
17 Apr 2017 20:16:25
Original commit files touched by this commit  2.1.0
mat search for other commits by this committer
Remove @comment $FreeBSD$ from plists.

Whatever you do, things always get to creep back in the ports tree.

Sponsored by:	Absolight
29 Nov 2016 07:38:47
Original commit files touched by this commit  2.1.0
lwhsu search for other commits by this committer
- Add patch missig in r427365
29 Nov 2016 07:37:49
Original commit files touched by this commit  2.1.0
lwhsu search for other commits by this committer
- Update to 2.1.0

PR:		214869
Submitted by: (maintainer)
18 Aug 2016 15:07:39
Original commit files touched by this commit  2.0.2
amdmi3 search for other commits by this committer
- Add PORTSCOUT to filter out tags which as not new versions (such as

PR:		211267
Submitted by: (maintainer)
20 Jul 2016 09:04:51
Original commit files touched by this commit  2.0.2
vanilla search for other commits by this committer
Add libwebsockets 2.0.2, c library for lightweight websocket clients and

PR:		211189
Submitted by:	Iblis Lin <>

Number of commits found: 7

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 31876
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
Vulnerable 50
Expired 11
Set to expire 47
Interactive 0
new 24 hours 3
new 48 hours11
new 7 days3210
new fortnight3397
new month3447

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.