--- xinetd.sh.tmpl Tue Feb 21 21:01:31 2006 +++ xinetd.in Wed Jul 12 13:11:58 2006 @@ -2,7 +2,7 @@ # # $FreeBSD: ports/security/xinetd/files/xinetd.sh.tmpl,v 1.2 2006/02/20 20:47:40 dougb Exp $ # -# PROVIDE: snmpd +# PROVIDE: xinetd # REQUIRE: DAEMON # # Add the following line to /etc/rc.conf to enable xinetd: --- Makefile.old Wed Jul 12 13:17:27 2006 +++ Makefile Wed Jul 12 13:31:32 2006 @@ -16,11 +16,9 @@ USE_GMAKE= yes GNU_CONFIGURE= yes -USE_RC_SUBR= yes +USE_RC_SUBR= xinetd ALL_TARGET= build CONFIGURE_ARGS+= --with-loadavg --with-libwrap --with-ipv6 -STARTUP_FILE= ${PREFIX}/etc/rc.d/xinetd.sh -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} MAN5= xinetd.conf.5 MAN8= xconv.8 xinetd.8 xinetd.log.8 @@ -30,14 +28,7 @@ ${REINPLACE_CMD} -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!' @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h -pre-install: - -@[ -f ${STARTUP_FILE} ] && \ - (${ECHO} "Remove old ${STARTUP_FILE} before install." && exit 1) - post-install: - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/xinetd.sh.tmpl > ${STARTUP_FILE} - @${CHMOD} 755 ${STARTUP_FILE} @${STRIP_CMD} ${PREFIX}/sbin/xinetd .include