notbugIf you buy from Amazon USA, please support us by using this link.
Port details
libwebsockets C library for lightweight websocket clients and servers
2.4.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: 2016-07-20 09:05:03
Last Update: 2018-10-07 05:53:21
SVN Revision: 481420
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 (40 items)
  1. /usr/local/share/licenses/libwebsockets-2.4.2/
  2. /usr/local/share/licenses/libwebsockets-2.4.2/LICENSE
  3. /usr/local/share/licenses/libwebsockets-2.4.2/LGPL21
  4. @comment bin/lwsws
  5. @comment include/lejp.h
  6. include/libwebsockets.h
  7. include/lws-plugin-ssh.h
  8. include/lws_config.h
  9. lib/cmake/libwebsockets/LibwebsocketsConfig.cmake
  10. lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
  11. lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake
  12. lib/cmake/libwebsockets/LibwebsocketsTargets.cmake
  13. lib/libwebsockets.a
  14. lib/
  15. lib/
  16. libdata/pkgconfig/libwebsockets.pc
  17. libdata/pkgconfig/libwebsockets_static.pc
  18. share/libwebsockets-test-server/lws-ssh-test-keys
  19. share/libwebsockets-test-server/
  20. @comment share/libwebsockets-test-server/generic-sessions/failed-login.html
  21. @comment share/libwebsockets-test-server/generic-sessions/index.html
  22. @comment share/libwebsockets-test-server/generic-sessions/lwsgs-logo.png
  23. @comment share/libwebsockets-test-server/generic-sessions/lwsgs.js
  24. @comment share/libwebsockets-test-server/generic-sessions/needadmin/admin-login.html
  25. @comment share/libwebsockets-test-server/generic-sessions/needauth/successful-login.html
  26. @comment share/libwebsockets-test-server/generic-sessions/post-forgot-fail.html
  27. @comment share/libwebsockets-test-server/generic-sessions/post-forgot-ok.html
  28. @comment share/libwebsockets-test-server/generic-sessions/post-register-fail.html
  29. @comment share/libwebsockets-test-server/generic-sessions/post-register-ok.html
  30. @comment share/libwebsockets-test-server/generic-sessions/post-verify-fail.html
  31. @comment share/libwebsockets-test-server/generic-sessions/post-verify-ok.html
  32. @comment share/libwebsockets-test-server/generic-sessions/seats.jpg
  33. @comment share/libwebsockets-test-server/generic-sessions/sent-forgot-fail.html
  34. @comment share/libwebsockets-test-server/generic-sessions/sent-forgot-ok.html
  35. @comment share/libwebsockets-test-server/generic-table/index.html
  36. @comment share/libwebsockets-test-server/generic-table/lwsgt.js
  37. @comment share/libwebsockets-test-server/server-status/lwsws-logo.png
  38. @comment share/libwebsockets-test-server/server-status/server-status.html
  39. @postexec /usr/sbin/service ldconfig restart > /dev/null
  40. @postunexec /usr/sbin/service ldconfig restart > /dev/null
  41. Collapse this list.

Dependency line: libwebsockets>0:net/libwebsockets

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

PKGNAME: libwebsockets

There is no flavor information for this port.


TIMESTAMP = 1538641163
SHA256 (warmcat-libwebsockets-v2.4.2_GH0.tar.gz) = 73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6
SIZE (warmcat-libwebsockets-v2.4.2_GH0.tar.gz) = 3777160

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.4.2:
     HTTP2=on: 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: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
07 Oct 2018 04:53:21
Original commit files touched by this commit  2.4.2
swills search for other commits by this committer
net/libwebsockets: update to 2.4.2

PR:		231938
Submitted by:	Iblis Lin <> (maintainer)
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: 8

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
joomla3Jan 20
drupal7Jan 19
drupal8Jan 19
helmJan 18
gitlab-ceJan 17
jenkinsJan 16
jenkins-ltsJan 16
py-matrix-synapseJan 15
irssiJan 10
giteaJan 06
uriparserJan 06
chromiumJan 05
chromiumJan 05
openjpeg*Jan 05
py-django111Jan 05

9 vulnerabilities affecting 54 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-01-20 01:05:52

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 36024
Broken 120
Deprecated 412
Ignore 334
Forbidden 3
Restricted 162
Vulnerable 34
Expired 5
Set to expire 385
Interactive 0
new 24 hours 5
new 48 hours6
new 7 days39
new fortnight67
new month160

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