Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 18:42:32 +0000
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        cy@FreeBSD.org
Subject:   ports/188147: sysutils/cfengine35: Fix upstream bug
Message-ID:  <201403311850.s2VIo0Ej008630@freefall.freebsd.org>
Resent-Message-ID: <201403311850.s2VIo0Ej008630@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188147
>Category:       ports
>Synopsis:       sysutils/cfengine35: Fix upstream bug
>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:   Mon Mar 31 18:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steven Kreuzer
>Release:        FreeBSD 9.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD clamps.exit2shell.com 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:01:40 UTC 2013
>Description:
Fix bug upstram bug 1554 and 1563 that prevents $(this.promiser) from expanding properly

Port maintainer (cy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- cfengine35-3.5.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 349786)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cfengine
 PORTVERSION=	3.5.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cfengine.com/source-code/download?file=
 
Index: files/patch-libpromises-expand.c
===================================================================
--- files/patch-libpromises-expand.c	(revision 0)
+++ files/patch-libpromises-expand.c	(working copy)
@@ -0,0 +1,10 @@
+--- libpromises/expand.c.orig	2014-03-31 18:24:39.000000000 +0000
++++ libpromises/expand.c	2014-03-31 18:25:10.000000000 +0000
+@@ -787,6 +787,7 @@
+             ScopeNewSpecial(ctx, "this", "promise_linenumber", number, DATA_TYPE_STRING);
+         }
+ 
++        ScopeNewSpecial(ctx, "this", "promiser", pp->promiser, DATA_TYPE_STRING);
+         snprintf(v, CF_MAXVARSIZE, "%d", (int) getuid());
+         ScopeNewSpecial(ctx, "this", "promiser_uid", v, DATA_TYPE_INT);
+         snprintf(v, CF_MAXVARSIZE, "%d", (int) getgid());

Property changes on: files/patch-libpromises-expand.c
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- cfengine35-3.5.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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