add some jeremy patches.
add tcpwrappers support as a build_def TODO: I can't build xinetd using tcpwrappers, any idea? this must be defined as default?
This commit is contained in:
parent
3f112e3bdb
commit
56d0168913
2 changed files with 18 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
|||
xinetd is a secure replacement for inetd with new features:
|
||||
xinetd is a powerful replacement for inetd (with a different configuration
|
||||
format). xinetd listens for network connections and transfers to the
|
||||
appropriate software.
|
||||
|
||||
Some features of xinetd are:
|
||||
* access control
|
||||
* DoS prevention
|
||||
* extensive logging abilities
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.4 2004/07/10 17:52:38 poppnk Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2004/07/10 22:49:25 poppnk Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xinetd-2.3.13
|
||||
CATEGORIES= wip
|
||||
CATEGORIES= wip sysutils
|
||||
MASTER_SITES= http://www.xinetd.org/
|
||||
|
||||
MAINTAINER= pancake@phreaker.net
|
||||
|
@ -15,6 +15,14 @@ GNU_CONFIGURE= yes
|
|||
USE_PKGINSTALL= yes
|
||||
USE_GNU_TOOLS+= make
|
||||
ALL_TARGET= build
|
||||
CONFIGURE_ARGS+= --with-loadavg
|
||||
|
||||
# OPTIONS
|
||||
BUILD_DEFS= XINETD_USE_TCPWRAPPER
|
||||
XINETD_USE_TCPWRAPPER?=NO
|
||||
.if !empty(XINETD_USE_TCPWRAPPER:M[yY][eE][sS])
|
||||
CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}/lib
|
||||
.endif
|
||||
|
||||
RCD_SCRIPTS= xinetd
|
||||
CPPFLAGS+= -DDEFAULT_CONFIG_FILE=\\\"\"${PREFIX}/etc/xinetd.conf\\\"\"
|
||||
|
@ -30,4 +38,7 @@ post-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/contrib/xinetd.d/* \
|
||||
${PREFIX}/share/examples/xinetd/xinetd.d/
|
||||
|
||||
.if !empty(XINETD_USE_TCPWRAPPER:M[yY][eE][sS])
|
||||
.include "../../security/tcp_wrappers/buildlink3.mk"
|
||||
.endif
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue