diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-12 07:49:20 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-12 07:49:20 +0000 |
commit | c96b6255beefae6759ad1efcf23477248abf61b0 (patch) | |
tree | 9a4336811072678278891008f853b8a30d8ff5a7 /net-analyzer/nessus-core/files | |
parent | Remove old. (diff) | |
download | gentoo-2-c96b6255beefae6759ad1efcf23477248abf61b0.tar.gz gentoo-2-c96b6255beefae6759ad1efcf23477248abf61b0.tar.bz2 gentoo-2-c96b6255beefae6759ad1efcf23477248abf61b0.zip |
Respect CFLAGS, add pkgconfig build dependency, remove unnecessary patch, and fix call to open. Remove old.
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nessus-core/files')
4 files changed, 11 insertions, 53 deletions
diff --git a/net-analyzer/nessus-core/files/2.2.9-asneeded.patch b/net-analyzer/nessus-core/files/2.2.9-asneeded.patch deleted file mode 100644 index 581aba2c948d..000000000000 --- a/net-analyzer/nessus-core/files/2.2.9-asneeded.patch +++ /dev/null @@ -1,16 +0,0 @@ - nessusd/Makefile | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/nessusd/Makefile b/nessusd/Makefile -index 47a1e12..66641aa 100644 ---- a/nessusd/Makefile -+++ b/nessusd/Makefile -@@ -3,7 +3,7 @@ include ../nessus.tmpl - LIBS = `$(NASLCONFIG) --libs` `$(NESSUSCONFIG) --libs` \ - $(W_STATIC) $(W_DYNAMIC) \ - $(DL_LIB) \ -- $(COMPAT_LIB) $(LIBWRAP) -+ $(COMPAT_LIB) $(LIBWRAP) `pcap-config --libs` - NESSUS_INCLUDE=`sh ./cflags` - OBJS = auth.o \ - attack.o \ diff --git a/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch b/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch new file mode 100644 index 000000000000..fe60ede62b29 --- /dev/null +++ b/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch @@ -0,0 +1,11 @@ +--- nessus-core/nessusd/detached.c.orig ++++ nessus-core/nessusd/detached.c +@@ -408,7 +408,7 @@ + char * target; + { + char * fname = detached_fname(globals); +- int f = open(fname, O_CREAT|O_WRONLY|O_TRUNC); ++ int f = open(fname, O_CREAT|O_WRONLY|O_TRUNC, 0600); + if(f >= 0) + { + write(f, target, strlen(target)); diff --git a/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff b/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff deleted file mode 100644 index 5d0447c216ed..000000000000 --- a/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff --exclude='*~' --exclude='.*' -I '$Id:' -urN nessus-core.orig/nessus/comm.c nessus-core/nessus/comm.c ---- nessus-core.orig/nessus/comm.c 2005-05-15 09:36:41.000000000 -0400 -+++ nessus-core/nessus/comm.c 2005-05-15 09:37:48.000000000 -0400 -@@ -96,6 +96,7 @@ - limit = PBAR_MAX; - break; - default: -+ ; - } - } - diff --git a/net-analyzer/nessus-core/files/nessusd-r8 b/net-analyzer/nessus-core/files/nessusd-r8 deleted file mode 100644 index 63cb61db710b..000000000000 --- a/net-analyzer/nessus-core/files/nessusd-r8 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/files/nessusd-r8,v 1.1 2006/02/04 14:57:30 vanquirius Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting nessusd" - start-stop-daemon --start --quiet --exec /usr/sbin/nessusd -- -D --quiet - eend $? -} - -stop() { - ebegin "Stop nessusd" - start-stop-daemon --stop --quiet --exec /usr/sbin/nessusd - einfo "Waiting for the environment to be sane" - while [ -n "$RUNNING" ] ; do - sleep 1 - RUNNING=$(ps aux | grep -m 1 nessusd: | grep -v grep) - done - sleep 3 - eend $? -} |