68edbeeaae
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to PREFIX/var when PREFIX != /usr.) - Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so they aren't affected by this change (for now at least). This commit is meant to ensure that new ports don't make the same mistake. - games/acm: the configure script in this port is very old; instead of patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE. - irc/charybdis: it already used /var but adding --localstatedir=/var changed the behaviour of the configure script; adjust the port to this. PR: 199506 Exp-run by: antoine Approved by: portmgr (antoine)
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nessus
|
|
PORTVERSION= 2.2.9
|
|
PORTREVISION= 3
|
|
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
|
|
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
|
|
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.sample
|
|
${INSTALL_DATA} ${FILESDIR}/nessusd.rules \
|
|
${STAGEDIR}${ETCDIR}/nessusd.rules.sample
|
|
|
|
.include <bsd.port.mk>
|