1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

ftp/coeurl: Update to 0.3.1

Changelog: https://nheko.im/nheko-reborn/coeurl/-/tags/v0.3.1

PR:		280725
Approved by:	portmgr (maintainer timeout, 2+ weeks)
This commit is contained in:
Daniel Engberg 2024-08-25 10:03:55 +02:00
parent 0fb54007da
commit f851f9ccff
4 changed files with 5 additions and 35 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= coeurl PORTNAME= coeurl
DISTVERSIONPREFIX=v DISTVERSIONPREFIX=v
DISTVERSION= 0.3.0 DISTVERSION= 0.3.1
PORTREVISION= 2
CATEGORIES= ftp www CATEGORIES= ftp www
MAINTAINER= adridg@FreeBSD.org MAINTAINER= adridg@FreeBSD.org
@ -16,11 +15,10 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libfmt.so:devel/libfmt \ libfmt.so:devel/libfmt \
libspdlog.so:devel/spdlog libspdlog.so:devel/spdlog
USES= compiler:c++17-lang meson pkgconfig tar:xz USES= compiler:c++17-lang meson pkgconfig
USE_GITLAB= yes USE_GITLAB= yes
GL_SITE= https://nheko.im/ GL_SITE= https://nheko.im/
GL_ACCOUNT= nheko-reborn GL_ACCOUNT= nheko-reborn
GL_TAGNAME= 2a20a129240a1a017b37b6874faab499ca4e523b
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1677276434 TIMESTAMP = 1723273503
SHA256 (nheko-reborn-coeurl-2a20a129240a1a017b37b6874faab499ca4e523b_GL0.tar.gz) = ef09d8867535598bbac7c899d148edf580eb52e1053c98681510fafeb0f8e765 SHA256 (coeurl-v0.3.1.tar.bz2) = 3c0a63c9faec23494ca60ee729e876ec1fc4df453a1dfce201d1a8ac6ae5c9d5
SIZE (nheko-reborn-coeurl-2a20a129240a1a017b37b6874faab499ca4e523b_GL0.tar.gz) = 52785 SIZE (coeurl-v0.3.1.tar.bz2) = 46513

View File

@ -1,19 +0,0 @@
--- lib/client.cpp.orig 2023-01-10 04:14:36 UTC
+++ lib/client.cpp
@@ -6,6 +6,7 @@
#include <thread>
#include "coeurl/request.hpp"
+#include "coeurl/errors.hpp"
namespace coeurl {
std::shared_ptr<spdlog::logger> Client::log = spdlog::null_logger_mt("coeurl_null");
@@ -352,7 +353,7 @@ void Client::remove_request(Request *r) {
long http_code;
curl_easy_getinfo(req->easy, CURLINFO_RESPONSE_CODE, &http_code);
- Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, req->curl_error, req->error, http_code);
+ Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, coeurl::to_string(req->curl_error), req->error, http_code);
if (req->on_complete_)
req->on_complete_(*req.get());

View File

@ -1,9 +0,0 @@
--- subprojects/curl.wrap.orig 2023-01-10 04:14:36 UTC
+++ subprojects/curl.wrap
@@ -5,5 +5,5 @@ source_hash = 0f64582c54282f31c0de9f0a1a596b182776bd4d
source_filename = curl-7.77.0.tar.xz
source_hash = 0f64582c54282f31c0de9f0a1a596b182776bd4df9a4c4a2a41bbeb54f62594b
-[provides]
+[provide]
dependency_names = libcurl