From sevan@newbie.thingamajig-systems.co.uk  Sun Jan 24 08:26:58 2010
Return-Path: <sevan@newbie.thingamajig-systems.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 83910106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Jan 2010 08:26:58 +0000 (UTC)
	(envelope-from sevan@newbie.thingamajig-systems.co.uk)
Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103])
	by mx1.freebsd.org (Postfix) with ESMTP id ECE9F8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Jan 2010 08:26:57 +0000 (UTC)
Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1])
	by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0O8NOue009171;
	Sun, 24 Jan 2010 08:23:24 GMT
	(envelope-from sevan@newbie.thingamajig-systems.co.uk)
Received: (from root@localhost)
	by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0O8NNwo009170;
	Sun, 24 Jan 2010 08:23:23 GMT
	(envelope-from sevan)
Message-Id: <201001240823.o0O8NNwo009170@newbie.thingamajig-systems.co.uk>
Date: Sun, 24 Jan 2010 08:23:23 GMT
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc: meritus@innervision.pl
Subject: [PATCH] net/WowzaMediaServerPro: use $SUB_FILES to update pkg-message 
X-Send-Pr-Version: 3.113
X-GNATS-Notify: meritus@innervision.pl

>Number:         143153
>Category:       ports
>Synopsis:       [PATCH] net/WowzaMediaServerPro: use $SUB_FILES to update pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 24 08:30:02 UTC 2010
>Closed-Date:    Sun Jan 31 01:42:01 UTC 2010
>Last-Modified:  Sun Jan 31 01:42:01 UTC 2010
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:
instead of invoking sed manually

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (meritus@innervision.pl) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- WowzaMediaServerPro-1.7.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/wowzamediaserverpro/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	11 Oct 2009 22:32:19 -0000	1.2
+++ Makefile	24 Jan 2010 08:22:19 -0000
@@ -40,7 +40,9 @@
 
 USE_RC_SUBR=	wowza
 
-SUB_LIST=	STDERR_LOG=${STDERR_LOG} \
+SUB_FILES=	pkg-message
+SUB_LIST=	APP_HOME=${APP_HOME} \
+		STDERR_LOG=${STDERR_LOG} \
 		STDOUT_LOG=${STDOUT_LOG} \
 		USER=${WOWZA_USER}
 
@@ -102,7 +104,7 @@
 
 post-install:
 .if !defined(BATCH)
-	@${SED} -e 's|%%APP_HOME%%|${APP_HOME}|' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 .endif
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	11 Oct 2009 12:37:09 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-
-*******************************************************************************
-
-In order to run this software, You must obtain Licence.
-
-Visit http://www.wowzamedia.com/store.html for instructions
-
-Save key in file  %%APP_HOME%%/conf/Server.license
-
-*******************************************************************************
-
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	24 Jan 2010 08:22:19 -0000
@@ -0,0 +1,11 @@
+
+*******************************************************************************
+
+In order to run this software, You must obtain Licence.
+
+Visit http://www.wowzamedia.com/store.html for instructions
+
+Save key in file  %%APP_HOME%%/conf/Server.license
+
+*******************************************************************************
+
--- WowzaMediaServerPro-1.7.2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jan 24 08:30:26 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: meritus@innervision.pl
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/143153: [PATCH] net/WowzaMediaServerPro: use $SUB_FILES to update pkg-message
Date: Sun, 24 Jan 2010 08:30:22 UT

 Maintainer of net/wowzamediaserverpro,
 
 Please note that PR ports/143153 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/143153
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Piotr Rybicki <piotr.rybicki@innervision.pl>
To: bug-followup@FreeBSD.org
Cc: meritus@innervision.pl
Subject: Re: ports/143153: [PATCH] net/WowzaMediaServerPro: use $SUB_FILES
 to update pkg-message
Date: Sun, 24 Jan 2010 11:54:23 +0100

 Sure thing - please commit
 
 Regards
 
 -- 
 Piotr Rybicki
 InnerVision Sp. z o.o.
 http://www.innervision.pl
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 24 22:31:51 UTC 2010 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143153 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun Jan 31 01:42:00 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143153 
>Unformatted:
