b4fac9c9f8
Changelog prelude-manager-0.9.7: - Fix a startup problem on system with different address of different family mapping to the same IP. - Fix for system using the GnuLib poll replacement modules. The module was broken when used in conjunction with server socket. - Various portability fixes (this release should compile and run on OSX out of the box). PR: ports/107010 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# New ports collection makefile for: prelude-manager
|
|
# Date created: Sun Aug 4 19:31:17 CEST 2002
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= prelude-manager
|
|
PORTVERSION= 0.9.7
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
http://www.prelude-ids.org/download/releases/old/
|
|
|
|
MAINTAINER= r.gruyters@yirdis.nl
|
|
COMMENT= Prelude Network Intrusion Detection System central logging point
|
|
|
|
LIB_DEPENDS+= prelude.11:${PORTSDIR}/security/libprelude \
|
|
gnutls.13:${PORTSDIR}/security/gnutls
|
|
|
|
USE_GPG= yes
|
|
SIG_SUFFIX= .sig
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= prelude-manager.sh
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
|
--localstatedir=/var
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_XML)
|
|
PLIST_SUB+= WITH_XML="@comment "
|
|
CONFIGURE_ARGS+= --disable-xmltest --without-xml
|
|
.else
|
|
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
|
|
PLIST_SUB+= WITH_XML=""
|
|
.endif
|
|
|
|
.if defined(WITHOUT_DB)
|
|
PLIST_SUB+= WITH_DB="@comment "
|
|
.else
|
|
LIB_DEPENDS+= preludedb.4:${PORTSDIR}/security/libpreludedb
|
|
PLIST_SUB+= WITH_DB=""
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ -f ${PREFIX}/etc/prelude-manager/prelude-manager.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/prelude-manager/prelude-manager.conf-dist \
|
|
${PREFIX}/etc/prelude-manager/prelude-manager.conf ; \
|
|
fi
|
|
|
|
.include <bsd.port.post.mk>
|