1996-07-10 22:18:38 +00:00
|
|
|
# New ports collection makefile for: xinetd
|
1999-09-19 11:49:44 +00:00
|
|
|
# Version required: 2.1.8.6b7
|
1999-05-10 17:15:01 +00:00
|
|
|
# Date created: 28 June 1996
|
|
|
|
# Whom: markm
|
1996-07-10 22:18:38 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1996-07-10 22:18:38 +00:00
|
|
|
#
|
|
|
|
|
1999-09-19 11:49:44 +00:00
|
|
|
DISTNAME= xinetd-2.1.8.6b7
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= security
|
1999-05-10 17:15:01 +00:00
|
|
|
MASTER_SITES= http://synack.net/xinetd/
|
1996-07-10 22:18:38 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= markm@FreeBSD.org
|
1996-07-10 22:18:38 +00:00
|
|
|
|
1999-05-10 17:15:01 +00:00
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= build
|
1996-11-17 07:58:10 +00:00
|
|
|
|
1999-05-10 17:15:01 +00:00
|
|
|
MAN5= xinetd.conf.5
|
|
|
|
MAN8= xinetd.8 xinetd.log.8
|
1996-07-10 22:18:38 +00:00
|
|
|
|
1997-12-04 03:41:07 +00:00
|
|
|
post-install:
|
|
|
|
@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; \
|
1999-09-19 11:49:44 +00:00
|
|
|
${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; \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} 751 ${PREFIX}/etc/rc.d/xinetd.sh; \
|
1997-12-04 03:41:07 +00:00
|
|
|
fi
|
1999-05-10 17:15:01 +00:00
|
|
|
strip ${PREFIX}/sbin/xinetd
|
1998-07-11 00:37:53 +00:00
|
|
|
|
1996-07-10 22:18:38 +00:00
|
|
|
.include <bsd.port.mk>
|