summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2011-10-09 17:18:04 +0000
committerHanno Boeck <hanno@gentoo.org>2011-10-09 17:18:04 +0000
commitae5d006a6d16b3a3701d530ba85a0c386f5aed6a (patch)
tree6c92fdabf1046d94acdba46a9edf117e256bbaf3 /net-analyzer
parentppc/ppc64 stable wrt #379297 (diff)
downloadhistorical-ae5d006a6d16b3a3701d530ba85a0c386f5aed6a.tar.gz
historical-ae5d006a6d16b3a3701d530ba85a0c386f5aed6a.tar.bz2
historical-ae5d006a6d16b3a3701d530ba85a0c386f5aed6a.zip
initial commit of openvas-scanner, part of openvas 4
Package-Manager: portage-2.1.10.24/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/openvas-administrator/Manifest25
-rw-r--r--net-analyzer/openvas-manager/Manifest25
-rw-r--r--net-analyzer/openvas-scanner/ChangeLog10
-rw-r--r--net-analyzer/openvas-scanner/files/openvassd23
-rw-r--r--net-analyzer/openvas-scanner/metadata.xml5
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-3.2.4.ebuild43
6 files changed, 131 insertions, 0 deletions
diff --git a/net-analyzer/openvas-administrator/Manifest b/net-analyzer/openvas-administrator/Manifest
new file mode 100644
index 000000000000..68511c613dbc
--- /dev/null
+++ b/net-analyzer/openvas-administrator/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX openvasad 484 RMD160 0e2a023d313e301eeaad89c0b10d2e72ba2675f5 SHA1 34014515bb15af970a3dfc4cfda24d947166c76d SHA256 5902222033a9f49c18139c28533c4c4add4efd8794e77f81b8c03a7203dd1fd4
+DIST openvas-administrator-1.1.1.tar.gz 133542 RMD160 c4c55978086e88bb3e35bd4e73c46711029bb4b8 SHA1 cbfa2374d7020e0247ef071c850a8d450ad2500c SHA256 cddf5f55e97125d9220f407a2050714da967a6695a54441daab56e20e2334089
+EBUILD openvas-administrator-1.1.1.ebuild 1091 RMD160 3df697662221fc15abaaddec08fddd381811df5c SHA1 0b77c412b355485b2d8bb4c53a5079c0011d949d SHA256 81a49d9a08e8feb53d5a53adc4bc133f2d08bbe8e47f5c0b2e1bd1bdf7dd5ab2
+MISC ChangeLog 465 RMD160 40a2697226da7c3dc30632a2b27c3c505af0cd62 SHA1 700b9f857698ccf4bd3e8b6d8eefccff0608fa48 SHA256 00443af7ecdb80b2c44157e151291e5d0d5731219d5ee02f3b1de474388294ff
+MISC metadata.xml 196 RMD160 38d93373061ffec39f901f9710573fe2eb6224fc SHA1 9f792f2f8c83cd88b49c8d7e989604a2b21cff6e SHA256 e8ef5daeda229c876fcf81068b64452d16ca1674618ee72fe8c294f6ead29445
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOkfQfAAoJEKWIAHK7tR5CrL4QAJnHsMzHqAvQVvkwf3sj1qKY
+u9SOa/TYX9Y7WVoZoyCxpllJXqRGLAlmUQwyK0fggigz+NUmGpDLpjRMdjlDMVl1
+O6vk/wp1ddR/ENgeA2RWd9vcCR0AGFUSutltA3LuoWfCU9IkmR/S6rsm5lXcfLlS
+jIK1QvQ3Q4xCOzuXAloRKiUpx79P4fm+12EkpgAin2XN/pISLCFGwXg5nlognZP/
+OsfFhGrtoDe2tdXQgc1Hrr0eljFThTnlC7Ykei4HNEVlhI3T0jkiUs6N8g9bIyy2
+GcXTV01sU/+WkC4y3vrScY3yMn3m+VFe9i3X2gsejbgVbU64d+kuhr3ysNEXJjoy
+Q7nh5fESgvNXFxGbcI1RAKXeM7/cOqtVb4FxuumBlt2PbaSzzrSdJ95pxV/gEOMs
+4DpEwe8+XP+NJ9jofZ0yM8OesSmv6byU592/wlQG/1S8+X8BpX7KEmvkIo00QUiG
+pgxJdnP65yBOSjzHo9M0/zixu3gvcPZ3J+IjJmK3o736qVQ3KnwA+CplitHdFnvi
+ST6gt8DJsOmxfklLrpnwkQLSGN0gdjBrhBfC9+uZdOoH02DSh+QacJ2RKHgazW5r
+nLo+adQsD+hqR7YqS+I0pzLRBR3WD6Tfdoe8LHoKDV18CgVsEmzNx0zHgpkd392g
+TkQpcEfiMkUe2dmE9aFb
+=bfnb
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest
new file mode 100644
index 000000000000..a51cd7a31d36
--- /dev/null
+++ b/net-analyzer/openvas-manager/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX openvasmd 470 RMD160 4477b336aa26a22e0be23edfb14712a0ee03f71b SHA1 fae6fa355e511052fc0553d04ab58718f21716ec SHA256 81cf8687e86c0a81b80108ba7c4be3b91978a565af8599bd100bf05f6a8c3f9a
+DIST openvas-manager-2.0.4.tar.gz 1064257 RMD160 a3220c6d3facf170abb391c36efd4fff9d76792b SHA1 46d0ad6275bc91ff9081c058147f85700ee17f43 SHA256 553c44860d111c1fb0544aa7204704b331d851d1fa982c982052c08e52cbd041
+EBUILD openvas-manager-2.0.4.ebuild 1082 RMD160 eb6c1cbd7518196dde1b21d13334a93eb1e56830 SHA1 b1320f37bcee5cd1db2b8005a6067b2a5bb67bcf SHA256 283e9144985355394058876041dcd86e2fa9a883aa1d9e64d4b80742091bcb06
+MISC ChangeLog 435 RMD160 6688bb52f525b3f1d29961a2d7f1a16d5532cdc4 SHA1 2ca0559cc8f282c20c7a8d70439ffd5d516c127b SHA256 79cf16e9393fc3d1026877e6335d65a9a62d3168213c2ed5951145804c6b8fd9
+MISC metadata.xml 196 RMD160 38d93373061ffec39f901f9710573fe2eb6224fc SHA1 9f792f2f8c83cd88b49c8d7e989604a2b21cff6e SHA256 e8ef5daeda229c876fcf81068b64452d16ca1674618ee72fe8c294f6ead29445
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOkfSMAAoJEKWIAHK7tR5CTIgP/21C25PYgTk61w8Nzgf3lH27
+wWkz4iv5rk1WVAEWfwyTtE+vDOgcYocetMgSVfVYgPOEiu7K9zXJNK3SaQR9Zm78
+WsfrUvkSkMhEEaFNN1ZprqwD4jXgXqpMroLeIOOXDH/3eL5OxNcW4+2Pr5rwR/pT
+k6ksHxBE2weGhGMZ+t7nu8MaIXMD0QV3hYpJ2WSMftLDhcZ85fgBJr9kL2KWVpj2
+PwhVVDDXm52xa46FqjMYHkNzGB4hMMQPTl11N/4OJfrXbBSiQQa1BbsLWzBZyK95
+kG/fUh3SZm4NUscUWNBLJ4D94bfUff4FNJ6RjMnNebGZDuQyFXTJi7FgG11WzaMt
+C2qd1YRuTq94y/zHFe4Ax4EJsl6SmdfX13/HWF7BWzYpjUmELHESiTT0S4Rmxk/U
+ZM/Hu4KDTh4sf5sa0xpnigmV8ziBPhZ1LlKi5QweR+Hbro/k6CSIans13gyoL/aS
+5+S0GWwRFYLX8dEVgmT3Mbk4RupJ4l061gPa2wn109wI4Plnwk7J9nL168ugvUeN
+T3qUVqoIti5zyqcrNgvv0MdrXj/IPBlOZmPOd444BZoKMMQzs8Cwax4W7kwrxYf0
+dnLV3+OmUWTwBIo0KNS5ln1GLhagc5TdUY9UI1nAx57XHlYp8SuKGcBZ0bck78cC
+nBZU08EZJL10UtgzoIqg
+=kiw4
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/openvas-scanner/ChangeLog b/net-analyzer/openvas-scanner/ChangeLog
new file mode 100644
index 000000000000..f17caad768f7
--- /dev/null
+++ b/net-analyzer/openvas-scanner/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/openvas-scanner
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.1 2011/10/09 17:18:04 hanno Exp $
+
+*openvas-scanner-3.2.4 (09 Oct 2011)
+
+ 09 Oct 2011; Hanno Boeck <hanno@gentoo.org> +openvas-scanner-3.2.4.ebuild,
+ +files/openvassd, +metadata.xml:
+ Initial commit, scanner part of openvas.
+
diff --git a/net-analyzer/openvas-scanner/files/openvassd b/net-analyzer/openvas-scanner/files/openvassd
new file mode 100644
index 000000000000..5e9541234d7f
--- /dev/null
+++ b/net-analyzer/openvas-scanner/files/openvassd
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting openvassd (scanner)"
+ start-stop-daemon --start --name openvassd \
+ --exec /usr/sbin/openvassd \
+ --pidfile /var/run/openvassd.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stop openvassd (scanner)"
+ start-stop-daemon --stop --name openvassd \
+ --pidfile /var/run/openvassd.pid
+ eend $?
+}
diff --git a/net-analyzer/openvas-scanner/metadata.xml b/net-analyzer/openvas-scanner/metadata.xml
new file mode 100644
index 000000000000..8cb548491f4e
--- /dev/null
+++ b/net-analyzer/openvas-scanner/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-3.2.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-3.2.4.ebuild
new file mode 100644
index 000000000000..af9660b94cf2
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-3.2.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-3.2.4.ebuild,v 1.1 2011/10/09 17:18:04 hanno Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+DESCRIPTION="A remote security scanner for Linux (openvas-scanner)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/873/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=net-analyzer/openvas-libraries-4
+ !net-analyzer/openvas-plugins
+ !net-analyzer/openvas-server"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/cmake"
+
+# Workaround for upstream bug, it doesn't like out-of-tree builds.
+CMAKE_BUILD_DIR="${S}"
+
+src_configure() {
+ local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc ChangeLog CHANGES README || die "dodoc failed"
+ doinitd "${FILESDIR}"/openvassd || die
+}
+
+pkg_postinst() {
+ elog "To use openvassd, you first need to:"
+ elog "1. Call 'openvas-nvt-sync' to download/update plugins"
+ elog "2. Call 'openvas-mkcert' to generate a server certificate"
+ elog "3. Call 'openvas-adduser' to create a user"
+}