2006-08-23 20:51:56 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2006/08/23 18:51:56 wiz Exp $
|
2006-01-29 16:54:04 +01:00
|
|
|
#
|
2006-08-17 13:31:40 +02:00
|
|
|
DISTNAME= libprelude-0.9.10.1
|
2006-08-23 13:34:59 +02:00
|
|
|
PKGREVISION= 1
|
2006-01-29 16:54:04 +01:00
|
|
|
CATEGORIES= security
|
2006-08-23 20:51:56 +02:00
|
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
|
|
http://www.prelude-ids.org/download/releases/old/
|
2006-01-29 16:54:04 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-02-08 10:58:46 +01:00
|
|
|
USE_TOOLS+= make bison gawk
|
2006-04-12 21:40:51 +02:00
|
|
|
PKG_SYSCONFSUBDIR= prelude
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
|
2006-01-29 16:54:04 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
|
|
PRELUDE_USER?= _prelude
|
|
|
|
PRELUDE_GROUP?= _prelude
|
2006-06-06 14:19:30 +02:00
|
|
|
PRELUDE_HOME?= ${VARBASE}/spool/prelude
|
2006-04-23 02:12:35 +02:00
|
|
|
|
2006-01-29 16:54:04 +01:00
|
|
|
PKG_GROUPS= ${PRELUDE_GROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP}
|
|
|
|
|
|
|
|
PKG_GECOS.${PRELUDE_USER}= Prelude IDS
|
|
|
|
PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME}
|
2006-01-29 16:54:04 +01:00
|
|
|
|
2006-04-12 21:40:51 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/client.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/global.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/idmef-client.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/tls.conf
|
|
|
|
|
2006-01-29 16:54:04 +01:00
|
|
|
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"
|