summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-10-14 06:41:19 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-10-14 06:41:19 +0000
commit65e7bd30150742c1ef5356595abde46309eb6742 (patch)
tree01bfd7b8b402e971e5927f0234412b45ca519f4c /net-analyzer/libnasl
parentstill cleaning (diff)
downloadgentoo-2-65e7bd30150742c1ef5356595abde46309eb6742.tar.gz
gentoo-2-65e7bd30150742c1ef5356595abde46309eb6742.tar.bz2
gentoo-2-65e7bd30150742c1ef5356595abde46309eb6742.zip
Version bump
Diffstat (limited to 'net-analyzer/libnasl')
-rw-r--r--net-analyzer/libnasl/Manifest7
-rw-r--r--net-analyzer/libnasl/files/digest-libnasl-2.0.8a1
-rw-r--r--net-analyzer/libnasl/files/libnasl-2.0.8a-gentoo.patch12
-rw-r--r--net-analyzer/libnasl/libnasl-2.0.8a.ebuild39
4 files changed, 57 insertions, 2 deletions
diff --git a/net-analyzer/libnasl/Manifest b/net-analyzer/libnasl/Manifest
index c32c9ee80872..92abbe050ac4 100644
--- a/net-analyzer/libnasl/Manifest
+++ b/net-analyzer/libnasl/Manifest
@@ -1,8 +1,11 @@
-MD5 e0d15157b7c65f09815b39ac95c27e48 ChangeLog 2419
MD5 a9ce12d270f00e151d42b2af22104777 libnasl-2.0.6a.ebuild 934
+MD5 1ab780ac71dfc35c55aa48e7666aa504 libnasl-2.0.8a.ebuild 939
+MD5 e0d15157b7c65f09815b39ac95c27e48 ChangeLog 2419
MD5 b978cd0ba38b68ccb11ca686fda27fd0 libnasl-2.0.7.ebuild 932
-MD5 a63774087743ad21223b450476a9011b files/digest-libnasl-2.0.6a 66
+MD5 66f66f3e28aba3711a59ab98581aafce files/libnasl-2.0.8a-gentoo.patch 534
MD5 50f3046911a43f777da050b859d85c1e files/digest-libnasl-2.0.7 65
+MD5 a63774087743ad21223b450476a9011b files/digest-libnasl-2.0.6a 66
+MD5 8599520c5115f9f3538972c99ce0b090 files/digest-libnasl-2.0.8a 66
MD5 66f66f3e28aba3711a59ab98581aafce files/libnasl-2.0.4-gentoo.patch 534
MD5 66f66f3e28aba3711a59ab98581aafce files/libnasl-2.0.6a-gentoo.patch 534
MD5 66f66f3e28aba3711a59ab98581aafce files/libnasl-2.0.7-gentoo.patch 534
diff --git a/net-analyzer/libnasl/files/digest-libnasl-2.0.8a b/net-analyzer/libnasl/files/digest-libnasl-2.0.8a
new file mode 100644
index 000000000000..b8b59d134293
--- /dev/null
+++ b/net-analyzer/libnasl/files/digest-libnasl-2.0.8a
@@ -0,0 +1 @@
+MD5 82887ff1c510c82637e46bbbdd35d2ce libnasl-2.0.8a.tar.gz 341755
diff --git a/net-analyzer/libnasl/files/libnasl-2.0.8a-gentoo.patch b/net-analyzer/libnasl/files/libnasl-2.0.8a-gentoo.patch
new file mode 100644
index 000000000000..3c769c08d7d0
--- /dev/null
+++ b/net-analyzer/libnasl/files/libnasl-2.0.8a-gentoo.patch
@@ -0,0 +1,12 @@
+diff -urN libnasl/nasl/Makefile libnasl-modified/nasl/Makefile
+--- libnasl/nasl/Makefile Mon Oct 15 12:58:07 2001
++++ libnasl-modified/nasl/Makefile Fri Jul 26 12:56:36 2002
+@@ -90,6 +90,7 @@
+
+ install : libnasl.la nasl
+ test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
++ test -d $(DESTDIR)${bindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${bindir}
+ $(LIBTOOL) --mode install $(INSTALL) libnasl.la $(DESTDIR)${libdir}/libnasl.la
+ $(LIBTOOL) --finish $(DESTDIR)${libdir}
+ $(INSTALL) nasl $(DESTDIR)${bindir}/
+
diff --git a/net-analyzer/libnasl/libnasl-2.0.8a.ebuild b/net-analyzer/libnasl/libnasl-2.0.8a.ebuild
new file mode 100644
index 000000000000..d3564ded2920
--- /dev/null
+++ b/net-analyzer/libnasl/libnasl-2.0.8a.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/libnasl/libnasl-2.0.8a.ebuild,v 1.1 2003/10/14 06:41:13 phosphan Exp $
+
+inherit eutils
+
+DESCRIPTION="A remote security scanner for Linux (libnasl)"
+HOMEPAGE="http://www.nessus.org/"
+SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND="=net-analyzer/nessus-libraries-${PV}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ econf || die "configuration failed"
+ # emake fails for >= -j2. bug #16471.
+ make || die "make failed"
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ mandir=${D}/usr/share/man \
+ install || die "Install failed libnasl"
+ dodoc COPYING TODO
+}