aboutsummaryrefslogtreecommitdiffstats
path: root/security/xinetd/Makefile
blob: 85e5a1bd4162ca8989cecef6d900981121e1eb56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: markm
# $FreeBSD$

PORTNAME=   xinetd
PORTVERSION=    2.3.15
CATEGORIES= security ipv6
MASTER_SITES=   http://www.xinetd.org/

MAINTAINER= sem@FreeBSD.org
COMMENT=    Replacement for inetd with better control and logging

LICENSE=    BSD

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_RC_SUBR=    xinetd
ALL_TARGET= build
CONFIGURE_ARGS+=    --with-loadavg --with-libwrap --with-ipv6

MAN5=       xinetd.conf.5
MAN8=       xconv.8 xinetd.8 xinetd.log.8

NO_STAGE=   yes
post-patch:
    ${FIND} ${WRKSRC}/libs/src -name Makefile.in | ${XARGS} \
        ${REINPLACE_CMD} -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!'
    @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h

post-install:
    @${STRIP_CMD} ${PREFIX}/sbin/xinetd

.include <bsd.port.mk>