summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-12-20 23:45:09 +0000
committerHanno Böck <hanno@gentoo.org>2008-12-20 23:45:09 +0000
commitb3270722f9826e2c0d97791ab34ec9759ddd3ae2 (patch)
tree41147c8839393612b240d610390c7804d7a78dc2 /net-analyzer
parentRemoving ~amd64 keyword, bug #194957 (diff)
downloadgentoo-2-b3270722f9826e2c0d97791ab34ec9759ddd3ae2.tar.gz
gentoo-2-b3270722f9826e2c0d97791ab34ec9759ddd3ae2.tar.bz2
gentoo-2-b3270722f9826e2c0d97791ab34ec9759ddd3ae2.zip
openvas-libraries bump
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc9 x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/openvas-libraries/ChangeLog9
-rw-r--r--net-analyzer/openvas-libraries/files/openvas-libraries-2.0.0-ldflags.diff36
-rw-r--r--net-analyzer/openvas-libraries/openvas-libraries-2.0.0.ebuild28
3 files changed, 72 insertions, 1 deletions
diff --git a/net-analyzer/openvas-libraries/ChangeLog b/net-analyzer/openvas-libraries/ChangeLog
index 04b49bf6c214..58872edac898 100644
--- a/net-analyzer/openvas-libraries/ChangeLog
+++ b/net-analyzer/openvas-libraries/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/openvas-libraries
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-libraries/ChangeLog,v 1.4 2008/08/18 11:49:15 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-libraries/ChangeLog,v 1.5 2008/12/20 23:45:08 hanno Exp $
+
+*openvas-libraries-2.0.0 (20 Dec 2008)
+
+ 20 Dec 2008; Hanno Boeck <hanno@gentoo.org>
+ +files/openvas-libraries-2.0.0-ldflags.diff,
+ +openvas-libraries-2.0.0.ebuild:
+ Version bump and fix for LDFLAGS.
18 Aug 2008; Peter Volkov <pva@gentoo.org> openvas-libraries-1.0.2.ebuild:
Added ~amd64 keyword, thank alexxy for report.
diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-2.0.0-ldflags.diff b/net-analyzer/openvas-libraries/files/openvas-libraries-2.0.0-ldflags.diff
new file mode 100644
index 000000000000..e6c4556fdd79
--- /dev/null
+++ b/net-analyzer/openvas-libraries/files/openvas-libraries-2.0.0-ldflags.diff
@@ -0,0 +1,36 @@
+diff -Naur openvas-libraries-2.0.0/libopenvas/Makefile openvas-libraries-2.0.0-1/libopenvas/Makefile
+--- openvas-libraries-2.0.0/libopenvas/Makefile 2008-12-16 14:03:21.000000000 +0100
++++ openvas-libraries-2.0.0-1/libopenvas/Makefile 2008-12-20 23:09:48.000000000 +0100
+@@ -115,7 +115,7 @@
+
+
+ libopenvas.la: $(OBJS)
+- $(LIBTOOL) $(CC) $(LIBS) -o libopenvas.la $(LO_OBJS) -rpath ${libdir} \
++ $(LIBTOOL) $(CC) $(LDFLAGS) -o libopenvas.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
+ -version-info ${PACKAGE_VERSION}
+
+ install : libopenvas.la
+diff -Naur openvas-libraries-2.0.0/libopenvas_hg/Makefile openvas-libraries-2.0.0-1/libopenvas_hg/Makefile
+--- openvas-libraries-2.0.0/libopenvas_hg/Makefile 2008-12-16 14:03:18.000000000 +0100
++++ openvas-libraries-2.0.0-1/libopenvas_hg/Makefile 2008-12-20 23:10:11.000000000 +0100
+@@ -47,7 +47,7 @@
+ $(INSTALL) -m 0644 hg_utils.h $(DESTDIR)${includedir}/openvas
+
+ libopenvas_hg.la : $(OBJS)
+- $(LIBTOOL) $(CC) $(LIBS) -o libopenvas_hg.la $(LO_OBJS) -rpath ${libdir} \
++ $(LIBTOOL) $(CC) $(LDFLAGS) -o libopenvas_hg.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
+ -version-info ${PACKAGE_VERSION}
+
+ hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c
+diff -Naur openvas-libraries-2.0.0/openvas-libraries.tmpl.in openvas-libraries-2.0.0-1/openvas-libraries.tmpl.in
+--- openvas-libraries-2.0.0/openvas-libraries.tmpl.in 2008-12-16 14:03:22.000000000 +0100
++++ openvas-libraries-2.0.0-1/openvas-libraries.tmpl.in 2008-12-20 23:09:14.000000000 +0100
+@@ -62,7 +62,7 @@
+
+ # Some defines you may want to modify
+ DEFS=@DEFS@ $(DEBUG_SSL) $(DEBUG)
+-LDFLAGS=
++LDFLAGS=@LDFLAGS@
+
+ # Your C compiler
+ CC=@CC@
diff --git a/net-analyzer/openvas-libraries/openvas-libraries-2.0.0.ebuild b/net-analyzer/openvas-libraries/openvas-libraries-2.0.0.ebuild
new file mode 100644
index 000000000000..b3c92b4eb04b
--- /dev/null
+++ b/net-analyzer/openvas-libraries/openvas-libraries-2.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-libraries/openvas-libraries-2.0.0.ebuild,v 1.1 2008/12/20 23:45:08 hanno Exp $
+
+inherit eutils
+
+DESCRIPTION="A remote security scanner for Linux (openvas-libraries)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/548/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/gnutls
+ net-libs/libpcap"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-ldflags.diff" || die "epatch failed"
+}
+
+src_install() {
+ einstall || die "failed to install"
+ find "${D}" -name '*.la' -delete
+ dodoc ChangeLog CHANGES TODO || die
+}