pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ruby-padrino-contrib



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Dec 28 14:39:55 UTC 2021

Modified Files:
        pkgsrc/www/ruby-padrino-contrib: Makefile distinfo
Added Files:
        pkgsrc/www/ruby-padrino-contrib/patches:
            patch-lib_padrino-contrib_helpers_breadcrumbs.rb

Log Message:
www/ruby-padrino-contrib: fix CVE-2019-16145

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-padrino-contrib/Makefile \
    pkgsrc/www/ruby-padrino-contrib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb

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

Modified files:

Index: pkgsrc/www/ruby-padrino-contrib/Makefile
diff -u pkgsrc/www/ruby-padrino-contrib/Makefile:1.5 pkgsrc/www/ruby-padrino-contrib/Makefile:1.6
--- pkgsrc/www/ruby-padrino-contrib/Makefile:1.5        Tue Sep 19 16:36:07 2017
+++ pkgsrc/www/ruby-padrino-contrib/Makefile    Tue Dec 28 14:39:55 2021
@@ -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
Index: pkgsrc/www/ruby-padrino-contrib/distinfo
diff -u pkgsrc/www/ruby-padrino-contrib/distinfo:1.5 pkgsrc/www/ruby-padrino-contrib/distinfo:1.6
--- pkgsrc/www/ruby-padrino-contrib/distinfo:1.5        Tue Oct 26 11:31:01 2021
+++ pkgsrc/www/ruby-padrino-contrib/distinfo    Tue Dec 28 14:39:55 2021
@@ -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

Added files:

Index: pkgsrc/www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb
diff -u /dev/null pkgsrc/www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb:1.1
--- /dev/null   Tue Dec 28 14:39:55 2021
+++ pkgsrc/www/ruby-padrino-contrib/patches/patch-lib_padrino-contrib_helpers_breadcrumbs.rb    Tue Dec 28 14:39:55 2021
@@ -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