pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/p5-Plack-Middleware-CrossOrigin



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.

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@localhost
+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



Home | Main Index | Thread Index | Old Index