diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-02-08 13:02:43 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-02-08 13:02:43 +0000 |
commit | 72f4b134caed4143b8e50b136606e21579854148 (patch) | |
tree | f7672158dafbbccc19081c5eff1cfabe6ae440f7 /net-analyzer | |
parent | initial openvas-libraries commit (diff) | |
download | gentoo-2-72f4b134caed4143b8e50b136606e21579854148.tar.gz gentoo-2-72f4b134caed4143b8e50b136606e21579854148.tar.bz2 gentoo-2-72f4b134caed4143b8e50b136606e21579854148.zip |
initial commit of openvas-libnasl
(Portage version: 2.1.4.1)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/openvas-libnasl/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/openvas-libnasl/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/openvas-libnasl/files/openvas-libnasl-1.0.0-Makefile.patch | 33 | ||||
-rw-r--r-- | net-analyzer/openvas-libnasl/metadata.xml | 6 | ||||
-rw-r--r-- | net-analyzer/openvas-libnasl/openvas-libnasl-1.0.0.ebuild | 26 |
5 files changed, 81 insertions, 0 deletions
diff --git a/net-analyzer/openvas-libnasl/ChangeLog b/net-analyzer/openvas-libnasl/ChangeLog new file mode 100644 index 000000000000..455c8f232ea3 --- /dev/null +++ b/net-analyzer/openvas-libnasl/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2008/02/08 13:02:43 hanno Exp $ + +*openvas-libnasl-1.0.0 (08 Feb 2008) + + 08 Feb 2008; Hanno Boeck <hanno@gentoo.org> + +files/openvas-libnasl-1.0.0-Makefile.patch, +metadata.xml, + +openvas-libnasl-1.0.0.ebuild: + Initial commit of openvas. + diff --git a/net-analyzer/openvas-libnasl/Manifest b/net-analyzer/openvas-libnasl/Manifest new file mode 100644 index 000000000000..5ef4ff25dffb --- /dev/null +++ b/net-analyzer/openvas-libnasl/Manifest @@ -0,0 +1,5 @@ +AUX openvas-libnasl-1.0.0-Makefile.patch 1202 RMD160 ca2e454cdde5fcde59ff64357ddebe9391645ae3 SHA1 ccd375e28402df452731cee81db413c9b3b61313 SHA256 8d998a15b7db65628bd658280987ccfc0f4de72d4c27670fe52f3ab7f1249f94 +DIST openvas-libnasl-1.0.0.tar.gz 416197 RMD160 7462d87fa4d8261a688d0678c0e13965e449a90d SHA1 ae0aeb252c9dfdb9e996ca2a3bf8925445bfa99c SHA256 85a70f418aa54b14220bab825897a93fcce7e850ce8d5a5cc5edfb9131089e06 +EBUILD openvas-libnasl-1.0.0.ebuild 594 RMD160 9f3520099156b3e404d4b0c5cbce35a423b973f3 SHA1 2b51d9036e51dc7f4bcb33cfbdea672a534a4028 SHA256 37ced22c73091c42ccdc44a95fe2a40f24c554452bbce9fe8500515734a0dc6b +MISC ChangeLog 338 RMD160 4cf197baa06e0ad4d22ecedeb11c518916ab4498 SHA1 c0104f33db4e09bc1706d1557f661aa978c44607 SHA256 41351081974e823d8aecbbf41185e4e2cbf095771054e6e4e91a21d65b0fb1e7 +MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 diff --git a/net-analyzer/openvas-libnasl/files/openvas-libnasl-1.0.0-Makefile.patch b/net-analyzer/openvas-libnasl/files/openvas-libnasl-1.0.0-Makefile.patch new file mode 100644 index 000000000000..f5cfd262f7c6 --- /dev/null +++ b/net-analyzer/openvas-libnasl/files/openvas-libnasl-1.0.0-Makefile.patch @@ -0,0 +1,33 @@ +--- openvas-libnasl-1.0.0-orig/nasl/Makefile 2008-01-17 13:54:34.000000000 +0100 ++++ openvas-libnasl-1.0.0/nasl/Makefile 2008-01-17 13:57:11.000000000 +0100 +@@ -26,7 +26,7 @@ + NESSUS_CFLAGS= -I../include $(OPTIMIZE) `$(LIBOPENVASCONFIG) --cflags` `$(GPGME_CONFIG) --cflags` -DNESSUS_EXTENSIONS + NESSUS_LIBS = $(LIBS) `$(LIBOPENVASCONFIG) --libs` `$(GPGME_CONFIG) --libs` + +-NESSUS_INCLUDE=`sh ./cflags` ++NESSUS_INCLUDE = $(NESSUS_CFLAGS) $(include) $(DEFS) + + YACC = bison + YFLAGS = -d -v -t -p nasl +@@ -88,18 +88,15 @@ + nasl_debug.lo + + COMPILE = $(LIBTOOL) $(CC) $(CFLAGS) $(NESSUS_INCLUDE) +-all : cflags libopenvasnasl.la openvas-nasl ++all : libopenvasnasl.la openvas-nasl + + .c.o: + $(COMPILE) -c $< +-cflags : Makefile +- @echo "echo \"$(NESSUS_CFLAGS) $(include) $(DEFS) \"" > cflags +- @chmod +x cflags + +-openvas-nasl : cflags $(OBJS) nasl.c ++openvas-nasl : $(OBJS) libopenvasnasl.la nasl.c + $(CC) $(CFLAGS) $(NESSUS_INCLUDE) $(include) -o openvas-nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS) + +-libopenvasnasl.la : cflags $(OBJS) ++libopenvasnasl.la : $(OBJS) + $(COMPILE) $(NESSUS_LIBS) -o libopenvasnasl.la $(LO_OBJS) -rpath ${libdir} \ + -version-info ${PACKAGE_VERSION} + diff --git a/net-analyzer/openvas-libnasl/metadata.xml b/net-analyzer/openvas-libnasl/metadata.xml new file mode 100644 index 000000000000..efa54454de71 --- /dev/null +++ b/net-analyzer/openvas-libnasl/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>hanno@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/net-analyzer/openvas-libnasl/openvas-libnasl-1.0.0.ebuild b/net-analyzer/openvas-libnasl/openvas-libnasl-1.0.0.ebuild new file mode 100644 index 000000000000..ad9903349998 --- /dev/null +++ b/net-analyzer/openvas-libnasl/openvas-libnasl-1.0.0.ebuild @@ -0,0 +1,26 @@ +# 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-1.0.0.ebuild,v 1.1 2008/02/08 13:02:43 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/406/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="net-analyzer/openvas-libraries" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/openvas-libnasl-1.0.0-Makefile.patch" +} + +src_install() { + einstall || die "einstall failed" + dodoc ChangeLog || die "dodoc failed" +} |