From b42eaea815ee76394f53b81ef1333c8fb8cc0c79 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 22 Apr 2011 10:39:47 +0000 Subject: As-needed fixes, #364397 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) --- net-analyzer/nessus-core/ChangeLog | 6 +++++- net-analyzer/nessus-core/files/2.2.9-asneeded.patch | 16 ++++++++++++++++ net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild | 5 +++-- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 net-analyzer/nessus-core/files/2.2.9-asneeded.patch (limited to 'net-analyzer/nessus-core') 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 +files/2.2.9-asneeded.patch, + nessus-core-2.2.9-r1.ebuild: + As-needed fixes, #364397 20 Apr 2011; Justin Lecher -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 -- cgit v1.2.3-65-gdbad