diff options
Diffstat (limited to 'net-analyzer/ospd-openvas')
-rw-r--r-- | net-analyzer/ospd-openvas/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/ospd-openvas/files/ospd-openvas.logrotate | 13 | ||||
-rw-r--r-- | net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild (renamed from net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild) | 3 |
3 files changed, 18 insertions, 1 deletions
diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest index e1521eabefa1..70ea924685ab 100644 --- a/net-analyzer/ospd-openvas/Manifest +++ b/net-analyzer/ospd-openvas/Manifest @@ -1,10 +1,11 @@ AUX ospd-openvas-22.initd 499 BLAKE2B 413a85a48aa9812bbac9b647906a8445b6f0d7c69876cbb2cd6f9713cb4d48584672ce1d3a8c0fd8ac451a49d6106ba6c7cb58ed78947913345c5e2367ca333a SHA512 1b2122d36a851d7d810cf599a37eb40a5775ff5d084d6a31110f7c7f2d183348f99b0e4eb8adc89eb7f30c5644344c7c6116b8e90463345965fafbb9431aca4e AUX ospd-openvas.confd 226 BLAKE2B c43d443a83515f8890fd5406741a0e5e48d63fbe4e0a9060ee6c3679138ca406478f584bc8da7e24ec9520385509d3f1de609aaefb54ed36371638b2e0fa2c67 SHA512 ef07f02c3900ee431785b2c2e53f04f4fd114f502526ec509c869dcd3a95e4284fc65f05f5ec85280cc05a29a46fba9c74ef3b0b0d618b9c9c1e62d9bb3fc6fa AUX ospd-openvas.initd 491 BLAKE2B 1020cec8fba128547e7d0606c60989b74103b0d324ee72166f6d5d3f872134589f1aa9ef05e4c73215743e4d78db0c8ca4ee909d5503f64246c8b3f186952e67 SHA512 c5ca7fbff20a5f3b85e4f1c7ec22322056dee2e0800689f0fdf252d5b785eaf8db7909867fc4f6f13c53447d60e07f3d904965d7313d4bfaf58e3240f25ef00d +AUX ospd-openvas.logrotate 333 BLAKE2B 9265d7b1ace6a43204bbb31ab3b9e5896d91282b142c357373c113babd793dca101913aabc9d41c9d27125c43389b22a2b025e8f68b8aa41a669be444e97fe5d SHA512 378d049316928aea00bc5bf6332ecb5e671688681bd187f8b49104f056be2e75ec899e9bf9ecce1d1ad05caf654162e15715cbba8f375a9dd6c917839d85d5af AUX ospd-openvas.service.conf 208 BLAKE2B b392bddb4caa281087a238c79c368bdf38439c9ddaf470e034db60d9847269966e19d6a111218fe92e6c5f05dc414ab88c0fefd1916c0d5c5bca28b30d92824a SHA512 ea1e59e1c4e6d98ca0058f42bd7454768cafb8c410611350eaaa7e232d7c580f61986f41de5fdeb752b73bd9cafd04c1e9ab44975b8d177e63537ed991418fc4 AUX ospd-openvas.service_notus.conf 479 BLAKE2B f0c63fdd48396c39001823890aafe08228b2b37d14b81b02350b9ab0c31c02905c4b407785ca7b325f1ef48f92e38bf6f4bba287c406a274974c51d402a35dce SHA512 5d95f366f7b139717897b668e86d3f98ef98d7744106ecf456e5ba6bcf37ea6baa19a7925a46853a5f31a76c94a2537309fd944d5b99b07da19c020128937153 DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B 4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700 SHA512 3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9 DIST ospd-openvas-22.5.3.tar.gz 250022 BLAKE2B 277180051216527ce5889257a362219bdf11e88670e5fcde1cd4f1e687fbe7d56301d28d9a95982443bb1ecf9bb2553b7fcd6784cedad0139ad34cbdde142c39 SHA512 12be93803d52b46ec24760f07b7ace47b6383e5d84bf8903ea07d0e55889d149564b37e5be15ae5a33f03449bf2499d4e5220220d5ebec99629ee64548bb00f8 EBUILD ospd-openvas-21.4.4-r4.ebuild 1902 BLAKE2B 67a71298b7506ca6906599d8e7c9edb8b6f98337f267913849a5cc112dc949559114914c0e8116cf8945e4b344ff2e15e1f4bcdab4980fa9bf849405b8b02c2f SHA512 f636d9181d96010c7367912d6421f2ab12d55df26bed987e77ab77e26d745002775ff2236c5325950e8ceaf6fc3b3746c9e0944602c0547f31b213bf8347afe3 -EBUILD ospd-openvas-22.5.3.ebuild 1952 BLAKE2B 2f172ac7eb7212ae18a6466646715e8e03cb3650260adf0cd75343c2e348b35ee25b49f491a2bc1dc7f95a1fc20811eda471a7a16cf2252bcdf77ad5cfc0564f SHA512 f4312c3fc63a87d615a2daaf78c245b662a7efcde939460a62aa7da02a2522137466f87e793c61923b755d671dc5e38f3a874bffb1f3992cd6e8dfbf0aa67af1 +EBUILD ospd-openvas-22.5.3-r1.ebuild 2037 BLAKE2B 1a07a0d2966344c580cfa3f476925acd7c2426bfd25542c5e36e81bfc1489149e738f172349e2df0635e493fa4d02a0d6797367d4b4a5eede907633147baf85d SHA512 0214dbbfedc80103a0ae428c0aa090ff9305c4d946bcc28fc702a5fa61c9f2bbda41ed305755a84aad2b9bc5e97489e5b4e92de2487c0e9792313103ac8e5228 MISC metadata.xml 1029 BLAKE2B 603e12bc771225baa50afc6e5254b64215055d9399c9d1862611150a49a74f397af610676ca273506f2359513b42d91786ef9f7c9100789437c00b8e59f6ccb2 SHA512 bf49f3444f277ae4b798a5c01d4c4dc5804187479774e85a9ea7481bae3b596df6f330979560ed43aa310cab72ba50dae4eeefe65a8e7dc6ada14659122ccaf7 diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate b/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate new file mode 100644 index 000000000000..7fed1aa23437 --- /dev/null +++ b/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate @@ -0,0 +1,13 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# Daemon ignore HUP so we use 'copytruncate' instead of 'create' +# with safe file size to prevent losing log entries. + +/var/log/gvm/ospd-openvas.log { + compress + missingok + notifempty + sharedscripts + copytruncate + maxsize 10M +} diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild index 5aa80f75d415..f7a5adb87543 100644 --- a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild +++ b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild @@ -68,6 +68,9 @@ python_install() { ${PN}.service fi + insinto /etc/logrotate.d + newins "${FILESDIR}/ospd-openvas.logrotate" ospd-openvas + # OSPD OpenVAS attempts to call openvas via sudo as network security # scanning often requires priviliged operations. insinto /etc/sudoers.d |