blob: ab5f418824fdd0eb4a7515a55afd331703b1e7a7 (
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
|
# $NetBSD: Makefile,v 1.34 2008/10/10 11:34:50 adam Exp $
.include "../../security/nessus/Makefile.common"
DISTNAME= nessus-core-${VERS}
COMMENT= Core module of the Nessus Network Security Scanner
WRKSRC= ${WRKDIR}/nessus-core
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --enable-gtk
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q}
CONFIGURE_ENV+= ac_cv_path_GTKCONFIG="pkg-config gtk+-2.0" \
ac_cv_path_GLIBCONFIG="pkg-config glib-2.0"
RCD_SCRIPTS= nessusd
PKG_SYSCONFSUBDIR?= nessus
OWN_DIRS_PERMS+= ${VARBASE}/nessus ${ROOT_USER} ${ROOT_GROUP} 0700
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR} ${ROOT_USER} ${ROOT_GROUP} 0700
OWN_DIRS+= ${PREFIX}/lib/nessus \
${PREFIX}/lib/nessus/reports \
${PREFIX}/lib/nessus/plugins
MAKE_DIRS+= ${VARBASE}/nessus/jobs \
${VARBASE}/nessus/logs \
${VARBASE}/nessus/tmp \
${VARBASE}/nessus/users
CONF_FILES+= ${BUILDLINK_PREFIX.libnasl}/share/examples/libnasl/nessus_org.pem \
${VARBASE}/nessus/nessus_org.pem
CONF_FILES+= ${PREFIX}/share/examples/nessus/nessus-services \
${VARBASE}/nessus/nessus-services
.include "../../security/libnasl/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|