summaryrefslogtreecommitdiff
path: root/misc/logsurfer/Makefile
blob: 3007ed932dffa4afcec818d154913628fd2ab77e (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
# $NetBSD: Makefile,v 1.17 2007/02/22 19:01:22 wiz Exp $

DISTNAME=	logsurfer-1.5b
PKGNAME=	logsurfer-1.6.2
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.dfn-cert.de/pub/tools/audit/logsurfer/

PATCH_SITES=	http://www.crypt.gen.nz/logsurfer/
PATCHFILES=	logsurfer-15b-16b.patch

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.dfn-cert.de/eng/logsurf/
COMMENT=	Processes logfiles and performs certain actions

PATCH_DIST_STRIP.logsurfer-15b-16b.patch=	-p2

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=	--with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}

BUILD_DEFS+=	VARBASE

EGDIR=		${PREFIX}/share/examples/logsurfer

INSTALLATION_DIRS=	${EGDIR}

post-install:
	${MKDIR} ${EGDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/start-mail/start-mail ${EGDIR}/start-mail

.include "../../mk/bsd.pkg.mk"