diff options
Diffstat (limited to 'net-analyzer/openvas-manager')
-rw-r--r-- | net-analyzer/openvas-manager/Manifest | 7 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/files/gvmd-daemon.conf | 17 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/files/gvmd.init | 18 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/files/gvmd.logrotate | 11 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/files/gvmd.service | 19 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/metadata.xml | 15 | ||||
-rw-r--r-- | net-analyzer/openvas-manager/openvas-manager-7.0.3.ebuild | 88 |
7 files changed, 0 insertions, 175 deletions
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest deleted file mode 100644 index 3964b6e98fa7..000000000000 --- a/net-analyzer/openvas-manager/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX gvmd-daemon.conf 484 BLAKE2B 440776ba66ac433b572e2defefe4ca9c1589054ccdacc7631a2c6621a2312433828082f19c6d262b64b0326d86c2a090c5622c16056b94f1a0376c6c0c568f59 SHA512 6c366146561435c194475d6d84a52aa8f8ec068a53dc16f7de334e2c0d54a404cd9257f878c95ae0ee33e5811d8b824a9ec3c39d2cfbd02f69f2b0a390926d1e -AUX gvmd.init 549 BLAKE2B 3eb2ac2b47e5821b04f794fdb6ea15146412ed1ccdcb8fbf54b8b3b0f742aa0fa1289ba744dcd56568fddc6e42b328fe6f3961249f492e7a506f0282d38a155b SHA512 029f80e09bf15f957398e688cb109141c38c5ccd890ad5c43b08dd43ffa96cf92cf1f3d46624469a79c19a1ea63b6beb73ebff58039ed68f14d0bade14da2cfa -AUX gvmd.logrotate 217 BLAKE2B d6eb74a1cdc1cfb5500e5ed4e62ab9c453ec5d1665ba55c2618010480211ef6349823ecd35d62b166c771f8f795643f00cd7920c8f665a73de9fa91382d19eef SHA512 e92e6aafa30e621ed2598508216453477ce1c30eb2d9bf418c7657e3312978d514fbdd663273ca7009cfc0b61b5e95a6c3231c3d7b0e62f2e991dea9afd4d2b1 -AUX gvmd.service 516 BLAKE2B 271ee87125843ffd5ac997d6e3b9a46a2cd45e8ebb9630f2fa0adf7c5c081e102fc11e69b38fe2ca12854597186f76145044478b4908031495dbd7bc61a88217 SHA512 90165185c50c451b58f1173fe3bad0e9ebfaa6a2120b33920f8ab03960bc09e7a84c07b6658fbb2d649e1a3726addd40420ceb5b63b1d6f885429861896f8f74 -DIST openvas-manager-7.0.3.tar.gz 1796830 BLAKE2B b1e8bf8eb4cc0e2d3e5d67d7c17df3c79c7d65e798fc28f75ee55c2165a5e957ac950ccac14a20a5b332c15b64775f63805db00810271bce77d13b16db60a3ab SHA512 75e519e5f63fad043efe55ad5843934f9ffaefa052609e8d110b2084504a7658b5ee5797f7ffaa71592caed64b7fd4fac623bc7797bec72a51e8225d65f7fc28 -EBUILD openvas-manager-7.0.3.ebuild 2102 BLAKE2B 7a2ab62f1b5aa3cf6629eb4cf13786cf5bb0b2c7e9655bca25b471ca367d8d3585db81ef1af92e97310c656b7359a0dad45f3ad173617961ad60a9628bc0abc8 SHA512 7d2d4ef4891717d906163447f849db9575db663995aa5c805cf6eea73d56767d3f563c7aa767ff0ef3ce10b6f116f0e4d9ec5ed919b087ad46c3a80031567a50 -MISC metadata.xml 435 BLAKE2B 4d40c4dcffe9bfd81d1c1b517b4e6d6e1e658f9d6be65f8ad962ecbbee78bf0cc6bbb5805f2e056375c7371697a453453f8eeae40bae1bdf890be8f3e23ccfbc SHA512 fc802728917b8ebc3c43e3c35ce1fa7b8aa30d89d60abcfcd82eb6baf0152d02384b2e336664942bd89c3ed27a418f37a13699b68a424f36645c51c1310a6e16 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 eb3e683c42a3..000000000000 --- 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 a7de3800adac..000000000000 --- 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 db8eb200580d..000000000000 --- 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 c0627fcd1c73..000000000000 --- 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 fa26aa942e17..000000000000 --- 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 39f1f277b47b..000000000000 --- 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 -} |