notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2025Q2
cpp-httplib C++ header-only HTTP/HTTPS server and client library
0.28.0 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.24.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-04-06 09:25:56
Last Update: 2025-11-26 16:33:10
Commit Hash: 8ecb957
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: devel
License: MIT
WWW:
https://github.com/yhirose/cpp-httplib
Description:
A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include httplib.h file in your code!
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. include/httplib.h
  2. lib/cmake/httplib/FindBrotli.cmake
  3. share/doc/httplib/README.md
  4. lib/cmake/httplib/httplibConfig.cmake
  5. lib/cmake/httplib/httplibConfigVersion.cmake
  6. lib/cmake/httplib/httplibTargets.cmake
  7. /usr/local/share/licenses/cpp-httplib-0.28.0/catalog.mk
  8. /usr/local/share/licenses/cpp-httplib-0.28.0/LICENSE
  9. /usr/local/share/licenses/cpp-httplib-0.28.0/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cpp-httplib>0:www/cpp-httplib
Conflicts:
CONFLICTS_BUILD:
  • googletest
To install the port:
cd /usr/ports/www/cpp-httplib/ && make install clean
To add the package, run one of these commands:
  • pkg install www/cpp-httplib
  • pkg install cpp-httplib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cpp-httplib
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1764174311 SHA256 (yhirose-cpp-httplib-v0.28.0_GH0.tar.gz) = ccb32f9832c906d571f61794f453223dbb724ba738265551e3cd28ca325b529d SIZE (yhirose-cpp-httplib-v0.28.0_GH0.tar.gz) = 1312543

Packages (timestamps in pop-ups are UTC):
cpp-httplib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.8.1--n/an/an/a
FreeBSD:13:quarterly--0.12.6--n/an/an/a
FreeBSD:14:latest0.27.00.28.00.11.20.24.00.28.00.12.6-0.12.6
FreeBSD:14:quarterly0.24.00.24.0-0.20.10.24.00.14.30.14.30.14.3
FreeBSD:15:latest0.28.00.28.0n/a0.24.0n/an/a0.15.10.15.2
FreeBSD:15:quarterly0.24.00.24.0n/a-n/an/a--
FreeBSD:16:latest0.27.00.28.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. brotli>0 : archivers/brotli
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
Test dependencies:
  1. gmake : devel/gmake
  2. python3.11 : lang/python311
Runtime dependencies:
  1. brotli>0 : archivers/brotli
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for cpp-httplib-0.28.0: BROTLI=on: Brotli compression support SSL=on: SSL protocol support ===> Use 'make config' to modify these settings
Options name:
www_cpp-httplib
USES:
cmake localbase:ldflags python:test ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/yhirose/cpp-httplib/tar.gz/v0.28.0?dummy=/
Collapse this list.

There are no commits on branch 2025Q2 for this port