diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-10-22 08:19:18 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-10-22 08:19:18 +0000 |
commit | ba4bc1033fe49eda30f4b132454351dec858d7c0 (patch) | |
tree | 871e5b01f051e7030bebb01d38c066f04619e9cf /net-analyzer/greenbone-security-assistant | |
parent | net-analyzer/openvas-cli: Update to latest beta; drop old (diff) | |
download | historical-ba4bc1033fe49eda30f4b132454351dec858d7c0.tar.gz historical-ba4bc1033fe49eda30f4b132454351dec858d7c0.tar.bz2 historical-ba4bc1033fe49eda30f4b132454351dec858d7c0.zip |
net-analyzer/greenbone-security-assistant: Update to latest beta; drop old
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'net-analyzer/greenbone-security-assistant')
6 files changed, 97 insertions, 105 deletions
diff --git a/net-analyzer/greenbone-security-assistant/ChangeLog b/net-analyzer/greenbone-security-assistant/ChangeLog index 062b1f9c4ddd..fc09086bef7f 100644 --- a/net-analyzer/greenbone-security-assistant/ChangeLog +++ b/net-analyzer/greenbone-security-assistant/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-analyzer/greenbone-security-assistant # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.10 2014/10/01 11:13:53 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.11 2014/10/22 08:19:17 jlec Exp $ + +*greenbone-security-assistant-6.0_beta3 (22 Oct 2014) + + 22 Oct 2014; Justin Lecher <jlec@gentoo.org> + -greenbone-security-assistant-5.0.1.ebuild, + -greenbone-security-assistant-5.0.3.ebuild, + greenbone-security-assistant-5.0.3-r1.ebuild, + +greenbone-security-assistant-6.0_beta3.ebuild: + Update to latest beta; drop old 01 Oct 2014; Justin Lecher <jlec@gentoo.org> files/gsad.init: Fix service dependency diff --git a/net-analyzer/greenbone-security-assistant/Manifest b/net-analyzer/greenbone-security-assistant/Manifest index 9e3e946eee8c..2f7b25c736c4 100644 --- a/net-analyzer/greenbone-security-assistant/Manifest +++ b/net-analyzer/greenbone-security-assistant/Manifest @@ -11,32 +11,31 @@ AUX gsad.tmpfiles.d 28 SHA256 7a0bd6c5fe5ddaa05f65a1be880474a541aece839b3ccf6317 DIST greenbone-security-assistant-2.0.1.tar.gz 351124 SHA256 ac7e3ea6107cb15093467d2b7acea27927289fdc4c486343bf0c6a13e79f92fd SHA512 30ebd2fd92c6c98cce21a0732ea7d2f74c05f9298ef7439734d935aa3bb83aca4cb5d4cc9bf886ba62f41ab4231669d35aeb4968a65e9eb2997fce48517c624b WHIRLPOOL 03e665b7fecb1eac964437b21ac70418205c7b67876c877020fc4d00686d9c744a26b1b0319d0c61747e5223727abd11a97286aa4c2b2b18fe52191661e4fc19 DIST greenbone-security-assistant-4.0.1.tar.gz 588353 SHA256 7616747f80259e83424eb7e20c441fbfb819cb6ac63314485c8cf1b54b7493e4 SHA512 f7cb5eacb70ad968415ed2d60f059b027347d824f265d1ef63df3757bbec36e38cbbe0bf3687e333353ca9865ea037b3790360a51f5cf8a12072323fe7727457 WHIRLPOOL e4bfdaf39c5d88eacc80909b0f5edd64298901e072b4b9ed7e8b36e22f027d369f098dccd14bf33db2cf48aa2c5690f79136af1acf8457b74dab096986e105e5 DIST greenbone-security-assistant-4.0.2.tar.gz 589059 SHA256 3b96d2306ef0e488366c0ec65a6548c04b491a73349521c7019c64474ec2452e SHA512 34a32f21f6a9c3b35d8048f5f46da686084b58ac3d60aa83ea95d7c5eaab7d8fe781e4cef1b3fb5df5ddc11ccbf21907f90e1a56a27824033630a89acb306aab WHIRLPOOL 9ac8033dc8934377fc48d4649de7e87c97faf933cf53a512f841b843c5b92b9ef9998009eabe8011e63a343a75c73cc54ca29306e6feffc50b956ae58c055c92 -DIST greenbone-security-assistant-5.0.1.tar.gz 1040407 SHA256 dab7c3d714c165a36cbbd8a6db6aa2b7c2987d56d2e09358b8b0ed2613d12018 SHA512 2ad816d70d3e6a9c2cdcc58136a5d9794617053b96d86af9f0dd0046371e717cb9e1c51e11a64e5ef1a37ebba9cfe15d22f4468a3a12a67333387ee67ae445fb WHIRLPOOL 619b4ccfe7ddc91882b74b20e344ff5549ccc90977c1c475015f80c381eaa899060a1afbe571ccbabeb8efa9c54fef88c77c825084786be6268d66c568b430e9 DIST greenbone-security-assistant-5.0.3.tar.gz 1041880 SHA256 f055dc8bf2383f4fa7acd6552ec843e02c797b5011062ed79cb66bc81877b018 SHA512 f2d9fbc77ff75cd823242b9a1fb0ef7fbc66bed8be438b7e727ccceee655b7f008fbe72b1932b27dd34d6e32bc85a8a8e54031f9449f887e75fa819b499f3ae8 WHIRLPOOL 5386a3f1c1e8b39099e0a660ec066927d022dafe55c295698ca2e0936e936a9912de571129cc88caf2cb6066bb49018e3c4915fe38e0fb2cb0f3c73c5282a924 +DIST greenbone-security-assistant-6.0+beta3.tar.gz 1156737 SHA256 8f09305e0b4ca14df777be9888be795add9a658188eaaa710531a95d234d7e4f SHA512 8dc87769ba449f3ad40bd646347e61f29dcca2ad3f4e44931d409a328db158ff973d2dd1ca7343a9bd252c0b06955bf08c317f8ce354b724be992450d2786a4c WHIRLPOOL 8f3d0068f5411a53ed283e19d9318f79ff3cec43d07a4458542e369e7b169adab9c38909093891db0925e82178e71f34ad00e87fee20fc2aae1e26bbf37a1735 EBUILD greenbone-security-assistant-2.0.1.ebuild 983 SHA256 b0c753468daf4b5f71be347456a5794a0e3a491e738a61b25fc63aea347cc786 SHA512 5e4ee7a9f035973681c98b3c1c269b6bae3f79b4f60b20cad6d7233ea2df5729f807cfe1263f24cfcab4a2d2c9898793268797853ebd06a9f5b368caf518cec2 WHIRLPOOL 9799232ee5187a03f2848f62f08e7f3b0c8e1b83b54bf8685ea941a678e8c3c6aaa07672cf678c2981da38397f9b5ee5945440fca8935042524c0fe038ba9fc7 EBUILD greenbone-security-assistant-4.0.1.ebuild 903 SHA256 35f6028333b1aa8713970ede7a44a7f3d1d57bcf1a6bf7e192eb46275bf437b5 SHA512 396272f4addc2d0a1e4d2c9ea909378792d6a9de0a13f6b559e71ff8654c37a91c6d6c0c35cd2a13fba8e3f7c34ee5e710f183c2d652ce2da755bfb8ab424651 WHIRLPOOL 1af7fcc2a3c07176f056f6e74eecddb374df222cde4e7767a5dc144685120063dae1ed64eb3d6f2c1eefa315f4e67055a4369fd92a0a91b8e7e7c6115a7987b9 EBUILD greenbone-security-assistant-4.0.2.ebuild 902 SHA256 d4fe430a69b20dd5902fd03e9caa1ac20526bad2a68c14f91d5a1fc88aa6ba2a SHA512 a9f23244ca5d2a80140543287b7315e5f8fa4b1b250e317dd86b877e6eab7e1224379e43384c38a29cb7e0778a5cf43fb281ad400406f2123885f13954f391ea WHIRLPOOL a7bc2fb5ec5fa4bc627a707a0445d90a90f3b5c5b5338b26dbeb4ec946770ea89d0de02d61bd21e0ef49cc66d72fb081560d8575bc0b332d5d5f44c16aaa1adb -EBUILD greenbone-security-assistant-5.0.1.ebuild 902 SHA256 c08e61c00038cfdf143e09a607d58b2195b522721e4da38cdef89c8bda2e7cbf SHA512 a4a88dfd725e448a0aae8aff41b624b8a2c089fba01411ced1bb9747d5a2595bf2832d5191e1ad1a5fa3cc620a94b44076baefe1238a8586e404b2736db5a662 WHIRLPOOL 940b10468d295afb66cb77428589d90e42bdab108183c5fc647e686cf4e00387a8e8c5ea228464d929332021e4ea91cb4f4c9c1eabd5950adbc3821b2e5d2564 -EBUILD greenbone-security-assistant-5.0.3-r1.ebuild 1575 SHA256 bc4dff5bf80b2e6ce02e33d16c95a97a985d9375639efd58827bb56e8af7b7ec SHA512 fe5ab2a86175c0cbf600a184539cfa9814e51e1ad6e844ed076291ca4e6cf2a7290fc3adaa446266b2cfcce979016229bbbd6713e35e3b03297fb3335606c8f7 WHIRLPOOL ab259fe660249048205b280a409062b13157f49cdd4223f9da23b9abe100f65ca6399e28eb989a10fa651977680995c4499150ee88bce58b8a8e95f20bc4d480 -EBUILD greenbone-security-assistant-5.0.3.ebuild 903 SHA256 9fbf8a33a975b0b2b4459c7192123d7308ac74bc2ce86529654b955ab055e984 SHA512 caf697a7ca4741a9107f988bd2edab832eff6e375ef2b3cf6bfe31bc6c5046cc0d3de30a39f861293a03098dc7314fef74f2772dbf2a63a8a63e6101e4751c73 WHIRLPOOL 370369d895eb046b52ce3878837ff18d7dfccd878ff96c2bbc154f0d73dcaa16c9875d639fd13fd349582be4e308b21291198f7997de3f572687c97792f12d07 -MISC ChangeLog 2080 SHA256 d8623a3a291f25aad505c40fcf8097a8a0407a99176760a92d967474e1d294d4 SHA512 77604aff7771ff58fe15dc282814d69f49e49159d4bfef745daa7fa6d849977eac0ac03a5587d8298ab743b54f264f1401ca00c20f3b4dcb59bf12510a0baf7b WHIRLPOOL 44c31ac50371c90ba63b21f436c3205160fc539bbcd6ce11bcc366a0b4fca9fe8036e59620fb9822adf3c59d8607b907b51690c5e8011992d3656071ef1b3b0c +EBUILD greenbone-security-assistant-5.0.3-r1.ebuild 1399 SHA256 531c7d83ae36285113d01220fc4d815d8c5e6b974c27e787f4312c345cf6a325 SHA512 302b82b5c743f5551664bc0f7ee859241b93ce919970406bcb4341dcfc515924d95f8b2983cd6281248ea6a77b5a1349135f354265f4c11e79cf7d294c598c22 WHIRLPOOL d0b37fe1713ea9869c0e4679c3158ee9a1c8a03182ff38a2b2762c7202edb14d54c508d34b31bd3bf4e5120ab2ec5f6768422ef18151f1466062bc46107a55c3 +EBUILD greenbone-security-assistant-6.0_beta3.ebuild 1449 SHA256 e832f84d9fe764c3beeac86dda03c58aa469a0469ab0f34081066ec12b65f213 SHA512 d79c46644ffc183db1e5da8f06e500e045d228e49ba0357dab6152d5f7897e251e4b65d9650fdd2338d7c18acb677985830e2e6ada6f517afd33b636621ae91b WHIRLPOOL b2f6b4eb6efe658e79528e41cc61240e755a290367d8a8f25732e12de28e9ba0c1735e517bf93c383a3067d9a8021d16f5e668033c401615075271a00b79bad4 +MISC ChangeLog 2407 SHA256 667517c4092ac5e464da50337b3d2ed180556fc493c3689f20f36cfe0f968957 SHA512 c565777c9ab47cc6b60ba7c9977e20a09cc57896f72f7ec1222cd0f3dc1507df9302ba3d06be20873868ee8ed8f888df1282c4353edefb1a04a9637c4a2ff822 WHIRLPOOL af231f01d7e3d18a1093257652468ca5fb0a8f35475b357bdebc1423ceb37f48a3c91a477fc27dbc9b493774235d1731e622d29814f62488d6d6069983adc47e MISC metadata.xml 206 SHA256 5ed6f72b0875cf8d913b70843b7e7474d237a6fde6da5d2d0a9fb1b0a6530ed3 SHA512 1129ba77fc749f7d7e57b6d3754f24b6391186ac970ee47bcf761c08b1e5df412f4ae18ba0a0f5fc159f4cc3c7647a8030c0877b06a669e5562af50019dfaf41 WHIRLPOOL aa2e2f263c929e1ef192e131912b5d645b1162aa28f8a297a5998af645e232828ba1ae62b6260e7ad426d2e05519d17154dc993ff48cda3c497585d93bf60d0f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 -iQJ8BAEBCgBmBQJUK+HyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCgBmBQJUR2iGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC -OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirlo4P/A2QWkcZU6pNj/qdOHuwt36z -pRGt4115bdLveI1n51t9k/eMTD6M/6e1z4PDft4jsX4dE3QAirVAo2NhBrc0xlcb -SygY17GSiVz3VTH7m4s/K6T8YB7R+IhoAmMePTR+bSIKOP71acqqh611dSa4TsyM -LFrwQgnP9XV+1kmKrJzzLeuSmAF3gtAsHWp8ox+QVTZGdtqmMjollK2MAQBR6+Pi -szYwz/JGrja41OViHtBmornaSnwwXKtNNax4ni6BGXmRVBVAFjMCeF+e4wYjvfFV -aJfBjJ05IfF/LZ4AEfxUB081gByuM9zoPpqMckIlKtDrqK4Ct/QSmY4qU/4B9mwA -O5qwGWgaFE6RiaP4Y8NVqWfdDzZykKWNxpjK+IH5h1Xzu7FPLkYkvCHcRGWGnNx4 -H7TM9SCRYsQCYQVW86OtWb3LZ+tjeNchFoWLoo+wVuZyGYzjlqucaZR6g4fph194 -DhG41TN9Ej0bIn/v0Vs50zySVOEcZGDM4d+tnyJPxRe/y+25Cs+Hz/87m+LnKksJ -IphkKOR4/9H+lb5LMR8LAjb04C5c0dNkRTzBkdpv4QM7qZNYadXgP2l3DgQ3Et0F -U+jADiOzwC5ttyR5fpU4SEc2GFtjkV+Ih8iITU1EYAoPC7+Bi0LzylhDyJ7Z2Qgs -3/1ZCtSEtlQ9vdkk9hqp -=AfR/ +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirVqYP/2+o7VesRmJ1+xuz6641rO+P +viXH24L8YGkPzla6b18DWvvS34aA8oVTpkfR2EORgy1Do+ZQ0oE4KRNKbXEbooQA +A4ir0yfaL9KaaGGhOHeVz1qrWXXGUvBLnQn5sqcpHlpGNYCfGBYDmo/3HnRWFFPY +qsTxT8AdyZ9DnlL+kJqNhyrEql8yHAKyXP97DeeBY/fKDrP5hIXlBxE1OdO82+Dv +qxegvXRHW37DfBVuUyrkFlI5MQYfuAgJn4hA30gIeJTGypB/vUEWZGV/kjWi5oZG +LQAhqKjlxv7IL1mHTK5663UWyhBGf0N6daD15N9V0FFa0/Q+ku56Q3fOo/lDWOPe +599eHpvu1P2fyQhUn4mz8nZQRawl+Dhf3A9KIQUWEzSme/flgbnY26+GG0hnxEko +S/o4s8lT3ShC+FB0tgEfM0uZ/D56xPM16+TSktJ2XkTgsUChcn9xpLLAamvuJlRC ++NKdHZRaWVMbZ5wqHNsyWTclZKxRMrqnPEr6bqQGGUwkLbNCp4KWHKWTh5GOHtXP +le427Uy6um1gxVGxUrQOHzpTySPhpRhrTOCR1cAJQCua75w423zOODV5FgXDph83 +lzelzjuJRYWpTAOltzWqQGUKUVQMc+5DnEofJV/egjetClpdBeSJay/vZ7DrDpLC +KdPS6rexkGIbrmBLejbC +=/XJi -----END PGP SIGNATURE----- diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild deleted file mode 100644 index 357daeb400b5..000000000000 --- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild,v 1.1 2014/06/19 13:38:01 hanno Exp $ - -EAPI=5 - -inherit cmake-utils - -DESCRIPTION="Greenbone Security Assistant for openvas" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="http://wald.intevation.org/frs/download.php/1675/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -RDEPEND=">=net-analyzer/openvas-libraries-7.0.2 - dev-libs/libxslt - net-libs/libmicrohttpd[messages]" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS="ChangeLog CHANGES README" - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - doinitd "${FILESDIR}"/gsad -} diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild index 4cbff6cfa8e5..be150a978e59 100644 --- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild +++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v 1.1 2014/10/01 09:33:11 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v 1.2 2014/10/22 08:19:17 jlec Exp $ EAPI=5 @@ -8,9 +8,11 @@ inherit cmake-utils systemd MY_PN=gsad +DL_ID=1734 + DESCRIPTION="Greenbone Security Assistant for openvas" HOMEPAGE="http://www.openvas.org/" -SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz" +SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" @@ -37,8 +39,8 @@ src_prepare() { src_configure() { local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" + -DLOCALSTATEDIR="${EPREFIX}/var" + -DSYSCONFDIR="${EPREFIX}/etc" ) cmake-utils_src_configure } @@ -57,9 +59,3 @@ src_install() { systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf systemd_dounit "${FILESDIR}"/${MY_PN}.service } - -pkg_postinst() { - elog "To use ${MY_PN}, you first need to:" - elog "1. Call 'openvas-nvt-sync' to download/update plugins" - elog "2. Call 'openvas-mkcert' to generate a server certificate" -} diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild deleted file mode 100644 index 22d414543ba4..000000000000 --- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild,v 1.1 2014/09/28 18:23:34 jlec Exp $ - -EAPI=5 - -inherit cmake-utils - -DESCRIPTION="Greenbone Security Assistant for openvas" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -RDEPEND=" - >=net-analyzer/openvas-libraries-7.0.4 - dev-libs/libxslt - net-libs/libmicrohttpd[messages]" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS="ChangeLog CHANGES README" - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - doinitd "${FILESDIR}"/gsad -} diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild new file mode 100644 index 000000000000..bb5a287cd726 --- /dev/null +++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild,v 1.1 2014/10/22 08:19:17 jlec Exp $ + +EAPI=5 + +inherit cmake-utils systemd + +MY_PN=gsad + +DL_ID=1775 + +DESCRIPTION="Greenbone Security Assistant for openvas" +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+ BSD MIT" +KEYWORDS="" +IUSE="" + +RDEPEND=" + >=net-analyzer/openvas-libraries-8.0_beta3 + dev-libs/libxslt + net-libs/libmicrohttpd[messages]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.3-run.patch + ) + +S="${WORKDIR}"/${P/_beta/+beta} + +src_prepare() { + sed \ + -e '/^install.*OPENVAS_CACHE_DIR.*/d' \ + -i CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLOCALSTATEDIR="${EPREFIX}/var" + -DSYSCONFDIR="${EPREFIX}/etc" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} + + insinto /etc/openvas + doins "${FILESDIR}"/${MY_PN}-daemon.conf + dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN} + + insinto /etc/logrotate.d + doins "${FILESDIR}"/${MY_PN}.logrotate + + systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf + systemd_dounit "${FILESDIR}"/${MY_PN}.service +} |