From nobody Sun May 22 05:50:37 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CDCF01B3F6FD; Sun, 22 May 2022 05:50:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5V1T5GBFz4W8X; Sun, 22 May 2022 05:50:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653198637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIVxunkaCkyotjpFUKmhD2Jxv0RLjR2WIE4s8XKJzK0=; b=PxVZa8T+v43M9wQPl4BYn9TeFHpOvhieoq0YPsRWF4dXc9J0VHQ7mVd+gU1bMQG49eDisK JZc5Rcmti8Ps3PZ6Z3jCdTRUki6kItnI43YOrO0wMuNIFToh6CsdJ4c+8Igm9VooFQaUBs Tr1CURLbTJQk/j/5CE+DcjdlmdyyiBfCGqdEij+pwDslYDIzn70xMqZPKBs/zyeRxGeS7F Ol8WKF2bTt6uqA4cvEyKt7HHYeIAa4o89zJcxbEXRAXIOyKcKvoVLD9cEZX7RGksmKU2Y4 fs125O4ZD2IktTt6EkRd0jXxAB8+d8J/Id+zvDDc5pfdlYtXg0xb8JNZduMXPw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 959BC15D0D; Sun, 22 May 2022 05:50:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24M5obba017477; Sun, 22 May 2022 05:50:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24M5obHf017476; Sun, 22 May 2022 05:50:37 GMT (envelope-from git) Date: Sun, 22 May 2022 05:50:37 GMT Message-Id: <202205220550.24M5obHf017476@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 5e51075e1597 - main - security/greenbone-security-assistant: Remove port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5e51075e1597ca84c937030c25f3bcfd10f559e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653198637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIVxunkaCkyotjpFUKmhD2Jxv0RLjR2WIE4s8XKJzK0=; b=XTJGDOj5acN3bGzADy8u4jQLqadE/5RcvieoSBfAQvEWseLjnTxeeH0qP/Q9trTN5VAWYm qN+4RzElQxUxNsY4NNejNQ4e3dNALe16q7AkmwGrIZXqes1xDowzUNXo8qIxpOogT7KYbQ jIZecd2WxcVnaRh84I1CMWfHxmLk1MH+ZIi0q9IVQj+VUAs9OoLEhuwk+Cb2Mp5kd8FXcX kIj5bqSELfWScEnDd4KRpMD9x3nIWcz28jsLaJOyfnmk+10X4qVdYjIBQHYMQluJUK4FXc ADqg5tegzNk5Tj2dfx3J8hm3Qe2JjjESdBXPCAWREfmPdtGcNWydqnE+AdxQ2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653198637; a=rsa-sha256; cv=none; b=deBphbRU6Dbc5QXjcbW9wUgdG3AE5a/Qmz3Ci+7BEMsyP1yBZhhJRG0ksUZvj5Z3Bv75SU Aiv0t/Wg/soTuAvwHamlECV/YT6vLoFTTIGHEn+6gAna6KTDzAw6PouNxc+yBuxmjU4ZE+ 4VV+LijCP4NaTptJ20E0PeeRkGxGMDOzAs+2U0eGfrgzlSmvzjoPQvtxpI7y+kqcBrfjAG d4wCa7PkR/eaIemKf+ZmovXBneAVQt52gFP03MBuAdttR91o18fcnD51j5Sj4t7X1NkOIN 3ZJlsWMRMooIDfdyzfQMpQKsVsvFOL9RvIJ3dO7UeDQ0gtRaBzIvlcJ6K/7cAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e51075e1597ca84c937030c25f3bcfd10f559e6 commit 5e51075e1597ca84c937030c25f3bcfd10f559e6 Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-05-22 05:47:45 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-05-22 05:47:45 +0000 security/greenbone-security-assistant: Remove port - It was splitted into security/gsad and security/gsa ports --- MOVED | 1 + security/greenbone-security-assistant/Makefile | 64 ---------------------- security/greenbone-security-assistant/distinfo | 5 -- .../greenbone-security-assistant/files/gsad.in | 27 --------- .../files/patch-CMakeLists.txt | 11 ---- .../files/patch-gsa_CMakeLists.txt | 11 ---- .../files/patch-gsad-src_gsad_gmp.c | 13 ----- .../files/patch-gsad_CMakeLists.txt | 40 -------------- security/greenbone-security-assistant/pkg-descr | 10 ---- 9 files changed, 1 insertion(+), 181 deletions(-) diff --git a/MOVED b/MOVED index 25b554172cbc..74b40bdc9081 100644 --- a/MOVED +++ b/MOVED @@ -17167,3 +17167,4 @@ devel/rubygem-cucumber-messages4|devel/rubygem-cucumber-messages|2022-05-22|Remo devel/rubygem-cucumber-messages17|devel/rubygem-cucumber-messages|2022-05-22|Remove obsoleted port. Use devel/rubygem-cucumber-messages instead textproc/rubygem-cucumber-gherkin22|textproc/rubygem-cucumber-gherkin|2022-05-22|Remove obsoleted port. Use textproc/rubygem-cucumber-gherkin instead textproc/rubygem-cucumber-html-formatter17|textproc/rubygem-cucumber-html-formatter|2022-05-22|Remove obsoleted port. Use textproc/rubygem-cucumber-html-formatter instead +security/greenbone-security-assistant|security/gsa|2022-05-22|It was splitted into security/gsad and security/gsa diff --git a/security/greenbone-security-assistant/Makefile b/security/greenbone-security-assistant/Makefile deleted file mode 100644 index 88fdc5a8a447..000000000000 --- a/security/greenbone-security-assistant/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -PORTNAME= greenbone-security-assistant -DISTVERSIONPREFIX= v -DISTVERSION= 21.4.3 -PORTREVISION= 5 -CATEGORIES= security -MASTER_SITES= LOCAL/acm/gsa/:yarn_cache -DISTFILES= ${PORTNAME}-cache${EXTRACT_SUFX}:yarn_cache - -MAINTAINER= acm@FreeBSD.org -COMMENT= Libraries module for the GVM solution - -LICENSE= AGPLv3+ - -BUILD_DEPENDS= yarn:www/yarn -LIB_DEPENDS= libgvm_base.so:security/gvm-libs \ - libgnutls.so:security/gnutls \ - libgcrypt.so:security/libgcrypt \ - libgpg-error.so:security/libgpg-error \ - libmicrohttpd.so:www/libmicrohttpd -RUN_DEPENDS= doxygen>0:devel/doxygen \ - ${PYTHON_PKGNAMEPREFIX}polib>=0:devel/py-polib@${PY_FLAVOR} - -USES= cmake gettext-runtime gnome nodejs:build pkgconfig python -USE_GNOME= glib20 libxml2 - -USE_GITHUB= yes -GH_ACCOUNT= greenbone -GH_PROJECT= gsa - -CMAKE_ARGS+= -DINSTALLER_ARGS="--offline" - -USERS= gvm -GROUPS= ${USERS} - -USE_RC_SUBR= gsad - -LDFLAGS+= -lm - -ETCDIR= ${PREFIX}/etc/gvm - -post-extract: - @${MV} ${WRKSRC}/gsad/src/gsad_log_conf.cmake_in ${WRKSRC}/gsad/src/gsad_log.conf.sample - -post-patch: - ${ECHO_CMD} 'yarn-offline-mirror "${WRKDIR}/yarn-offline-cache"' >> \ - ${WRKSRC}/.yarnrc - ${REINPLACE_CMD} -e 's|$${GVM_LOG_DIR}|/var/log/gvm|g' ${WRKSRC}/gsad/src/gsad_log.conf.sample - -post-install: - @${MKDIR} ${STAGEDIR}/var/run/gvm - @${MKDIR} ${STAGEDIR}${ETCDIR} - @${INSTALL_DATA} ${WRKSRC}/gsad/src/gsad_log.conf.sample ${STAGEDIR}${ETCDIR} - - @${ECHO_CMD} "@sample etc/gvm/gsad_log.conf.sample" >> ${TMPPLIST} - @${ECHO_CMD} "sbin/gsad" >> ${TMPPLIST} >> ${TMPPLIST} - @${ECHO_CMD} "share/gvm/gsad/web/index.html" >> ${TMPPLIST} - @${ECHO_CMD} "share/gvm/gsad/web/robots.txt" >> ${TMPPLIST} - @cd ${WRKSRC}/gsa/build && \ - ${FIND} -s img locales static -not -type d \ - -exec ${ECHO_CMD} "share/gvm/gsad/web/{}" \; >> ${TMPPLIST} - @${ECHO_CMD} "share/man/man8/gsad.8.gz" >> ${TMPPLIST} - @${ECHO_CMD} "@dir(gvm,gvm,750) /var/run/gvm" >> ${TMPPLIST} - -.include diff --git a/security/greenbone-security-assistant/distinfo b/security/greenbone-security-assistant/distinfo deleted file mode 100644 index 5572ffb164cf..000000000000 --- a/security/greenbone-security-assistant/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1636050519 -SHA256 (greenbone-security-assistant-cache.tar.gz) = 3e54c1f845f64064f590a99b2229da8d72a638e210288890b1adb26ed6c41580 -SIZE (greenbone-security-assistant-cache.tar.gz) = 61974237 -SHA256 (greenbone-gsa-v21.4.3_GH0.tar.gz) = 7b30416fb76cfbec2f2e409706e0ebb40a123d197c8ff7d6c12b71f1572047a3 -SIZE (greenbone-gsa-v21.4.3_GH0.tar.gz) = 2683994 diff --git a/security/greenbone-security-assistant/files/gsad.in b/security/greenbone-security-assistant/files/gsad.in deleted file mode 100644 index 8de12ff99fa6..000000000000 --- a/security/greenbone-security-assistant/files/gsad.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -# PROVIDE: gsad -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following to /etc/rc.conf[.local] to enable this service -# -# gsad_enable (bool): Set to NO by default. -# Set it to YES to enable gsad. -# gsad_flags (params): Set params used to start gsad. -# - -. /etc/rc.subr - -load_rc_config $name - -: ${gsad_enable="NO"} -: ${gsad_flags="--http-cors="http://127.0.0.1" -k /var/lib/gvm/private/CA/serverkey.pem -c /var/lib/gvm/CA/servercert.pem --munix-socket=/var/run/gvm/gvmd.sock"} - -name=gsad -rcvar=${name}_enable -command="%%PREFIX%%/sbin/gsad" -command_args="${gsad_flags}" -pidfile=/var/run/gvm/gsad.pid - -run_rc_command "$1" diff --git a/security/greenbone-security-assistant/files/patch-CMakeLists.txt b/security/greenbone-security-assistant/files/patch-CMakeLists.txt deleted file mode 100644 index 2ea3d5a87997..000000000000 --- a/security/greenbone-security-assistant/files/patch-CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- CMakeLists.txt 2021-01-04 10:09:59.295410000 -0500 -+++ CMakeLists.txt 2021-01-04 10:10:43.087240000 -0500 -@@ -60,7 +60,7 @@ - endif (NOT LIBDIR) - - if (NOT LOCALSTATEDIR) -- set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var") -+ set (LOCALSTATEDIR "/var") - endif (NOT LOCALSTATEDIR) - - if (NOT INCLUDEDIR) diff --git a/security/greenbone-security-assistant/files/patch-gsa_CMakeLists.txt b/security/greenbone-security-assistant/files/patch-gsa_CMakeLists.txt deleted file mode 100644 index 2183c1c029da..000000000000 --- a/security/greenbone-security-assistant/files/patch-gsa_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- gsa/CMakeLists.txt 2021-01-05 00:32:41.516624000 -0500 -+++ gsa/CMakeLists.txt 2021-01-05 00:32:59.477060000 -0500 -@@ -1187,7 +1187,7 @@ - - - add_custom_command (OUTPUT bundle.stamp -- COMMAND ${CMAKE_COMMAND} -E env REACT_APP_VERSION=${PROJECT_VERSION_STRING} ${INSTALLER} "${INSTALLER_ARGS}" run build -+ COMMAND ${CMAKE_COMMAND} -E env REACT_APP_VERSION=${PROJECT_VERSION_STRING} ${INSTALLER} "${INSTALLER_ARGS}" react-scripts build - COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/bundle.stamp - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/node-modules.stamp diff --git a/security/greenbone-security-assistant/files/patch-gsad-src_gsad_gmp.c b/security/greenbone-security-assistant/files/patch-gsad-src_gsad_gmp.c deleted file mode 100644 index 69a7359b2392..000000000000 --- a/security/greenbone-security-assistant/files/patch-gsad-src_gsad_gmp.c +++ /dev/null @@ -1,13 +0,0 @@ ---- gsad/src/gsad_gmp.c 2021-01-03 19:47:56.782208000 -0500 -+++ gsad/src/gsad_gmp.c 2021-01-03 19:49:29.616531000 -0500 -@@ -16573,8 +16573,8 @@ - /* Connect to server. */ - - address.sun_family = AF_UNIX; -- strncpy (address.sun_path, path, sizeof (address.sun_path) - 1); -- if (connect (sock, (struct sockaddr *) &address, sizeof (address)) == -1) -+ strcpy (address.sun_path, path); -+ if (connect (sock, (struct sockaddr *) &address, sizeof (struct sockaddr_un)) == -1) - { - g_warning ("Failed to connect to server at %s: %s", path, - strerror (errno)); diff --git a/security/greenbone-security-assistant/files/patch-gsad_CMakeLists.txt b/security/greenbone-security-assistant/files/patch-gsad_CMakeLists.txt deleted file mode 100644 index c618539ad955..000000000000 --- a/security/greenbone-security-assistant/files/patch-gsad_CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ ---- gsad/CMakeLists.txt 2021-10-12 07:16:06.000000000 -0500 -+++ gsad/CMakeLists.txt 2021-11-04 16:33:45.783190000 -0500 -@@ -61,7 +61,7 @@ - endif (CLANG_FORMAT) - - if (NOT SYSCONFDIR) -- set (SYSCONFDIR "/etc") -+ set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc") - endif (NOT SYSCONFDIR) - - if (NOT EXEC_PREFIX) -@@ -96,7 +96,7 @@ - set (GSAD_CONFIG_DIR "${SYSCONFDIR}/gvm/") - - if (NOT GVM_RUN_DIR) -- set (GVM_RUN_DIR "/run/gvm") -+ set (GVM_RUN_DIR "${LOCALSTATEDIR}/run/gvm") - endif (NOT GVM_RUN_DIR) - - if (NOT GSAD_PID_DIR) -@@ -135,15 +135,15 @@ - endif (NOT GVM_CA_CERTIFICATE) - - --configure_file (src/gsad_log_conf.cmake_in src/gsad_log.conf) -+#configure_file (src/gsad_log_conf.cmake_in src/gsad_log.conf) - - ## Install - --install (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf -- DESTINATION ${GSAD_CONFIG_DIR}) -+#install (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf -+# DESTINATION ${GSAD_CONFIG_DIR}) - - add_subdirectory (src) --add_subdirectory (config) -+#add_subdirectory (config) - - add_subdirectory (doc) - diff --git a/security/greenbone-security-assistant/pkg-descr b/security/greenbone-security-assistant/pkg-descr deleted file mode 100644 index 144d7fad51cf..000000000000 --- a/security/greenbone-security-assistant/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -The Greenbone Security Assistant is the web interface developed for the -Greenbone Security Manager appliances. - -It connects to the Greenbone Vulnerability Manager GVM to provide a -full-featured user interface for vulnerability management. - -Greenbone Security Assistant consists of GSA - The webpage written in React -and GSAD - The HTTP server talking to the GVM daemon - -WWW: https://github.com/greenbone/gsa