1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/nessus/Makefile
Tijl Coosemans 53e29e83dc - Add LICENSE.
- New LIB_DEPENDS syntax.
- Staging.
- Replace gtk detection with GTK2 option.
- Mark MAKE_JOBS_UNSAFE for now.  One Makefile has mutilple targets that
  each call make in the same subdirectory and the Makefile in that
  directory does the same with one of its subdirectories.
- Move files/nessusd.conf to files/nessusd.conf.in and add it to SUB_FILES
  instead of calling sed from post-install.
- Move files/pkg-deinstall.in to pkg-deinstall and replace %%PREFIX%%
  with ${PKG_PREFIX}.
- Remove scripts/move_nessus.  It was used to migrate configuration data
  to a new location.

PR:		ports/183221
Approved by:	"Schweigert, Udo" <Udo.Schweigert@siemens.com> (maintainer)
2013-11-11 18:48:29 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= nessus
PORTVERSION= 2.2.9
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${PORTVERSION}/src/ \
ftp://ftp.ayamura.org/pub/nessus/nessus-${PORTVERSION}/src/
DISTNAME= nessus-core-${PORTVERSION}
DIST_SUBDIR= nessus
MAINTAINER= udo.schweigert@siemens.com
COMMENT= Security scanner: looks for vulnerabilities in a given network
LICENSE= GPLv2
LIB_DEPENDS= libnasl.so:${PORTSDIR}/security/nessus-libnasl
OPTIONS_DEFINE= GTK2
OPTIONS_DEFAULT=GTK2
GTK2_CONFIGURE_ENABLE= gtk
GTK2_USES= pkgconfig
GTK2_USE= GNOME=gtk20
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
SUB_FILES= nessusd.conf
USE_RC_SUBR= nessusd
WRKSRC= ${WRKDIR}/nessus-core
post-install:
${INSTALL_DATA} ${WRKDIR}/nessusd.conf \
${STAGEDIR}${ETCDIR}/nessusd.conf.dist
${INSTALL_DATA} ${FILESDIR}/nessusd.rules \
${STAGEDIR}${ETCDIR}/nessusd.rules.dist
.include <bsd.port.mk>