From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 11 05:20:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 760961065673 for ; Thu, 11 Aug 2011 05:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4D29D8FC14 for ; Thu, 11 Aug 2011 05:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7B5KARe039962 for ; Thu, 11 Aug 2011 05:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7B5KAqY039961; Thu, 11 Aug 2011 05:20:10 GMT (envelope-from gnats) Resent-Date: Thu, 11 Aug 2011 05:20:10 GMT Resent-Message-Id: <201108110520.p7B5KAqY039961@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, Russell Jackson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F8061065670 for ; Thu, 11 Aug 2011 05:12:52 +0000 (UTC) (envelope-from raj@fbsd.csub.edu) Received: from mh0.csub.edu (mh0.csub.edu [136.168.1.94]) by mx1.freebsd.org (Postfix) with ESMTP id 85AED8FC18 for ; Thu, 11 Aug 2011 05:12:52 +0000 (UTC) Received: from fbsd.csub.edu (fbsd.csub.edu [136.168.1.204]) by mh0.csub.edu (8.14.3/8.14.3) with ESMTP id p7B4d7xv031651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Aug 2011 21:39:07 -0700 (PDT) (envelope-from raj@fbsd.csub.edu) Received: from fbsd.csub.edu (localhost [127.0.0.1]) by fbsd.csub.edu (8.14.3/8.14.3) with ESMTP id p7B4d7vh018037 for ; Wed, 10 Aug 2011 21:39:07 -0700 (PDT) (envelope-from raj@fbsd.csub.edu) Received: (from raj@localhost) by fbsd.csub.edu (8.14.3/8.14.3/Submit) id p7B4d711018036; Wed, 10 Aug 2011 21:39:07 -0700 (PDT) (envelope-from raj) Message-Id: <201108110439.p7B4d711018036@fbsd.csub.edu> Date: Wed, 10 Aug 2011 21:39:07 -0700 (PDT) From: Russell Jackson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/159670: [maintainer-update] sysutils/puppet: update to 2.7.3rc1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Russell Jackson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2011 05:20:10 -0000 >Number: 159670 >Category: ports >Synopsis: [maintainer-update] sysutils/puppet: update to 2.7.3rc1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Aug 11 05:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Russell Jackson >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: diff --git puppet/Makefile puppet/Makefile index 014d9d6..66ab937 100644 --- puppet/Makefile +++ puppet/Makefile @@ -6,23 +6,23 @@ # PORTNAME= puppet -PORTVERSION= 2.6.7 +DISTVERSION= 2.7.3rc1 CATEGORIES= sysutils -MASTER_SITES= http://www.puppetlabs.com/downloads/puppet/ +MASTER_SITES= http://downloads.puppetlabs.com/puppet/ MAINTAINER= raj@csub.edu COMMENT= A configuration management framework written in Ruby -RUN_DEPENDS= ${RUBY_SITELIBDIR}/facter.rb:${PORTSDIR}/sysutils/facter \ - rubygem-ruby-augeas>=0:${PORTSDIR}/textproc/rubygem-augeas \ - ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv +RUN_DEPENDS= facter>=0:${PORTSDIR}/sysutils/facter \ + rubygem-ruby-augeas>=0:${PORTSDIR}/textproc/rubygem-augeas CONFLICTS= puppet-devel-[0-9]* NO_BUILD= yes USE_RUBY= yes +USE_RUBY_FEATURES= iconv USE_RC_SUBR= puppet puppetmaster -PORTDOCS= CHANGELOG README LICENSE COPYING +PORTDOCS= CHANGELOG LICENSE README.md PORTEXAMPLES= * PUPPET_USER:= puppet PUPPET_GROUP:= ${PUPPET_USER} @@ -50,7 +50,7 @@ RUN_DEPENDS+= rubygem-mongrel>=0:${PORTSDIR}/www/rubygem-mongrel .if defined(WITH_PACKAGE_ORIGIN) EXTRA_PATCHES+= ${FILESDIR}/optpatch-package_origin -RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bz2.so:${PORTSDIR}/archivers/ruby-bz2 +RUN_DEPENDS+= rubygem-bzip2>=0:${PORTSDIR}/archivers/rubygem-bzip2 .endif .include diff --git puppet/distinfo puppet/distinfo index 17dcc99..424ccaf 100644 --- puppet/distinfo +++ puppet/distinfo @@ -1,2 +1,2 @@ -SHA256 (puppet-2.6.7.tar.gz) = 90c0741f66d15716cfd76f0b8cd15f5b867056f0180ba160ce868350c6dd4ddc -SIZE (puppet-2.6.7.tar.gz) = 1530756 +SHA256 (puppet-2.7.3rc1.tar.gz) = c1d0a08114f94b727b33d18cec60232ae7b48f107fd23495706e0444c5377036 +SIZE (puppet-2.7.3rc1.tar.gz) = 1710547 diff --git puppet/files/optpatch-package_origin puppet/files/optpatch-package_origin index e1cef54..b3a678e 100644 --- puppet/files/optpatch-package_origin +++ puppet/files/optpatch-package_origin @@ -1,5 +1,5 @@ diff --git lib/puppet/provider/package/freebsd.rb lib/puppet/provider/package/freebsd.rb -index e10a20b..f36e29e 100755 +index e10a20b..7f50e10 100755 --- lib/puppet/provider/package/freebsd.rb +++ lib/puppet/provider/package/freebsd.rb @@ -1,37 +1,165 @@ @@ -11,7 +11,7 @@ index e10a20b..f36e29e 100755 - libraries." +require 'open-uri' +require 'net/ftp' -+require 'bz2' ++require 'bzip2' - commands :pkginfo => "/usr/sbin/pkg_info", - :pkgadd => "/usr/sbin/pkg_add", @@ -99,7 +99,7 @@ index e10a20b..f36e29e 100755 + Puppet.debug "Fetching INDEX: #{uri.inspect}" + begin + open(uri, "r") do |f| -+ BZ2::Reader.open(f.path) do |f| ++ Bzip2::Reader.open(f.path) do |f| + while (line = f.gets) + fields = line.split("|") + pkg_info = self.class.parse_pkg_string(fields[0]) >Release-Note: >Audit-Trail: >Unformatted: