Skip site navigation (1)Skip section navigation (2)
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:   ports/143153: [PATCH] net/WowzaMediaServerPro: use $SUB_FILES to update pkg-message 
Message-ID:  <201001240823.o0O8NNwo009170@newbie.thingamajig-systems.co.uk>
Resent-Message-ID: <201001240830.o0O8U2p7000172@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 24 08:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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