diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-09-28 15:40:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-09-28 15:40:49 +0000 |
commit | 6eb25ffcd768a427c5e371998618a26f441ec929 (patch) | |
tree | e9e7687ee4c35c6e56f386617b62deac9bafc1f6 /net-analyzer/openvas-scanner | |
parent | Switch to parallel testing, thanks to Kent Fredric (bug #523944) (diff) | |
download | historical-6eb25ffcd768a427c5e371998618a26f441ec929.tar.gz historical-6eb25ffcd768a427c5e371998618a26f441ec929.tar.bz2 historical-6eb25ffcd768a427c5e371998618a26f441ec929.zip |
net-analyzer/openvas-scanner: Version BUmp; add systemd support
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r-- | net-analyzer/openvas-scanner/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/Manifest | 41 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvassd.init | 24 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvassd.service | 6 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvassd.tmpfiles.d | 1 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/metadata.xml | 4 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/openvas-scanner-4.0.3.ebuild | 43 |
7 files changed, 109 insertions, 19 deletions
diff --git a/net-analyzer/openvas-scanner/ChangeLog b/net-analyzer/openvas-scanner/ChangeLog index 03ef729ee7aa..204b03de6e96 100644 --- a/net-analyzer/openvas-scanner/ChangeLog +++ b/net-analyzer/openvas-scanner/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/openvas-scanner # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.5 2014/06/19 13:36:02 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.6 2014/09/28 15:40:44 jlec Exp $ + +*openvas-scanner-4.0.3 (28 Sep 2014) + + 28 Sep 2014; Justin Lecher <jlec@gentoo.org> +openvas-scanner-4.0.3.ebuild, + +files/openvassd.init, +files/openvassd.service, +files/openvassd.tmpfiles.d, + metadata.xml: + Version BUmp; add systemd support *openvas-scanner-4.0.1 (19 Jun 2014) diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest index cebf6656b411..b0901aac236d 100644 --- a/net-analyzer/openvas-scanner/Manifest +++ b/net-analyzer/openvas-scanner/Manifest @@ -1,29 +1,36 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 AUX openvassd 471 SHA256 79b3f885c714c1b4b38b8d1f15834ac002fa6358b2f099305596c10cd3f3f73e SHA512 fd712182e6c3528efc73f1fa38c21b1ba3e90e93c02379de984ec65257d4612f31f65222db1d7b6e90e5a6939b3a59b4b7b904cfd9a6cc8eee10db5c57210bc6 WHIRLPOOL 85929120099a69ed8748574c6b9d698199fb1d30b26543c779e2afa6fc109b03eaf7ce069feb73cc0ecad10026e1454a770f265cfcc085e69917e8a277459426 +AUX openvassd.init 499 SHA256 a57b6affc042f70a2fd5015038f2fde8f7ab25fb031d28a10937684a76ca53a7 SHA512 97e29a0ea0849690c5f3792cfdf45e48126cc78f65a4a7b786456366ccef133f67ddae372dd64be8d10fef23b024b7a9720a2039ad243ee9ca663e59ed5ca3d4 WHIRLPOOL 1a3ac636cd65ac9d47a00096fd4db4bd71df1b593c002e6cb45774c4de84358812b5feb6d026aea94c0d7d5a4cf40ce4f2611dda0c418b091ffcfca2e6c39eaf +AUX openvassd.service 100 SHA256 b0c1fe753eaa797610eea41c7b1326ce9ab0866cf3ef48f3edfe68126c99884d SHA512 e956c10d43019a44c4a21f05eb30a1a72e83b4a423891eb654195c27b258a8f1eef7a351f37da56a95335b3d3925decc6afe778ffb6a5d10d7c3f50c5b3cac40 WHIRLPOOL ed27c131d1e9c22d172c722b8cf23f705841efe990095b74daac31fcbe1362425615321c5e5ba8fa415a95c1ff16618080decb73efacbe5b9ea053ba73356e03 +AUX openvassd.tmpfiles.d 23 SHA256 271a5f3184c1795f3d3fdcca2cad51180e24334cada104f3aab02281125bc479 SHA512 0ca7726f5f30465eb73b41cba1fd6f377af441793520f25ffb04a09920f8468ab0f2702be52110b452be2847359a8079b8cd9a955fcea1bb78b3a748e34c9b44 WHIRLPOOL 223f2e7cb2a25464d113c5dae3addac3463c6015de04b643b3bf9b1ba8901ae5c7cffff2af2a70887c6a5279c54b2dc4b33b4fcd223c5b9decca821fb41a9305 DIST openvas-scanner-3.2.4.tar.gz 228199 SHA256 ac26e085476709183c8512a1fecdcd4ca242c44572892e2ab0ea7ea2da78351c SHA512 bd3cb4ac46fd02558a5a9434914fea569295f7054e10b9e13258e481518ad7c1d03f3e7dcbce1b6338f10872f87fbdacd8c88185d39953928c2124b9913f7440 WHIRLPOOL c200d5ddfc348cbeb24f23812870b3be1dd9a389c8a63bb356d78128a4db6ff4160f44f49c71c164e393b40c056f9c64e32c0f68bae94385536d4e589061c46b DIST openvas-scanner-3.4.0.tar.gz 234786 SHA256 a9cf0d9e22d2dcd6aae7990364421cbac4309ed45748bb12e70245ba942e6112 SHA512 2aac1ddb8223f84d4d404cd14fe07b2a70b1f204548c65bc3fa951cc97021e2010512570b6292d312eb0eaea8f6910c7629b08709aef9e93722b6f985ac159ae WHIRLPOOL d119ec23979aa8474afffe28ef08eace566d1ab89f0173bd9556dd7290c4573fd52dc59720be1e29f606eac3cb5289f77527defa1102b6829ffcb93ae967e08b DIST openvas-scanner-4.0.1.tar.gz 214457 SHA256 7ac1849e4b06c1454a9f852e5c30c4c557e39474800038b71e76d4c5ab748671 SHA512 97b476e27e8fcce7060f8b9b0606ac232705e3dd1c4f380f679eeed31f7465d1031593ea08103d897f334efc7f8f3edc3da8142d9762b62a6d09d8c5f2033433 WHIRLPOOL e5794eae32df024f1f1f4e07673132747225482b41ea32fc223dd3379321966493549630ea9c2a69be3337f7187418363a36897ce9df6f8c3a08443bcf4510b9 +DIST openvas-scanner-4.0.3.tar.gz 214589 SHA256 5c564862b17eeecdc474426c65dc9bf5218df28f85fcf7a27126972dbb695faf SHA512 954c5219eaf563fa99b78c5f0b60479309a3789a9c8106924961fb55876c0c75aaa3bd5ff73b592325e87d964ea8a59c2aaa0e9280ca7bd4fade8563cba87c2b WHIRLPOOL 847f345771f346d9e4e809deffc088efe53c8395c7dabac24c0fdcf785746f42b8a5f4409287e66b374e4cec9e19584483dbeec394aeb85956f3103c7e5ad804 EBUILD openvas-scanner-3.2.4.ebuild 1246 SHA256 0c84f5d32574405b54f2e75b88f799ac089155688a01d23680981e90f229c93f SHA512 5eea22ca60e3f5a8c1e4358017ec676ba38c09ce8f5560a783d9aa3d0ca22d8978a88b69e483d47e62d07ac0465f8a7a5d8a33c9d021e2c02d3b60ed7a50146d WHIRLPOOL dc4b8f160f02331cf37c97a5da0f1fffd0dd74cf5f2f4c77351cff645259df53b44f21bd91e676372fbf28780bd36f249929bdc47c779fadfd671edf7942b5a3 EBUILD openvas-scanner-3.4.0.ebuild 1166 SHA256 4b98a937edd61cb2f8dc3b8191de581b650017b2fa60b84b9d20223f69f9e624 SHA512 bc83e1142702ca8d2fc9159de4314a80e605dda9a848554b77660696743d88495dd8f60b84d3839ebc76dab2a0825691cddcfc42a558ce21be62c92b007e87d9 WHIRLPOOL ff3b5a64bdc4fc75c4d23d07301318576fc67a82f9947d611c37a68c9fc04331ae0fdd0a8668d08f95a09f6b4de955fbc5bf6c257599b11d45b2d1c286245c57 EBUILD openvas-scanner-4.0.1.ebuild 1165 SHA256 229e52d9f2777853d008987377b143ba939a2f3e07d438d4942e8d1bc0d7694c SHA512 0174b155b58b7ca6d65c6d76627c0b208766669f288c7c50897ba7fe3ea5ef12b88226aac5f7683ad89ed23c5a464b801a37074af6ae4a683677f939af5a25c4 WHIRLPOOL 1c8ce3a234218ab67421ada2949daddd0826ab4a671664e32877f2f3fbd67bc617e368934e5d2a153f192feefa46c87b7a0034afdf7d354d717df3a7cee6ecfc -MISC ChangeLog 932 SHA256 fb0a5d4b8637864f485cd7b9e70d684642bb00c795c7f667ac653a535c2360b3 SHA512 d8980b6fe1edb76c916c9d429065392ef47fd13713bfb23ed62003ded7837933d12804d32c70310fcbfa6d7741bcb75946ad70572ad2aa2e53ef42c350e8016b WHIRLPOOL fb7f89ce376f383aebe127f35f1503645fe81ab40da044acb324f00cac3b4218c57b420183c30651672fb790db80cfe6a60fda70f7c9f5f634abd639688f6a92 -MISC metadata.xml 196 SHA256 e8ef5daeda229c876fcf81068b64452d16ca1674618ee72fe8c294f6ead29445 SHA512 ba2a04029fc9fd51726e618311fc0d5ca87333acb0c067a353000a5e0cd31a9f4095adc14faae4d1f14409303051f381c66c3a4cd6ac6699a9476193ac7030f4 WHIRLPOOL 002f8951fc98cfd1917aeef67a1ef0fbc7b662f4cce3c4d9735f198ec8fcaa7e258524a80dbdea1eb485db6faae224dfb317af827582c0777faeba8cd2950ccb +EBUILD openvas-scanner-4.0.3.ebuild 1230 SHA256 461e461c662146e1af04f497aa5d37ef9d983e5557de0775b878a224d4427a9a SHA512 2cd52afd24bbd2a58594ee1b1c09e6aecfe4ccf516b76c71ba4eecc09c28f82744a57638da93bce0cb305abb659d4c2ed3ea8bd662208f36252c6a68cef47a76 WHIRLPOOL 5be9cb9c0c722677c7eca266c80355e5626328fcbb607643daace352d0c89790736f944f08dbea8b03f03b6d62bbc91c7a96309121c72e10e49e19a0347003ef +MISC ChangeLog 1180 SHA256 2080ff7f45c4cc9aacd10b24c81774791dec4e2ae7f04a74e5b815a8b37adfdb SHA512 dd014a0521532fe021f3ba4d945396adeacaf6ff0aa38d455abf6149324a817a9c09faffa3f6f7ff222857cf59aaec177835c34dadbe5287a68033fa6839a4b6 WHIRLPOOL 16ea5340bc3e8dce5a4f20c7bbace8b61fafba955f13aea3e4cc9e62d4ea60819b319fe704bfdb36ea2eb7d8b1e1cdfeb8c32c9e7ca6e26dacd1b32ddcce6ce8 +MISC metadata.xml 206 SHA256 5ed6f72b0875cf8d913b70843b7e7474d237a6fde6da5d2d0a9fb1b0a6530ed3 SHA512 1129ba77fc749f7d7e57b6d3754f24b6391186ac970ee47bcf761c08b1e5df412f4ae18ba0a0f5fc159f4cc3c7647a8030c0877b06a669e5562af50019dfaf41 WHIRLPOOL aa2e2f263c929e1ef192e131912b5d645b1162aa28f8a297a5998af645e232828ba1ae62b6260e7ad426d2e05519d17154dc993ff48cda3c497585d93bf60d0f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIcBAEBCAAGBQJToucYAAoJEKWIAHK7tR5CWGYQAIFTk5gewZj33DFWuLvxeJLk -eHvPyQcrtLXP8tfUNhmGN2R3VljS6yQnjBZwBxxroX7N7Us8rAyffvaVHT6UfxD5 -vSDKJLhveGPtRy4uTa7crGs5h8V7+9kVWxH62E2tkve7cgYBET/l0mr1GIakaZSI -RzOMSNM/msmxAUDclY3Gmj1l4X8NMOgKNIsNWXzZpnpZ/oxNIRjEW2tNhPw8mPPU -g9EQnJnaGf3hcaQk2suO4zCVOgjdPLmb3YbBabdqulDkB+3HEhG192p0dsnUJ10H -6xrZfdJLK/jiVzmb7J2P/6N6i/v7qmh5QybmOU2jzNX1RbTDP6SjPhY4leWAO2qz -fPZs+TPEXvtTpFWm08ziz5neNr7LDC7/5ZwW2v2B7qcqx0BQ2q9XWv2a0rUQtrMi -Efb9kyV5+2wvJangAEDKYMNopr2UCTzzKMsrnWsBAWJGvFQPxX8pEjGuChh8bbED -Vggp9MO3uHwJpKuPDi5oEbNNzcPeQQCNKiX9RXMK5U35XKJHPK/hGCy5u1ul3qvN -YlE6RUcQXgcT0zypsfSlL3hT4IsCVXmz13Wj5Bhs46GuTFYsdCapHdwa+S0FWK5E -BEGWp5OLplFuwtdun9NYOQ/x1UeWWaTUsBzfpgSD27wOkfLRQw61aHIx6F9mM2gR -80Lq2rKh1A/4K1Ajj4YA -=JdD/ +iQJ8BAEBCgBmBQJUKCwBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirviIP/13i4qMOl7m8N75f8keXAl+r +u4rxWjAiyPEVEFFY+KdliFEWTMhPBd7JFTYXIiu7CP0p6p3tX6olRvZ13dvAyw8y +E7IbRdR2dl87ROI6f+9Zhxw84r1EE1CBQckGmb7jZcRoJx99IX/EL69a/uhzKvqn +R9mEX+1eEZdqhkAe+IToFJQUR2i9/HrboaijtCHZQL14kPSsH4aTEc4hidsS+kEu +5O/U4ObadRioZz+RQeBJJqbRwK9TiAHEbTIm8zP59s260+B+IWOvXlDH9N2UEe70 +oa4g+yiZXNNSm/QCxPrKmVG2RuBEwpD2jzvaQe9cJtGVXLrFLAOkRnlosV/3qn1b +KlNQZk/54GNViah915kMx4yS6q9o0kEY3iXu9kEBWgq1YwocY+WMzq89Y3jsLk95 +InbFw72hpOPAxK+hXe1eeq6poBVe1bBuZNqNSiWzDYeFEjLS8WbbhI2HGSCNfqRn +HRmUiS0V5jKxPzLz+6pxcufJy4Iehk7eM4Bv9HWZTfzFlokc7v0TmujdeLYhDFgj +xAlOuK4DB2KLuTsqnB+019ZhksmxHJHXMW/wWTjFWOad6zPSnkWXrsySS3//zjG4 +qVkyk0XICCZ9HkDU2RNK/ZqjSDMsMRv+MiHCalq+DyvJS9I92oF9wiPh/mv4OpXM +JoJCoFwjVTHnw45z31SR +=UWtr -----END PGP SIGNATURE----- diff --git a/net-analyzer/openvas-scanner/files/openvassd.init b/net-analyzer/openvas-scanner/files/openvassd.init new file mode 100644 index 000000000000..8a7abcc47c4e --- /dev/null +++ b/net-analyzer/openvas-scanner/files/openvassd.init @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +depend() { + need net +} + +start() { + ebegin "Starting openvassd (scanner)" + checkpath -d -q /var/cache/openvassd + start-stop-daemon --start --name openvassd \ + --exec /usr/sbin/openvassd \ + --pidfile /run/openvassd.pid + eend $? +} + +stop() { + ebegin "Stop openvassd (scanner)" + start-stop-daemon --stop --name openvassd \ + --pidfile /run/openvassd.pid + eend $? +} diff --git a/net-analyzer/openvas-scanner/files/openvassd.service b/net-analyzer/openvas-scanner/files/openvassd.service new file mode 100644 index 000000000000..99c4c3c90b6c --- /dev/null +++ b/net-analyzer/openvas-scanner/files/openvassd.service @@ -0,0 +1,6 @@ +[Unit] +Description=OpenVAS Scanner +After=network.target + +[Service] +ExecStart=/usr/sbin/openvassd -f diff --git a/net-analyzer/openvas-scanner/files/openvassd.tmpfiles.d b/net-analyzer/openvas-scanner/files/openvassd.tmpfiles.d new file mode 100644 index 000000000000..afe58dcbf8f2 --- /dev/null +++ b/net-analyzer/openvas-scanner/files/openvassd.tmpfiles.d @@ -0,0 +1 @@ +d /var/cache/openvassd diff --git a/net-analyzer/openvas-scanner/metadata.xml b/net-analyzer/openvas-scanner/metadata.xml index 8cb548491f4e..45b99c65fb75 100644 --- a/net-analyzer/openvas-scanner/metadata.xml +++ b/net-analyzer/openvas-scanner/metadata.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer><email>hanno@gentoo.org</email></maintainer> + <maintainer> + <email>hanno@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/net-analyzer/openvas-scanner/openvas-scanner-4.0.3.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-4.0.3.ebuild new file mode 100644 index 000000000000..cee7676c3ec8 --- /dev/null +++ b/net-analyzer/openvas-scanner/openvas-scanner-4.0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-4.0.3.ebuild,v 1.1 2014/09/28 15:40:44 jlec Exp $ + +EAPI=5 + +inherit cmake-utils systemd + +DESCRIPTION="A remote security scanner for Linux (openvas-scanner)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/1726/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +RDEPEND=" + >=net-analyzer/openvas-libraries-7.0.4 + !net-analyzer/openvas-plugins + !net-analyzer/openvas-server" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/cmake" + +src_configure() { + local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc ChangeLog CHANGES README + newinitd "${FILESDIR}"/openvassd.init openvassd + systemd_newtmpfilesd "${FILESDIR}"/openvassd.tmpfiles.d openvassd.conf + systemd_dounit "${FILESDIR}"/openvassd.service +} + +pkg_postinst() { + elog "To use openvassd, you first need to:" + elog "1. Call 'openvas-nvt-sync' to download/update plugins" + elog "2. Call 'openvas-mkcert' to generate a server certificate" +} |