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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2025Q2
cpp-httplib C++ header-only HTTP/HTTPS server and client library
0.46.1 www 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 View this port on Repology. pkg-fallout 0.40.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: 2026-06-02 07:06:47
Commit Hash: c1d2ff3
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.46.1/catalog.mk
  8. /usr/local/share/licenses/cpp-httplib-0.46.1/LICENSE
  9. /usr/local/share/licenses/cpp-httplib-0.46.1/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cpp-httplib>0:www/cpp-httplib
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 = 1780375077 SHA256 (yhirose-cpp-httplib-v0.46.1_GH0.tar.gz) = 8a7764d062c55c38872e114abbf9b3fc9923623ddc401adb9af3974c015f6116 SIZE (yhirose-cpp-httplib-v0.46.1_GH0.tar.gz) = 1881438

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.46.00.46.10.11.20.24.00.46.10.12.6-0.12.6
FreeBSD:14:quarterly0.40.00.40.0-0.20.10.40.00.14.30.14.30.14.3
FreeBSD:15:latest0.46.00.46.1n/a0.24.0n/an/a0.15.10.15.2
FreeBSD:15:quarterly0.40.00.40.0n/a-n/an/a--
FreeBSD:16:latest0.46.00.46.1n/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.46.1: 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.46.1?dummy=/
Collapse this list.

There are no commits on branch 2025Q2 for this port