- New port: security/greenbone-security-assistant9

The Open Vulnerability Assessment System (OpenVAS) is a framework of several
services and tools offering a comprehensive and powerful vulnerability
scanning and vulnerability management solution.

This package contains the Greenbone Security Assistant, a web interface for
the OpenVAS Manager.

WWW: http://www.openvas.org/
This commit is contained in:
Jose Alonso Cardenas Marquez 2017-08-03 22:45:13 +00:00
parent 184d4d4221
commit 49c0b59ecc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447299
10 changed files with 387 additions and 0 deletions

View file

@ -194,6 +194,7 @@
SUBDIR += gpgme-qt5
SUBDIR += gputty
SUBDIR += greenbone-security-assistant8
SUBDIR += greenbone-security-assistant9
SUBDIR += gringotts
SUBDIR += gsasl
SUBDIR += gss

View file

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= greenbone-security-assistant9
PORTVERSION= 7.0.2
MASTER_SITES= http://wald.intevation.org/frs/download.php/2429/
COMMENT= OpenVAS 9 web interface
CONFLICTS= ${PORTNAME:S/${OPENVAS_VER}/8/}-*
MASTERDIR= ${.CURDIR}/../../security/greenbone-security-assistant8
DISTINFO_FILE= ${.CURDIR}/distinfo
PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
OPENVAS_VER= 9
.include "${MASTERDIR}/Makefile"

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1501781455
SHA256 (openvas9/greenbone-security-assistant-7.0.2.tar.gz) = 525f1c7696669f64221a69653481b9d0ea7d515cf3a0a5bb77e4c54c9a6da857
SIZE (openvas9/greenbone-security-assistant-7.0.2.tar.gz) = 3225150

View file

@ -0,0 +1,24 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: gsad
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# gsad_enable="YES"
#
. /etc/rc.subr
name=gsad
rcvar=gsad_enable
command="%%PREFIX%%/sbin/gsad"
pidfile=/var/run/gsad.pid
: ${gsad_enable=NO}
load_rc_config $name
run_rc_command "$1"

View file

@ -0,0 +1,20 @@
--- CMakeLists.txt.orig 2016-12-27 04:31:26.000000000 -0500
+++ CMakeLists.txt 2017-07-29 00:34:04.955687000 -0500
@@ -210,7 +210,7 @@
endif (NOT LIBDIR)
if (NOT LOCALSTATEDIR)
- set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var")
+ set (LOCALSTATEDIR "/var")
endif (NOT LOCALSTATEDIR)
if (NOT INCLUDEDIR)
@@ -604,7 +604,7 @@
## Program
-set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector")
+set (HARDENING_FLAGS "-Wformat -Wformat-security")
set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")

View file

@ -0,0 +1,9 @@
--- doc/CMakeLists.txt.orig 2015-08-03 08:55:54 UTC
+++ doc/CMakeLists.txt
@@ -102,5 +102,5 @@ endif (XMLMANTOHTML_EXECUTABLE)
## Install
install (FILES gsad.8
- DESTINATION ${DATADIR}/man/man8 )
+ DESTINATION man/man8 )

View file

@ -0,0 +1,19 @@
--- src/gsad_base.c 2017-08-03 16:02:58.244183000 -0500
+++ src/gsad_base.c 2017-08-03 16:03:49.611595000 -0500
@@ -48,7 +48,7 @@
#include <libxslt/xsltInternals.h> /* for xsltStylesheetPtr */
#include <libxslt/transform.h> /* for xsltApplyStylesheet() */
#include <libxslt/xsltutils.h> /* for xsltSaveResultToString() */
-#include <malloc.h>
+#include <stdlib.h>
#else
#include <string.h>
#include <sys/wait.h>
@@ -339,7 +339,6 @@
xsltFreeStylesheet (cur);
xmlFreeDoc (res);
- malloc_trim (0);
return (char *) doc_txt_ptr;
#else

View file

@ -0,0 +1,10 @@
--- src/xslt_i18n.c.orig 2015-08-03 08:55:58 UTC
+++ src/xslt_i18n.c
@@ -23,6 +23,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _WITH_GETLINE
#include "xslt_i18n.h"
#include <assert.h>
#include <dirent.h>

View file

@ -0,0 +1,8 @@
The Open Vulnerability Assessment System (OpenVAS) is a framework of several
services and tools offering a comprehensive and powerful vulnerability
scanning and vulnerability management solution.
This package contains the Greenbone Security Assistant, a web interface for
the OpenVAS Manager.
WWW: http://www.openvas.org/

View file

@ -0,0 +1,274 @@
etc/openvas/gsad_log.conf
etc/rc.d/gsad
man/man8/gsad.8.gz
sbin/gsad
share/openvas/gsa/classic/cpe-icons.xml
share/openvas/gsa/classic/css/gsa-base.css
share/openvas/gsa/classic/css/gsa-login.css
share/openvas/gsa/classic/css/gsa-style.css
share/openvas/gsa/classic/css/images/ui-bg_diagonals-thick_18_aa0000_40x40.png
share/openvas/gsa/classic/css/images/ui-bg_diagonals-thick_30_666666_40x40.png
share/openvas/gsa/classic/css/images/ui-bg_flat_10_000000_40x100.png
share/openvas/gsa/classic/css/images/ui-bg_glass_65_ffffff_1x400.png
share/openvas/gsa/classic/css/images/ui-bg_highlight-hard_35_66c430_1x100.png
share/openvas/gsa/classic/css/images/ui-bg_highlight-soft_100_519032_1x100.png
share/openvas/gsa/classic/css/images/ui-bg_highlight-soft_100_87d050_1x100.png
share/openvas/gsa/classic/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
share/openvas/gsa/classic/css/images/ui-bg_highlight-soft_75_fdc300_1x100.png
share/openvas/gsa/classic/css/images/ui-icons_222222_256x240.png
share/openvas/gsa/classic/css/images/ui-icons_519032_256x240.png
share/openvas/gsa/classic/css/images/ui-icons_87d050_256x240.png
share/openvas/gsa/classic/css/images/ui-icons_aa0000_256x240.png
share/openvas/gsa/classic/css/images/ui-icons_fdc300_256x240.png
share/openvas/gsa/classic/css/images/ui-icons_ffffff_256x240.png
share/openvas/gsa/classic/css/jquery-ui.structure.min.css
share/openvas/gsa/classic/css/jquery-ui.theme.min.css
share/openvas/gsa/classic/css/select2.min.css
share/openvas/gsa/classic/graphics.xsl
share/openvas/gsa/classic/gsad.xsl
share/openvas/gsa/classic/help.xsl
share/openvas/gsa/classic/help_de.xsl
share/openvas/gsa/classic/help_ru.xsl
share/openvas/gsa/classic/help_zh_CN.xsl
share/openvas/gsa/classic/img/add_to_assets.svg
share/openvas/gsa/classic/img/agent.svg
share/openvas/gsa/classic/img/alert.svg
share/openvas/gsa/classic/img/alert_sign.svg
share/openvas/gsa/classic/img/allinfo.svg
share/openvas/gsa/classic/img/alterable.svg
share/openvas/gsa/classic/img/ascending.svg
share/openvas/gsa/classic/img/ascending_inactive.svg
share/openvas/gsa/classic/img/asset.svg
share/openvas/gsa/classic/img/bullet.svg
share/openvas/gsa/classic/img/bullet2.svg
share/openvas/gsa/classic/img/calendar.svg
share/openvas/gsa/classic/img/cert_bund_adv.svg
share/openvas/gsa/classic/img/charts/severity-bar-chart.png
share/openvas/gsa/classic/img/clone.svg
share/openvas/gsa/classic/img/clone_inactive.svg
share/openvas/gsa/classic/img/config.svg
share/openvas/gsa/classic/img/cpe.svg
share/openvas/gsa/classic/img/cpe/a:apache:http_server.svg
share/openvas/gsa/classic/img/cpe/a:drupal:drupal.svg
share/openvas/gsa/classic/img/cpe/a:gnu.svg
share/openvas/gsa/classic/img/cpe/a:google.svg
share/openvas/gsa/classic/img/cpe/a:mysql:mysql.svg
share/openvas/gsa/classic/img/cpe/a:openbsd:openssh.svg
share/openvas/gsa/classic/img/cpe/a:otrs:otrs.svg
share/openvas/gsa/classic/img/cpe/a:php:php.svg
share/openvas/gsa/classic/img/cpe/a:postgresql:postgresql.svg
share/openvas/gsa/classic/img/cpe/a:snort:snort.svg
share/openvas/gsa/classic/img/cpe/a:sourcefire.svg
share/openvas/gsa/classic/img/cpe/a:typo3:typo3.svg
share/openvas/gsa/classic/img/cpe/a:wordpress:wordpress.svg
share/openvas/gsa/classic/img/cpe/other.svg
share/openvas/gsa/classic/img/credential.svg
share/openvas/gsa/classic/img/cve.svg
share/openvas/gsa/classic/img/cvss_calculator.svg
share/openvas/gsa/classic/img/dashboard.svg
share/openvas/gsa/classic/img/deb.svg
share/openvas/gsa/classic/img/delete.svg
share/openvas/gsa/classic/img/delete_inactive.svg
share/openvas/gsa/classic/img/delete_note.svg
share/openvas/gsa/classic/img/delta.svg
share/openvas/gsa/classic/img/delta_inactive.svg
share/openvas/gsa/classic/img/delta_second.svg
share/openvas/gsa/classic/img/descending.svg
share/openvas/gsa/classic/img/descending_inactive.svg
share/openvas/gsa/classic/img/details.svg
share/openvas/gsa/classic/img/details_inactive.svg
share/openvas/gsa/classic/img/dfn_cert_adv.svg
share/openvas/gsa/classic/img/disable.svg
share/openvas/gsa/classic/img/download.svg
share/openvas/gsa/classic/img/edit.svg
share/openvas/gsa/classic/img/edit_inactive.svg
share/openvas/gsa/classic/img/enable.svg
share/openvas/gsa/classic/img/enchantress.svg
share/openvas/gsa/classic/img/exe.svg
share/openvas/gsa/classic/img/favicon.gif
share/openvas/gsa/classic/img/feed.svg
share/openvas/gsa/classic/img/feedback.svg
share/openvas/gsa/classic/img/filter.svg
share/openvas/gsa/classic/img/first.svg
share/openvas/gsa/classic/img/first_inactive.svg
share/openvas/gsa/classic/img/fold.svg
share/openvas/gsa/classic/img/greenbone.svg
share/openvas/gsa/classic/img/group.svg
share/openvas/gsa/classic/img/gsa.svg
share/openvas/gsa/classic/img/gsa_splash.svg
share/openvas/gsa/classic/img/help.svg
share/openvas/gsa/classic/img/host.svg
share/openvas/gsa/classic/img/indicator_js.svg
share/openvas/gsa/classic/img/indicator_operation_failed.svg
share/openvas/gsa/classic/img/indicator_operation_ok.svg
share/openvas/gsa/classic/img/key.svg
share/openvas/gsa/classic/img/last.svg
share/openvas/gsa/classic/img/last_inactive.svg
share/openvas/gsa/classic/img/ldap.svg
share/openvas/gsa/classic/img/list.svg
share/openvas/gsa/classic/img/list_inactive.svg
share/openvas/gsa/classic/img/loading.gif
share/openvas/gsa/classic/img/login-label.png
share/openvas/gsa/classic/img/my_setting.svg
share/openvas/gsa/classic/img/new.svg
share/openvas/gsa/classic/img/new_note.svg
share/openvas/gsa/classic/img/new_override.svg
share/openvas/gsa/classic/img/next.svg
share/openvas/gsa/classic/img/next_inactive.svg
share/openvas/gsa/classic/img/note.svg
share/openvas/gsa/classic/img/nvt.svg
share/openvas/gsa/classic/img/os.svg
share/openvas/gsa/classic/img/os_aix.svg
share/openvas/gsa/classic/img/os_apple.svg
share/openvas/gsa/classic/img/os_arubanetworks.svg
share/openvas/gsa/classic/img/os_centos.svg
share/openvas/gsa/classic/img/os_checkpoint.svg
share/openvas/gsa/classic/img/os_cisco.svg
share/openvas/gsa/classic/img/os_conflict.svg
share/openvas/gsa/classic/img/os_cyclades.svg
share/openvas/gsa/classic/img/os_debian.svg
share/openvas/gsa/classic/img/os_fedora.svg
share/openvas/gsa/classic/img/os_fortinet.svg
share/openvas/gsa/classic/img/os_freebsd.svg
share/openvas/gsa/classic/img/os_gentoo.svg
share/openvas/gsa/classic/img/os_gos.svg
share/openvas/gsa/classic/img/os_hp.svg
share/openvas/gsa/classic/img/os_huawai.svg
share/openvas/gsa/classic/img/os_ipfire.svg
share/openvas/gsa/classic/img/os_junos.svg
share/openvas/gsa/classic/img/os_linux.svg
share/openvas/gsa/classic/img/os_mandriva.svg
share/openvas/gsa/classic/img/os_mcafee.svg
share/openvas/gsa/classic/img/os_netbsd.svg
share/openvas/gsa/classic/img/os_netgear.svg
share/openvas/gsa/classic/img/os_novell.svg
share/openvas/gsa/classic/img/os_openbsd.svg
share/openvas/gsa/classic/img/os_paloalto.svg
share/openvas/gsa/classic/img/os_redhat.svg
share/openvas/gsa/classic/img/os_ruggedcom.svg
share/openvas/gsa/classic/img/os_slackware.svg
share/openvas/gsa/classic/img/os_sourcefire.svg
share/openvas/gsa/classic/img/os_sun.svg
share/openvas/gsa/classic/img/os_suse.svg
share/openvas/gsa/classic/img/os_synology.svg
share/openvas/gsa/classic/img/os_trustix.svg
share/openvas/gsa/classic/img/os_ubuntu.svg
share/openvas/gsa/classic/img/os_ucs.svg
share/openvas/gsa/classic/img/os_unknown.svg
share/openvas/gsa/classic/img/os_vmware.svg
share/openvas/gsa/classic/img/os_windows.svg
share/openvas/gsa/classic/img/ovaldef.svg
share/openvas/gsa/classic/img/override.svg
share/openvas/gsa/classic/img/overrides_disabled.svg
share/openvas/gsa/classic/img/overrides_enabled.svg
share/openvas/gsa/classic/img/p_bar.png
share/openvas/gsa/classic/img/p_bar_bg.png
share/openvas/gsa/classic/img/p_bar_done.png
share/openvas/gsa/classic/img/p_bar_error.png
share/openvas/gsa/classic/img/p_bar_gray.png
share/openvas/gsa/classic/img/p_bar_new.png
share/openvas/gsa/classic/img/p_bar_request.png
share/openvas/gsa/classic/img/pause.svg
share/openvas/gsa/classic/img/performance.svg
share/openvas/gsa/classic/img/permission.svg
share/openvas/gsa/classic/img/port_list.svg
share/openvas/gsa/classic/img/previous.svg
share/openvas/gsa/classic/img/previous_inactive.svg
share/openvas/gsa/classic/img/prognosis.svg
share/openvas/gsa/classic/img/prognosis_inactive.svg
share/openvas/gsa/classic/img/provide_view.svg
share/openvas/gsa/classic/img/radius.svg
share/openvas/gsa/classic/img/refresh.svg
share/openvas/gsa/classic/img/remove_from_assets.svg
share/openvas/gsa/classic/img/report.svg
share/openvas/gsa/classic/img/report_format.svg
share/openvas/gsa/classic/img/restore.svg
share/openvas/gsa/classic/img/restore_inactive.svg
share/openvas/gsa/classic/img/result.svg
share/openvas/gsa/classic/img/resume.svg
share/openvas/gsa/classic/img/resume_inactive.svg
share/openvas/gsa/classic/img/role.svg
share/openvas/gsa/classic/img/rpm.svg
share/openvas/gsa/classic/img/scan.svg
share/openvas/gsa/classic/img/scanner.svg
share/openvas/gsa/classic/img/schedule.svg
share/openvas/gsa/classic/img/scheduled.svg
share/openvas/gsa/classic/img/scheduled_inactive.svg
share/openvas/gsa/classic/img/sensor.svg
share/openvas/gsa/classic/img/slave.svg
share/openvas/gsa/classic/img/solution_type.svg
share/openvas/gsa/classic/img/st_mitigate.svg
share/openvas/gsa/classic/img/st_nonavailable.svg
share/openvas/gsa/classic/img/st_vendorfix.svg
share/openvas/gsa/classic/img/st_willnotfix.svg
share/openvas/gsa/classic/img/st_workaround.svg
share/openvas/gsa/classic/img/start.svg
share/openvas/gsa/classic/img/start_inactive.svg
share/openvas/gsa/classic/img/stop.svg
share/openvas/gsa/classic/img/stop_inactive.svg
share/openvas/gsa/classic/img/style/dropdown_arrow.png
share/openvas/gsa/classic/img/style/dropdown_arrow_black.png
share/openvas/gsa/classic/img/style/dropdown_arrow_green.png
share/openvas/gsa/classic/img/style/menu_pointy.png
share/openvas/gsa/classic/img/style/window_dec_a.png
share/openvas/gsa/classic/img/style/window_dec_a_error.png
share/openvas/gsa/classic/img/style/window_dec_b.png
share/openvas/gsa/classic/img/style/window_dec_b_error.png
share/openvas/gsa/classic/img/style/window_dec_c.png
share/openvas/gsa/classic/img/style/window_dec_c_error.png
share/openvas/gsa/classic/img/tag.svg
share/openvas/gsa/classic/img/target.svg
share/openvas/gsa/classic/img/task.svg
share/openvas/gsa/classic/img/trashcan.svg
share/openvas/gsa/classic/img/trashcan_inactive.svg
share/openvas/gsa/classic/img/trend_down.svg
share/openvas/gsa/classic/img/trend_less.svg
share/openvas/gsa/classic/img/trend_more.svg
share/openvas/gsa/classic/img/trend_nochange.svg
share/openvas/gsa/classic/img/trend_up.svg
share/openvas/gsa/classic/img/unfold.svg
share/openvas/gsa/classic/img/upload.svg
share/openvas/gsa/classic/img/user.svg
share/openvas/gsa/classic/img/verify.svg
share/openvas/gsa/classic/img/verify_inactive.svg
share/openvas/gsa/classic/img/view_other.svg
share/openvas/gsa/classic/img/vul_report.svg
share/openvas/gsa/classic/img/wizard.svg
share/openvas/gsa/classic/js/d3.layout.cloud.js
share/openvas/gsa/classic/js/d3.tip.js
share/openvas/gsa/classic/js/d3.v3.js
share/openvas/gsa/classic/js/greenbone-ui.js
share/openvas/gsa/classic/js/greenbone.js
share/openvas/gsa/classic/js/gsa_bar_chart.js
share/openvas/gsa/classic/js/gsa_bubble_chart.js
share/openvas/gsa/classic/js/gsa_chart_helpers.js
share/openvas/gsa/classic/js/gsa_cloud_chart.js
share/openvas/gsa/classic/js/gsa_dashboard.js
share/openvas/gsa/classic/js/gsa_donut_chart.js
share/openvas/gsa/classic/js/gsa_gantt_chart.js
share/openvas/gsa/classic/js/gsa_graphics_base.js
share/openvas/gsa/classic/js/gsa_h_bar_chart.js
share/openvas/gsa/classic/js/gsa_line_chart.js
share/openvas/gsa/classic/js/gsa_polyfill.js
share/openvas/gsa/classic/js/gsa_topology_chart.js
share/openvas/gsa/classic/js/i18next-2.3.4.js
share/openvas/gsa/classic/js/i18next-languagedetector-0.2.2.js
share/openvas/gsa/classic/js/i18next-xhr-0.5.3.js
share/openvas/gsa/classic/js/jquery-2.1.4.js
share/openvas/gsa/classic/js/jquery-ui.js
share/openvas/gsa/classic/js/moment-timezone-with-data.js
share/openvas/gsa/classic/js/moment.js
share/openvas/gsa/classic/js/select2.js
share/openvas/gsa/classic/js/xml2json.js
share/openvas/gsa/classic/login/gsa-login.css
share/openvas/gsa/classic/login/img/gsa_splash.svg
share/openvas/gsa/classic/login/img/style/window_dec_a.png
share/openvas/gsa/classic/login/img/style/window_dec_b.png
share/openvas/gsa/classic/login/img/style/window_dec_c.png
share/openvas/gsa/classic/omp-doc.xsl
share/openvas/gsa/classic/omp.xsl
share/openvas/gsa/classic/os.xml
share/openvas/gsa/classic/rnc.xsl
share/openvas/gsa/classic/wizard.xsl
share/openvas/gsa/classic/zones.xml
share/openvas/gsa/language_names.tsv