Importing www/ruby-rack-protection pacakge version 1.1.4.
Rack::Protection You should use protection! This gem protects against typical web attacks. Should work for all Rack apps, including Rails.
This commit is contained in:
parent
de1e4c346b
commit
ad2ee011bb
4 changed files with 60 additions and 0 deletions
6
www/ruby-rack-protection/DESCR
Normal file
6
www/ruby-rack-protection/DESCR
Normal file
|
@ -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.
|
14
www/ruby-rack-protection/Makefile
Normal file
14
www/ruby-rack-protection/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2011/12/16 15:28:34 taca Exp $
|
||||
|
||||
DISTNAME= rack-protection-1.1.4
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://github.com/rkh/rack-protection
|
||||
COMMENT= Protection for against typical web attacks for Rack application
|
||||
LICENSE= mit
|
||||
|
||||
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=0:../../www/ruby-rack
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
35
www/ruby-rack-protection/PLIST
Normal file
35
www/ruby-rack-protection/PLIST
Normal file
|
@ -0,0 +1,35 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/16 15:28:34 taca Exp $
|
||||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${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/escaped_params.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/form_token.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/frame_options.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/remote_referrer.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/remote_token.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/session_hijacking.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/version.rb
|
||||
${GEM_LIBDIR}/lib/rack/protection/xss_header.rb
|
||||
${GEM_LIBDIR}/rack-protection.gemspec
|
||||
${GEM_LIBDIR}/spec/authenticity_token_spec.rb
|
||||
${GEM_LIBDIR}/spec/escaped_params_spec.rb
|
||||
${GEM_LIBDIR}/spec/form_token_spec.rb
|
||||
${GEM_LIBDIR}/spec/frame_options_spec.rb
|
||||
${GEM_LIBDIR}/spec/ip_spoofing_spec.rb
|
||||
${GEM_LIBDIR}/spec/json_csrf_spec.rb
|
||||
${GEM_LIBDIR}/spec/path_traversal_spec.rb
|
||||
${GEM_LIBDIR}/spec/protection_spec.rb
|
||||
${GEM_LIBDIR}/spec/remote_referrer_spec.rb
|
||||
${GEM_LIBDIR}/spec/remote_token_spec.rb
|
||||
${GEM_LIBDIR}/spec/session_hijacking_spec.rb
|
||||
${GEM_LIBDIR}/spec/spec_helper.rb
|
||||
${GEM_LIBDIR}/spec/xss_header_spec.rb
|
||||
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|
5
www/ruby-rack-protection/distinfo
Normal file
5
www/ruby-rack-protection/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2011/12/16 15:28:34 taca Exp $
|
||||
|
||||
SHA1 (rack-protection-1.1.4.gem) = 9056591c69715c4aea5ed806df6661789ea374e9
|
||||
RMD160 (rack-protection-1.1.4.gem) = ee4fbbafc8ce87152235ddc3206483bffaa5f1e6
|
||||
Size (rack-protection-1.1.4.gem) = 13312 bytes
|
Loading…
Reference in a new issue