This should fix the XSS issue that Sevan recently notified about:
http://openwall.com/lists/oss-security/2015/04/07/11

Tested on amd64.  I'll be committing this tomorrow unless I hear
objections.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/ruby-redcarpet/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile    11 Oct 2014 19:54:47 -0000      1.10
+++ Makefile    14 May 2015 23:13:12 -0000
@@ -2,8 +2,7 @@
 
 COMMENT=       fast, safe and extensible Markdown to (X)HTML parser
 
-DISTNAME=      redcarpet-2.2.2
-REVISION =     3
+DISTNAME=      redcarpet-3.2.3
 
 CATEGORIES=    textproc
 
@@ -13,5 +12,8 @@ PERMIT_PACKAGE_CDROM= Yes
 MODULES=       lang/ruby
 
 CONFIGURE_STYLE=ruby gem ext
+
+MODRUBY_TEST=  testrb
+MODRUBY_TEST_TARGET=   test/*_test.rb
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/ruby-redcarpet/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    24 Jan 2013 21:24:31 -0000      1.3
+++ distinfo    14 May 2015 23:09:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (redcarpet-2.2.2.gem) = 7a1wPKSzwfdEytFKgvKG5h/qcVV1fhxZ6Hcno7iPYbg=
-SIZE (redcarpet-2.2.2.gem) = 47104
+SHA256 (redcarpet-3.2.3.gem) = Fcj9Pc850AEQLy7CtiPZZiV0Ez3xTwHER8QsTDnK31A=
+SIZE (redcarpet-3.2.3.gem) = 54272
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/ruby-redcarpet/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   11 Jan 2014 22:51:03 -0000      1.4
+++ pkg/PLIST   14 May 2015 23:09:33 -0000
@@ -4,7 +4,6 @@ ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
 ${GEM_LIB}/gems/${DISTNAME}/COPYING
 ${GEM_LIB}/gems/${DISTNAME}/Gemfile
-${GEM_LIB}/gems/${DISTNAME}/Gemfile.lock
 ${GEM_LIB}/gems/${DISTNAME}/README.markdown
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile
 ${GEM_LIB}/gems/${DISTNAME}/bin/
@@ -18,5 +17,17 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/redcarpe
 ${GEM_LIB}/gems/${DISTNAME}/lib/redcarpet/render_strip.rb
 ${GEM_LIB}/gems/${DISTNAME}/redcarpet.gemspec
 ${GEM_LIB}/gems/${DISTNAME}/test/
-${GEM_LIB}/gems/${DISTNAME}/test/redcarpet_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/benchmark.rb
+${GEM_LIB}/gems/${DISTNAME}/test/custom_render_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/html5_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/html_render_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/html_toc_render_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/markdown_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/pathological_inputs_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/redcarpet_compat_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/safe_render_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/smarty_html_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/smarty_pants_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/stripdown_render_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec

Reply via email to