1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

ftp/coeurl: New port, C++ wrapper around libcurl

Functionally, This seems to be an awful lot like ftp/curlpp,
but consumers want something else. This is part of the mtxclient
and nheko Matrix stack.
This commit is contained in:
Adriaan de Groot 2021-11-20 23:07:56 +01:00
parent e4813a53c7
commit ba53edfff7
5 changed files with 41 additions and 0 deletions

View File

@ -8,6 +8,7 @@
SUBDIR += bftpd
SUBDIR += bsdftpd-ssl
SUBDIR += cmdftp
SUBDIR += coeurl
SUBDIR += curl
SUBDIR += curlie
SUBDIR += curlpp

25
ftp/coeurl/Makefile Normal file
View File

@ -0,0 +1,25 @@
PORTNAME= coeurl
DISTVERSIONPREFIX=v
DISTVERSION= 0.1.0
CATEGORIES= ftp www
MAINTAINER= adridg@FreeBSD.org
COMMENT= Simple async wrapper around CURL for C++
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= \
libcurl.so:ftp/curl \
libevent.so:devel/libevent \
libspdlog.so:devel/spdlog
USES= compiler:c++17-lang pkgconfig \
meson tar:xz
USE_GITLAB= yes
GL_SITE= https://nheko.im/
GL_ACCOUNT= nheko-reborn
GL_COMMIT= a08f619adaa1ccd34eb6315d6578eddae0d1cc9b
.include <bsd.port.mk>

3
ftp/coeurl/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1637438851
SHA256 (nheko-reborn-coeurl-a08f619adaa1ccd34eb6315d6578eddae0d1cc9b_GL0.tar.gz) = fee0dc804699d99b01b994943d2a64178b9ca1827d4b1cb4f27d7d34d8235ce8
SIZE (nheko-reborn-coeurl-a08f619adaa1ccd34eb6315d6578eddae0d1cc9b_GL0.tar.gz) = 51155

5
ftp/coeurl/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
Simple library to do http requests asynchronously via CURL in C++.
(Eventually as coroutines, once all the compilers I need to support
support them.) This is based on the CURL-libevent example.
WWW: https://nheko.im/nheko-reborn/coeurl

7
ftp/coeurl/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
include/coeurl/client.hpp
include/coeurl/headers.hpp
include/coeurl/request.hpp
lib/libcoeurl.so
lib/libcoeurl.so.0
lib/libcoeurl.so.0.1.0
libdata/pkgconfig/coeurl.pc