From nobody Wed Jun 21 15:16:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmRt04q9lz4fw7t; Wed, 21 Jun 2023 15:16:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmRt04327z3rm9; Wed, 21 Jun 2023 15:16:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687360584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o19XhWSJZ9bVfIj9M8ffSQw//RE+ua3l1GfhLmmaNBE=; b=ZFDFOT7JhihQ+YMTv/7dyChpSWyqp+5u8wgK6NagjHIoGH7opRge4OR1UT3fLEzhxXUvx4 0fv+td8H75eg8hESgJOBm0JwZwj6L181iuGaa8BW4nVz3shpHCbea3yVoiC/igmV0iiVpp jA7wouYn4cn6bhTt+Nz8qO/7p2Xa3QoLNDKgjrFYGJK/a11HZ/g+SABaGmSxa8gdVKNiNI TFb6FS757JNmZn8WN51dc7YibMbT0ces0zq8UdA+Yt4uvfT0BWII+GLT8IW0/TdgO8C5qh OVVMcusC9YBTQbasvdxJDF+NlFSesrqw/msPINMUkVzG5V3fmUwzIk777UK3Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687360584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o19XhWSJZ9bVfIj9M8ffSQw//RE+ua3l1GfhLmmaNBE=; b=cI0C9EqatKI0whI6dD/wQliABXSwOJ/Z/3o1U+SxLA0TNhnahAoo48latgOdYZkxAWbRai ENekAl2mz8j/oyoAU3Al8JNWMjQdND//W6Wt/cxFwjbONVCf7OW2AMeOwpDa9JyeSddJOh Gk3JKz34hl28+78geW3snLvIwt0KquqH5YQPFb7B6YFKnMeLd3aacotTj3s3e+Eu+KRlxs Gd90PPJ5m07MxFkrqlTzzrELvQU5HIbQ6D2arvnRiipoNEjwNincmps6t3oF9BaA+rIQkH XGiEd+NdAXBquKdOnzNcwahMrXZJtmAtloH/YCD8dKXAHV22FUkXr/5wCUj2AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687360584; a=rsa-sha256; cv=none; b=wwl63+HdhYjAgLt5ht2s3Cj08LYgTIxvdOpocVruAagOyFaUhhC0zd/ur/8R21LtL4Qkjr szmC/YjQ/tlUCektDelcg5koaoB5PVHm2Tfw+HKRktxunl9AqELOuPF2tgEuELowORrTWG eHSDmPSLACst9/mndoY82LofbdaqV5Za3Qs97bV6zVOXaPPQidjqm7t/2jmrjDvf2CgPNO m0RFIBlq86jigakFErSjOsa1sVJwUTXgkryjyWNw5ES3a+EmbyeG5gIy0EHfsAgSSkegsf 7jVPzVmWoaY+ORqFxFWcN2qiunkRVpJYB69maAeAuquMJekCAclQOp9glnQV3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QmRt031jGzls6; Wed, 21 Jun 2023 15:16:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35LFGOrG006876; Wed, 21 Jun 2023 15:16:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35LFGOLU006875; Wed, 21 Jun 2023 15:16:24 GMT (envelope-from git) Date: Wed, 21 Jun 2023 15:16:24 GMT Message-Id: <202306211516.35LFGOLU006875@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: a0d95819bb37 - main - www/p5-Plack-Middleware-Headers: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0d95819bb37f40fde9e9b89301ea9679ce19004 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0d95819bb37f40fde9e9b89301ea9679ce19004 commit a0d95819bb37f40fde9e9b89301ea9679ce19004 Author: Fernando ApesteguĂ­a AuthorDate: 2023-06-21 15:07:41 +0000 Commit: Fernando ApesteguĂ­a 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 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