mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
4dac7fad8a
at MASTER_SITE). Two extra patches to fix build warnings, and make the inetd->xinetd configuration file translator work a little better. Submitted by: Mikhail Teterin <mi@video-collage.com>
34 lines
914 B
Makefile
34 lines
914 B
Makefile
# New ports collection makefile for: xinetd
|
|
# Version required: 2.1.8.8p1
|
|
# Date created: 28 June 1996
|
|
# Whom: markm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= xinetd-2.1.8.8p1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://synack.net/xinetd/
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= build
|
|
|
|
MAN5= xinetd.conf.5
|
|
MAN8= xinetd.8 xinetd.log.8
|
|
|
|
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; \
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|