1996-07-11 00:18:38 +02:00
|
|
|
# New ports collection makefile for: xinetd
|
1999-05-10 19:15:01 +02:00
|
|
|
# Date created: 28 June 1996
|
|
|
|
# Whom: markm
|
1996-07-11 00:18:38 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-07-11 00:18:38 +02:00
|
|
|
#
|
|
|
|
|
2000-04-15 06:31:31 +02:00
|
|
|
PORTNAME= xinetd
|
2004-02-22 04:26:14 +01:00
|
|
|
PORTVERSION= 2.3.13
|
|
|
|
PORTREVISION= 0
|
2003-01-21 08:25:20 +01:00
|
|
|
CATEGORIES= security ipv6
|
2001-07-01 07:04:03 +02:00
|
|
|
MASTER_SITES= http://www.xinetd.org/
|
1996-07-11 00:18:38 +02:00
|
|
|
|
1999-11-13 08:42:54 +01:00
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Replacement for inetd with better control and logging
|
1996-07-11 00:18:38 +02:00
|
|
|
|
2002-11-03 19:28:40 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-09-01 04:33:41 +02:00
|
|
|
USE_GMAKE= yes
|
1999-05-10 19:15:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-22 04:26:14 +01:00
|
|
|
USE_RC_SUBR= yes
|
1999-05-10 19:15:01 +02:00
|
|
|
ALL_TARGET= build
|
2003-01-21 08:25:20 +01:00
|
|
|
CONFIGURE_ARGS+= --with-loadavg --with-libwrap --with-ipv6
|
2004-02-22 04:26:14 +01:00
|
|
|
STARTUP_FILE= ${PREFIX}/etc/rc.d/xinetd.sh
|
|
|
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
2002-05-17 09:32:54 +02:00
|
|
|
|
1999-05-10 19:15:01 +02:00
|
|
|
MAN5= xinetd.conf.5
|
2002-08-19 05:56:03 +02:00
|
|
|
MAN8= xconv.8 xinetd.8 xinetd.log.8
|
1996-07-11 00:18:38 +02:00
|
|
|
|
2001-07-01 07:04:03 +02:00
|
|
|
post-patch:
|
2002-05-11 13:29:27 +02:00
|
|
|
${FIND} ${WRKSRC}/libs/src -name Makefile.in | ${XARGS} \
|
2002-11-03 19:28:40 +01:00
|
|
|
${REINPLACE_CMD} -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!'
|
2004-02-22 04:26:14 +01:00
|
|
|
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
-@[ -f ${STARTUP_FILE} ] && \
|
|
|
|
(${ECHO} "Remove old ${STARTUP_FILE} before install." && exit 1)
|
2001-07-01 07:04:03 +02:00
|
|
|
|
1997-12-04 04:41:07 +01:00
|
|
|
post-install:
|
2004-02-22 04:26:14 +01:00
|
|
|
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${FILESDIR}/xinetd.sh.tmpl > ${STARTUP_FILE}
|
|
|
|
@${CHMOD} 755 ${STARTUP_FILE}
|
2002-05-11 13:29:27 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/sbin/xinetd
|
1998-07-11 02:37:53 +02:00
|
|
|
|
2004-02-22 04:26:14 +01:00
|
|
|
.include <bsd.port.mk>
|