Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 01:40:47 +0900 (JST)
From:      Hiroki Sato <hrs@eos.ocn.ne.jp>
To:        ijliao@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28965: ndtpd.sh should be independent from $PWD and $PATH
Message-ID:  <20010819.014047.64802006.hrs@eos.ocn.ne.jp>
In-Reply-To: <200108180553.f7I5rde04371@freefall.freebsd.org>
References:  <200108180553.f7I5rde04371@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sun_Aug_19_01:40:47_2001_023)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

ijliao@FreeBSD.org wrote
  in <200108180553.f7I5rde04371@freefall.freebsd.org>:

ijliao> Synopsis: ndtpd.sh should be independent from $PWD and $PATH
ijliao> 
ijliao> State-Changed-From-To: open->closed
ijliao> State-Changed-By: ijliao
ijliao> State-Changed-When: Fri Aug 17 22:53:25 PDT 2001
ijliao> State-Changed-Why: 
ijliao> committed, thanks
ijliao> 
ijliao> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28965

 Thanks, but "ndtpd.sh.sample,v 1.4" is still not enough because
 "ndtpcheck" is left.

 So, sorry, please apply the attached patch again?
 This is submitted to me from the maintainer, and a better
 solution, I think.

--
| Hiroki Sato  <hrs@FreeBSD.org>
|              <hrs@eos.ocn.ne.jp>

----Next_Part(Sun_Aug_19_01:40:47_2001_023)--
Content-Type: Text/Plain; charset=us-ascii
Content-Disposition: inline; filename="ndtpd.sh.sample-diff"
Content-Transfer-Encoding: 7bit

Index: ports/japanese/ndtpd/files/ndtpd.sh.sample
===================================================================
RCS file: /home/ncvs/ports/japanese/ndtpd/files/ndtpd.sh.sample,v
retrieving revision 1.3
diff -u -r1.3 ndtpd.sh.sample
--- ports/japanese/ndtpd/files/ndtpd.sh.sample	2000/08/29 20:16:57	1.3
+++ ports/japanese/ndtpd/files/ndtpd.sh.sample	2001/08/03 19:48:24
@@ -29,20 +29,23 @@
 }
 
 conf=@prefix@/etc/ndtpd.conf
+ndtpd=@prefix@/sbin/ndtpd
+ndtpcheck=@prefix@/sbin/ndtpcheck
+ndtpcontrol=@prefix@/sbin/ndtpcontrol
 
-ndtpcheck -c ${conf} || exit
+${ndtpcheck} -c ${conf} || exit
 
 case "${command}" in
 start)
     MakeWorkingDirectory
 
     if [ "${standalone}" = YES ]; then
-	ndtpd && echo -n " ndtpd"
+	${ndtpd} && echo -n " ndtpd"
     fi
     ;;
 stop)
     if [ "${standalone}" = YES ]; then
-	ndtpcontrol terminate && echo -n " ndtpd"
+	${ndtpcontrol} terminate && echo -n " ndtpd"
     fi
     ;;
 *)

----Next_Part(Sun_Aug_19_01:40:47_2001_023)----

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?20010819.014047.64802006.hrs>