* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-manager/, net-analyzer/openvas-manager/files/
@ 2015-11-23 8:28 Justin Lecher
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-11-23 8:28 UTC (permalink / raw
To: gentoo-commits
commit: fccc8747b767900ab57af4d8f04c7805ae212528
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 08:28:10 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 08:28:10 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fccc8747
net-analyzer/openvas-manager: Update to daemon flag changes
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566336
Unify whitespaces in aux files
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
net-analyzer/openvas-manager/files/openvasmd-daemon.conf | 4 ++--
net-analyzer/openvas-manager/files/openvasmd.logrotate | 12 ++++++------
...-manager-6.0.6.ebuild => openvas-manager-6.0.6-r1.ebuild} | 0
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf b/net-analyzer/openvas-manager/files/openvasmd-daemon.conf
index d69698e..2393c83 100644
--- a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf
+++ b/net-analyzer/openvas-manager/files/openvasmd-daemon.conf
@@ -7,9 +7,9 @@ MANAGER_PORT=--port=9390
MANAGER_EXTRA_ARGS=""
#Contact scanner on given address
-SCANNER_LISTEN=--slisten=127.0.0.1
+SCANNER_LISTEN="--scanner-host=127.0.0.1"
#Scanner listens on given port - by default 9391
-SCANNER_PORT=--sport=9391
+SCANNER_PORT="--scanner-port=9391"
diff --git a/net-analyzer/openvas-manager/files/openvasmd.logrotate b/net-analyzer/openvas-manager/files/openvasmd.logrotate
index 69cfa26..c302b5f 100644
--- a/net-analyzer/openvas-manager/files/openvasmd.logrotate
+++ b/net-analyzer/openvas-manager/files/openvasmd.logrotate
@@ -1,11 +1,11 @@
# logrotate for openvas-manager
/var/log/openvas/openvasmd.log {
- rotate 4
- weekly
- compress
- delaycompress
- missingok
+ rotate 4
+ weekly
+ compress
+ delaycompress
+ missingok
postrotate
- /bin/kill -HUP `pidof openvasmd`
+ /bin/kill -HUP `pidof openvasmd`
endscript
}
diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r1.ebuild
similarity index 100%
rename from net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild
rename to net-analyzer/openvas-manager/openvas-manager-6.0.6-r1.ebuild
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-manager/, net-analyzer/openvas-manager/files/
@ 2019-12-21 15:06 Joonas Niilola
0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2019-12-21 15:06 UTC (permalink / raw
To: gentoo-commits
commit: cd790232026243ed5df848e86e4b01e1905a25ca
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Wed Dec 18 20:21:55 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 15:06:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd790232
net-analyzer/openvas-manager: remove last rited package
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Bug: https://bugs.gentoo.org/692004
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-manager/Manifest | 1 -
.../openvas-manager/files/gvmd-daemon.conf | 17 -----
net-analyzer/openvas-manager/files/gvmd.init | 18 -----
net-analyzer/openvas-manager/files/gvmd.logrotate | 11 ---
net-analyzer/openvas-manager/files/gvmd.service | 19 -----
net-analyzer/openvas-manager/metadata.xml | 15 ----
.../openvas-manager/openvas-manager-7.0.3.ebuild | 88 ----------------------
7 files changed, 169 deletions(-)
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest
deleted file mode 100644
index 879c7dcd3c6..00000000000
--- a/net-analyzer/openvas-manager/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST openvas-manager-7.0.3.tar.gz 1796830 BLAKE2B b1e8bf8eb4cc0e2d3e5d67d7c17df3c79c7d65e798fc28f75ee55c2165a5e957ac950ccac14a20a5b332c15b64775f63805db00810271bce77d13b16db60a3ab SHA512 75e519e5f63fad043efe55ad5843934f9ffaefa052609e8d110b2084504a7658b5ee5797f7ffaa71592caed64b7fd4fac623bc7797bec72a51e8225d65f7fc28
diff --git a/net-analyzer/openvas-manager/files/gvmd-daemon.conf b/net-analyzer/openvas-manager/files/gvmd-daemon.conf
deleted file mode 100644
index eb3e683c42a..00000000000
--- a/net-analyzer/openvas-manager/files/gvmd-daemon.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# OpenVAS Manager command args
-
-# e.g --foreground
-OPENVAS_MANAGER_OPTIONS=""
-
-# Manager listen port
-OPENVAS_MANAGER_PORT="--port=9390"
-
-# Manager listen address
-OPENVAS_MANAGER_LISTEN_ADDRESS="--listen=127.0.0.1"
-
-# Scanner unix socket
-OPENVAS_MANAGER_SCANNER_HOST="--scanner-host=/var/run/openvassd.sock"
-
-# TLS settings
-OPENVAS_MANAGER_GNUTLS_PRIORITIES="--gnutls-priorities=SECURE256:+SUITEB192:+SECURE192:+SECURE128:+SUITEB128:-MD5:-SHA1:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-SSL3.0"
diff --git a/net-analyzer/openvas-manager/files/gvmd.init b/net-analyzer/openvas-manager/files/gvmd.init
deleted file mode 100644
index a7de3800ada..00000000000
--- a/net-analyzer/openvas-manager/files/gvmd.init
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="OpenVAS Manager"
-command=/usr/sbin/openvasmd
-command_args="${OPENVAS_MANAGER_OPTIONS} ${OPENVAS_MANAGER_PORT} ${OPENVAS_MANAGER_LISTEN_ADDRESS} ${OPENVAS_MANAGER_SCANNER_HOST} ${OPENVAS_MANAGER_GNUTLS_PRIORITIES}"
-pidfile="/var/run/openvasmd.pid"
-command_background="true"
-
-depend() {
- after bootmisc
- need localmount net openvas-scanner
-}
-
-start_pre() {
- checkpath --directory --mode 0775 --quiet /var/cache/openvas
-}
diff --git a/net-analyzer/openvas-manager/files/gvmd.logrotate b/net-analyzer/openvas-manager/files/gvmd.logrotate
deleted file mode 100644
index db8eb200580..00000000000
--- a/net-analyzer/openvas-manager/files/gvmd.logrotate
+++ /dev/null
@@ -1,11 +0,0 @@
-# logrotate for openvas manager
-/var/log/openvas/openvasmd.log {
- rotate 4
- weekly
- compress
- delaycompress
- missingok
- postrotate
- /bin/kill -HUP `pidof openvasmd`
- endscript
-}
diff --git a/net-analyzer/openvas-manager/files/gvmd.service b/net-analyzer/openvas-manager/files/gvmd.service
deleted file mode 100644
index c0627fcd1c7..00000000000
--- a/net-analyzer/openvas-manager/files/gvmd.service
+++ /dev/null
@@ -1,19 +0,0 @@
-[Unit]
-Description=OpenVAS Manager
-After=network.target
-After=openvas-scanner.service
-Wants=openvas-scanner.service
-Before=gsa.service
-
-[Service]
-Type=forking
-EnvironmentFile=-/etc/openvas/sysconfig/gvmd-daemon.conf
-ExecStart=/usr/sbin/openvasmd $OPENVAS_MANAGER_OPTIONS $OPENVAS_MANAGER_PORT $OPENVAS_MANAGER_LISTEN_ADDRESS $OPENVAS_MANAGER_SCANNER_HOST $OPENVAS_MANAGER_GNUTLS_PRIORITIES
-ExecReload=/bin/kill -HUP $MAINPID
-KillMode=mixed
-User=root
-Group=root
-TimeoutSec=1200
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-analyzer/openvas-manager/metadata.xml b/net-analyzer/openvas-manager/metadata.xml
deleted file mode 100644
index fa26aa942e1..00000000000
--- a/net-analyzer/openvas-manager/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>hasan.calisir@psauxit.com</email>
- <name>Hasan ÇALIŞIR</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="extras">Html docs support</flag>
- </use>
-</pkgmetadata>
diff --git a/net-analyzer/openvas-manager/openvas-manager-7.0.3.ebuild b/net-analyzer/openvas-manager/openvas-manager-7.0.3.ebuild
deleted file mode 100644
index 39f1f277b47..00000000000
--- a/net-analyzer/openvas-manager/openvas-manager-7.0.3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils flag-o-matic systemd
-MY_PN="gvmd"
-
-DESCRIPTION="A remote security manager for Linux (openvas-manager)"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="https://github.com/greenbone/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-IUSE="extras"
-
-DEPEND="
- dev-db/sqlite:3
- dev-libs/libgcrypt:0=
- >=net-analyzer/openvas-libraries-9.0.3
- extras? ( dev-perl/CGI
- dev-perl/GD
- media-libs/gd:2=
- )"
-
-RDEPEND="
- ${DEPEND}
- ~net-analyzer/openvas-scanner-5.1.3"
-
-BDEPEND="
- virtual/pkgconfig
- extras? ( app-doc/doxygen[dot]
- app-doc/xmltoman
- app-text/htmldoc
- dev-perl/SQL-Translator
- )"
-
-BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
- cmake-utils_src_prepare
- # Fix the ebuild to use correct FHS/Gentoo policy paths for 7.0.3
- sed -i "s*/doc/openvas-manager/html/*/doc/openvas-manager-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die
- sed -i "s*/doc/openvas-manager/*/doc/openvas-manager-${PV}/*g" "$S"/CMakeLists.txt || die
- if use extras; then
- doxygen -u "$S"/doc/Doxyfile_full.in || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- )
- # Fix runtime QA error for 7.0.3
- append-cflags -Wno-nonnull
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
- if use extras; then
- cmake-utils_src_make -C "${BUILD_DIR}" doc
- cmake-utils_src_make doc-full -C "${BUILD_DIR}" doc
- HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
- fi
-}
-
-src_install() {
- cmake-utils_src_install
-
- insinto /etc/openvas/sysconfig
- doins "${FILESDIR}"/${MY_PN}-daemon.conf
-
- newinitd "${FILESDIR}/${MY_PN}.init" ${MY_PN}
- newconfd "${FILESDIR}/${MY_PN}-daemon.conf" ${MY_PN}
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" ${MY_PN}
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- keepdir /var/lib/openvas/openvasmd
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-21 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 8:28 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-manager/, net-analyzer/openvas-manager/files/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2019-12-21 15:06 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox