Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 13:45:19 +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: r357033 - in head/devel/rubygem-mixlib-shellout: . files
Message-ID:  <201406081345.s58DjJCu082426@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jun  8 13:45:18 2014
New Revision: 357033
URL: http://svnweb.freebsd.org/changeset/ports/357033
QAT: https://qat.redports.org/buildarchive/r357033/

Log:
  - Fix bug which prevents chef-client to run when the terminal used to launch it
    is closed.
  
  PR:		190068
  Submitted by:	Renaud Chaput <renchap@cocoa-x.com>
  Approved by:	maintainer timeout (nickdewing@gmail.com, >2 weeks)

Added:
  head/devel/rubygem-mixlib-shellout/files/
  head/devel/rubygem-mixlib-shellout/files/patch-lib__mixlib__shellout__unix.rb   (contents, props changed)
Modified:
  head/devel/rubygem-mixlib-shellout/Makefile

Modified: head/devel/rubygem-mixlib-shellout/Makefile
==============================================================================
--- head/devel/rubygem-mixlib-shellout/Makefile	Sun Jun  8 13:25:12 2014	(r357032)
+++ head/devel/rubygem-mixlib-shellout/Makefile	Sun Jun  8 13:45:18 2014	(r357033)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mixlib-shellout
 PORTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 

Added: head/devel/rubygem-mixlib-shellout/files/patch-lib__mixlib__shellout__unix.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-mixlib-shellout/files/patch-lib__mixlib__shellout__unix.rb	Sun Jun  8 13:45:18 2014	(r357033)
@@ -0,0 +1,11 @@
+--- lib/mixlib/shellout/unix.rb.bak	2014-05-21 13:10:28.670548925 +0200
++++ lib/mixlib/shellout/unix.rb		2014-05-21 13:10:40.484660467 +0200
+@@ -222,7 +222,7 @@
+       # the ulimit based on platform.
+       def clean_parent_file_descriptors
+         # Don't clean $stdin, $stdout, $stderr, process_status_pipe.
+-        3.upto(256) do |n|
++        9.upto(256) do |n|
+           # We are checking the fd for error pipe before attempting to
+           # create a file because error pipe will auto close when we
+           # try to create a file since it's set to CLOEXEC.



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