pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ruby-rack-protection4: Import ruby-rack-protection-4.0.0 as wip/ruby-rack-protection4
Module Name: pkgsrc-wip
Committed By: Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By: steleto
Date: Sat Aug 10 18:19:02 2024 +0900
Changeset: 3d79410ecc2f28dda565a7cc8d2384240919bd2c
Modified Files:
Makefile
Added Files:
ruby-rack-protection4/DESCR
ruby-rack-protection4/Makefile
ruby-rack-protection4/PLIST
ruby-rack-protection4/distinfo
Log Message:
ruby-rack-protection4: Import ruby-rack-protection-4.0.0 as wip/ruby-rack-protection4
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=3d79410ecc2f28dda565a7cc8d2384240919bd2c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
ruby-rack-protection4/DESCR | 6 ++++++
ruby-rack-protection4/Makefile | 15 +++++++++++++++
ruby-rack-protection4/PLIST | 31 +++++++++++++++++++++++++++++++
ruby-rack-protection4/distinfo | 5 +++++
5 files changed, 58 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 3ddf43c721..92c705c6de 100644
--- a/Makefile
+++ b/Makefile
@@ -5052,6 +5052,7 @@ SUBDIR+= ruby-pusher-client
SUBDIR+= ruby-rack-flash3
SUBDIR+= ruby-rack-protection1
SUBDIR+= ruby-rack-protection2
+SUBDIR+= ruby-rack-protection4
SUBDIR+= ruby-rake-compiler
SUBDIR+= ruby-rbpdf
SUBDIR+= ruby-rbpdf-font
diff --git a/ruby-rack-protection4/DESCR b/ruby-rack-protection4/DESCR
new file mode 100644
index 0000000000..8bb7bc76b3
--- /dev/null
+++ b/ruby-rack-protection4/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-protection4/Makefile b/ruby-rack-protection4/Makefile
new file mode 100644
index 0000000000..fb0bcf5f71
--- /dev/null
+++ b/ruby-rack-protection4/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME= rack-protection-4.0.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/rack-protection/rack-protection4/}
+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}-rack>=3.0.0<4:../../www/ruby-rack
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ruby-rack-protection4/PLIST b/ruby-rack-protection4/PLIST
new file mode 100644
index 0000000000..40b4f71ffe
--- /dev/null
+++ b/ruby-rack-protection4/PLIST
@@ -0,0 +1,31 @@
+@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}/lib/rack_protection.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-protection4/distinfo b/ruby-rack-protection4/distinfo
new file mode 100644
index 0000000000..1484616425
--- /dev/null
+++ b/ruby-rack-protection4/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (rack-protection-4.0.0.gem) = 92478345e41f45dab7a9a592c81f410cf9a653b0bdfe572cab44312c9ad8556e
+SHA512 (rack-protection-4.0.0.gem) = 5eb33e4829e5e0d320a14d169fd007111641e388f2b6e5f8de98d45dfd1e6705cdb4e1ce29524ebb6fb5afe14079b8e5370c9c389cb2befca4ca508da73165b3
+Size (rack-protection-4.0.0.gem) = 17408 bytes
Home |
Main Index |
Thread Index |
Old Index