From owner-freebsd-ports Mon Aug 16 18:41:32 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 32A2014E17 for ; Mon, 16 Aug 1999 18:41:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA24889; Mon, 16 Aug 1999 18:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fly.lglobus.ru (fly.lglobus.ru [195.34.224.130]) by hub.freebsd.org (Postfix) with ESMTP id 95A7B14F7B for ; Mon, 16 Aug 1999 18:38:25 -0700 (PDT) (envelope-from rover@fly.lglobus.ru) Received: (from rover@localhost) by fly.lglobus.ru (8.9.3/8.9.2) id FAA48049; Tue, 17 Aug 1999 05:40:01 +0400 (MSD) (envelope-from rover) Message-Id: <199908170140.FAA48049@fly.lglobus.ru> Date: Tue, 17 Aug 1999 05:40:01 +0400 (MSD) From: "Oleg V. Volkov" Reply-To: rover@fly.lglobus.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13181: port comms/conserver uses mv, echo and cp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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