From owner-svn-ports-head@freebsd.org Wed Jan 4 21:19:46 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD23CC9F72B; Wed, 4 Jan 2017 21:19:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 B6457137F; Wed, 4 Jan 2017 21:19:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v04LJjmY096886; Wed, 4 Jan 2017 21:19:45 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v04LJjpX096882; Wed, 4 Jan 2017 21:19:45 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201701042119.v04LJjpX096882@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 4 Jan 2017 21:19:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430595 - in head/sysutils: puppet38 puppet38/files puppet4 puppet4/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2017 21:19:47 -0000 Author: swills Date: Wed Jan 4 21:19:45 2017 New Revision: 430595 URL: https://svnweb.freebsd.org/changeset/ports/430595 Log: sysutils/puppet{38,4}: fix path to daemontools'es commands PR: 208628 Submitted by: Alexey Approved by: Zach Leslie (maintainer of sysutils/puppet4) Added: head/sysutils/puppet38/files/patch-lib_puppet_provider_service_daemontools.rb (contents, props changed) head/sysutils/puppet4/files/patch-lib_puppet_provider_service_daemontools.rb (contents, props changed) Modified: head/sysutils/puppet38/Makefile head/sysutils/puppet4/Makefile Modified: head/sysutils/puppet38/Makefile ============================================================================== --- head/sysutils/puppet38/Makefile Wed Jan 4 20:51:46 2017 (r430594) +++ head/sysutils/puppet38/Makefile Wed Jan 4 21:19:45 2017 (r430595) @@ -3,6 +3,7 @@ PORTNAME= puppet PORTVERSION= 3.8.7 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/puppet/ PKGNAMESUFFIX= 38 Added: head/sysutils/puppet38/files/patch-lib_puppet_provider_service_daemontools.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/puppet38/files/patch-lib_puppet_provider_service_daemontools.rb Wed Jan 4 21:19:45 2017 (r430595) @@ -0,0 +1,20 @@ +--- lib/puppet/provider/service/daemontools.rb.orig 2016-04-25 18:52:09 UTC ++++ lib/puppet/provider/service/daemontools.rb +@@ -39,7 +39,7 @@ Puppet::Type.type(:service).provide :dae + + EOT + +- commands :svc => "/usr/bin/svc", :svstat => "/usr/bin/svstat" ++ commands :svc => "%%PREFIX%%/bin/svc", :svstat => "%%PREFIX%%/bin/svstat" + + class << self + attr_writer :defpath +@@ -88,7 +88,7 @@ Puppet::Type.type(:service).provide :dae + # find the service dir on this node + def servicedir + unless @servicedir +- ["/service", "/etc/service","/var/lib/svscan"].each do |path| ++ ["/var/service", "/etc/service","/var/lib/svscan"].each do |path| + if Puppet::FileSystem.exist?(path) + @servicedir = path + break Modified: head/sysutils/puppet4/Makefile ============================================================================== --- head/sysutils/puppet4/Makefile Wed Jan 4 20:51:46 2017 (r430594) +++ head/sysutils/puppet4/Makefile Wed Jan 4 21:19:45 2017 (r430595) @@ -2,6 +2,7 @@ PORTNAME= puppet PORTVERSION= 4.6.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/puppet/ PKGNAMESUFFIX= 4 Added: head/sysutils/puppet4/files/patch-lib_puppet_provider_service_daemontools.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/puppet4/files/patch-lib_puppet_provider_service_daemontools.rb Wed Jan 4 21:19:45 2017 (r430595) @@ -0,0 +1,20 @@ +--- lib/puppet/provider/service/daemontools.rb.orig 2016-04-25 18:52:09 UTC ++++ lib/puppet/provider/service/daemontools.rb +@@ -39,7 +39,7 @@ Puppet::Type.type(:service).provide :dae + + EOT + +- commands :svc => "/usr/bin/svc", :svstat => "/usr/bin/svstat" ++ commands :svc => "%%PREFIX%%/bin/svc", :svstat => "%%PREFIX%%/bin/svstat" + + class << self + attr_writer :defpath +@@ -88,7 +88,7 @@ Puppet::Type.type(:service).provide :dae + # find the service dir on this node + def servicedir + unless @servicedir +- ["/service", "/etc/service","/var/lib/svscan"].each do |path| ++ ["/var/service", "/etc/service","/var/lib/svscan"].each do |path| + if Puppet::FileSystem.exist?(path) + @servicedir = path + break