ports/157159: Fix port: net/wowzamediaserverpro uses CONF_FILES internally

Chris Rees utisoft at gmail.com
Wed May 18 19:50:11 UTC 2011


>Number:         157159
>Category:       ports
>Synopsis:       Fix port: net/wowzamediaserverpro uses CONF_FILES internally
>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:   Wed May 18 19:50:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        
>Organization:
>Environment:
>Description:
As discussed on ports@ and with bapt, new variables CONF_FILES and CONF_DIRS are to be introduced to bsd.port.mk.

This causes problems in some ports, of which this is one.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/net/wowzamediaserverpro/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	29 Dec 2010 20:04:26 -0000	1.3
+++ Makefile	18 May 2011 19:04:21 -0000
@@ -30,7 +30,7 @@
 STDOUT_LOG=	${LOG_DIR}/stdout.log
 STDERR_LOG=	${LOG_DIR}/stderr.log
 
-CONF_FILES=	Application.xml MediaCasters.xml RTP.xml VHost.xml jmxremote.password \
+WMP_CONF_FILES=	Application.xml MediaCasters.xml RTP.xml VHost.xml jmxremote.password \
 		Authentication.xml MediaReaders.xml Server.xml VHosts.xml log4j.properties \
 		MP3Tags.xml MediaWriters.xml Streams.xml jmxremote.access rtp.password
 CONF_EXT=	sample
@@ -56,7 +56,7 @@
 	${SH} ${WRKDIR}/wowza-licence.sh
 
 post-patch:
-.for f in ${CONF_FILES}
+.for f in ${WMP_CONF_FILES}
 	@${MV} ${WRKSRC}/conf/${f} ${WRKSRC}/conf/${f}.${CONF_EXT}
 .endfor
 
@@ -75,7 +75,7 @@
 	@${CP} -R ${WRKSRC}/bin ${APP_HOME}
 	@${CP} -R ${WRKSRC}/conf/*.${CONF_EXT} ${APP_HOME}/conf/
 
-.for f in ${CONF_FILES}
+.for f in ${WMP_CONF_FILES}
 .	if !exists(${APP_HOME}/conf/${f})
 		@${CP} ${APP_HOME}/conf/${f}.${CONF_EXT} ${APP_HOME}/conf/${f}
 .	else


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



More information about the freebsd-ports-bugs mailing list