From e7bef501bf5db6c7f657311b5ae3e81ccb5823a6 Mon Sep 17 00:00:00 2001 From: bouyer Date: Mon, 22 Mar 1999 16:42:55 +0000 Subject: Patches needed for 1.3.3. --- security/nessus/patches/patch-ab | 10 ++++++ security/nessus/patches/patch-ac | 16 +++++++++ security/nessus/patches/patch-ad | 71 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 security/nessus/patches/patch-ab create mode 100644 security/nessus/patches/patch-ac create mode 100644 security/nessus/patches/patch-ad (limited to 'security') diff --git a/security/nessus/patches/patch-ab b/security/nessus/patches/patch-ab new file mode 100644 index 00000000000..e84fa3aa075 --- /dev/null +++ b/security/nessus/patches/patch-ab @@ -0,0 +1,10 @@ +--- src/plugins/ftp_misc_overflows/ftp_misc_overflows.c.old Thu Mar 18 22:25:23 1999 ++++ src/plugins/ftp_misc_overflows/ftp_misc_overflows.c Thu Mar 18 22:25:31 1999 +@@ -43,7 +43,6 @@ + plug_set_copyright(desc, COPYRIGHT); + plug_set_category(desc, ACT_ATTACK); + plug_set_family(desc, "FTP"); +- plug_set_dep(desc, "ftp_anonymous.nes"); + return(0); + } + diff --git a/security/nessus/patches/patch-ac b/security/nessus/patches/patch-ac new file mode 100644 index 00000000000..8f5ed023fc0 --- /dev/null +++ b/security/nessus/patches/patch-ac @@ -0,0 +1,16 @@ +--- src/plugins/land/land.c.orig Mon Mar 22 15:05:37 1999 ++++ src/plugins/land/land.c Mon Mar 22 15:14:21 1999 +@@ -11,13 +11,6 @@ + + #include + +-#include +-#include +-#ifdef BSD +-#include +-#endif +- +- + /* Minor portability tweaks. --KGB */ + #if (!defined(BSD) && (!defined(__GLIBC__) || __GLIBC__ < 2 || defined(__powerpc__))) + #include diff --git a/security/nessus/patches/patch-ad b/security/nessus/patches/patch-ad new file mode 100644 index 00000000000..36831f49910 --- /dev/null +++ b/security/nessus/patches/patch-ad @@ -0,0 +1,71 @@ +--- configure.orig Mon Mar 8 18:52:49 1999 ++++ configure Mon Mar 22 16:15:25 1999 +@@ -1239,7 +1239,6 @@ + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 + echo "configure:1242: checking for a BSD compatible install" >&5 +-if test -z "$INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1258,7 +1257,7 @@ + # OSF/1 installbsd also uses dspmsg, but is usable. + : + else +- ac_cv_path_install="$ac_dir/$ac_prog -c" ++ ac_cv_path_install="$ac_dir/$ac_prog" + break 2 + fi + fi +@@ -1278,7 +1277,6 @@ + # removed, or if the path is relative. + INSTALL="$ac_install_sh" + fi +-fi + echo "$ac_t""$INSTALL" 1>&6 + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. +--- Makefile.orig Mon Mar 22 15:38:46 1999 ++++ Makefile Mon Mar 22 15:39:32 1999 +@@ -27,28 +27,28 @@ + @./configure + + install : libs/libnessus.so bin/nessus bin/nessusd plugins +- $(INSTALL) -o root -m $(CLIENTMODE) libs/libnessus* ${prefix}/lib/ +- $(INSTALL) -o root -m $(SERVERMODE) bin/nessusd ${prefix}/bin/nessusd +- $(INSTALL) -o root -m $(CLIENTMODE) bin/nessus ${prefix}/bin/nessus +- $(INSTALL) -o root -m $(CLIENTMODE) bin/nsr2html ${prefix}/bin/nsr2html ++ $(INSTALL) -c -o root -m $(CLIENTMODE) libs/libnessus* ${prefix}/lib/ ++ $(INSTALL) -c -o root -m $(SERVERMODE) bin/nessusd ${prefix}/bin/nessusd ++ $(INSTALL) -c -o root -m $(CLIENTMODE) bin/nessus ${prefix}/bin/nessus ++ $(INSTALL) -c -o root -m $(CLIENTMODE) bin/nsr2html ${prefix}/bin/nsr2html + $(INSTALL) -d -o root -m $(PLUGINSDIRMODE) ${prefix}/share/nessus/plugins + $(INSTALL) -d -o root -m $(REPORTSDIRMODE) ${prefix}/share/nessus/reports +- $(INSTALL) -o root -m $(PLUGINSMODE) bin/plugins/*.nes \ ++ $(INSTALL) -c -o root -m $(PLUGINSMODE) bin/plugins/*.nes \ + ${prefix}/share/nessus/plugins/ +- $(INSTALL) -o root -m $(PLUGINSMODE) doc/Manual ${prefix}/share/nessus/Manual +- $(INSTALL) -o root -m $(PLUGINSMODE) doc/nessus.1 ${prefix}/man/man1/nessus.1 ++ $(INSTALL) -c -o root -m $(PLUGINSMODE) doc/Manual ${prefix}/share/nessus/Manual ++ $(INSTALL) -c -o root -m $(PLUGINSMODE) doc/nessus.1 ${prefix}/man/man1/nessus.1 + @echo "Nessus is now properly installed on your system" + @echo "just run ldconfig if your system needs it" + + install-nosuid : +- $(INSTALL) -s -o root -m $(CLIENTMODE) libs/libnessus* ${prefix}/lib/ +- $(INSTALL) -s -o root -m $(CLIENTMODE) bin/nessusd ${prefix}/bin/nessusd +- $(INSTALL) -s -o root -m $(CLIENTMODE) bin/nessus ${prefix}/bin/nessus ++ $(INSTALL) -c -s -o root -m $(CLIENTMODE) libs/libnessus* ${prefix}/lib/ ++ $(INSTALL) -c -s -o root -m $(CLIENTMODE) bin/nessusd ${prefix}/bin/nessusd ++ $(INSTALL) -c -s -o root -m $(CLIENTMODE) bin/nessus ${prefix}/bin/nessus + $(INSTALL) -d -o root -m $(PLUGINSDIRMODE) bin/plugins ${prefix}/share/nessus/plugins +- $(INSTALL) -s -o root -m $(PLUGINSMODE) bin/plugins/*.nes \ ++ $(INSTALL) -c -s -o root -m $(PLUGINSMODE) bin/plugins/*.nes \ + ${prefix}/share/nessus/plugins/ +- $(INSTALL) -o root -m $(PLUGINSMODE) doc/Manual ${prefix}/share/nessus/Manual +- $(INSTALL) -o root -m $(PLUGINSMODE) doc/nessus.1 ${prefix}/man/man1/nessus.1 ++ $(INSTALL) -c -o root -m $(PLUGINSMODE) doc/Manual ${prefix}/share/nessus/Manual ++ $(INSTALL) -c -o root -m $(PLUGINSMODE) doc/nessus.1 ${prefix}/man/man1/nessus.1 + @echo "Nessus is now properly installed on your system" + @echo "run ldconfig if needed !" + -- cgit v1.2.3