pkgsrc-WIP-changes archive

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

ruby-rack-protection1: Import ruby-rack-protection-1.5.5 as wip/ruby-rack-protection1



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Mon Dec 23 23:47:43 2019 +0900
Changeset:	376c2441d99f16b984aa77605ca85e9bbfe19b93

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

Log Message:
ruby-rack-protection1: Import ruby-rack-protection-1.5.5 as wip/ruby-rack-protection1

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=376c2441d99f16b984aa77605ca85e9bbfe19b93

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

diffstat:
 Makefile                       |  1 +
 ruby-rack-protection1/DESCR    |  6 ++++++
 ruby-rack-protection1/Makefile | 15 +++++++++++++++
 ruby-rack-protection1/PLIST    | 40 ++++++++++++++++++++++++++++++++++++++++
 ruby-rack-protection1/distinfo |  6 ++++++
 5 files changed, 68 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9831bb59de..b1b8f15980 100644
--- a/Makefile
+++ b/Makefile
@@ -4351,6 +4351,7 @@ SUBDIR+=	ruby-net-http-pipeline
 SUBDIR+=	ruby-passenger
 SUBDIR+=	ruby-pusher-client
 SUBDIR+=	ruby-rack-flash3
+SUBDIR+=	ruby-rack-protection1
 SUBDIR+=	ruby-rake-compiler
 SUBDIR+=	ruby-redmine
 SUBDIR+=	ruby-review
diff --git a/ruby-rack-protection1/DESCR b/ruby-rack-protection1/DESCR
new file mode 100644
index 0000000000..8bb7bc76b3
--- /dev/null
+++ b/ruby-rack-protection1/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-protection1/Makefile b/ruby-rack-protection1/Makefile
new file mode 100644
index 0000000000..d630bd2262
--- /dev/null
+++ b/ruby-rack-protection1/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.14 2018/09/23 17:06:28 taca Exp $
+
+DISTNAME=	rack-protection-1.5.5
+PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/rack-protection/rack-protection1/}
+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}-rack16>=0:../../www/ruby-rack16
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ruby-rack-protection1/PLIST b/ruby-rack-protection1/PLIST
new file mode 100644
index 0000000000..075ff2e806
--- /dev/null
+++ b/ruby-rack-protection1/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD$
+${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/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/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/base_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/http_origin_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
+@pkgdir lib/ruby/gems/2.6.0/extensions
+@pkgdir lib/ruby/gems/2.6.0/build_info
diff --git a/ruby-rack-protection1/distinfo b/ruby-rack-protection1/distinfo
new file mode 100644
index 0000000000..fa9adbe010
--- /dev/null
+++ b/ruby-rack-protection1/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.11 2018/09/23 17:06:28 taca Exp $
+
+SHA1 (rack-protection-1.5.5.gem) = f80ea6672253a90fa031db0c1e2e1fe056582118
+RMD160 (rack-protection-1.5.5.gem) = 8e5cc0140bfe1d6a447c710c1b2fe239c268a2e6
+SHA512 (rack-protection-1.5.5.gem) = c4066a50771247fc89d4ddee44ff87e40a24bad95e914ed2f72cbf9c45152e67e51d2ccc7d1725ade637296a080b06f304157a1a024613a97595b144e03e2e70
+Size (rack-protection-1.5.5.gem) = 18432 bytes


Home | Main Index | Thread Index | Old Index