aboutsummaryrefslogtreecommitdiffstats
path: root/security/nessus-devel
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-29 13:40:30 +0800
committerpetef <petef@FreeBSD.org>2001-12-29 13:40:30 +0800
commit326f69ab117dbb1c088e7bf349225788792eb4c4 (patch)
tree2c90298a5ff2fc0791a89e97df275c958593b4d1 /security/nessus-devel
parentfda75e2739cba9138ce47e0681246dbfa3fa53a7 (diff)
downloadfreebsd-ports-gnome-326f69ab117dbb1c088e7bf349225788792eb4c4.tar.gz
freebsd-ports-gnome-326f69ab117dbb1c088e7bf349225788792eb4c4.tar.zst
freebsd-ports-gnome-326f69ab117dbb1c088e7bf349225788792eb4c4.zip
- add missing manpage to MAN1
- fix compile on -current and recent -stable (due to conflicting strcasestr definitions) PR: 33188 Submitted by: maintainer
Diffstat (limited to 'security/nessus-devel')
-rw-r--r--security/nessus-devel/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile
index d7e74393dd17..873a82fa3262 100644
--- a/security/nessus-devel/Makefile
+++ b/security/nessus-devel/Makefile
@@ -38,9 +38,16 @@ CONFIGURE_ARGS+=--disable-gtk
CONFIGURE_ARGS+= --sharedstatedir=${PREFIX}/etc/nessus/com \
--localstatedir=${PREFIX}/etc/nessus/var
-MAN1= nessus.1
+MAN1= nessus.1 nessus-mkrand.1
MAN8= nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8
+post-patch::
+ @${PERL} -pi.fbsd -e 's,strcasestr,ne_strcasestr,g' \
+ ${WRKSRC}/nessus/html_graph_output.c
+ @${PERL} -pi.fbsd -e 's,strcasestr,ne_strcasestr,g' \
+ ${WRKSRC}/nessus/xml_output_ng.c
+
+
post-install:
.if ! defined(BATCH)
.if ! exists(${PREFIX}/etc/nessus/var/CA/serverkey.pem)