diff options
author | Hasan ÇALIŞIR <hasan.calisir@psauxit.com> | 2019-08-10 16:54:19 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-08-12 07:54:22 +0300 |
commit | 8e5c94824fa60c35210047f4ec091ff6bb595a10 (patch) | |
tree | f63690c24a7961a0b7a47e9df92fb75f1e4b309e /net-analyzer/openvas-manager | |
parent | net-analyzer/greenbone-security-assistant: drop old 6.0.9 (diff) | |
download | gentoo-8e5c94824fa60c35210047f4ec091ff6bb595a10.tar.gz gentoo-8e5c94824fa60c35210047f4ec091ff6bb595a10.tar.bz2 gentoo-8e5c94824fa60c35210047f4ec091ff6bb595a10.zip |
net-analyzer/openvas-manager: drop old 6.0.6
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir@psauxit.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/openvas-manager')
8 files changed, 0 insertions, 162 deletions
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest index c43ad507461f..879c7dcd3c65 100644 --- a/net-analyzer/openvas-manager/Manifest +++ b/net-analyzer/openvas-manager/Manifest @@ -1,2 +1 @@ -DIST openvas-manager-6.0.6.tar.gz 1928570 BLAKE2B 6a94dfcfb99404f6b274faf0ac3c8ca1a3d65c9feb9bc8d11818e2c23e6d73a74d619519ed30eb42e74a686ffe43eeb6016ab1065cdecbc8f83ccd34257b5185 SHA512 4c4ae0ac35d6fc6820b47da6e5e6aae1b4d14c771791b7ae2e35123d8117319f05c7619de665b96de9d92fb59e417311656d3460dff992d3ce4db217731c5900 DIST openvas-manager-7.0.3.tar.gz 1796830 BLAKE2B b1e8bf8eb4cc0e2d3e5d67d7c17df3c79c7d65e798fc28f75ee55c2165a5e957ac950ccac14a20a5b332c15b64775f63805db00810271bce77d13b16db60a3ab SHA512 75e519e5f63fad043efe55ad5843934f9ffaefa052609e8d110b2084504a7658b5ee5797f7ffaa71592caed64b7fd4fac623bc7797bec72a51e8225d65f7fc28 diff --git a/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch b/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch deleted file mode 100644 index 011880979141..000000000000 --- a/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch +++ /dev/null @@ -1,16 +0,0 @@ - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4eb89a0..7ccfc5a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -338,7 +338,7 @@ configure_file (tools/openvas-migrate-to-postgres.in tools/openvas-migrate-to-po - set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -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 -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") -+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_DEFAULT_SOURCE -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") - - add_subdirectory (src) - diff --git a/net-analyzer/openvas-manager/files/openvasmd b/net-analyzer/openvas-manager/files/openvasmd deleted file mode 100644 index 4dce1ce4922c..000000000000 --- a/net-analyzer/openvas-manager/files/openvasmd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net openvassd -} - -start() { - ebegin "Starting openvasmd (manager)" - start-stop-daemon --start --name openvasmd \ - --exec /usr/sbin/openvasmd \ - --pidfile /var/run/openvasmd.pid - eend $? -} - -stop() { - ebegin "Stop openvasmd" - start-stop-daemon --stop --name openvasmd \ - --pidfile /var/run/openvasmd.pid - eend $? -} diff --git a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf b/net-analyzer/openvas-manager/files/openvasmd-daemon.conf deleted file mode 100644 index 2393c83f04b3..000000000000 --- a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf +++ /dev/null @@ -1,15 +0,0 @@ -#Manager listens on given address - by default manager listens on all addresses -#MANAGER_LISTEN=--listen=127.0.0.1 - -#Manager listens on given port - by default 9390 -MANAGER_PORT=--port=9390 - -MANAGER_EXTRA_ARGS="" - -#Contact scanner on given address -SCANNER_LISTEN="--scanner-host=127.0.0.1" - -#Scanner listens on given port - by default 9391 -SCANNER_PORT="--scanner-port=9391" - - diff --git a/net-analyzer/openvas-manager/files/openvasmd.init b/net-analyzer/openvas-manager/files/openvasmd.init deleted file mode 100644 index d30b8befdd0c..000000000000 --- a/net-analyzer/openvas-manager/files/openvasmd.init +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -name="OpenVAS Manager" -command=/usr/sbin/openvasmd -command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS}" -pidfile="/run/openvasmd.pid" - -depend() { - after bootmisc - need localmount net openvassd -} - -start_pre() { - checkpath --directory --mode 0775 --quiet /var/cache/openvas -} diff --git a/net-analyzer/openvas-manager/files/openvasmd.logrotate b/net-analyzer/openvas-manager/files/openvasmd.logrotate deleted file mode 100644 index c302b5f34ea9..000000000000 --- a/net-analyzer/openvas-manager/files/openvasmd.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/openvasmd.service b/net-analyzer/openvas-manager/files/openvasmd.service deleted file mode 100644 index 91edb0087bc4..000000000000 --- a/net-analyzer/openvas-manager/files/openvasmd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=OpenVAS Manager -After=network.target -After=openvassd.service - -[Service] -EnvironmentFile=-/etc/openvas/openvasmd.conf -ExecStart=/usr/sbin/openvasmd -f ${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS} -Restart=always -RestartSec=1 -User=root -Group=root -TimeoutSec=1200 - -[Install] -WantedBy=multi-user.target diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild deleted file mode 100644 index 64a151553116..000000000000 --- a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DL_ID=2195 -MY_PN=openvasmd -inherit cmake-utils systemd - -DESCRIPTION="A remote security scanner for Linux (openvas-manager)" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="" - -DEPEND=" - dev-db/redis - >=dev-db/sqlite-3 - >=net-analyzer/openvas-libraries-8.0.5 -" -RDEPEND="${DEPEND} - !net-analyzer/openvas-administrator -" -BDEPEND=" - virtual/pkgconfig -" - -S="${WORKDIR}"/${P} - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.1-bsdsource.patch -) - -src_prepare() { - cmake-utils_src_prepare - sed \ - -e '/^install.*OPENVAS_CACHE_DIR.*/d' \ - -i CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DLOCALSTATEDIR="${EPREFIX}/var" - -DSYSCONFDIR="${EPREFIX}/etc" - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - insinto /etc/openvas/ - doins "${FILESDIR}"/${MY_PN}-daemon.conf - dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${MY_PN} - - insinto /etc/logrotate.d - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} - - newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} - systemd_dounit "${FILESDIR}"/${MY_PN}.service -} |