blob: a740bcca829ab373f766fa462bed65959dac1ee8 (
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
|
# $NetBSD: Makefile,v 1.13 2005/12/29 06:22:10 jlam Exp $
DISTNAME= logcheck-1.1.1
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/sentrytools/
COMMENT= Auditing tool for system logs on Unix boxes
OWN_DIRS= /var/adm/tmp /var/adm
PKG_SYSCONFSUBDIR= logcheck
EGDIR= ${PREFIX}/share/examples/logcheck
CONF_FILES=
.for f in hacking ignore violations violations.ignore
CONF_FILES+= ${EGDIR}/logcheck.${f} ${PKG_SYSCONFDIR}/logcheck.${f}
.endfor
pre-configure:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
@${SED} -e "s+/usr/local+${PREFIX}+g" \
< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
@${MV} ${WRKSRC}/systems/freebsd/logcheck.sh \
${WRKSRC}/systems/freebsd/logcheck.sh.old
@${SED} -e "s+/usr/local+${PREFIX}+g" \
-e "s+@PKG_SYSCONFDIR@+${PKG_SYSCONFDIR}+g" \
${WRKSRC}/systems/freebsd/logcheck.sh.old > \
${WRKSRC}/systems/freebsd/logcheck.sh
pre-install:
${INSTALL_DATA_DIR} ${EGDIR}
.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|