diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-02 18:18:08 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-02 18:18:08 +0000 |
commit | d451209399a60e9670dc76c38b01d5f2c382fd0f (patch) | |
tree | de382aa3b9f59c66fd940621215ae99773ccdad7 /security/nessus-plugins | |
parent | fbac46ab2f81b90a3d3ca31cb62b0fc451fc1124 (diff) | |
download | ports-d451209399a60e9670dc76c38b01d5f2c382fd0f.tar.gz ports-d451209399a60e9670dc76c38b01d5f2c382fd0f.zip |
Notes
Diffstat (limited to 'security/nessus-plugins')
-rw-r--r-- | security/nessus-plugins/Makefile | 10 | ||||
-rw-r--r-- | security/nessus-plugins/files/extra-patch-3com-hub-amd64 | 18 | ||||
-rw-r--r-- | security/nessus-plugins/pkg-plist | 2 |
3 files changed, 26 insertions, 4 deletions
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile index 8bc7d4952178..c7a2ccb9e261 100644 --- a/security/nessus-plugins/Makefile +++ b/security/nessus-plugins/Makefile @@ -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: diff --git a/security/nessus-plugins/files/extra-patch-3com-hub-amd64 b/security/nessus-plugins/files/extra-patch-3com-hub-amd64 new file mode 100644 index 000000000000..81eacf635f91 --- /dev/null +++ b/security/nessus-plugins/files/extra-patch-3com-hub-amd64 @@ -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 diff --git a/security/nessus-plugins/pkg-plist b/security/nessus-plugins/pkg-plist index fb9195b82bd2..e6dc3ebf3377 100644 --- a/security/nessus-plugins/pkg-plist +++ b/security/nessus-plugins/pkg-plist @@ -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 |