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/nessus-core-2.2.9-open.patch | |
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/nessus-core-2.2.9-open.patch')
-rw-r--r-- | net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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)); |