Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2017 06:54:47 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447446 - in head/security: . openvas8 openvas8/files
Message-ID:  <201708060654.v766slIN064289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Sun Aug  6 06:54:47 2017
New Revision: 447446
URL: https://svnweb.freebsd.org/changeset/ports/447446

Log:
  - New port: security/openvas8 (metaport)
  
  This is the metaport to install the mupen64plus emulator and all libraries and
  tools.
  
  WWW: http://www.openvas.org

Added:
  head/security/openvas8/
  head/security/openvas8/Makefile   (contents, props changed)
  head/security/openvas8/files/
  head/security/openvas8/files/pkg-message.in   (contents, props changed)
  head/security/openvas8/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Aug  6 06:49:42 2017	(r447445)
+++ head/security/Makefile	Sun Aug  6 06:54:47 2017	(r447446)
@@ -435,6 +435,7 @@
     SUBDIR += openssl
     SUBDIR += openssl-devel
     SUBDIR += openssl_tpm_engine
+    SUBDIR += openvas8
     SUBDIR += openvas8-cli
     SUBDIR += openvas8-libraries
     SUBDIR += openvas8-manager

Added: head/security/openvas8/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openvas8/Makefile	Sun Aug  6 06:54:47 2017	(r447446)
@@ -0,0 +1,32 @@
+# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	openvas8
+PORTVERSION=	8.0
+CATEGORIES=	security
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	openvas 8 vulnerability scanner (metaport)
+
+USES=		metaport
+
+# Install OpenVAS libraries
+RUN_DEPENDS+=	${LOCALBASE}/lib/libopenvas_base.so:security/openvas${OPENVAS_VER}-libraries
+
+# Install OpenVAS Commnad Line
+RUN_DEPENDS+=	${LOCALBASE}/bin/omp:security/openvas${OPENVAS_VER}-cli
+
+# Install OpenVAS Manager
+RUN_DEPENDS+=	${LOCALBASE}/sbin/openvasmd:security/openvas${OPENVAS_VER}-manager
+
+# Install OpenVAS Scanner
+RUN_DEPENDS+=	${LOCALBASE}/sbin/openvassd:security/openvas${OPENVAS_VER}-scanner
+
+# Install OpenVAS Web Interface
+RUN_DEPENDS+=	${LOCALBASE}/sbin/gsad:security/greenbone-security-assistant${OPENVAS_VER}
+
+SUB_FILES=	pkg-message
+OPENVAS_VER=	8
+
+
+.include <bsd.port.mk>

Added: head/security/openvas8/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openvas8/files/pkg-message.in	Sun Aug  6 06:54:47 2017	(r447446)
@@ -0,0 +1,56 @@
+###############################################################################
+
+OpenVAS 8 ports were installed
+
+1) Redis  is a dependency of OpenVAS. Please, configure redis-server for 
+   listening on socket /tmp/redis.sock. openvassd needs it
+
+2) If you installed security/openvas8-manager port (openvasmd) with PostgrSQL 
+   support, please look at: 
+
+   %%LOCALBASE%%/share/docs/openvas-scanner/postgres-HOWTO 
+
+   It will guide you for configure PostgreSQL as OpenVAS database backend 
+   instead of SQLite3
+
+3) The following steps are neccessary before of you can access to OpenVAS web 
+   interface (gsad):
+
+   # openvas-mkcert
+   # openvas-mkcert-client -n -i
+   # openvasmd --rebuild --progress
+   # openvas-nvt-sync
+   # openvas-scapdata-sync
+   # openvas-certdata-sync
+   # openvasmd --create-user=admin --role=Admin
+   # openvasmd --user=admin --new-password=yourpassword
+
+4) Add the following lines to /etc/rc.conf
+ 
+   openvassd_enable="YES"
+   openvasmd_enable="YES"
+   gsad_enable="YES"
+
+5) Start OpenVAS Scanner. It will listen on 127.0.0.1:9391 by default
+
+   # service openvassd restart
+
+6) 5) Start OpenVAS Manager. It will listen on 127.0.0.1:9390 by default
+
+   # service openvasmd restart
+   # openvasmd --rebuild --progress
+
+7) Start OpenVAS web interface. It will listen on http://127.0.0.1:8080 by 
+   default
+
+   # service gsad start
+
+8) gsad can export results to PDF. It needs print/texlive-texmf port
+  
+   # pkg install texlive-texmf
+
+   It will install 1G of data
+
+9) Enjoy it
+
+###############################################################################

Added: head/security/openvas8/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openvas8/pkg-descr	Sun Aug  6 06:54:47 2017	(r447446)
@@ -0,0 +1,4 @@
+This is the metaport to install the mupen64plus emulator and all libraries and
+tools.
+
+WWW: http://www.openvas.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708060654.v766slIN064289>