dc766237b5
- Add support for newer GnuTLS 2.2.0 session priority functions. When the option is available, the user might specify TLS settings through the "tls-options" configuration entry. - Workaround a GnuTLS issue where the client wouldn't be able to negotiate a supported compression protocol with the server (#299). - Implement variable substitution in Prelude configuration files. - Allow IDMEF criteria with multiples values for a single path, as can be seen in the following example: alert.classification.text = (A || B || C || D) - Implement negation of idmef-criteria, allowing to write criteria like: ! (alert.classification.text = A || alert.classification.text = B) - Fix an IDMEF-Criteria matching problem, where the match function would not attempt to match a OR after multiple consecutive AND that failed. Thanks Alexander Afonyashin <firm(at)iname.com> for pointing out the problem. - Never use non-pointer field, always use the "required" keyword. Fix API consistency issue, that could lead to unexpected behavior. - Fix multiples problem with prelude_read_multiline / prelude_read_multiline2, (fix a problem with prelude-manager idmef-criteria that wouldn't read external ruleset). - Error out if GnuTLS initialization fail.
60 lines
1.9 KiB
Makefile
60 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2008/07/21 12:10:48 shannonjr Exp $
|
|
#
|
|
DISTNAME= libprelude-0.9.18
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.prelude-ids.com/download/releases/libprelude/
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
HOMEPAGE= http://www.prelude-ids.org/download/releases/
|
|
COMMENT= Provides the framework for using the Prelude system
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
PRELUDE_USER?= _prelude
|
|
PRELUDE_GROUP?= _prelude
|
|
|
|
PKG_GROUPS_VARS+= PRELUDE_GROUP
|
|
PKG_USERS_VARS+= PRELUDE_USER
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= chown make bison gawk gmake
|
|
PKG_SYSCONFSUBDIR= prelude
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
PRELUDE_USER?= _prelude
|
|
PRELUDE_GROUP?= _prelude
|
|
PRELUDE_HOME?= ${VARBASE}/spool/prelude
|
|
|
|
PKG_GROUPS= ${PRELUDE_GROUP}
|
|
PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP}
|
|
|
|
PKG_GECOS.${PRELUDE_USER}= Prelude IDS
|
|
PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/libprelude
|
|
REQD_DIRS= ${EGDIR}
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR}/default ${PKG_SYSCONFDIR}/profile
|
|
MAKE_DIRS_PERMS+= ${PKG_SYSCONFDIR}/profile ${ROOT_USER} ${ROOT_GROUP} 0711
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf
|
|
|
|
SUBST_CLASSES+= make
|
|
SUBST_STAGE.make= post-patch
|
|
SUBST_FILES.make= Makefile.in
|
|
SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
|
|
|
|
post-install:
|
|
chown -R ${PRELUDE_USER}:${PRELUDE_GROUP} ${PRELUDE_HOME}
|
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|