Received: by mail.netbsd.org (Postfix, from userid 605) id 96BE284DA5; Mon, 13 Feb 2023 15:21:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C912C84D40 for ; Mon, 13 Feb 2023 15:21:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EvXM9-aPE9Dv for ; Mon, 13 Feb 2023 15:21:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 30F0284D14 for ; Mon, 13 Feb 2023 15:21:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2A282FA90; Mon, 13 Feb 2023 15:21:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1676301716173410" MIME-Version: 1.0 Date: Mon, 13 Feb 2023 15:21:56 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/www/p5-Plack-Middleware-CrossOrigin To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20230213152156.2A282FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1676301716173410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Mon Feb 13 15:21:56 UTC 2023 Added Files: pkgsrc/www/p5-Plack-Middleware-CrossOrigin: DESCR Makefile distinfo Log Message: Add p5-Plack-Middleware-CrossOrigin version 0.014. Adds Cross Origin Request Sharing headers used by modern browsers to allow XMLHttpRequest to work across domains. This module will also help protect against CSRF attacks in some browsers. This module attempts to fully conform to the CORS spec, while allowing additional flexibility in the values specified for the of the headers. The module also ensures that the response contains a Vary: Origin header to avoid potential issues with caches. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/www/p5-Plack-Middleware-CrossOrigin/DESCR \ pkgsrc/www/p5-Plack-Middleware-CrossOrigin/Makefile \ pkgsrc/www/p5-Plack-Middleware-CrossOrigin/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1676301716173410 Content-Disposition: inline Content-Length: 2305 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/www/p5-Plack-Middleware-CrossOrigin/DESCR diff -u /dev/null pkgsrc/www/p5-Plack-Middleware-CrossOrigin/DESCR:1.1 --- /dev/null Mon Feb 13 15:21:56 2023 +++ pkgsrc/www/p5-Plack-Middleware-CrossOrigin/DESCR Mon Feb 13 15:21:55 2023 @@ -0,0 +1,10 @@ +Adds Cross Origin Request Sharing headers used by modern browsers +to allow XMLHttpRequest to work across domains. This module will +also help protect against CSRF attacks in some browsers. + +This module attempts to fully conform to the CORS spec, while +allowing additional flexibility in the values specified for the of +the headers. + +The module also ensures that the response contains a Vary: Origin +header to avoid potential issues with caches. Index: pkgsrc/www/p5-Plack-Middleware-CrossOrigin/Makefile diff -u /dev/null pkgsrc/www/p5-Plack-Middleware-CrossOrigin/Makefile:1.1 --- /dev/null Mon Feb 13 15:21:56 2023 +++ pkgsrc/www/p5-Plack-Middleware-CrossOrigin/Makefile Mon Feb 13 15:21:55 2023 @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2023/02/13 15:21:55 he Exp $ + +DISTNAME= Plack-Middleware-CrossOrigin-0.014 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Plack/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://metacpan.org/pod/Plack::Middleware::CrossOrigin +COMMENT= Adds headers to allow Cross-Origin Resource Sharing +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Plack-[0-9]*:../../www/p5-Plack + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Plack/Middleware/CrossOrigin/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/www/p5-Plack-Middleware-CrossOrigin/distinfo diff -u /dev/null pkgsrc/www/p5-Plack-Middleware-CrossOrigin/distinfo:1.1 --- /dev/null Mon Feb 13 15:21:56 2023 +++ pkgsrc/www/p5-Plack-Middleware-CrossOrigin/distinfo Mon Feb 13 15:21:55 2023 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2023/02/13 15:21:55 he Exp $ + +BLAKE2s (Plack-Middleware-CrossOrigin-0.014.tar.gz) = 9362b723c25e8c729307cba79bbd29a15223aa0633028504da66b973cf79c8ae +SHA512 (Plack-Middleware-CrossOrigin-0.014.tar.gz) = 2d945aa894b047e92603ef2820e0f942ec6bb538aa48d9637144d0a1b7debc92c19ccf64be20d46696ed1df0bff292732c29fdc70ff75d6800def2f39a900ea3 +Size (Plack-Middleware-CrossOrigin-0.014.tar.gz) = 17765 bytes --_----------=_1676301716173410--