465844de47
Need to BUILDLINK_ABI_DEPENDS on the 2.2.11 versions of the libraries. Bump PKGREVISION wholesale to disambiguate the fixed packages from the botched ones and depend on them. Use GPLed version of the plugins instead of the non-free version. While here fix permissions of PKG_SYSCONFDIR in nessus-core/Makefile.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.35 2008/10/13 22:32:54 bad Exp $
|
|
|
|
.include "../../security/nessus/Makefile.common"
|
|
|
|
DISTNAME= nessus-core-${VERS}
|
|
PKGREVISION= 1
|
|
|
|
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} 0755
|
|
|
|
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"
|