Date: Thu, 29 Feb 2024 15:45:24 GMT From: Norikatsu Shigemura <nork@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f35cf3def761 - main - www/p5-HTTP-Tiny-Paranoid: Add new port Message-ID: <202402291545.41TFjOeg056655@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nork: URL: https://cgit.FreeBSD.org/ports/commit/?id=f35cf3def761f99e28177f1d239428cc3f6e5b7b commit f35cf3def761f99e28177f1d239428cc3f6e5b7b Author: Norikatsu Shigemura <nork@FreeBSD.org> AuthorDate: 2024-02-29 15:44:46 +0000 Commit: Norikatsu Shigemura <nork@FreeBSD.org> CommitDate: 2024-02-29 15:44:46 +0000 www/p5-HTTP-Tiny-Paranoid: Add new port This module is a subclass of HTTP::Tiny that performs exactly one additional function: before connecting, it passes the hostname to Net::DNS::Paranoid. If the hostname is rejected, then the request is aborted before a connect is even attempted. Approved by: hrs (mentor) --- www/Makefile | 1 + www/p5-HTTP-Tiny-Paranoid/Makefile | 27 +++++++++++++++++++++++++++ www/p5-HTTP-Tiny-Paranoid/distinfo | 3 +++ www/p5-HTTP-Tiny-Paranoid/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/www/Makefile b/www/Makefile index 6c2eb7981c21..fb80cc0f6e75 100644 --- a/www/Makefile +++ b/www/Makefile @@ -977,6 +977,7 @@ SUBDIR += p5-HTTP-Throwable SUBDIR += p5-HTTP-Tiny SUBDIR += p5-HTTP-Tiny-Multipart + SUBDIR += p5-HTTP-Tiny-Paranoid SUBDIR += p5-HTTP-Tiny-SPDY SUBDIR += p5-HTTP-Tiny-UA SUBDIR += p5-HTTP-Tiny-UNIX diff --git a/www/p5-HTTP-Tiny-Paranoid/Makefile b/www/p5-HTTP-Tiny-Paranoid/Makefile new file mode 100644 index 000000000000..e49ea9fe8a8c --- /dev/null +++ b/www/p5-HTTP-Tiny-Paranoid/Makefile @@ -0,0 +1,27 @@ +PORTNAME= HTTP-Tiny-Paranoid +PORTVERSION= 0.07 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ROBN +PKGNAMEPREFIX= p5- + +MAINTAINER= nork@FreeBSD.org +COMMENT= Safer HTTP::Tiny +WWW= https://metacpan.org/release/HTTP-Tiny-Paranoid + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +RUN_DEPENDS= p5-Class-Method-Modifiers>0:devel/p5-Class-Method-Modifiers \ + p5-Net-DNS-Paranoid>0:dns/p5-Net-DNS-Paranoid + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes +NO_TEST= yes + +PLIST_FILES= ${SITE_MAN3_REL}/HTTP::Tiny::Paranoid.3.gz \ + ${SITE_PERL_REL}/HTTP/Tiny/Paranoid.pm + +.include <bsd.port.mk> diff --git a/www/p5-HTTP-Tiny-Paranoid/distinfo b/www/p5-HTTP-Tiny-Paranoid/distinfo new file mode 100644 index 000000000000..c9ef69db4e81 --- /dev/null +++ b/www/p5-HTTP-Tiny-Paranoid/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708665196 +SHA256 (HTTP-Tiny-Paranoid-0.07.tar.gz) = 8b7f9389fb42d77f7b9e0a42f93da413e7b32d183db96bd35b3707840a29b094 +SIZE (HTTP-Tiny-Paranoid-0.07.tar.gz) = 11477 diff --git a/www/p5-HTTP-Tiny-Paranoid/pkg-descr b/www/p5-HTTP-Tiny-Paranoid/pkg-descr new file mode 100644 index 000000000000..7492913e1e05 --- /dev/null +++ b/www/p5-HTTP-Tiny-Paranoid/pkg-descr @@ -0,0 +1,4 @@ +This module is a subclass of HTTP::Tiny that performs exactly one additional +function: before connecting, it passes the hostname to Net::DNS::Paranoid. +If the hostname is rejected, then the request is aborted before a connect is +even attempted.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402291545.41TFjOeg056655>