aboutsummaryrefslogtreecommitdiffstats
path: root/security/openbsm/Makefile
blob: 1f84e3a4d6d4aaee516d97403922c3f13edfc9b0 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# New ports collection makefile for:    openbsm
# Date created:             Jun 13 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   openbsm
DISTVERSION=    1.0-alpha12
CATEGORIES= security
MASTER_SITES=   http://www.trustedbsd.org/downloads/
DISTFILES=  openbsm-${DISTVERSION}.tgz

MAINTAINER= flz@FreeBSD.org
COMMENT=    Open Source Basic Security Module (BSM) Audit Implementation
WRKSRC=     ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

MAN1=       auditreduce.1       \
        praudit.1
MAN2=       audit.2         \
        auditctl.2      \
        auditon.2       \
        getaudit.2      \
        getauid.2       \
        setaudit.2      \
        setauid.2
MAN3=       au_class.3      \
        au_control.3        \
        au_event.3      \
        au_free_token.3     \
        au_io.3         \
        au_mask.3       \
        au_open.3       \
        au_token.3      \
        au_user.3       \
        libbsm.3
MAN5=       audit.log.5     \
        audit_class.5       \
        audit_control.5     \
        audit_event.5       \
        audit_user.5        \
        audit_warn.5
MAN8=       auditfilterd.8

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     does not compile on 4.X
.else
.if ${OSVERSION} < 600000
BROKEN=     does not package on 5.X
.endif
.endif

.if ( ( ${OSVERSION} < 500000 && ${OSVERSION} > 491101 ) || \
    ( ${OSVERSION} < 600000 && ${OSVERSION} > 503100 ) || \
    ${OSVERSION} >= 600000 )
MAN8+=      audit.8         \
        auditd.8

PLIST_FILES+=   sbin/audit      \
        sbin/auditd
.endif

.include <bsd.port.post.mk>