Add p5-HTTP-Tiny: Small, simple, correct HTTP/1.1 client

This is a very simple HTTP/1.1 client, designed for doing simple
requests without the overhead of a large framework like LWP::UserAgent.

It is more correct and more complete than HTTP::Lite. It supports
proxies and redirection. It also correctly resumes after EINTR.
This commit is contained in:
schmonz 2024-01-10 16:05:12 +00:00
parent 5918963014
commit ac7455c47d
3 changed files with 32 additions and 0 deletions

5
www/p5-HTTP-Tiny/DESCR Normal file
View file

@ -0,0 +1,5 @@
This is a very simple HTTP/1.1 client, designed for doing simple
requests without the overhead of a large framework like LWP::UserAgent.
It is more correct and more complete than HTTP::Lite. It supports
proxies and redirection. It also correctly resumes after EINTR.

22
www/p5-HTTP-Tiny/Makefile Normal file
View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.27 2024/01/10 16:05:12 schmonz Exp $
DISTNAME= HTTP-Tiny-0.088
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/pod/HTTP::Tiny
COMMENT= Small, simple, correct HTTP/1.1 client
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-HTTP-CookieJar>=0.001:../../www/p5-HTTP-CookieJar
DEPENDS+= p5-IO-Socket-SSL>=1.42:../../security/p5-IO-Socket-SSL
DEPENDS+= p5-Mozilla-CA>=20160104:../../security/p5-Mozilla-CA
DEPENDS+= p5-Net-SSLeay>=1.49:../../security/p5-Net-SSLeay
PERL5_PACKLIST= auto/HTTP/Tiny/.packlist
USE_LANGUAGES= # none
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.17 2024/01/10 16:05:12 schmonz Exp $
BLAKE2s (HTTP-Tiny-0.088.tar.gz) = ea6a3a4ef526c855b4f53b0553b902dbf5fff1f92e02ffd10869d82aaafeba9c
SHA512 (HTTP-Tiny-0.088.tar.gz) = 3f4fb7a5ecf4bc664c0370f66b738bf171478767770400f5774be49a14ed95ce6430e6ac8fb755068e3d73bb3f074268cb6d6da7e6f0aceffbbdc76b0563bb0a
Size (HTTP-Tiny-0.088.tar.gz) = 77140 bytes