svn commit: r432525 - in head/databases/puppetdb: . files

Steve Wills swills at FreeBSD.org
Thu Jan 26 17:54:50 UTC 2017


Author: swills
Date: Thu Jan 26 17:54:48 2017
New Revision: 432525
URL: https://svnweb.freebsd.org/changeset/ports/432525

Log:
  databases/puppetdb: broken RUBY_VERSION regex
  
  PR:		208814
  Submitted by:	Fabiano Sidler <fabianosidler at swissonline.ch>
  Approved by:	Zach Leslie <freebsd at zleslie.info> (maintainer)

Added:
  head/databases/puppetdb/files/patch-ext_master_lib_puppet_util_puppetdb_char__encoding.rb   (contents, props changed)
Modified:
  head/databases/puppetdb/Makefile

Modified: head/databases/puppetdb/Makefile
==============================================================================
--- head/databases/puppetdb/Makefile	Thu Jan 26 17:45:43 2017	(r432524)
+++ head/databases/puppetdb/Makefile	Thu Jan 26 17:54:48 2017	(r432525)
@@ -2,7 +2,7 @@
 
 PORTNAME=	puppetdb
 PORTVERSION=	2.3.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases java
 MASTER_SITES=	http://downloads.puppetlabs.com/puppetdb/
 

Added: head/databases/puppetdb/files/patch-ext_master_lib_puppet_util_puppetdb_char__encoding.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/puppetdb/files/patch-ext_master_lib_puppet_util_puppetdb_char__encoding.rb	Thu Jan 26 17:54:48 2017	(r432525)
@@ -0,0 +1,11 @@
+--- ext/master/lib/puppet/util/puppetdb/char_encoding.rb.orig	2015-10-13 22:23:24 UTC
++++ ext/master/lib/puppet/util/puppetdb/char_encoding.rb
+@@ -33,7 +33,7 @@ module CharEncoding
+ 
+ 
+   def self.utf8_string(str)
+-    if RUBY_VERSION =~ /1.8/
++    if RUBY_VERSION =~ /^1\.8/
+       # Ruby 1.8 doesn't have String#encode and related methods, and there
+       #  appears to be a bug in iconv that will interpret some byte sequences
+       #  as 6-byte characters.  Thus, we are forced to resort to some unfortunate


More information about the svn-ports-all mailing list