Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 05:40:01 +0400 (MSD)
From:      "Oleg V. Volkov" <rover@fly.lglobus.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13181: port comms/conserver uses mv, echo and cp
Message-ID:  <199908170140.FAA48049@fly.lglobus.ru>

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

>Number:         13181
>Category:       ports
>Synopsis:       port comms/conserver uses mv, echo and cp
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 18:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Oleg V. Volkov
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
-=/ SR 13 /=-
>Environment:

	Just CVSup'ed ports.

>Description:

mv -> ${MV}
cp -> ${CP}
echo -> ${ECHO}

>How-To-Repeat:
>Fix:
--- Makefile.old	Sat Jun  5 23:49:48 1999
+++ Makefile	Tue Aug 17 05:14:42 1999
@@ -29,18 +29,18 @@
 
 # XXX we also have to work around ``new'' uudecode behavior, thanks guys!
 post-extract:
-	cp ${FILESDIR}/Makefile ${WRKSRC}
+	${CP} ${FILESDIR}/Makefile ${WRKSRC}
 	if [ -f ${WRKSRC}/group.c ]; then \
-		mv ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \
+		${MV} ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \
 	fi
 
 post-install:
 	@if [ ! -f ${PREFIX}/etc/rc.d/conserver.sh ]; then \
-		echo "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \
-		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \
-		echo "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \
-		echo "	${PREFIX}/sbin/conserver -d -n ; echo -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \
-		echo "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \
+		${ECHO} "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \
+		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/conserver.sh; \
+		${ECHO} "if [ -x ${PREFIX}/sbin/conserver -a -f ${PREFiX}/etc/conserver.cf ]; then" >> ${PREFIX}/etc/rc.d/conserver.sh; \
+		${ECHO} "	${PREFIX}/sbin/conserver -d -n ; echo -n ' conserver'" >> ${PREFIX}/etc/rc.d/conserver.sh; \
+		${ECHO} "fi" >> ${PREFIX}/etc/rc.d/conserver.sh; \
 		chmod 751 ${PREFIX}/etc/rc.d/conserver.sh; \
 	fi
 

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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