Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 16:25:57 -0400 (EDT)
From:      josh@zipperup.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12874: Update to xinetd port
Message-ID:  <19990729202557.AF3CA32602@asherah.dyndns.org>

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

>Number:         12874
>Category:       ports
>Synopsis:       Update to xinetd port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 29 13:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Josh Tiefenbach
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Connective Software
>Environment:

FreeBSD cerebus.zipperup.org 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Sat Jul  3 14:25:44 EDT 1999     josh@cerebus.zipperup.org:/usr/src/sys/compile/CEREBUS  i386

>Description:

	xinetd port is out-of-date. master site is now at xinetd-2.1.8.6b6. In
	addition, the start-up script does not record the pid of the xinetd
	process.

>How-To-Repeat:

	make the port. Fails on fetch.

>Fix:
	
	Update Makefile and files/md5 to reflect new distfile. 

	In addition, the following patch modifies ${PREFIX}/etc/rc.d/xinetd.sh to
	record the pid of the xinetd process in /var/run/xinetd.pid


--- Makefile	Mon May 10 18:40:56 1999
+++ Makefile.new	Thu Jul 29 16:19:18 1999
@@ -24,7 +24,9 @@
 	@if [ ! -f ${PREFIX}/etc/rc.d/xinetd.sh ]; then \
 		${ECHO} "Install ${PREFIX}/etc/rc.d/xinetd.sh startup file."; \
 		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/xinetd.sh; \
-		${ECHO} "[ -x ${PREFIX}/sbin/xinetd ] && ${PREFIX}/sbin/xinetd && echo -n ' xinetd'" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
+		${ECHO} "[ -x ${PREFIX}/sbin/xinetd ] " >> ${PREFIX}/etc/rc.d/xinetd.sh;\
+		${ECHO} "&& ${PREFIX}/sbin/xinetd -pid 2> /var/run/xinetd.pid " >> ${PREFIX}/etc/rc.d/xinetd.sh; \
+		${ECHO} "&& echo -n ' xinetd'" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
 		chmod 751 ${PREFIX}/etc/rc.d/xinetd.sh; \
 	fi
 	strip ${PREFIX}/sbin/xinetd


>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?19990729202557.AF3CA32602>