pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-padrino-contrib www/ruby-padrino-contrib: fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fb7db26137b
branches:  trunk
changeset: 771825:7fb7db26137b
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Dec 28 14:39:55 2021 +0000

description:
www/ruby-padrino-contrib: fix CVE-2019-16145

Add fix for CVE-2019-16145 from upstream commit.

Bump PKGREVISION.

diffstat:

 www/ruby-padrino-contrib/Makefile                                                 |   3 +-
 www/ruby-padrino-contrib/distinfo                                                 |   3 +-
 www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb |  25 ++++++++++
 3 files changed, 29 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r 6e93f1c654c4 -r 7fb7db26137b www/ruby-padrino-contrib/Makefile
--- a/www/ruby-padrino-contrib/Makefile Tue Dec 28 12:04:35 2021 +0000
+++ b/www/ruby-padrino-contrib/Makefile Tue Dec 28 14:39:55 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2017/09/19 16:36:07 taca Exp $
+# $NetBSD: Makefile,v 1.6 2021/12/28 14:39:55 taca Exp $
 
 DISTNAME=      padrino-contrib-0.2.0
+PKGREVISION=   1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 6e93f1c654c4 -r 7fb7db26137b www/ruby-padrino-contrib/distinfo
--- a/www/ruby-padrino-contrib/distinfo Tue Dec 28 12:04:35 2021 +0000
+++ b/www/ruby-padrino-contrib/distinfo Tue Dec 28 14:39:55 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:31:01 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/28 14:39:55 taca Exp $
 
 BLAKE2s (padrino-contrib-0.2.0.gem) = 1ed1811b168267aafe6009ecbd47403e3a597e35637a4522aa44a3edbbcc2959
 SHA512 (padrino-contrib-0.2.0.gem) = 759191530f0dc2c5e13388617659938f07ac786eca552768ff568d4ae6cf62cc6d5c95439f9e17e351d669b62b8383bc733b6d0b34fbaf311005f6226345f276
 Size (padrino-contrib-0.2.0.gem) = 17920 bytes
+SHA1 (patch-lib_padrino-contrib_helpers_breadcrumbs.rb) = dc965d21997671bf4beaa44c925b609b733f6d36
diff -r 6e93f1c654c4 -r 7fb7db26137b www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb Tue Dec 28 14:39:55 2021 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-lib_padrino-contrib_helpers_breadcrumbs.rb,v 1.1 2021/12/28 14:39:55 taca Exp $
+
+Fix for CVE-2019-16145 from upstream commit:
+662616162265a74da5a35b55c10f85d8168fc635.
+
+--- lib/padrino-contrib/helpers/breadcrumbs.rb.orig    2021-12-28 14:30:14.586323532 +0000
++++ lib/padrino-contrib/helpers/breadcrumbs.rb
+@@ -37,7 +37,7 @@ module Padrino
+         def set_home(url, caption, options = {})
+           self.home = {
+             :url     => url.to_s,
+-            :caption => caption.to_s.humanize.html_safe,
++            :caption => caption.to_s.humanize,
+             :name    => :home,
+             :options => options
+           }
+@@ -96,7 +96,7 @@ module Padrino
+           items << {
+             :name    => name.to_sym,
+             :url     => url.to_s,
+-            :caption => caption.to_s.humanize.html_safe,
++            :caption => caption.to_s.humanize,
+             :options => options
+           }
+         end



Home | Main Index | Thread Index | Old Index