www/cpr 1.14.2 FreeBSD
C++ Requests: Curl for People
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www
- Package size
- 119.6 KiB, 441.9 KiB installed
Description
C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.
Despite its name, libcurl's easy interface is anything but, and making mistakes misusing it is a common source of error and frustration. Using the more expressive language facilities of C++11, this library captures the essence of making network calls into a few concise idioms.
Install
Binary package:
pkg install cpr
From the ports tree:
cd /usr/ports/www/cpr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cpr>0:www/cpr
LIB_DEPENDS= libcpr.so:www/cpr
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.14.2 | 1.14.2 | 1.9.2 | 1.12.0 | 1.14.2 |
| FreeBSD:14:quarterly | 1.14.2 | 1.14.2 | n/a | 1.12.0 | 1.14.2 |
| FreeBSD:15:latest | 1.14.2 | 1.14.2 | n/a | 1.12.0 | 1.12.0 |
| FreeBSD:15:quarterly | 1.14.2 | 1.14.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.14.2 | 1.14.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libcurl.so: ftp/curl
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/libssh2
- security/rhash
- textproc/expat2
- www/libnghttp2
Run dependencies 10
Required by 1
Configuration
No options to configure.
- USES
- cmake compiler:c++17-lang ssl
- Service scripts
- none
Files
pkg-plist 61
- include/cpr/accept_encoding.h
- include/cpr/api.h
- include/cpr/async.h
- include/cpr/async_wrapper.h
- include/cpr/auth.h
- include/cpr/bearer.h
- include/cpr/body.h
- include/cpr/body_view.h
- include/cpr/buffer.h
- include/cpr/callback.h
- include/cpr/cert_info.h
- include/cpr/connect_timeout.h
- include/cpr/connection_pool.h
- include/cpr/cookies.h
- include/cpr/cpr.h
- include/cpr/cprtypes.h
- include/cpr/cprver.h
- include/cpr/curl_container.h
- include/cpr/curlholder.h
- include/cpr/curlmultiholder.h
- include/cpr/error.h
- include/cpr/file.h
- include/cpr/filesystem.h
- include/cpr/http_version.h
- include/cpr/interceptor.h
- include/cpr/interface.h
- include/cpr/limit_rate.h
- include/cpr/local_port.h
- include/cpr/local_port_range.h
- include/cpr/low_speed.h
- include/cpr/multipart.h
- include/cpr/multiperform.h
- include/cpr/parameters.h
- include/cpr/payload.h
- include/cpr/proxies.h
- include/cpr/proxyauth.h
- include/cpr/range.h
- include/cpr/redirect.h
- include/cpr/reserve_size.h
- include/cpr/resolve.h
- include/cpr/response.h
- include/cpr/secure_string.h
- include/cpr/session.h
- include/cpr/singleton.h
- include/cpr/sse.h
- include/cpr/ssl_ctx.h
- include/cpr/ssl_options.h
- include/cpr/status_codes.h
- include/cpr/threadpool.h
- include/cpr/timeout.h
- include/cpr/unix_socket.h
- include/cpr/user_agent.h
- include/cpr/util.h
- include/cpr/verbose.h
- lib/cmake/cpr/cprConfig.cmake
- lib/cmake/cpr/cprConfigVersion.cmake
- lib/cmake/cpr/cprTargets-.cmake
- lib/cmake/cpr/cprTargets.cmake
- lib/libcpr.so
- lib/libcpr.so.1
- lib/libcpr.so.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libcpr-cpr-1.14.2_GH0.tar.gz | 156989 | b9b529b47083bfe80bba855ca5308d12d767ae7c7b629aef5ef018c4343cf62b |
Commit history 0
No commits in the history this site was built from.