diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/openvas |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/openvas')
-rw-r--r-- | net-analyzer/openvas/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/openvas/files/README.gentoo | 34 | ||||
-rw-r--r-- | net-analyzer/openvas/metadata.xml | 10 | ||||
-rw-r--r-- | net-analyzer/openvas/openvas-8.0.5-r1.ebuild | 42 |
4 files changed, 91 insertions, 0 deletions
diff --git a/net-analyzer/openvas/Manifest b/net-analyzer/openvas/Manifest new file mode 100644 index 000000000000..f5676585d539 --- /dev/null +++ b/net-analyzer/openvas/Manifest @@ -0,0 +1,5 @@ +AUX README.gentoo 1029 SHA256 046b8685eb2bc942d557242bc74ad18ba97ce94ce2ce033abcf4ce930583696f SHA512 aeff351d306e4bc818b48d254c9efd618818b9ae1025285e97105908746628db469b4fa4620cb0db3032f58f50f3615779cf35c098e3e7819c01c24ee0adefc5 WHIRLPOOL a0eab9666ac02f37c095611883021690c1d3b9c15ffef8d7202cb66e301f2f854044c4aaccbd8a139c1a6e365612b418079aa08739ba07b3f35b8112574146a7 +EBUILD openvas-8.0.5-r1.ebuild 1460 SHA256 b0a3efe5a96923b83724382c64561f475de8035d0c8f7480a84b46e6960e82f6 SHA512 46582e09a8bada805ec596ff3d11493a678d33b5133b815b4812a5258733853af3f42664657d98e53ad8de47ad1f3e7bf404ea8b63406e25d8ca7f91ae564d30 WHIRLPOOL 402ddc6654e24c7c5678ea8c9d7d491a4645c270d1ab2afe072b4d5d5ec662fbcf2afc6ea7dc44d4ba4fa181b5e9e971892e88c053df02673bf77370aff13b1d +MISC ChangeLog 3245 SHA256 8a5fe2255232affaff3755ad53379c8665218974cbacc4d1ec25bc85fd0520b7 SHA512 f2364932b5f5c8cb6e249c8090561d08836cc96679d294b0fb19c56cc0d45f9750a7b6aed453805395415e9f153656056c8db591b99553a1e306326389680a2b WHIRLPOOL 87a2fd660180cf046133b5a24d610882c0f6f026429d520c3850a9397617cf7a259271bdc31c62ae1a88691e95878de9db6ed425273b5a7d7a7c0c6f26b5481e +MISC ChangeLog-2015 4825 SHA256 f1d559b14773d4999a9ed60ba86107900dcabe9059e63f900034f03d9acc910e SHA512 afcec71afc16313c654c2f5d27b507b5b40fb5689548fbe33246d60e55a027256e6973df321d7cd6e5f579aa12a3d3c1f81c6ea2f2dda2b6374fd50910d227e6 WHIRLPOOL 665d787bcd4de48ecae442c32740568a879c8b42c28420ccabd6aefca05d9fe7f0ebb54d518d5b45da53877f25f988522a9a12279b3ed257ee63c132e69c7c55 +MISC metadata.xml 292 SHA256 042515ed4e4985b95a45b9305be5544b9f2fbdd00c9cab13b4360c808a945283 SHA512 6e85f9ffe2dd906265dbd40ce11254d73ed28ff45d5db913571fe0e289a339dbc93e0a2464ae506a6e21fd3730f4a5cccf245b771f746503800d455e6d894911 WHIRLPOOL e402661bac1ad9f0ccf669ea00ec888fce6fb45e64070c16319fbac8f89ee46404ef651a9200dd5b730f70a47c0950945dae3304500b2230a3dbacc054f5565b diff --git a/net-analyzer/openvas/files/README.gentoo b/net-analyzer/openvas/files/README.gentoo new file mode 100644 index 000000000000..71dbf185b472 --- /dev/null +++ b/net-analyzer/openvas/files/README.gentoo @@ -0,0 +1,34 @@ +To allow openvasmd to work, you need to do the following + +# Generate a Server Certificate +openvas-mkcert + +# Generate a Client Certificate +openvas-mkcert-client -n -i + +# get nvt feed +openvas-nvt-sync (free) or greenbone-nvt-sync (commercial) + +# get scap feed +openvas-scapdata-sync (free) or greenbone-scapdata-sync (commercial) + +# get cert feed +openvas-certdata-sync (free) or greenbone-certdata-sync (commercial) + +# Generate initial NVT cache (takes some minutes) +rc-service openvassd create_cache or openvassd --foreground --only-cache + +# Start the OpenVAS Scanner +rc-service openvassd start or systemctl start openvassd.service + +# Initialize the Database (This is going to take some time, perhaps time to get coffee?) +openvasmd --rebuild --progress -v + +# Create an admin user and note down the initial password +openvasmd --create-user=admin --role=Admin + +# Start the OpenVAS Manager +rc-service openvasmd start or systemctl start openvasmd + +# Start the Greenbone Security Assistant +rc-service gsad start or systemctl start gsad diff --git a/net-analyzer/openvas/metadata.xml b/net-analyzer/openvas/metadata.xml new file mode 100644 index 000000000000..deaaa375afde --- /dev/null +++ b/net-analyzer/openvas/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hanno@gentoo.org</email> + </maintainer> + <use> + <flag name="pdf">Enable pdf report creation</flag> + </use> +</pkgmetadata> diff --git a/net-analyzer/openvas/openvas-8.0.5-r1.ebuild b/net-analyzer/openvas/openvas-8.0.5-r1.ebuild new file mode 100644 index 000000000000..eb5667c7e762 --- /dev/null +++ b/net-analyzer/openvas/openvas-8.0.5-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="A remote security scanner" +HOMEPAGE="http://www.openvas.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="+pdf" + +RDEPEND=" + dev-db/redis + >=net-analyzer/openvas-libraries-8.0.5 + >=net-analyzer/openvas-scanner-5.0.4 + >=net-analyzer/openvas-manager-6.0.6 + >=net-analyzer/openvas-cli-1.4.3 + net-analyzer/openvas-tools + pdf? ( + app-text/htmldoc + dev-texlive/texlive-latexextra + virtual/latex-base + )" + +S="${WORKDIR}" + +pkg_postinst() { + elog "Additional support for extra checks can be get from" + optfeature "Nikto — a web server scanning and testing tool" net-analyzer/nikto + optfeature "NMAP — a portscanner" net-analyzer/nmap + optfeature "ike-scan - an IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan + optfeature "amap — an application protocol detection tool" net-analyzer/amap + optfeature "ldapsearch from OpenLDAP utilities — retrieves information from LDAP dictionaries" net-nds/openldap + optfeature "ovaldi (OVAL) — an OVAL Interpreter" app-forensics/ovaldi + optfeature "portbunny — a Linux-kernel-based portscanner" net-analyzer/portbunny + optfeature "w3af — a web application attack and audit framework" net-analyzer/w3af + optfeature "The Greenbone Security Assistant as alternative to the plain scanner" net-analyzer/greebone-security-assistant +} |