- Unbreak on amd64: disable offending plugin
PR: ports/66052 Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
This commit is contained in:
parent
fbac46ab2f
commit
d451209399
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108180
3 changed files with 26 additions and 4 deletions
|
@ -20,8 +20,7 @@ DISTNAME= nessus-plugins-${PORTVERSION}
|
|||
MAINTAINER= udo.schweigert@siemens.com
|
||||
COMMENT= Plugins for Nessus, the security scanner
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
|
||||
libnet-config:${PORTSDIR}/net/libnet
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus
|
||||
RUN_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
|
||||
nmap:${PORTSDIR}/security/nmap \
|
||||
wget:${PORTSDIR}/ftp/wget
|
||||
|
@ -38,7 +37,12 @@ MAN8= nessus-update-plugins.8
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not compile on amd64 (libnet needs to provide a shared library)"
|
||||
PLIST_SUB+= AMD="@comment "
|
||||
pre-configure:
|
||||
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-3com-hub-amd64
|
||||
.else
|
||||
PLIST_SUB+= AMD=""
|
||||
BUILD_DEPENDS+= libnet-config:${PORTSDIR}/net/libnet
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
|
18
security/nessus-plugins/files/extra-patch-3com-hub-amd64
Normal file
18
security/nessus-plugins/files/extra-patch-3com-hub-amd64
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- plugins/make_world.orig Sun Jun 9 13:07:06 2002
|
||||
+++ plugins/make_world Wed Apr 28 17:03:30 2004
|
||||
@@ -15,14 +15,7 @@
|
||||
do if [ -d $i -a $i != CVS ]; then
|
||||
if [ "$i" = "3com_hub" ];
|
||||
then
|
||||
- libnet-config && {
|
||||
- cd $i
|
||||
- ${MAKE:-make} $MAKEFLAG $1
|
||||
- if [ $? -ne 0 ];then
|
||||
- BADPLUGINS="$BADPLUGINS $i"
|
||||
- fi
|
||||
- cd ..
|
||||
- }
|
||||
+ BADPLUGINS="$BADPLUGINS $i";
|
||||
else
|
||||
cd $i
|
||||
${MAKE:-make} $MAKEFLAG $1
|
|
@ -2,7 +2,7 @@ bin/nessus-build
|
|||
lib/nessus/plugins/12planet_chat_server_path_disclosure.nasl
|
||||
lib/nessus/plugins/12planet_chat_server_plaintext_password.nasl
|
||||
lib/nessus/plugins/3com_config_disclosure.nasl
|
||||
lib/nessus/plugins/3com_hub.nes
|
||||
%%AMD%%lib/nessus/plugins/3com_hub.nes
|
||||
lib/nessus/plugins/3com_ras_crash.nasl
|
||||
lib/nessus/plugins/3com_switches.nasl
|
||||
lib/nessus/plugins/404_path_disclosure.nasl
|
||||
|
|
Loading…
Reference in a new issue