pkgsrc-WIP-changes archive

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

ruby-rack-protection2: Import ruby-rack-protection-2.2.4 as wip/ruby-rack-protection2



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Tue Nov 7 16:49:03 2023 +0900
Changeset:	ffed138759baf55319f1ef4e3c41ea35d395635a

Modified Files:
	Makefile
Added Files:
	ruby-rack-protection2/DESCR
	ruby-rack-protection2/Makefile
	ruby-rack-protection2/PLIST
	ruby-rack-protection2/distinfo

Log Message:
ruby-rack-protection2: Import ruby-rack-protection-2.2.4 as wip/ruby-rack-protection2

Rack::Protection

You should use protection!

This gem protects against typical web attacks.
Should work for all Rack apps, including Rails.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ffed138759baf55319f1ef4e3c41ea35d395635a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                       |  1 +
 ruby-rack-protection2/DESCR    |  6 ++++++
 ruby-rack-protection2/Makefile | 15 +++++++++++++++
 ruby-rack-protection2/PLIST    | 30 ++++++++++++++++++++++++++++++
 ruby-rack-protection2/distinfo |  5 +++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 54c4e15fdc..7d5c8fb4ed 100644
--- a/Makefile
+++ b/Makefile
@@ -4925,6 +4925,7 @@ SUBDIR+=	ruby-prawn-templates
 SUBDIR+=	ruby-pusher-client
 SUBDIR+=	ruby-rack-flash3
 SUBDIR+=	ruby-rack-protection1
+SUBDIR+=	ruby-rack-protection2
 SUBDIR+=	ruby-rake-compiler
 SUBDIR+=	ruby-rbpdf
 SUBDIR+=	ruby-rbpdf-font
diff --git a/ruby-rack-protection2/DESCR b/ruby-rack-protection2/DESCR
new file mode 100644
index 0000000000..8bb7bc76b3
--- /dev/null
+++ b/ruby-rack-protection2/DESCR
@@ -0,0 +1,6 @@
+Rack::Protection
+
+You should use protection!
+
+This gem protects against typical web attacks.
+Should work for all Rack apps, including Rails.
diff --git a/ruby-rack-protection2/Makefile b/ruby-rack-protection2/Makefile
new file mode 100644
index 0000000000..066174b7ab
--- /dev/null
+++ b/ruby-rack-protection2/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME=	rack-protection-2.2.4
+PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/rack-protection/rack-protection2/}
+CATEGORIES=	www
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://sinatrarb.com/protection/
+COMMENT=	Protection for against typical web attacks for Rack application
+LICENSE=	mit
+
+DEPENDS+=	${RUBY_PKGPREFIX}-rack2>=2.2:../../www/ruby-rack2
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ruby-rack-protection2/PLIST b/ruby-rack-protection2/PLIST
new file mode 100644
index 0000000000..951a722ab2
--- /dev/null
+++ b/ruby-rack-protection2/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD$
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/License
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/rack-protection.rb
+${GEM_LIBDIR}/lib/rack/protection.rb
+${GEM_LIBDIR}/lib/rack/protection/authenticity_token.rb
+${GEM_LIBDIR}/lib/rack/protection/base.rb
+${GEM_LIBDIR}/lib/rack/protection/content_security_policy.rb
+${GEM_LIBDIR}/lib/rack/protection/cookie_tossing.rb
+${GEM_LIBDIR}/lib/rack/protection/escaped_params.rb
+${GEM_LIBDIR}/lib/rack/protection/form_token.rb
+${GEM_LIBDIR}/lib/rack/protection/frame_options.rb
+${GEM_LIBDIR}/lib/rack/protection/http_origin.rb
+${GEM_LIBDIR}/lib/rack/protection/ip_spoofing.rb
+${GEM_LIBDIR}/lib/rack/protection/json_csrf.rb
+${GEM_LIBDIR}/lib/rack/protection/path_traversal.rb
+${GEM_LIBDIR}/lib/rack/protection/referrer_policy.rb
+${GEM_LIBDIR}/lib/rack/protection/remote_referrer.rb
+${GEM_LIBDIR}/lib/rack/protection/remote_token.rb
+${GEM_LIBDIR}/lib/rack/protection/session_hijacking.rb
+${GEM_LIBDIR}/lib/rack/protection/strict_transport.rb
+${GEM_LIBDIR}/lib/rack/protection/version.rb
+${GEM_LIBDIR}/lib/rack/protection/xss_header.rb
+${GEM_LIBDIR}/rack-protection.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+@pkgdir lib/ruby/gems/3.2.0/plugins
+@pkgdir lib/ruby/gems/3.2.0/extensions
diff --git a/ruby-rack-protection2/distinfo b/ruby-rack-protection2/distinfo
new file mode 100644
index 0000000000..9b5af8c93c
--- /dev/null
+++ b/ruby-rack-protection2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (rack-protection-2.2.4.gem) = 539ec28612e11d800edf91320d9bee07f3d17d7177f02670c2cc7639661bf5d1
+SHA512 (rack-protection-2.2.4.gem) = 0b965f651f9bc9e6daeec86cce8cdc87a503e8b14afb84bdb2c6dd130cf82ce6d3f5d23c1ed8b85afb76858ade992b60340130923c14b4a2b1bf1aeabaec9267
+Size (rack-protection-2.2.4.gem) = 17920 bytes


Home | Main Index | Thread Index | Old Index