FreeBSD Bugzilla – Attachment 42348 Details for
Bug 66052
maintainer-update of security/nessus-*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.29 KB, created by
Udo.Schweigert
on 2004-04-28 17:30:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Udo.Schweigert
Created:
2004-04-28 17:30:15 UTC
Size:
4.29 KB
patch
obsolete
>diff -ru /usr/ports/security/nessus/Makefile nessus/Makefile >--- /usr/ports/security/nessus/Makefile Sun Apr 11 06:07:25 2004 >+++ nessus/Makefile Wed Apr 28 18:15:48 2004 >@@ -27,6 +27,7 @@ > > USE_LIBTOOL_VER=13 > WANT_GNOME= yes >+USE_REINPLACE= YES > > .include <bsd.port.pre.mk> > >@@ -40,7 +41,13 @@ > MAN1= nessus.1 nessus-mkrand.1 nessus-mkcert-client.1 > MAN8= nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8 > >+post-extract: >+ @cp ${FILESDIR}/nessusd.sh ${WRKSRC}/nessusd.sh >+ @${REINPLACE_CMD} -E -e 's|%%PREFIX%%|${PREFIX}|g' \ >+ ${BUILD_WRKSRC}/nessusd.sh > post-install: >+ ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/nessusd.sh \ >+ ${LOCALBASE}/etc/rc.d/nessusd.sh.sample > @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus > .if ! exists(${PREFIX}/var/CA/serverkey.pem) > .if ! defined(BATCH) >diff -ru /usr/ports/security/nessus/files/nessusd.sh nessus/files/nessusd.sh >--- /usr/ports/security/nessus/files/nessusd.sh Thu Jan 1 01:00:00 1970 >+++ nessus/files/nessusd.sh Wed Apr 28 17:58:44 2004 >@@ -0,0 +1,28 @@ >+#! /bin/sh >+# >+# $FreeBSD: $ >+# >+ >+umask 022 >+arg=${1:-start} >+ >+nessusd_bin=%%PREFIX%%/sbin/nessusd >+nessus_arg="-D" >+kill_arg=nessusd >+ >+echo -n " nessusd" >+ >+case $arg in >+start) >+ test -x $nessusd_bin || exit 1 >+ $nessusd_bin $nessus_arg >+ ;; >+stop) >+ killall $kill_arg > /dev/null 2>&1 >+ ;; >+restart) >+ killall $kill_arg > /dev/null 2>&1 >+ test -x $nessusd_bin || exit 1 >+ $nessusd_bin $nessus_arg >+ ;; >+esac >diff -ru /usr/ports/security/nessus/pkg-plist nessus/pkg-plist >--- /usr/ports/security/nessus/pkg-plist Sun Apr 11 06:07:27 2004 >+++ nessus/pkg-plist Wed Apr 28 18:06:50 2004 >@@ -1,3 +1,4 @@ >+etc/rc.d/nessusd.sh.sample > bin/nessus > bin/nessus-mkcert-client > bin/nessus-mkrand >diff -ru /usr/ports/security/nessus-plugins/Makefile nessus-plugins/Makefile >--- /usr/ports/security/nessus-plugins/Makefile Sun Apr 11 06:07:27 2004 >+++ nessus-plugins/Makefile Wed Apr 28 18:10:43 2004 >@@ -7,7 +7,7 @@ > > PORTNAME= nessus-plugins > PORTVERSION= 2.0.10a >-PORTREVISION= 2 >+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/ \ >@@ -20,8 +20,7 @@ > 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 @@ > .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 -ru /usr/ports/security/nessus-plugins/files/extra-patch-3com-hub-amd64 nessus-plugins/files/extra-patch-3com-hub-amd64 >--- /usr/ports/security/nessus-plugins/files/extra-patch-3com-hub-amd64 Thu Jan 1 01:00:00 1970 >+++ nessus-plugins/files/extra-patch-3com-hub-amd64 Wed Apr 28 18:11:42 2004 >@@ -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 -ru /usr/ports/security/nessus-plugins/pkg-plist nessus-plugins/pkg-plist >--- /usr/ports/security/nessus-plugins/pkg-plist Fri Jan 23 12:00:57 2004 >+++ nessus-plugins/pkg-plist Wed Apr 28 18:11:11 2004 >@@ -2,7 +2,7 @@ > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66052
: 42348