diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
commit | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch) | |
tree | b6f535e053876097ced1b6bda14a4da890c730d4 /net-analyzer/greenbone-feed-sync | |
parent | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff) |
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'net-analyzer/greenbone-feed-sync')
-rw-r--r-- | net-analyzer/greenbone-feed-sync/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest index cb3a53cf41b6..b61a399818e5 100644 --- a/net-analyzer/greenbone-feed-sync/Manifest +++ b/net-analyzer/greenbone-feed-sync/Manifest @@ -4,5 +4,5 @@ AUX greenbone-feed-sync.timer 183 BLAKE2B f91b69c6b2a5024c6cd9d678676071f7d5e175 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4 DIST greenbone-feed-sync-24.3.0.tar.gz 58949 BLAKE2B 10260850dad8781682e9f3e3eb31faa4139080b3c5661261770fe28053df472b21b4e2ef98f258b5c634c26d543313da30bb01d9eadfdb8ea8e7b7b57205b7f5 SHA512 ac1ce1f0a2898997e5a330e9a186b6203b7593e5b847d23202c28e7b3b7be1556001cc6d8ba5abd7077d1b51e0f21640728f78659ecf9a60eede28ea483344b4 EBUILD greenbone-feed-sync-23.10.0.ebuild 1575 BLAKE2B abe5101d16ca2c904b36d622c49f3d3a4e43ae60d0ce36d76ae50522b39b694604c65d1a81fd6ee74813f697b3d21c130d4acf3f7fe98955537e4bf1a23b24e6 SHA512 fc7ffb5e2c7a155ba33952cd77fddaf7690001e25c1ba1ad4f5c6f640b1b12874c5bedaf61400155a6947d3ed8849a3d8b38f048c16ee9e8bf4c028c243b997a -EBUILD greenbone-feed-sync-24.3.0-r1.ebuild 2161 BLAKE2B c6e6cc113ed24cbe18f2eb1f8f2b7523dbe25df2880a2f9d20d0425fbcaf14fa33967a2aaf48f12c8c63a2ee19f1f6e9006fce1f9c187050e98d663a5c258321 SHA512 b9ed80c1ddf48eeb0f64a0c39d44b0a5161cfa24bd7d21e9ae15b639a1c52a0e19b4e575c8548733155e8eadf010df15f297ce0c2ab4934d917570eb93c58ac1 +EBUILD greenbone-feed-sync-24.3.0-r1.ebuild 2900 BLAKE2B 3e3a57a73cd8d381b5c04078c06e86eb702df9c939554945d2c59c9748c8bb835017c3e33a6f88e7b9107da6351e7161c5498edd2f3ded0ec74f4b234c4b24a3 SHA512 6c15ef6764074f5ca18a636360afe813f5caf3c835d08f024d157aff3eabfaded38f40213e298609d5d067f39c4b88c1ef49d105039f48e05c30f4eef4b6aa16 MISC metadata.xml 822 BLAKE2B 6e48caf48d652d7892292654b2b55a1b200fedae3b34d03ed237259fda8a8c8013cda2c3ac93b080658424a21a13e9a3d4eb92c677621c17c2309cf7f7467c32 SHA512 9457919c66737a70c7cc58aa576102c46c1d296a616baf53559eb04bd89a7cc315d59980e7150afea1f9010344952e73deeb215ec5f776075b638072badf5983 diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild index c5178e60a3c3..9e06b6cd11bb 100644 --- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild +++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild @@ -38,6 +38,16 @@ RDEPEND=" distutils_enable_tests unittest src_test() { + # Make a copy of the original config + cp greenbone/feed/sync/config.py "${T}"/config.py.orig || die + + # Patch the config.py to not use files from /etc/gvm, as this may + # cause a PermissionError. See https://bugs.gentoo.org/932836#c10 + sed -i \ + -e 's:DEFAULT_CONFIG_FILE = "/etc/gvm/greenbone-feed-sync.toml":DEFAULT_CONFIG_FILE = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-feed-sync.toml":' \ + -e 's:DEFAULT_ENTERPRISE_KEY_PATH = "/etc/gvm/greenbone-enterprise-feed-key":DEFAULT_ENTERPRISE_KEY_PATH = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-enterprise-feed-key":' \ + greenbone/feed/sync/config.py || die + # Disable tests that require network access. sed -i \ -e 's:test_do_not_run_as_root:_&:' \ @@ -50,6 +60,9 @@ src_test() { tests/test_main.py || die distutils-r1_src_test + + # Restore config.py after test. + mv "${T}"/config.py.orig greenbone/feed/sync/config.py || die } python_install() { |