b60b462f2a
Nessus 2.2.3 contains a new option called "silent dependencies" which can be used to filter out the noise generated by some plugins not directly enabled by the user. It also contains a slightly more intuitive GUI which now contains a "Credentials" tab to put Windows and SSH usernames and passwords.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2005/02/21 10:10:04 adam Exp $
|
|
|
|
DISTNAME= nessus-plugins-GPL-${VERS}
|
|
PKGNAME= nessus-plugins-${VERS}
|
|
.include "../nessus/Makefile.common"
|
|
|
|
COMMENT= Plugins for the Nessus Network Security Scanner
|
|
|
|
DEPENDS+= nmap>=2.0:../../net/nmap
|
|
|
|
WRKSRC= ${WRKDIR}/nessus-plugins
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --with-fetchcmd=/usr/bin/ftp
|
|
.else
|
|
CONFIGURE_ARGS+= --with-fetchcmd=${PREFIX}/bin/ftp
|
|
.endif
|
|
|
|
SUBST_CLASSES+= fetch
|
|
SUBST_STAGE.fetch= post-configure
|
|
SUBST_FILES.fetch= nessus-update-plugins
|
|
SUBST_SED.fetch= -e "s|fetch_args=\"\"|fetch_args=\"-o -\"|g"
|
|
SUBST_MESSAGE.fetch= "Fixing fetch parameters."
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST PLIST
|
|
|
|
# auto-generate PLIST of plug-ins
|
|
post-install:
|
|
${RM} -f ${WRKDIR}/PLIST
|
|
cd ${PREFIX} && \
|
|
${FIND} lib/nessus/plugins -type f -print >>${WRKDIR}/PLIST
|
|
|
|
.include "../../security/nessus-core/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|