git: a0d95819bb37 - main - www/p5-Plack-Middleware-Headers: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jun 2023 15:16:24 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0d95819bb37f40fde9e9b89301ea9679ce19004 commit a0d95819bb37f40fde9e9b89301ea9679ce19004 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-06-21 15:07:41 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-06-21 15:07:41 +0000 www/p5-Plack-Middleware-Headers: new port Fork of p5-Plack-Middleware-Header needed to fix the run time of net-mgmt/netdisco. PR: 271842 Reported by: einar@isnic.is --- www/Makefile | 1 + www/p5-Plack-Middleware-Headers/Makefile | 21 +++++++++++++++++++++ www/p5-Plack-Middleware-Headers/distinfo | 3 +++ www/p5-Plack-Middleware-Headers/pkg-descr | 5 +++++ www/p5-Plack-Middleware-Headers/pkg-plist | 2 ++ 5 files changed, 32 insertions(+) diff --git a/www/Makefile b/www/Makefile index fd65277c33c1..05c87334d57d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1086,6 +1086,7 @@ SUBDIR += p5-Plack-Middleware-FixMissingBodyInRedirect SUBDIR += p5-Plack-Middleware-ForceEnv SUBDIR += p5-Plack-Middleware-Header + SUBDIR += p5-Plack-Middleware-Headers SUBDIR += p5-Plack-Middleware-IEnosniff SUBDIR += p5-Plack-Middleware-InteractiveDebugger SUBDIR += p5-Plack-Middleware-JSConcat diff --git a/www/p5-Plack-Middleware-Headers/Makefile b/www/p5-Plack-Middleware-Headers/Makefile new file mode 100644 index 000000000000..875de34c43aa --- /dev/null +++ b/www/p5-Plack-Middleware-Headers/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Plack-Middleware-Headers +DISTVERSION= 0.11 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Perl extension to modify HTTP response headers +WWW= https://metacpan.org/pod/Plack::Middleware::Headers + +LICENSE= ARTPERL10 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= \ + p5-Plack>0:www/p5-Plack + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/www/p5-Plack-Middleware-Headers/distinfo b/www/p5-Plack-Middleware-Headers/distinfo new file mode 100644 index 000000000000..08d200ac733b --- /dev/null +++ b/www/p5-Plack-Middleware-Headers/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685974554 +SHA256 (Plack-Middleware-Headers-0.11.tar.gz) = 79e9ee709bc93c136a2ebd00fa60f9097139f7076192079bcd4ffebfd791c46e +SIZE (Plack-Middleware-Headers-0.11.tar.gz) = 11223 diff --git a/www/p5-Plack-Middleware-Headers/pkg-descr b/www/p5-Plack-Middleware-Headers/pkg-descr new file mode 100644 index 000000000000..ecb9bcf777ef --- /dev/null +++ b/www/p5-Plack-Middleware-Headers/pkg-descr @@ -0,0 +1,5 @@ +This Plack::Middleware simplifies creation (set or append), deletion (unset), +and modification (set) of PSGI response headers. The modification can be +enabled based on response code (code) or existing response headers(when). +Use Plack::Middleware::Conditional to enable the middleware based in +request headers. diff --git a/www/p5-Plack-Middleware-Headers/pkg-plist b/www/p5-Plack-Middleware-Headers/pkg-plist new file mode 100644 index 000000000000..ffd0c389b933 --- /dev/null +++ b/www/p5-Plack-Middleware-Headers/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Plack/Middleware/Headers.pm +%%PERL5_MAN3%%/Plack::Middleware::Headers.3.gz