summaryrefslogtreecommitdiff
path: root/security/logcheck/Makefile
blob: 6968eebb06b64a8d6d85712469b02b00a5efa73b (plain) (blame)
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
# Ports collection makefile for:	logcheck
# Date created:		9 December 1999
# Whom:			Dan Langille <dan@freebsddiary.org>
#
# $FreeBSD$
#

PORTNAME=	logcheck
PORTVERSION=	1.1.1
CATEGORIES=	security
MASTER_SITES=	ftp://sensimilia.eu.org/pub/software/sys/ \
		http://www.ukc.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
		http://www.psionic.com/downloads/ \
		http://people.FreeBSD.org/~foxfair/distfiles/
DISTNAME=	logsentry-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Auditing tool for system logs on Unix boxes

BROKEN=		"Changes permissions on /tmp to mode 0700"

USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE=	${WRKDIR}/MESSAGE

pre-configure:
	${REINPLACE_CMD} -e "s@/usr/local/etc/tmp@/tmp@g; \
		s@/usr/local@${PREFIX}@" ${WRKSRC}/Makefile \
		${WRKSRC}/systems/freebsd/logcheck.sh
	${REINPLACE_CMD} -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile

post-build:
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>