summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-04-23 08:51:07 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-04-23 08:51:07 +0000
commitdca99382742eea98ef1f95722ccc1ca720f6db53 (patch)
treee4e63b2baec41011d1cf64c1429c6ef10073d11e /net-analyzer/libnasl
parentAnother bug closed (diff)
downloadhistorical-dca99382742eea98ef1f95722ccc1ca720f6db53.tar.gz
historical-dca99382742eea98ef1f95722ccc1ca720f6db53.tar.bz2
historical-dca99382742eea98ef1f95722ccc1ca720f6db53.zip
Version bump
Diffstat (limited to 'net-analyzer/libnasl')
-rw-r--r--net-analyzer/libnasl/ChangeLog7
-rw-r--r--net-analyzer/libnasl/files/digest-libnasl-2.0.41
-rw-r--r--net-analyzer/libnasl/files/libnasl-2.0.4-gentoo.patch12
-rw-r--r--net-analyzer/libnasl/libnasl-2.0.4.ebuild49
4 files changed, 68 insertions, 1 deletions
diff --git a/net-analyzer/libnasl/ChangeLog b/net-analyzer/libnasl/ChangeLog
index deeea4298613..25a82f0b9ba1 100644
--- a/net-analyzer/libnasl/ChangeLog
+++ b/net-analyzer/libnasl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/libnasl
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/libnasl/ChangeLog,v 1.11 2003/03/05 17:06:59 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/libnasl/ChangeLog,v 1.12 2003/04/23 08:51:06 aliz Exp $
+
+*libnasl-2.0.4 (23 Apr 2003)
+
+ 23 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump. Found in #18978.
*libnasl-2.0.0 (25 Feb 2003)
diff --git a/net-analyzer/libnasl/files/digest-libnasl-2.0.4 b/net-analyzer/libnasl/files/digest-libnasl-2.0.4
new file mode 100644
index 000000000000..385f0cc3034c
--- /dev/null
+++ b/net-analyzer/libnasl/files/digest-libnasl-2.0.4
@@ -0,0 +1 @@
+MD5 f3daae4d072fddba92a16284eb241cf0 libnasl-2.0.4.tar.gz 340590
diff --git a/net-analyzer/libnasl/files/libnasl-2.0.4-gentoo.patch b/net-analyzer/libnasl/files/libnasl-2.0.4-gentoo.patch
new file mode 100644
index 000000000000..3c769c08d7d0
--- /dev/null
+++ b/net-analyzer/libnasl/files/libnasl-2.0.4-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.4.ebuild b/net-analyzer/libnasl/libnasl-2.0.4.ebuild
new file mode 100644
index 000000000000..6d386e57c913
--- /dev/null
+++ b/net-analyzer/libnasl/libnasl-2.0.4.ebuild
@@ -0,0 +1,49 @@
+# 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.4.ebuild,v 1.1 2003/04/23 08:51:07 aliz 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"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc -sparc "
+
+DEPEND="=net-analyzer/nessus-libraries-${PV}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch || die
+}
+
+src_compile() {
+ if [ ! -z ${DEBUGBUILD} ]; then
+ OLD_DEBUG=${DEBUG}
+ unset DEBUG
+ econf || die "configuration failed"
+ DEBUG=${OLD_DEBUG}
+ unset OLD_DEBUG
+ else
+ econf || die "configuration failed"
+ fi
+
+ make || die "make failed"
+ # fails for >= -j2. bug #16471.
+ # emake || die "emake 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
+}