From aakuusta@gmail.com  Sat Sep 24 08:32:28 2011
Return-Path: <aakuusta@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 43D4E106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Sep 2011 08:32:28 +0000 (UTC)
	(envelope-from aakuusta@gmail.com)
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44])
	by mx1.freebsd.org (Postfix) with ESMTP id 1FD448FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Sep 2011 08:32:27 +0000 (UTC)
Received: by pzk32 with SMTP id 32so18913163pzk.3
        for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Sep 2011 01:32:27 -0700 (PDT)
Received: by 10.68.27.8 with SMTP id p8mr8378521pbg.85.1316853147597;
        Sat, 24 Sep 2011 01:32:27 -0700 (PDT)
Received: from nil (lumumba.torservers.net. [77.247.181.163])
        by mx.google.com with ESMTPS id 2sm31760142pbu.1.2011.09.24.01.32.17
        (version=SSLv3 cipher=OTHER);
        Sat, 24 Sep 2011 01:32:26 -0700 (PDT)
Message-Id: <86obya4a07.fsf@gmail.com>
Date: Sat, 24 Sep 2011 12:31:20 +0400
From: h h <aakuusta@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang

>Number:         160969
>Category:       ports
>Synopsis:       [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 24 08:40:01 UTC 2011
>Closed-Date:    Thu Mar 01 02:47:35 UTC 2012
>Last-Modified:  Thu Mar  1 02:50:10 UTC 2012
>Originator:     h h
>Release:        FreeBSD 9.0-BETA2 amd64
>Organization:
>Environment:
>Description:
Allow user to install the port with non-default ruby version.
>How-To-Repeat:
$ make install RUBY_VER=1.9
>Fix:
--- a.diff begins here ---
Index: sysutils/zfs-snapshot-mgmt/Makefile
===================================================================
RCS file: /a/.csup/ports/sysutils/zfs-snapshot-mgmt/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- sysutils/zfs-snapshot-mgmt/Makefile	11 Jan 2010 03:42:14 -0000	1.5
+++ sysutils/zfs-snapshot-mgmt/Makefile	24 Sep 2011 08:28:32 -0000
@@ -16,6 +16,7 @@ COMMENT=	Automatic ZFS snapshot manageme
 
 USE_RUBY=	yes
 RUBY_NO_BUILD_DEPENDS=	yes
+RUBY_SHEBANG_FILES=zfs-snapshot-mgmt
 
 NO_BUILD=	yes
 MAN8=		zfs-snapshot-mgmt.8
@@ -25,7 +26,6 @@ SUB_FILES=	pkg-message
 post-patch:	.SILENT
 	${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
 		-e 's|/usr/local|${PREFIX}|g' \
-		-e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \
 		{} +
 
 do-install:
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Sep 24 08:40:14 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160969 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: marius@nuenneri.ch
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/160969: [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang
Date: Sat, 24 Sep 2011 08:40:12 UT

 Maintainer of sysutils/zfs-snapshot-mgmt,
 
 Please note that PR ports/160969 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160969
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: eadler 
State-Changed-When: Sat Nov 12 02:39:47 UTC 2011 
State-Changed-Why:  
maintainer timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160969 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Wed Feb 22 04:59:00 UTC 2012 
Responsible-Changed-Why:  
committer&maintainer timeout (marius@nuenneri.ch ; 102 days) / last 
commit: 0 days ago 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160969 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Thu Mar 1 02:47:34 UTC 2012 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160969 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160969: commit references a PR
Date: Thu,  1 Mar 2012 02:47:40 +0000 (UTC)

 pgollucci    2012-03-01 02:47:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/zfs-snapshot-mgmt Makefile 
   Log:
   - Bump PORTREVISION
   - Fix ruby shebang lines
   
   PR:             ports/160969
   Submitted by:   h h <aakuusta@gmail.com>
   Approved by:    maintainer timeout (marius@nuenneri.ch ; 102 days)
   
   Revision  Changes    Path
   1.6       +3 -4      ports/sysutils/zfs-snapshot-mgmt/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
