diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-analyzer/openvas-manager | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-analyzer/openvas-manager')
8 files changed, 0 insertions, 169 deletions
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest index bc0dcffe6b0c..488c455d498e 100644 --- a/net-analyzer/openvas-manager/Manifest +++ b/net-analyzer/openvas-manager/Manifest @@ -2,14 +2,6 @@ AUX gvmd-daemon.conf 484 BLAKE2B 440776ba66ac433b572e2defefe4ca9c1589054ccdacc76 AUX gvmd.init 549 BLAKE2B 3eb2ac2b47e5821b04f794fdb6ea15146412ed1ccdcb8fbf54b8b3b0f742aa0fa1289ba744dcd56568fddc6e42b328fe6f3961249f492e7a506f0282d38a155b SHA512 029f80e09bf15f957398e688cb109141c38c5ccd890ad5c43b08dd43ffa96cf92cf1f3d46624469a79c19a1ea63b6beb73ebff58039ed68f14d0bade14da2cfa AUX gvmd.logrotate 217 BLAKE2B d6eb74a1cdc1cfb5500e5ed4e62ab9c453ec5d1665ba55c2618010480211ef6349823ecd35d62b166c771f8f795643f00cd7920c8f665a73de9fa91382d19eef SHA512 e92e6aafa30e621ed2598508216453477ce1c30eb2d9bf418c7657e3312978d514fbdd663273ca7009cfc0b61b5e95a6c3231c3d7b0e62f2e991dea9afd4d2b1 AUX gvmd.service 516 BLAKE2B 271ee87125843ffd5ac997d6e3b9a46a2cd45e8ebb9630f2fa0adf7c5c081e102fc11e69b38fe2ca12854597186f76145044478b4908031495dbd7bc61a88217 SHA512 90165185c50c451b58f1173fe3bad0e9ebfaa6a2120b33920f8ab03960bc09e7a84c07b6658fbb2d649e1a3726addd40420ceb5b63b1d6f885429861896f8f74 -AUX openvas-manager-6.0.1-bsdsource.patch 834 BLAKE2B e22ebf888383ba7808dccb11f6db0fae4f729900b1ed97758b0513c5141e5163966ecbe7d078572ec44d17d8f3ece5fc15eb8c279e30fa0d67c53ae534f979c8 SHA512 82ab5aca2386663c851688fa4606193c3bc18095121ea4205aff78471769e5793167de89581013e5b5e12b86ac4efff57553ba34da2cf8aeedb8d14bbc76bbaa -AUX openvasmd 459 BLAKE2B 127060292fd4f41e6915300a47c333d67885eed0a46b0311ef56aaf02b367396dd25c26f68bf07348bc2ed345d55ed17a788a37677d29ded86be5d7989a4ff3e SHA512 0b1f90c04a105eb8a3227a4f79076cfcf0402d9d2b21dd92d394c2461c3b7b8c28ace233cc7654d6662847494f30e84903d4dd8be1701f2df5c7952500d543fb -AUX openvasmd-daemon.conf 377 BLAKE2B 450c0f849c538e261937821a7855e9aaf61b66a5aed5f339766c681d4de6735264f27bd4bdea03aaa6d26436615f33548a53e37967ae2e59554410d431dceabb SHA512 5094acf77541fe97aff0698efaa4863adc25711118857d468f096174cb71fab249f9a82a4e4b19613ffd62b3c0378043b1384ecd6cacc4a30b9ccb99f3173506 -AUX openvasmd.init 452 BLAKE2B 714f516172815230b9a2b4ac9f8a4eeefc0a8eba6410914ee88544ab3e204eea4f360050ac5e8d155dddc7468250e473b762df89220a150ab316d12284abb231 SHA512 74c354292b97bbf84e1336e38f768dc8b5ade3d930f20da7d3b9edecf1ea5843a2a2fafdb3ae856878f3f4628ee05ac9199b238ad5bfcad45a4ced532976f3c4 -AUX openvasmd.logrotate 178 BLAKE2B ba33a53ff1b38efe18906625f678e3263b3222cda8f2a49e0274cadbd423ef5cd6684a52133175d5f524550f0e057ec6128f9f14745ea890bcbc205c93a5feb5 SHA512 dad461ea48cc49c3f5e77bd69c09f2551a42e588cbd479b91ae1410ba88ae0c783ee5b273a34edb46ca196e7ba19227168efce842b1a5c39e6a46516b6fab5db -AUX openvasmd.service 362 BLAKE2B ec99c9f570310665ea0fc84569f996a1eb9c0b22128310f8f7161cb11f9729ef61b1631d2855215633b1dab392790e84ea11f7d79dbd3e315c4e73f5563a3f22 SHA512 8753699635050da10b7d317caa60361c59f832b6a1624d9fc2cbedffadbd554fddf612a92ad1e0ef057b83420b36468fc9f7ee67e3161d4c37816e0c8e9239a8 -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 -EBUILD openvas-manager-6.0.6-r2.ebuild 1278 BLAKE2B 290db543ab1941d2b827458b3caef1f0427208ff5c738576be8a8fd315f40af6385405afdba52da5c85539806d67143792915033d988b5788bb16b33f5ab7132 SHA512 3f39dff221f5a5b6bff825475c232c6ca22337f63b99608dbad342d8055db1761059359ec575079f65cc34261deedfed54a642042246e261f79eb9b42a9126d5 EBUILD openvas-manager-7.0.3.ebuild 2103 BLAKE2B b430eee33dc2d7bcb67ac623754153f41f2cf05aa155021e02b408c72cc546fd9420404a7a305a33fedb4b857a0a1c7a024e290443016e4b75fa55de0fbf2efa SHA512 0f7fb4a53cfa942a74fc74e2e139a5c872c793d2da4085986630487907f5237cf5be192ef507fb3f28df27fce01b87a699723cc0176e7fc8073b7f5f035e7489 MISC metadata.xml 435 BLAKE2B 4d40c4dcffe9bfd81d1c1b517b4e6d6e1e658f9d6be65f8ad962ecbbee78bf0cc6bbb5805f2e056375c7371697a453453f8eeae40bae1bdf890be8f3e23ccfbc SHA512 fc802728917b8ebc3c43e3c35ce1fa7b8aa30d89d60abcfcd82eb6baf0152d02384b2e336664942bd89c3ed27a418f37a13699b68a424f36645c51c1310a6e16 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 -} |