blob: a3805a25f59ed56b22cd4e49e6b82081e6519e06 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $NetBSD: Makefile,v 1.4 2008/03/06 14:53:54 wiz Exp $
#
DISTNAME= prelude-pflogger-0.9.0-rc2
PKGNAME= prelude-pflogger-0.9.0
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://prelude-ids.org/download/releases/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://prelude-ids.org/download/releases/
COMMENT= Prelude sensor for Packet Filter (pf)
.include "../../mk/bsd.prefs.mk"
PRELUDE_USER?= _prelude
PRELUDE_GROUP?= _prelude
PRELUDE_PFLOGGER_PID_DIR= ${VARBASE}/run/prelude-pflogger
PKG_GROUPS_VARS+= PRELUDE_GROUP
PKG_USERS_VARS+= PRELUDE_USER
EGDIR= ${PREFIX}/share/examples/prelude-pflogger
REQD_DIRS= ${EGDIR} ${PKG_SYSCONFDIR}
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
BUILD_DEFS+= VARBASE
PKG_SYSCONFSUBDIR= prelude-pflogger
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONF_FILES= ${EGDIR}/prelude-pflogger.conf ${PKG_SYSCONFDIR}/prelude-pflogger.conf
USE_TOOLS+= autoconf automake aclocal autoheader
FILES_SUBST+= PRELUDE_PFLOGGER_PID_DIR=${PRELUDE_PFLOGGER_PID_DIR:Q}
FILES_SUBST+= PRELUDE_USER=${PRELUDE_USER:Q}
FILES_SUBST+= PRELUDE_GROUP=${PRELUDE_GROUP:Q}
MESSAGE_SUBST+= PRELUDE_USER=${PRELUDE_USER:Q}
MESSAGE_SUBST+= PRELUDE_GROUP=${PRELUDE_GROUP:Q}
SUBST_CLASSES+= make
SUBST_STAGE.make= post-patch
SUBST_FILES.make= Makefile.am
SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
RCD_SCRIPTS= pflogger
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; autoheader; automake -a --foreign -i; autoconf
.include "../../security/libprelude/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|