pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-rack-protection Update ruby-rack-protection t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed5eb49682a7
branches:  trunk
changeset: 363195:ed5eb49682a7
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 04 15:18:22 2017 +0000

description:
Update ruby-rack-protection to 2.0.0.

No its own changes but here is related changes from Sinatra's changes.

 * Modernize Rack::Protection::ContentSecurityPolicy with CSP Level 2 and 3
   Directives #1202 by Glenn Rempe
 * Adds preload option to Rack:Protection:StrictTransport #1209 by Ed Robinson
 * rack-protection: Bundle StrictTransport, CookieTossing, and CSP #1267 by
   Mike Pastore

diffstat:

 www/ruby-rack-protection/Makefile |   6 +++---
 www/ruby-rack-protection/PLIST    |  21 +++++----------------
 www/ruby-rack-protection/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 24 deletions(-)

diffs (80 lines):

diff -r 2fb540e7a066 -r ed5eb49682a7 www/ruby-rack-protection/Makefile
--- a/www/ruby-rack-protection/Makefile Sun Jun 04 15:15:39 2017 +0000
+++ b/www/ruby-rack-protection/Makefile Sun Jun 04 15:18:22 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2015/03/13 17:26:00 taca Exp $
+# $NetBSD: Makefile,v 1.8 2017/06/04 15:18:22 taca Exp $
 
-DISTNAME=      rack-protection-1.5.3
+DISTNAME=      rack-protection-2.0.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,7 @@
 COMMENT=       Protection for against typical web attacks for Rack application
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-rack>=0:../../www/ruby-rack
+DEPENDS+=      ${RUBY_PKGPREFIX}-rack>=2.0:../../www/ruby-rack
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2fb540e7a066 -r ed5eb49682a7 www/ruby-rack-protection/PLIST
--- a/www/ruby-rack-protection/PLIST    Sun Jun 04 15:15:39 2017 +0000
+++ b/www/ruby-rack-protection/PLIST    Sun Jun 04 15:18:22 2017 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2014/03/14 19:24:32 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/06/04 15:18:22 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/License
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
@@ -7,6 +8,8 @@
 ${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
@@ -17,22 +20,8 @@
 ${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_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
diff -r 2fb540e7a066 -r ed5eb49682a7 www/ruby-rack-protection/distinfo
--- a/www/ruby-rack-protection/distinfo Sun Jun 04 15:15:39 2017 +0000
+++ b/www/ruby-rack-protection/distinfo Sun Jun 04 15:18:22 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 02:47:36 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/06/04 15:18:22 taca Exp $
 
-SHA1 (rack-protection-1.5.3.gem) = 1c28529c1d7376c61faed80f3d3297905a14c2b3
-RMD160 (rack-protection-1.5.3.gem) = 8c6e7d33a7381bf2dffd28bca7d6d5074e20e932
-SHA512 (rack-protection-1.5.3.gem) = 9f94f9f25197c3f8227f5c9c9fd2e896e35bfc08d4a20f4dded9c42772f348d16dceda6916429833b498b29c4dbba4dbb31b1a3cf90de597fb6df2de145d655a
-Size (rack-protection-1.5.3.gem) = 18432 bytes
+SHA1 (rack-protection-2.0.0.gem) = f520b8f735a2752d4c947dd028cff98567cf7d6d
+RMD160 (rack-protection-2.0.0.gem) = 93bb6c3423989fa26eee3656ef2e4d0e0a1376fe
+SHA512 (rack-protection-2.0.0.gem) = cce6a8a64c502e4cfec47ae3d76e71aef42b1eec5aa4802a6c443fcb7a8971a99ad9a5b34fea7ae878630faba10d4f5bde4d9a3eb66f63600fcaf02d9ecc0c2e
+Size (rack-protection-2.0.0.gem) = 15872 bytes



Home | Main Index | Thread Index | Old Index