From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 15 22:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3C533B1 for ; Tue, 15 Apr 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 899D51556 for ; Tue, 15 Apr 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3FMU04V041822 for ; Tue, 15 Apr 2014 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3FMU0bA041820; Tue, 15 Apr 2014 22:30:00 GMT (envelope-from gnats) Resent-Date: Tue, 15 Apr 2014 22:30:00 GMT Resent-Message-Id: <201404152230.s3FMU0bA041820@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mathieu Arnold Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD2C3321 for ; Tue, 15 Apr 2014 22:23:29 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 708671511 for ; Tue, 15 Apr 2014 22:23:28 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 90B83BDC82 for ; Wed, 16 Apr 2014 00:23:26 +0200 (CEST) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 6CFF6BDC78 for ; Wed, 16 Apr 2014 00:23:26 +0200 (CEST) Received: from aragorn.in.absolight.net (aragorn.in.absolight.net [79.143.241.225]) by gw.in.absolight.net (Postfix) with ESMTP id CCC886119 for ; Wed, 16 Apr 2014 00:23:25 +0200 (CEST) Received: by aragorn.in.absolight.net (Postfix, from userid 1000) id 777FB14269E; Wed, 16 Apr 2014 00:23:23 +0200 (CEST) Message-Id: <20140415222323.777FB14269E@aragorn.in.absolight.net> Date: Wed, 16 Apr 2014 00:23:23 +0200 (CEST) From: Mathieu Arnold To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/188675: [PATCH] sysutils/puppet: Silence ruby19+ warning X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 22:30:00 -0000 >Number: 188675 >Category: ports >Synopsis: [PATCH] sysutils/puppet: Silence ruby19+ warning >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 15 22:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 10.0-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC >Description: Starting with ruby 1.9.2, setting a class variable from the class emmits a warning: /usr/local/lib/ruby/site_ruby/1.9/puppet/provider/package/freebsd.rb:18: warning: class variable access from toplevel /usr/local/lib/ruby/site_ruby/1.9/puppet/provider/package/freebsd.rb:19: warning: class variable access from toplevel This is the way it is silenced (it is silly, yes, but it is how it is.) Generated with FreeBSD Port Tools 1.01 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- puppet-3.4.3.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 351369) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= puppet PORTVERSION= 3.4.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/puppet/ Index: files/optpatch-package_origin =================================================================== --- files/optpatch-package_origin (revision 351369) +++ files/optpatch-package_origin (working copy) @@ -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. --- puppet-3.4.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: