summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-core')
-rw-r--r--net-analyzer/nessus-core/ChangeLog6
-rw-r--r--net-analyzer/nessus-core/files/2.2.9-asneeded.patch16
-rw-r--r--net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild5
3 files changed, 24 insertions, 3 deletions
diff --git a/net-analyzer/nessus-core/ChangeLog b/net-analyzer/nessus-core/ChangeLog
index 995f77a6de4d..a7b874ad29df 100644
--- a/net-analyzer/nessus-core/ChangeLog
+++ b/net-analyzer/nessus-core/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/nessus-core
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/ChangeLog,v 1.115 2011/04/20 11:17:47 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/ChangeLog,v 1.116 2011/04/22 10:39:47 jlec Exp $
+
+ 22 Apr 2011; Justin Lecher <jlec@gentoo.org> +files/2.2.9-asneeded.patch,
+ nessus-core-2.2.9-r1.ebuild:
+ As-needed fixes, #364397
20 Apr 2011; Justin Lecher <jlec@gentoo.org> -nessus-core-2.3.1.ebuild:
Dropped due to pending removal request, #169466
diff --git a/net-analyzer/nessus-core/files/2.2.9-asneeded.patch b/net-analyzer/nessus-core/files/2.2.9-asneeded.patch
new file mode 100644
index 000000000000..581aba2c948d
--- /dev/null
+++ b/net-analyzer/nessus-core/files/2.2.9-asneeded.patch
@@ -0,0 +1,16 @@
+ 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/nessus-core-2.2.9-r1.ebuild b/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild
index c623b4190197..2992c83032ee 100644
--- a/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild
+++ b/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild,v 1.2 2011/04/20 11:13:05 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild,v 1.3 2011/04/22 10:39:47 jlec Exp $
EAPI="4"
@@ -31,7 +31,8 @@ src_prepare() {
tc-export CC
epatch \
"${FILESDIR}"/${PV}-gentoo.patch \
- "${FILESDIR}"/${PV}-crash.patch
+ "${FILESDIR}"/${PV}-crash.patch \
+ "${FILESDIR}"/${PV}-asneeded.patch
sed \
-e "/^LDFLAGS/s:$:${LDFLAGS}:g" \
-i nessus.tmpl.in