Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 13:45:10 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351385 - in head/sysutils/puppet: . files
Message-ID:  <201404161345.s3GDjAZi043049@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Apr 16 13:45:10 2014
New Revision: 351385
URL: http://svnweb.freebsd.org/changeset/ports/351385
QAT: https://qat.redports.org/buildarchive/r351385/

Log:
  - Fix warning in pkg provider
  
  PR:		ports/184005 [1]
  PR:		ports/188675 [2]
  Submitted by:	Tristan Smith <tsmith@palantir.com> [1]
  Submitted by:	Mathieu Arnold <mat@freebsd.org> [2]

Modified:
  head/sysutils/puppet/Makefile
  head/sysutils/puppet/files/optpatch-package_origin

Modified: head/sysutils/puppet/Makefile
==============================================================================
--- head/sysutils/puppet/Makefile	Wed Apr 16 13:40:14 2014	(r351384)
+++ head/sysutils/puppet/Makefile	Wed Apr 16 13:45:10 2014	(r351385)
@@ -3,6 +3,7 @@
 
 PORTNAME=	puppet
 PORTVERSION=	3.4.3
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://downloads.puppetlabs.com/puppet/
 

Modified: head/sysutils/puppet/files/optpatch-package_origin
==============================================================================
--- head/sysutils/puppet/files/optpatch-package_origin	Wed Apr 16 13:40:14 2014	(r351384)
+++ head/sysutils/puppet/files/optpatch-package_origin	Wed Apr 16 13:45:10 2014	(r351385)
@@ -30,8 +30,8 @@
  
 -  def self.listcmd
 -    command(:pkginfo)
-+  @@lock = Mutex.new
-+  @@ports_index = nil
++  class_variable_set(:@@lock, Mutex.new)
++  class_variable_set(:@@ports_index, nil)
 +
 +  # fix bug in URI::FTP merge method that tries to set typecode
 +  # even when other is a string.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404161345.s3GDjAZi043049>