Date: Thu, 17 Mar 2016 17:45:45 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411296 - in head/security/greenbone-security-assistant: . files Message-ID: <201603171745.u2HHjjXp098771@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Thu Mar 17 17:45:45 2016 New Revision: 411296 URL: https://svnweb.freebsd.org/changeset/ports/411296 Log: Add security/greenbone-security-assistant, a web interface for OpenVAS. (This should have been part of r411278.) Reported by: antoine Added: head/security/greenbone-security-assistant/ head/security/greenbone-security-assistant/Makefile (contents, props changed) head/security/greenbone-security-assistant/distinfo (contents, props changed) head/security/greenbone-security-assistant/files/ head/security/greenbone-security-assistant/files/gsad.in (contents, props changed) head/security/greenbone-security-assistant/files/patch-CMakeLists.txt (contents, props changed) head/security/greenbone-security-assistant/files/patch-doc-CMakeLists.txt (contents, props changed) head/security/greenbone-security-assistant/files/patch-src-xslt_i18n.c (contents, props changed) head/security/greenbone-security-assistant/pkg-descr (contents, props changed) head/security/greenbone-security-assistant/pkg-plist (contents, props changed) Added: head/security/greenbone-security-assistant/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/Makefile Thu Mar 17 17:45:45 2016 (r411296) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= greenbone-security-assistant +PORTVERSION= 6.0.10 +CATEGORIES= security +MASTER_SITES= http://wald.intevation.org/frs/download.php/2299/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= OpenVAS web interface + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING.GPL + +LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ + libgcrypt.so:${PORTSDIR}/security/libgcrypt \ + libopenvas_base.so:${PORTSDIR}/security/openvas-libraries \ + libmicrohttpd.so:${PORTSDIR}/www/libmicrohttpd + +USES= cmake:outsource gettext gnome pkgconfig +USE_GNOME= glib20 libxml2 libxslt +USE_RC_SUBR= gsad + +.include <bsd.port.mk> Added: head/security/greenbone-security-assistant/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/distinfo Thu Mar 17 17:45:45 2016 (r411296) @@ -0,0 +1,2 @@ +SHA256 (greenbone-security-assistant-6.0.10.tar.gz) = 9581ba04010987ff6f66edc7393595a2e2b05b64d3463886fba9e5d1152cc8df +SIZE (greenbone-security-assistant-6.0.10.tar.gz) = 1477638 Added: head/security/greenbone-security-assistant/files/gsad.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/files/gsad.in Thu Mar 17 17:45:45 2016 (r411296) @@ -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" Added: head/security/greenbone-security-assistant/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/files/patch-CMakeLists.txt Thu Mar 17 17:45:45 2016 (r411296) @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2016-02-03 09:07:18 UTC ++++ CMakeLists.txt +@@ -214,7 +214,7 @@ if (NOT LIBDIR) + endif (NOT LIBDIR) + + if (NOT LOCALSTATEDIR) +- set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var") ++ set (LOCALSTATEDIR "/var") + endif (NOT LOCALSTATEDIR) + + if (NOT INCLUDEDIR) +@@ -487,7 +487,7 @@ install (FILES ${CMAKE_CURRENT_BINARY_DI + + ## Program + +-set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") ++set (HARDENING_FLAGS "-Wformat -Wformat-security -Wl,-z,relro -Wl,-z,now") + + set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall") Added: head/security/greenbone-security-assistant/files/patch-doc-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/files/patch-doc-CMakeLists.txt Thu Mar 17 17:45:45 2016 (r411296) @@ -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 ) + Added: head/security/greenbone-security-assistant/files/patch-src-xslt_i18n.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/files/patch-src-xslt_i18n.c Thu Mar 17 17:45:45 2016 (r411296) @@ -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> Added: head/security/greenbone-security-assistant/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/pkg-descr Thu Mar 17 17:45:45 2016 (r411296) @@ -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/ Added: head/security/greenbone-security-assistant/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/greenbone-security-assistant/pkg-plist Thu Mar 17 17:45:45 2016 (r411296) @@ -0,0 +1,191 @@ +etc/openvas/gsad_log.conf +man/man8/gsad.8.gz +sbin/gsad +share/locale/de/LC_MESSAGES/gsad_xsl.mo +share/locale/ru/LC_MESSAGES/gsad_xsl.mo +share/locale/zh_CN/LC_MESSAGES/gsad_xsl.mo +share/openvas/gsa/classic/cpe-icons.xml +share/openvas/gsa/classic/favicon.gif +share/openvas/gsa/classic/graphics.xsl +share/openvas/gsa/classic/gsa-login.css +share/openvas/gsa/classic/gsa-style.css +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/agent.png +share/openvas/gsa/classic/img/alert_sign.png +share/openvas/gsa/classic/img/alterable.png +share/openvas/gsa/classic/img/ascending.png +share/openvas/gsa/classic/img/ascending_inactive.png +share/openvas/gsa/classic/img/bullet.png +share/openvas/gsa/classic/img/bullet2.png +share/openvas/gsa/classic/img/charts/severity-bar-chart.png +share/openvas/gsa/classic/img/clone.png +share/openvas/gsa/classic/img/clone_inactive.png +share/openvas/gsa/classic/img/cpe/a:apache:http_server.png +share/openvas/gsa/classic/img/cpe/a:drupal:drupal.png +share/openvas/gsa/classic/img/cpe/a:gnu.png +share/openvas/gsa/classic/img/cpe/a:google.png +share/openvas/gsa/classic/img/cpe/a:mysql:mysql.png +share/openvas/gsa/classic/img/cpe/a:openbsd:openssh.png +share/openvas/gsa/classic/img/cpe/a:otrs:otrs.png +share/openvas/gsa/classic/img/cpe/a:php:php.png +share/openvas/gsa/classic/img/cpe/a:postgresql:postgresql.png +share/openvas/gsa/classic/img/cpe/a:snort:snort.png +share/openvas/gsa/classic/img/cpe/a:sourcefire.png +share/openvas/gsa/classic/img/cpe/a:typo3:typo3.png +share/openvas/gsa/classic/img/cpe/a:wordpress:wordpress.png +share/openvas/gsa/classic/img/cpe/other.png +share/openvas/gsa/classic/img/deb.png +share/openvas/gsa/classic/img/delete.png +share/openvas/gsa/classic/img/delete_inactive.png +share/openvas/gsa/classic/img/delete_note.png +share/openvas/gsa/classic/img/delta.png +share/openvas/gsa/classic/img/delta_inactive.png +share/openvas/gsa/classic/img/delta_second.png +share/openvas/gsa/classic/img/descending.png +share/openvas/gsa/classic/img/descending_inactive.png +share/openvas/gsa/classic/img/details.png +share/openvas/gsa/classic/img/details_inactive.png +share/openvas/gsa/classic/img/disable.png +share/openvas/gsa/classic/img/download.png +share/openvas/gsa/classic/img/edit.png +share/openvas/gsa/classic/img/edit_inactive.png +share/openvas/gsa/classic/img/enable.png +share/openvas/gsa/classic/img/enchantress.png +share/openvas/gsa/classic/img/exe.png +share/openvas/gsa/classic/img/feedback.png +share/openvas/gsa/classic/img/first.png +share/openvas/gsa/classic/img/first_inactive.png +share/openvas/gsa/classic/img/fold.png +share/openvas/gsa/classic/img/gsa_splash.png +share/openvas/gsa/classic/img/help.png +share/openvas/gsa/classic/img/indicator_js.png +share/openvas/gsa/classic/img/indicator_operation_failed.png +share/openvas/gsa/classic/img/indicator_operation_ok.png +share/openvas/gsa/classic/img/key.png +share/openvas/gsa/classic/img/last.png +share/openvas/gsa/classic/img/last_inactive.png +share/openvas/gsa/classic/img/list.png +share/openvas/gsa/classic/img/list_inactive.png +share/openvas/gsa/classic/img/new.png +share/openvas/gsa/classic/img/new_note.png +share/openvas/gsa/classic/img/new_override.png +share/openvas/gsa/classic/img/next.png +share/openvas/gsa/classic/img/next_inactive.png +share/openvas/gsa/classic/img/note.png +share/openvas/gsa/classic/img/os_aix.png +share/openvas/gsa/classic/img/os_apple.png +share/openvas/gsa/classic/img/os_centos.png +share/openvas/gsa/classic/img/os_cisco.png +share/openvas/gsa/classic/img/os_conflict.png +share/openvas/gsa/classic/img/os_cyclades.png +share/openvas/gsa/classic/img/os_debian.png +share/openvas/gsa/classic/img/os_fedora.png +share/openvas/gsa/classic/img/os_freebsd.png +share/openvas/gsa/classic/img/os_gentoo.png +share/openvas/gsa/classic/img/os_gos.png +share/openvas/gsa/classic/img/os_hp.png +share/openvas/gsa/classic/img/os_junos.png +share/openvas/gsa/classic/img/os_linux.png +share/openvas/gsa/classic/img/os_mandriva.png +share/openvas/gsa/classic/img/os_netbsd.png +share/openvas/gsa/classic/img/os_netgear.png +share/openvas/gsa/classic/img/os_novell.png +share/openvas/gsa/classic/img/os_openbsd.png +share/openvas/gsa/classic/img/os_paloalto.png +share/openvas/gsa/classic/img/os_redhat.png +share/openvas/gsa/classic/img/os_slackware.png +share/openvas/gsa/classic/img/os_sun.png +share/openvas/gsa/classic/img/os_suse.png +share/openvas/gsa/classic/img/os_trustix.png +share/openvas/gsa/classic/img/os_ubuntu.png +share/openvas/gsa/classic/img/os_ucs.png +share/openvas/gsa/classic/img/os_unknown.png +share/openvas/gsa/classic/img/os_vmware.png +share/openvas/gsa/classic/img/os_windows.png +share/openvas/gsa/classic/img/override.png +share/openvas/gsa/classic/img/overrides_disabled.png +share/openvas/gsa/classic/img/overrides_enabled.png +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/previous.png +share/openvas/gsa/classic/img/previous_inactive.png +share/openvas/gsa/classic/img/prognosis.png +share/openvas/gsa/classic/img/prognosis_inactive.png +share/openvas/gsa/classic/img/provide_view.png +share/openvas/gsa/classic/img/refresh.png +share/openvas/gsa/classic/img/restore.png +share/openvas/gsa/classic/img/restore_inactive.png +share/openvas/gsa/classic/img/resume.png +share/openvas/gsa/classic/img/resume_inactive.png +share/openvas/gsa/classic/img/rpm.png +share/openvas/gsa/classic/img/scheduled.png +share/openvas/gsa/classic/img/scheduled_inactive.png +share/openvas/gsa/classic/img/sensor.png +share/openvas/gsa/classic/img/solution_type.png +share/openvas/gsa/classic/img/st_mitigate.png +share/openvas/gsa/classic/img/st_nonavailable.png +share/openvas/gsa/classic/img/st_vendorfix.png +share/openvas/gsa/classic/img/st_willnotfix.png +share/openvas/gsa/classic/img/st_workaround.png +share/openvas/gsa/classic/img/start.png +share/openvas/gsa/classic/img/start_inactive.png +share/openvas/gsa/classic/img/stop.png +share/openvas/gsa/classic/img/stop_inactive.png +share/openvas/gsa/classic/img/style/dropdown_arrow.png +share/openvas/gsa/classic/img/style/dropdown_arrow_green.png +share/openvas/gsa/classic/img/style/highlight_green.png +share/openvas/gsa/classic/img/style/logo_l.png +share/openvas/gsa/classic/img/style/logo_m.png +share/openvas/gsa/classic/img/style/logo_r.png +share/openvas/gsa/classic/img/style/menu_pointy.png +share/openvas/gsa/classic/img/style/top_menu_buttons.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.png +share/openvas/gsa/classic/img/trashcan.png +share/openvas/gsa/classic/img/trashcan_inactive.png +share/openvas/gsa/classic/img/trend_down.png +share/openvas/gsa/classic/img/trend_less.png +share/openvas/gsa/classic/img/trend_more.png +share/openvas/gsa/classic/img/trend_nochange.png +share/openvas/gsa/classic/img/trend_up.png +share/openvas/gsa/classic/img/unfold.png +share/openvas/gsa/classic/img/upload.png +share/openvas/gsa/classic/img/verify.png +share/openvas/gsa/classic/img/verify_inactive.png +share/openvas/gsa/classic/img/view_other.png +share/openvas/gsa/classic/img/wizard.png +share/openvas/gsa/classic/js/d3.tip.js +share/openvas/gsa/classic/js/d3.v3.min.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_donut_chart.js +share/openvas/gsa/classic/js/gsa_graphics_base.js +share/openvas/gsa/classic/js/gsa_line_chart.js +share/openvas/gsa/classic/login/favicon.gif +share/openvas/gsa/classic/login/gsa-login.css +share/openvas/gsa/classic/login/img/gsa_splash.png +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/login/login.html +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603171745.u2HHjjXp098771>