summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-12-20 23:46:55 +0000
committerHanno Boeck <hanno@gentoo.org>2008-12-20 23:46:55 +0000
commit3b13449d277b84b786773da07085d6a27f640546 (patch)
tree7fe5a15a65c8279a5a81b69825d60482a03f92d3 /net-analyzer/openvas-libnasl
parentFix bug 250845, gcc-4.3 compilation. (diff)
downloadhistorical-3b13449d277b84b786773da07085d6a27f640546.tar.gz
historical-3b13449d277b84b786773da07085d6a27f640546.tar.bz2
historical-3b13449d277b84b786773da07085d6a27f640546.zip
openvas-libnasl bump
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.28-rc9 x86_64
Diffstat (limited to 'net-analyzer/openvas-libnasl')
-rw-r--r--net-analyzer/openvas-libnasl/ChangeLog8
-rw-r--r--net-analyzer/openvas-libnasl/files/openvas-libnasl-2.0.0-ldflags.diff28
-rw-r--r--net-analyzer/openvas-libnasl/openvas-libnasl-2.0.0.ebuild28
3 files changed, 63 insertions, 1 deletions
diff --git a/net-analyzer/openvas-libnasl/ChangeLog b/net-analyzer/openvas-libnasl/ChangeLog
index 6ca4f0be1ab8..b6aa0fc5fd96 100644
--- a/net-analyzer/openvas-libnasl/ChangeLog
+++ b/net-analyzer/openvas-libnasl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/openvas-libnasl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-libnasl/ChangeLog,v 1.4 2008/08/18 11:50:42 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-libnasl/ChangeLog,v 1.5 2008/12/20 23:46:55 hanno Exp $
+
+*openvas-libnasl-2.0.0 (20 Dec 2008)
+
+ 20 Dec 2008; Hanno Boeck <hanno@gentoo.org>
+ +files/openvas-libnasl-2.0.0-ldflags.diff, +openvas-libnasl-2.0.0.ebuild:
+ Version bump.
18 Aug 2008; Peter Volkov <pva@gentoo.org> openvas-libnasl-1.0.1.ebuild:
Added ~amd64 keyword, thank alexxy for report.
diff --git a/net-analyzer/openvas-libnasl/files/openvas-libnasl-2.0.0-ldflags.diff b/net-analyzer/openvas-libnasl/files/openvas-libnasl-2.0.0-ldflags.diff
new file mode 100644
index 000000000000..f76b78827a3a
--- /dev/null
+++ b/net-analyzer/openvas-libnasl/files/openvas-libnasl-2.0.0-ldflags.diff
@@ -0,0 +1,28 @@
+diff -Naur openvas-libnasl-2.0.0/nasl/Makefile openvas-libnasl-2.0.0-1/nasl/Makefile
+--- openvas-libnasl-2.0.0/nasl/Makefile 2008-12-16 14:06:34.000000000 +0100
++++ openvas-libnasl-2.0.0-1/nasl/Makefile 2008-12-21 00:22:32.000000000 +0100
+@@ -93,10 +93,10 @@
+ $(COMPILE) -c $<
+
+ openvas-nasl : $(OBJS) libopenvasnasl.la nasl.c
+- $(LINK) -o openvas-nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS)
++ $(LINK) $(LDFLAGS) -o openvas-nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS)
+
+ libopenvasnasl.la : $(OBJS)
+- $(LINK) $(NESSUS_LIBS) -o libopenvasnasl.la $(LO_OBJS) -rpath ${libdir} \
++ $(LINK) $(LDFLAGS) $(NESSUS_LIBS) -o libopenvasnasl.la $(LO_OBJS) -rpath ${libdir} \
+ -version-info ${PACKAGE_VERSION}
+
+ install : libopenvasnasl.la openvas-nasl
+diff -Naur openvas-libnasl-2.0.0/nasl.tmpl.in openvas-libnasl-2.0.0-1/nasl.tmpl.in
+--- openvas-libnasl-2.0.0/nasl.tmpl.in 2008-12-16 14:06:34.000000000 +0100
++++ openvas-libnasl-2.0.0-1/nasl.tmpl.in 2008-12-21 00:23:25.000000000 +0100
+@@ -66,7 +66,7 @@
+ COMPAT=@compat_lib@
+ # Some defines you may want to modify
+ DEFS=@DEFS@ $(HAVE_UCB_INCLUDE) $(DEBUG)
+-LDFLAGS=
++LDFLAGS=@LDFLAGS@
+
+ # GPGME
+ GPGME_CONFIG=@GPGME_CONFIG@
diff --git a/net-analyzer/openvas-libnasl/openvas-libnasl-2.0.0.ebuild b/net-analyzer/openvas-libnasl/openvas-libnasl-2.0.0.ebuild
new file mode 100644
index 000000000000..63e873872be7
--- /dev/null
+++ b/net-analyzer/openvas-libnasl/openvas-libnasl-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-libnasl/openvas-libnasl-2.0.0.ebuild,v 1.1 2008/12/20 23:46:55 hanno Exp $
+
+inherit eutils
+
+DESCRIPTION="A remote security scanner for Linux (openvas-libnasl)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/549/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=net-analyzer/openvas-libraries-2.0.0
+ app-crypt/gpgme"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-ldflags.diff" || die "epatch failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+ find "${D}" -name '*.la' -delete
+ dodoc ChangeLog || die "dodoc failed"
+}