summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-22 06:40:20 +0000
committersumikawa <sumikawa@FreeBSD.org>2000-01-22 06:40:20 +0000
commitb4f26b7cb62a5c06d9442484ae044037bbb3fa93 (patch)
treeed4c8ae98f7c856b1cd62105a8732c2e00e5a489 /japanese
parent7f8581a250151c59ab67e4eaaf7f50fd57498e22 (diff)
downloadFreeBSD-ports-b4f26b7cb62a5c06d9442484ae044037bbb3fa93.zip
FreeBSD-ports-b4f26b7cb62a5c06d9442484ae044037bbb3fa93.tar.gz
Upgrade to 2.3.6.
Changes (from PR): - japanese/ndtpd o Set default syslog file for `/var/log/ndtpd.log'. o Change the default working directory `/var/ndtpd' to `/var/run/ndtpd'. * It will created by `${PREFIX}/etc/rc.d/ndtpd.sh' (even if the user select "Inetd mode" !) * Lock files and a PID file are created under it. o Support some arguments in the startup script: ${PREFIX}/etc/rc.d/ndtpd.sh start|stop|kill|restart|status|terminate o Separate the session to build `ndtpd.sh.sample' from `post-install' into `post-build'. o Don't configure EB sybsystem in NDTPD. - japanese/eb o Don't configure ZLIB sybsystem in EB. o Don't define CONFIGURE_ENV. * Suggested by Michael's last commit to japanese/ndtpd/Makefile. PR: 16117 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/eb/Makefile11
-rw-r--r--japanese/eb/distinfo2
-rw-r--r--japanese/eb2/Makefile11
-rw-r--r--japanese/eb2/distinfo2
-rw-r--r--japanese/eb3/Makefile11
-rw-r--r--japanese/eb3/distinfo2
-rw-r--r--japanese/ebnetd/Makefile30
-rw-r--r--japanese/ebnetd/distinfo2
-rw-r--r--japanese/ebnetd/files/ndtpd.sh.sample62
-rw-r--r--japanese/ebnetd/pkg-message26
-rw-r--r--japanese/ebnetd/pkg-plist2
-rw-r--r--japanese/ndtpd/Makefile30
-rw-r--r--japanese/ndtpd/distinfo2
-rw-r--r--japanese/ndtpd/files/ndtpd.sh.sample62
-rw-r--r--japanese/ndtpd/pkg-message26
-rw-r--r--japanese/ndtpd/pkg-plist2
16 files changed, 183 insertions, 100 deletions
diff --git a/japanese/eb/Makefile b/japanese/eb/Makefile
index 19713b9..5dceed9 100644
--- a/japanese/eb/Makefile
+++ b/japanese/eb/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: eb
-# Version required: 2.3.5
+# Version required: 2.3.6
# Date created: 20 Jan 1999
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
-DISTNAME= eb-2.3.5
-PKGNAME= ja-eb-2.3.5
+DISTNAME= eb-2.3.6
+PKGNAME= ja-eb-2.3.6
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/
DISTFILES= ${EBFILES} ${APPENDIXFILES}
@@ -47,11 +47,12 @@ EXTRACT_ONLY= ${EBFILES}
DIST_SUBDIR= eb
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-zlib
-CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- INSTALL_DATA="${INSTALL_DATA}"
APPENDIXDIR= ${PREFIX}/share/eb/appendix
+post-extract:
+ cd ${WRKSRC} && ${RM} -rf zlib
+
post-install:
.for file in ${APPENDIXFILES}
${TAR} -C ${APPENDIXDIR} -zxmf ${DISTDIR}/${DIST_SUBDIR}/${file}
diff --git a/japanese/eb/distinfo b/japanese/eb/distinfo
index e3df2e0..29b9993 100644
--- a/japanese/eb/distinfo
+++ b/japanese/eb/distinfo
@@ -1,4 +1,4 @@
-MD5 (eb/eb-2.3.5.tar.gz) = f84cca7164703dea5862f622f76eb515
+MD5 (eb/eb-2.3.6.tar.gz) = 73fbad533550af126b5666b336f54062
MD5 (eb/appendix/cencro-1.0.tar.gz) = 1c93a68fae90990b631bd5302349d199
MD5 (eb/appendix/chujiten-2.3.tar.gz) = 750c15b8e94faca7cb4b15b98d1fbb19
MD5 (eb/appendix/chujiten2-2.0.tar.gz) = 62a86bdb51a38b554bc6c3bb40da443a
diff --git a/japanese/eb2/Makefile b/japanese/eb2/Makefile
index 19713b9..5dceed9 100644
--- a/japanese/eb2/Makefile
+++ b/japanese/eb2/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: eb
-# Version required: 2.3.5
+# Version required: 2.3.6
# Date created: 20 Jan 1999
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
-DISTNAME= eb-2.3.5
-PKGNAME= ja-eb-2.3.5
+DISTNAME= eb-2.3.6
+PKGNAME= ja-eb-2.3.6
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/
DISTFILES= ${EBFILES} ${APPENDIXFILES}
@@ -47,11 +47,12 @@ EXTRACT_ONLY= ${EBFILES}
DIST_SUBDIR= eb
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-zlib
-CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- INSTALL_DATA="${INSTALL_DATA}"
APPENDIXDIR= ${PREFIX}/share/eb/appendix
+post-extract:
+ cd ${WRKSRC} && ${RM} -rf zlib
+
post-install:
.for file in ${APPENDIXFILES}
${TAR} -C ${APPENDIXDIR} -zxmf ${DISTDIR}/${DIST_SUBDIR}/${file}
diff --git a/japanese/eb2/distinfo b/japanese/eb2/distinfo
index e3df2e0..29b9993 100644
--- a/japanese/eb2/distinfo
+++ b/japanese/eb2/distinfo
@@ -1,4 +1,4 @@
-MD5 (eb/eb-2.3.5.tar.gz) = f84cca7164703dea5862f622f76eb515
+MD5 (eb/eb-2.3.6.tar.gz) = 73fbad533550af126b5666b336f54062
MD5 (eb/appendix/cencro-1.0.tar.gz) = 1c93a68fae90990b631bd5302349d199
MD5 (eb/appendix/chujiten-2.3.tar.gz) = 750c15b8e94faca7cb4b15b98d1fbb19
MD5 (eb/appendix/chujiten2-2.0.tar.gz) = 62a86bdb51a38b554bc6c3bb40da443a
diff --git a/japanese/eb3/Makefile b/japanese/eb3/Makefile
index 19713b9..5dceed9 100644
--- a/japanese/eb3/Makefile
+++ b/japanese/eb3/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: eb
-# Version required: 2.3.5
+# Version required: 2.3.6
# Date created: 20 Jan 1999
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
-DISTNAME= eb-2.3.5
-PKGNAME= ja-eb-2.3.5
+DISTNAME= eb-2.3.6
+PKGNAME= ja-eb-2.3.6
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/
DISTFILES= ${EBFILES} ${APPENDIXFILES}
@@ -47,11 +47,12 @@ EXTRACT_ONLY= ${EBFILES}
DIST_SUBDIR= eb
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-zlib
-CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- INSTALL_DATA="${INSTALL_DATA}"
APPENDIXDIR= ${PREFIX}/share/eb/appendix
+post-extract:
+ cd ${WRKSRC} && ${RM} -rf zlib
+
post-install:
.for file in ${APPENDIXFILES}
${TAR} -C ${APPENDIXDIR} -zxmf ${DISTDIR}/${DIST_SUBDIR}/${file}
diff --git a/japanese/eb3/distinfo b/japanese/eb3/distinfo
index e3df2e0..29b9993 100644
--- a/japanese/eb3/distinfo
+++ b/japanese/eb3/distinfo
@@ -1,4 +1,4 @@
-MD5 (eb/eb-2.3.5.tar.gz) = f84cca7164703dea5862f622f76eb515
+MD5 (eb/eb-2.3.6.tar.gz) = 73fbad533550af126b5666b336f54062
MD5 (eb/appendix/cencro-1.0.tar.gz) = 1c93a68fae90990b631bd5302349d199
MD5 (eb/appendix/chujiten-2.3.tar.gz) = 750c15b8e94faca7cb4b15b98d1fbb19
MD5 (eb/appendix/chujiten2-2.0.tar.gz) = 62a86bdb51a38b554bc6c3bb40da443a
diff --git a/japanese/ebnetd/Makefile b/japanese/ebnetd/Makefile
index e59c4d0..dbeb18e 100644
--- a/japanese/ebnetd/Makefile
+++ b/japanese/ebnetd/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: ndtpd
-# Version required: 2.3.5
+# Version required: 2.3.6
# Date created: 4 Aug 1998
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
-DISTNAME= ndtpd-2.3.5
-PKGNAME= ja-ndtpd-2.3.5
+DISTNAME= ndtpd-2.3.6
+PKGNAME= ja-ndtpd-2.3.6
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
@@ -16,28 +16,28 @@ MAINTAINER= takamune@avrl.mei.co.jp
LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${VARDIR} --with-eb --with-zlib \
- --with-eb-includes=${PREFIX}/include \
- --with-eb-libraries=${PREFIX}/lib
+CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR} \
+ --with-eb --with-eb-includes=${PREFIX}/include \
+ --with-zlib --with-eb-libraries=${PREFIX}/lib
.if !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= Maybe_interactive_at_install_stage
.endif
-PLIST_SUB= VARDIR=${VARDIR} OWNER=${OWNER} GROUP=${GROUP} MODE=${MODE}
# Local variables
-VARDIR= /var
-OWNER= nobody
-GROUP= nogroup
-MODE= 755
+LOGDIR= /var/log
+RUNDIR= /var/run
STARTUP_SCRIPT= ndtpd.sh.sample
-INSTALL_DIR= ${INSTALL} -d -o ${OWNER} -g ${GROUP} -m ${MODE}
+
+post-extract:
+ cd ${WRKSRC} && ${RM} -rf eb
+
+post-build:
+ ${SED} "s,@prefix@,${PREFIX},; s,@rundir@,${RUNDIR},"\
+ ${FILESDIR}/${STARTUP_SCRIPT} > ${WRKDIR}/${STARTUP_SCRIPT}
post-install:
- ${SED} "s,@prefix@,${PREFIX}," ${FILESDIR}/${STARTUP_SCRIPT} \
- > ${WRKDIR}/${STARTUP_SCRIPT}
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
- ${INSTALL_DIR} ${VARDIR}/ndtpd
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${ECHO}
@${CAT} ${PKGMESSAGE}
diff --git a/japanese/ebnetd/distinfo b/japanese/ebnetd/distinfo
index 35c649a..437f2b7 100644
--- a/japanese/ebnetd/distinfo
+++ b/japanese/ebnetd/distinfo
@@ -1 +1 @@
-MD5 (ndtpd-2.3.5.tar.gz) = dee1cde3d114a0cf5d5d6917382d953e
+MD5 (ndtpd-2.3.6.tar.gz) = e5c5c70b321edbf34eeb7cd3b8120340
diff --git a/japanese/ebnetd/files/ndtpd.sh.sample b/japanese/ebnetd/files/ndtpd.sh.sample
index 17a62fc..bbf4f41 100644
--- a/japanese/ebnetd/files/ndtpd.sh.sample
+++ b/japanese/ebnetd/files/ndtpd.sh.sample
@@ -1,15 +1,49 @@
-#!/bin/sh -
-#
-# NDTPD: rc-file for FreeBSD.
-#
-
-### NDTPD options: ###
-ndtpd_program=@prefix@/sbin/ndtpd # path to ndtpd.
-ndtpd_enable=YES # Run ndtpd (or NO).
-ndtpd_flags= # Flags to ndtpd (if enabled).
-### End of NDTPD options: ###
-
-if [ "x${ndtpd_enable}" = xYES -a -x ${ndtpd_program} ]; then
- echo -n " ndtpd"
- ${ndtpd_program} ${ndtpd_flags}
+#!/bin/sh -e -
+# startup script for ndtpd
+
+# Usage: ndtpd.sh [kill|restart|status|terminate|stop|start]
+
+command=$1
+standalone=YES # Run ndtpd as a standalone daemon.
+#standalone=NO # Run ndtpd as a child of inetd.
+
+GetDirective() {
+ directive=$1
+
+ awk '/^[ ]*'${directive}'[ ]+/ {print $2; exit}' ${conf}
+}
+
+MakeWorkingDirectory() {
+ user="`GetDirective user`"
+ group="`GetDirective group`"
+ work="`GetDirective work-path`"
+
+ rm -rf ${work:=@rundir@/ndtpd}
+ eval install -d ${user:+-o ${user}} ${group:+-g ${group}} ${work}
+}
+
+conf=@prefix@/etc/ndtpd.conf
+
+[ -f ${conf} ] || exit
+ndtpcheck || exit
+
+if [ "${standalone}" = YES ]; then
+ ctrl=ndtpcontrol
+ start="echo -n ' ndtpd'; ndtpd"
+else
+ ctrl="echo 'Error: inetd invokes ndtpd.' >&2; false"
fi
+
+case "${command}" in
+kill|restart|status|terminate)
+ eval ${ctrl} ${command};;
+
+stop)
+ eval ${ctrl} terminate;;
+
+start|*)
+ MakeWorkingDirectory
+ eval ${start};;
+esac
+
+exit
diff --git a/japanese/ebnetd/pkg-message b/japanese/ebnetd/pkg-message
index 20a8420..796592a 100644
--- a/japanese/ebnetd/pkg-message
+++ b/japanese/ebnetd/pkg-message
@@ -1,11 +1,19 @@
************************************************************************
- To use `ndtpd', copy a sample configuration file `ndtpd.conf.sample'
-to `ndtpd.conf' in '${PREFIX}/etc' directory, and edit it. Consult the
-"Configuration File" section of info file.
-
- If you want to start `ndtpd' as a standalone daemon, copy a script
-`ndtpd.sh.sample' to `ndtpd.sh' in '${PREFIX}/etc/rc.d' directory, and
-exec it. Otherwise, to start as a child process of `inetd', edit the
-file `/etc/inetd.conf'. In either case, consult the "Start the Server"
-section of info file.
+You'll need manual configurations to actually activate `ndtpd'.
+
+**** IF YOU WANT TO SETUP PRIVATE SYSLOG, edit /etc/syslog.conf.
+
+1st) Copy a sample configuration file `ndtpd.conf.sample' to `ndtpd.conf'
+ in `${PREFIX}/etc' directory, and edit it.
+ Consult the "Configuration File" section of info file.
+
+2nd) Copy a sample startup script `ndtpd.sh.sample' to `ndtpd.sh'
+ in `${PREFIX}/etc/rc.d' directory, and edit it.
+
+ a) To start `ndtpd' as a standalone daemon, set the variable
+ `standalone' in the script to `YES', and exec it.
+
+ b) Otherwise, to start as a child process of `inetd',
+ set `standalone' to `NO', and edit the file `/etc/inetd.conf'.
+ Consult the "Run as a Child of inetd" section of info file.
************************************************************************
diff --git a/japanese/ebnetd/pkg-plist b/japanese/ebnetd/pkg-plist
index 472e541..f3eb721 100644
--- a/japanese/ebnetd/pkg-plist
+++ b/japanese/ebnetd/pkg-plist
@@ -11,5 +11,3 @@ sbin/ndtpcheck
sbin/ndtpcontrol
sbin/ndtpd
sbin/ndtpdaily
-@exec install -d -o %%OWNER%% -g %%GROUP%% -m %%MODE%% %%VARDIR%%/ndtpd
-@unexec rm -rf %%VARDIR%%/ndtpd
diff --git a/japanese/ndtpd/Makefile b/japanese/ndtpd/Makefile
index e59c4d0..dbeb18e 100644
--- a/japanese/ndtpd/Makefile
+++ b/japanese/ndtpd/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: ndtpd
-# Version required: 2.3.5
+# Version required: 2.3.6
# Date created: 4 Aug 1998
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
-DISTNAME= ndtpd-2.3.5
-PKGNAME= ja-ndtpd-2.3.5
+DISTNAME= ndtpd-2.3.6
+PKGNAME= ja-ndtpd-2.3.6
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
@@ -16,28 +16,28 @@ MAINTAINER= takamune@avrl.mei.co.jp
LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${VARDIR} --with-eb --with-zlib \
- --with-eb-includes=${PREFIX}/include \
- --with-eb-libraries=${PREFIX}/lib
+CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR} \
+ --with-eb --with-eb-includes=${PREFIX}/include \
+ --with-zlib --with-eb-libraries=${PREFIX}/lib
.if !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= Maybe_interactive_at_install_stage
.endif
-PLIST_SUB= VARDIR=${VARDIR} OWNER=${OWNER} GROUP=${GROUP} MODE=${MODE}
# Local variables
-VARDIR= /var
-OWNER= nobody
-GROUP= nogroup
-MODE= 755
+LOGDIR= /var/log
+RUNDIR= /var/run
STARTUP_SCRIPT= ndtpd.sh.sample
-INSTALL_DIR= ${INSTALL} -d -o ${OWNER} -g ${GROUP} -m ${MODE}
+
+post-extract:
+ cd ${WRKSRC} && ${RM} -rf eb
+
+post-build:
+ ${SED} "s,@prefix@,${PREFIX},; s,@rundir@,${RUNDIR},"\
+ ${FILESDIR}/${STARTUP_SCRIPT} > ${WRKDIR}/${STARTUP_SCRIPT}
post-install:
- ${SED} "s,@prefix@,${PREFIX}," ${FILESDIR}/${STARTUP_SCRIPT} \
- > ${WRKDIR}/${STARTUP_SCRIPT}
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
- ${INSTALL_DIR} ${VARDIR}/ndtpd
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${ECHO}
@${CAT} ${PKGMESSAGE}
diff --git a/japanese/ndtpd/distinfo b/japanese/ndtpd/distinfo
index 35c649a..437f2b7 100644
--- a/japanese/ndtpd/distinfo
+++ b/japanese/ndtpd/distinfo
@@ -1 +1 @@
-MD5 (ndtpd-2.3.5.tar.gz) = dee1cde3d114a0cf5d5d6917382d953e
+MD5 (ndtpd-2.3.6.tar.gz) = e5c5c70b321edbf34eeb7cd3b8120340
diff --git a/japanese/ndtpd/files/ndtpd.sh.sample b/japanese/ndtpd/files/ndtpd.sh.sample
index 17a62fc..bbf4f41 100644
--- a/japanese/ndtpd/files/ndtpd.sh.sample
+++ b/japanese/ndtpd/files/ndtpd.sh.sample
@@ -1,15 +1,49 @@
-#!/bin/sh -
-#
-# NDTPD: rc-file for FreeBSD.
-#
-
-### NDTPD options: ###
-ndtpd_program=@prefix@/sbin/ndtpd # path to ndtpd.
-ndtpd_enable=YES # Run ndtpd (or NO).
-ndtpd_flags= # Flags to ndtpd (if enabled).
-### End of NDTPD options: ###
-
-if [ "x${ndtpd_enable}" = xYES -a -x ${ndtpd_program} ]; then
- echo -n " ndtpd"
- ${ndtpd_program} ${ndtpd_flags}
+#!/bin/sh -e -
+# startup script for ndtpd
+
+# Usage: ndtpd.sh [kill|restart|status|terminate|stop|start]
+
+command=$1
+standalone=YES # Run ndtpd as a standalone daemon.
+#standalone=NO # Run ndtpd as a child of inetd.
+
+GetDirective() {
+ directive=$1
+
+ awk '/^[ ]*'${directive}'[ ]+/ {print $2; exit}' ${conf}
+}
+
+MakeWorkingDirectory() {
+ user="`GetDirective user`"
+ group="`GetDirective group`"
+ work="`GetDirective work-path`"
+
+ rm -rf ${work:=@rundir@/ndtpd}
+ eval install -d ${user:+-o ${user}} ${group:+-g ${group}} ${work}
+}
+
+conf=@prefix@/etc/ndtpd.conf
+
+[ -f ${conf} ] || exit
+ndtpcheck || exit
+
+if [ "${standalone}" = YES ]; then
+ ctrl=ndtpcontrol
+ start="echo -n ' ndtpd'; ndtpd"
+else
+ ctrl="echo 'Error: inetd invokes ndtpd.' >&2; false"
fi
+
+case "${command}" in
+kill|restart|status|terminate)
+ eval ${ctrl} ${command};;
+
+stop)
+ eval ${ctrl} terminate;;
+
+start|*)
+ MakeWorkingDirectory
+ eval ${start};;
+esac
+
+exit
diff --git a/japanese/ndtpd/pkg-message b/japanese/ndtpd/pkg-message
index 20a8420..796592a 100644
--- a/japanese/ndtpd/pkg-message
+++ b/japanese/ndtpd/pkg-message
@@ -1,11 +1,19 @@
************************************************************************
- To use `ndtpd', copy a sample configuration file `ndtpd.conf.sample'
-to `ndtpd.conf' in '${PREFIX}/etc' directory, and edit it. Consult the
-"Configuration File" section of info file.
-
- If you want to start `ndtpd' as a standalone daemon, copy a script
-`ndtpd.sh.sample' to `ndtpd.sh' in '${PREFIX}/etc/rc.d' directory, and
-exec it. Otherwise, to start as a child process of `inetd', edit the
-file `/etc/inetd.conf'. In either case, consult the "Start the Server"
-section of info file.
+You'll need manual configurations to actually activate `ndtpd'.
+
+**** IF YOU WANT TO SETUP PRIVATE SYSLOG, edit /etc/syslog.conf.
+
+1st) Copy a sample configuration file `ndtpd.conf.sample' to `ndtpd.conf'
+ in `${PREFIX}/etc' directory, and edit it.
+ Consult the "Configuration File" section of info file.
+
+2nd) Copy a sample startup script `ndtpd.sh.sample' to `ndtpd.sh'
+ in `${PREFIX}/etc/rc.d' directory, and edit it.
+
+ a) To start `ndtpd' as a standalone daemon, set the variable
+ `standalone' in the script to `YES', and exec it.
+
+ b) Otherwise, to start as a child process of `inetd',
+ set `standalone' to `NO', and edit the file `/etc/inetd.conf'.
+ Consult the "Run as a Child of inetd" section of info file.
************************************************************************
diff --git a/japanese/ndtpd/pkg-plist b/japanese/ndtpd/pkg-plist
index 472e541..f3eb721 100644
--- a/japanese/ndtpd/pkg-plist
+++ b/japanese/ndtpd/pkg-plist
@@ -11,5 +11,3 @@ sbin/ndtpcheck
sbin/ndtpcontrol
sbin/ndtpd
sbin/ndtpdaily
-@exec install -d -o %%OWNER%% -g %%GROUP%% -m %%MODE%% %%VARDIR%%/ndtpd
-@unexec rm -rf %%VARDIR%%/ndtpd
OpenPOWER on IntegriCloud