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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
cpr C++ Requests: Curl for People
1.10.5 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 1.10.5Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-07-31 03:57:37
Last Update: 2023-10-16 15:59:42
Commit Hash: 3edabe4
License: MIT
WWW:
https://github.com/libcpr/cpr
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.
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 (63 items)
Collapse this list.
  1. /usr/local/share/licenses/cpr-1.10.5/catalog.mk
  2. /usr/local/share/licenses/cpr-1.10.5/LICENSE
  3. /usr/local/share/licenses/cpr-1.10.5/MIT
  4. include/cpr/accept_encoding.h
  5. include/cpr/api.h
  6. include/cpr/async.h
  7. include/cpr/async_wrapper.h
  8. include/cpr/auth.h
  9. include/cpr/bearer.h
  10. include/cpr/body.h
  11. include/cpr/buffer.h
  12. include/cpr/callback.h
  13. include/cpr/cert_info.h
  14. include/cpr/connect_timeout.h
  15. include/cpr/cookies.h
  16. include/cpr/cpr.h
  17. include/cpr/cprtypes.h
  18. include/cpr/cprver.h
  19. include/cpr/curl_container.h
  20. include/cpr/curlholder.h
  21. include/cpr/curlmultiholder.h
  22. include/cpr/error.h
  23. include/cpr/file.h
  24. include/cpr/filesystem.h
  25. include/cpr/http_version.h
  26. include/cpr/interceptor.h
  27. include/cpr/interface.h
  28. include/cpr/limit_rate.h
  29. include/cpr/local_port.h
  30. include/cpr/local_port_range.h
  31. include/cpr/low_speed.h
  32. include/cpr/multipart.h
  33. include/cpr/multiperform.h
  34. include/cpr/parameters.h
  35. include/cpr/payload.h
  36. include/cpr/proxies.h
  37. include/cpr/proxyauth.h
  38. include/cpr/range.h
  39. include/cpr/redirect.h
  40. include/cpr/reserve_size.h
  41. include/cpr/resolve.h
  42. include/cpr/response.h
  43. include/cpr/session.h
  44. include/cpr/singleton.h
  45. include/cpr/ssl_ctx.h
  46. include/cpr/ssl_options.h
  47. include/cpr/status_codes.h
  48. include/cpr/threadpool.h
  49. include/cpr/timeout.h
  50. include/cpr/unix_socket.h
  51. include/cpr/user_agent.h
  52. include/cpr/util.h
  53. include/cpr/verbose.h
  54. lib/cmake/cpr/cprConfig.cmake
  55. lib/cmake/cpr/cprConfigVersion.cmake
  56. lib/cmake/cpr/cprTargets-release.cmake
  57. lib/cmake/cpr/cprTargets.cmake
  58. lib/libcpr.so
  59. lib/libcpr.so.1
  60. lib/libcpr.so.1.10.5
  61. @owner
  62. @group
  63. @mode
Collapse this list.
Dependency lines:
  • cpr>0:www/cpr
To install the port:
cd /usr/ports/www/cpr/ && make install clean
To add the package, run one of these commands:
  • pkg install www/cpr
  • pkg install cpr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cpr
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1697463058 SHA256 (libcpr-cpr-1.10.5_GH0.tar.gz) = c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8 SIZE (libcpr-cpr-1.10.5_GH0.tar.gz) = 132280

Packages (timestamps in pop-ups are UTC):
cpr
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.10.51.10.51.3.0.57_11.10.51.10.5-1.3.0.57_1-
FreeBSD:13:quarterly1.10.51.10.51.10.41.10.51.10.51.10.51.10.51.10.5
FreeBSD:14:latest1.10.51.10.51.9.21.10.51.10.51.10.4-1.10.4
FreeBSD:14:quarterly1.10.51.10.5-1.10.51.10.51.10.51.10.51.10.5
FreeBSD:15:latest1.10.51.10.5n/a1.10.5n/a1.10.51.10.51.10.5
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libcurl.so : ftp/curl
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_cpr
USES:
cmake compiler:c++17-lang 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/libcpr/cpr/tar.gz/1.10.5?dummy=/
Collapse this list.
Port Moves
  • port moved here from ftp/cpr on 2021-05-03
    REASON: Remove duplicate port

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.10.5
16 Oct 2023 15:59:42
commit hash: 3edabe492c4d44a4b14a1ac3e699e488533ac393commit hash: 3edabe492c4d44a4b14a1ac3e699e488533ac393commit hash: 3edabe492c4d44a4b14a1ac3e699e488533ac393commit hash: 3edabe492c4d44a4b14a1ac3e699e488533ac393 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.10.5

Changes:	https://github.com/libcpr/cpr/releases
1.10.4
27 May 2023 23:43:45
commit hash: 19497bfc4c10a4b7124fe94a82ee8348b2d3bf1acommit hash: 19497bfc4c10a4b7124fe94a82ee8348b2d3bf1acommit hash: 19497bfc4c10a4b7124fe94a82ee8348b2d3bf1acommit hash: 19497bfc4c10a4b7124fe94a82ee8348b2d3bf1a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.10.4

Changes:	https://github.com/libcpr/cpr/releases
1.10.2
09 Apr 2023 13:36:37
commit hash: e5599c127dfe9c95e12cd7e52224785bef73497acommit hash: e5599c127dfe9c95e12cd7e52224785bef73497acommit hash: e5599c127dfe9c95e12cd7e52224785bef73497acommit hash: e5599c127dfe9c95e12cd7e52224785bef73497a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.10.2

Changes:	https://github.com/libcpr/cpr/releases
1.10.1
05 Apr 2023 17:29:53
commit hash: 0af2c1a3c6ec1d1d0709e9fd15aed9e58e395808commit hash: 0af2c1a3c6ec1d1d0709e9fd15aed9e58e395808commit hash: 0af2c1a3c6ec1d1d0709e9fd15aed9e58e395808commit hash: 0af2c1a3c6ec1d1d0709e9fd15aed9e58e395808 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.10.1

- Mark PIE_UNSAFE

Changes:	https://github.com/libcpr/cpr/releases
1.10.0
05 Feb 2023 15:47:45
commit hash: c7ce20ed8fae60d29cb57132b30d00efcfde7664commit hash: c7ce20ed8fae60d29cb57132b30d00efcfde7664commit hash: c7ce20ed8fae60d29cb57132b30d00efcfde7664commit hash: c7ce20ed8fae60d29cb57132b30d00efcfde7664 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.10.0

Changes:	https://github.com/libcpr/cpr/releases
1.9.3
30 Jan 2023 12:59:11
commit hash: 65f560a1434fad461a907fb38b93298a25d7280dcommit hash: 65f560a1434fad461a907fb38b93298a25d7280dcommit hash: 65f560a1434fad461a907fb38b93298a25d7280dcommit hash: 65f560a1434fad461a907fb38b93298a25d7280d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.9.3

Changes:	https://github.com/libcpr/cpr/releases
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.9.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.9.2
04 Sep 2022 15:24:50
commit hash: e734efdd7ff4a8686c08161c543be15c60f1d709commit hash: e734efdd7ff4a8686c08161c543be15c60f1d709commit hash: e734efdd7ff4a8686c08161c543be15c60f1d709commit hash: e734efdd7ff4a8686c08161c543be15c60f1d709 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.9.2

Changes:	https://github.com/libcpr/cpr/releases
1.9.1
27 Aug 2022 10:23:47
commit hash: 6618a71d081e5f2aac05dd9464606e37cf8d460fcommit hash: 6618a71d081e5f2aac05dd9464606e37cf8d460fcommit hash: 6618a71d081e5f2aac05dd9464606e37cf8d460fcommit hash: 6618a71d081e5f2aac05dd9464606e37cf8d460f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.9.1

Changes:	https://github.com/libcpr/cpr/releases
1.9.0
18 Jul 2022 20:39:21
commit hash: d29aa077250017e95828349e75ebbb4cc804d1adcommit hash: d29aa077250017e95828349e75ebbb4cc804d1adcommit hash: d29aa077250017e95828349e75ebbb4cc804d1adcommit hash: d29aa077250017e95828349e75ebbb4cc804d1ad files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.9.0

Changes:	https://github.com/libcpr/cpr/releases
1.8.4
07 Jul 2022 21:26:58
commit hash: 7829bd56d7fb761146f2a3787f05bfee07ecf180commit hash: 7829bd56d7fb761146f2a3787f05bfee07ecf180commit hash: 7829bd56d7fb761146f2a3787f05bfee07ecf180commit hash: 7829bd56d7fb761146f2a3787f05bfee07ecf180 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.8.4

Changes:	https://github.com/libcpr/cpr/releases
1.8.3
13 May 2022 11:39:19
commit hash: 041d2271d9f15c9049cd6087c8d3bb2aa3bdacdfcommit hash: 041d2271d9f15c9049cd6087c8d3bb2aa3bdacdfcommit hash: 041d2271d9f15c9049cd6087c8d3bb2aa3bdacdfcommit hash: 041d2271d9f15c9049cd6087c8d3bb2aa3bdacdf files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.8.3

Changes:	https://github.com/libcpr/cpr/releases
1.8.2
30 Apr 2022 15:57:51
commit hash: 75d493015aae393d8fc479bd44910d7f6af8c1dccommit hash: 75d493015aae393d8fc479bd44910d7f6af8c1dccommit hash: 75d493015aae393d8fc479bd44910d7f6af8c1dccommit hash: 75d493015aae393d8fc479bd44910d7f6af8c1dc files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.8.2

Changes:	https://github.com/libcpr/cpr/releases
1.8.1
16 Apr 2022 04:19:10
commit hash: a00bc88d83c14b33fd4af6b34c429a69aaa1a307commit hash: a00bc88d83c14b33fd4af6b34c429a69aaa1a307commit hash: a00bc88d83c14b33fd4af6b34c429a69aaa1a307commit hash: a00bc88d83c14b33fd4af6b34c429a69aaa1a307 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.8.1

Changes:	https://github.com/libcpr/cpr/releases
1.7.2
23 Jan 2022 18:18:04
commit hash: 912cb4e78b043b2481430088043d125e928fc29acommit hash: 912cb4e78b043b2481430088043d125e928fc29acommit hash: 912cb4e78b043b2481430088043d125e928fc29acommit hash: 912cb4e78b043b2481430088043d125e928fc29a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/cpr: Update to 1.7.2

- Update pkg-descr
- Update WWW
- Take maintainership

Changes:	https://github.com/libcpr/cpr/releases
1.7.0
06 Jan 2022 08:56:19
commit hash: 24bd2b8806cbecca31151ec4a65e7454c05be040commit hash: 24bd2b8806cbecca31151ec4a65e7454c05be040commit hash: 24bd2b8806cbecca31151ec4a65e7454c05be040commit hash: 24bd2b8806cbecca31151ec4a65e7454c05be040 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
www/cpr: Drop maintainership
1.7.0
25 Nov 2021 06:37:47
commit hash: 0cbf98d774b49bf118dfabec1fb8ff2249249d0ecommit hash: 0cbf98d774b49bf118dfabec1fb8ff2249249d0ecommit hash: 0cbf98d774b49bf118dfabec1fb8ff2249249d0ecommit hash: 0cbf98d774b49bf118dfabec1fb8ff2249249d0e files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
www/cpr: Update to 1.7.0

Changelog:	https://github.com/libcpr/cpr/releases/tag/1.7.0
1.6.2
11 May 2021 05:04:02
commit hash: 40cb34d13708e983f5dee6cbd8513d1b8416ed64commit hash: 40cb34d13708e983f5dee6cbd8513d1b8416ed64commit hash: 40cb34d13708e983f5dee6cbd8513d1b8416ed64commit hash: 40cb34d13708e983f5dee6cbd8513d1b8416ed64 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
www/cpr: Update to 1.6.2

Submitted by:	sunpoet
Approved by:	lwhsu
1.3.0.57_1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.3.0.57_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.3.0.57_1
18 Dec 2020 18:36:32
Revision:558397Original commit files touched by this commit
ygy search for other commits by this committer
Reset and take che bein.link's maintainership

PR:		251933
Discussed with:	rene
Approved by:	mikael
1.3.0.57_1
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.3.0.57
30 Dec 2018 12:46:28
Revision:488713Original commit files touched by this commit
linimon search for other commits by this committer
This port requires USES=compiler:c++11-lang to build on GCC-based
architectures.

PR:		234438
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
1.3.0.57
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
1.3.0.57
03 Nov 2018 22:53:27
Revision:483950Original commit files touched by this commit
sunpoet search for other commits by this committer
Fix build with curl 7.62.0
1.3.0.57
31 Jul 2018 03:55:20
Revision:475967Original commit files touched by this commit
yuri search for other commits by this committer
New port: www/cpr: Curl for people, a simple wrapper around libcurl

PR:		229962
Submitted by:	Maxim Filimonov <che@bein.link>

Number of commits found: 27