BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.14.21.14.21.9.21.12.01.14.2
FreeBSD:14:quarterly1.14.21.14.2n/a1.12.01.14.2
FreeBSD:15:latest1.14.21.14.2n/a1.12.01.12.0
FreeBSD:15:quarterly1.14.21.14.2n/an/an/a
FreeBSD:16:latest1.14.21.14.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 22
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
FileSizeSHA256
libcpr-cpr-1.14.2_GH0.tar.gz156989b9b529b47083bfe80bba855ca5308d12d767ae7c7b629aef5ef018c4343cf62b

Commit history 0

No commits in the history this site was built from.