From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/openvas-scanner: ChangeLog openvas-scanner-5.0_beta2.ebuild |
Date: | Mon, 29 Sep 2014 18:39:18 |
Message-Id: | 20140929183915.21D6C585@oystercatcher.gentoo.org |
1 | jlec 14/09/29 18:39:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: openvas-scanner-5.0_beta2.ebuild |
5 | Log: |
6 | net-analyzer/openvas-scanner: Version Bump |
7 | |
8 | (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 | |
10 | Revision Changes Path |
11 | 1.9 net-analyzer/openvas-scanner/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 29 Sep 2014 07:07:59 -0000 1.8 |
24 | +++ ChangeLog 29 Sep 2014 18:39:15 -0000 1.9 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-analyzer/openvas-scanner |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.8 2014/09/29 07:07:59 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.9 2014/09/29 18:39:15 jlec Exp $ |
30 | + |
31 | +*openvas-scanner-5.0_beta2 (29 Sep 2014) |
32 | + |
33 | + 29 Sep 2014; Justin Lecher <jlec@g.o> |
34 | + +openvas-scanner-5.0_beta2.ebuild: |
35 | + Version Bump |
36 | |
37 | 29 Sep 2014; Justin Lecher <jlec@g.o> metadata.xml: |
38 | Add myself as maintainer |
39 | |
40 | |
41 | |
42 | 1.1 net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: openvas-scanner-5.0_beta2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild,v 1.1 2014/09/29 18:39:15 jlec Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit cmake-utils systemd |
56 | |
57 | MY_PN=openvassd |
58 | |
59 | DESCRIPTION="A remote security scanner for Linux (openvas-scanner)" |
60 | HOMEPAGE="http://www.openvas.org/" |
61 | SRC_URI="http://wald.intevation.org/frs/download.php/1742/${P/_beta/+beta}.tar.gz" |
62 | |
63 | SLOT="0" |
64 | LICENSE="GPL-2" |
65 | KEYWORDS="" |
66 | IUSE="" |
67 | |
68 | RDEPEND=" |
69 | >=net-analyzer/openvas-libraries-8.0.0 |
70 | !net-analyzer/openvas-plugins |
71 | !net-analyzer/openvas-server" |
72 | DEPEND="${RDEPEND} |
73 | virtual/pkgconfig |
74 | dev-util/cmake" |
75 | |
76 | S="${WORKDIR}"/${P/_beta/+beta} |
77 | |
78 | PATCHES=( |
79 | "${FILESDIR}"/${PN}-4.0.3-bsdsource.patch |
80 | "${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch |
81 | "${FILESDIR}"/${PN}-4.0.3-rulesdir.patch |
82 | ) |
83 | |
84 | src_configure() { |
85 | local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc" |
86 | cmake-utils_src_configure |
87 | } |
88 | |
89 | src_install() { |
90 | cmake-utils_src_install |
91 | dodoc ChangeLog CHANGES README |
92 | |
93 | newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} |
94 | |
95 | insinto /etc/openvas |
96 | doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf |
97 | newconfd "${FILESDIR}"/${MY_PN}-daemon.conf ${MY_PN} |
98 | |
99 | insinto /etc/logrotate.d |
100 | doins "${FILESDIR}"/${MY_PN}.logrotate |
101 | |
102 | dodoc "${FILESDIR}"/${MY_PN}.logrotate |
103 | |
104 | systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf |
105 | systemd_dounit "${FILESDIR}"/${MY_PN}.service |
106 | } |
107 | |
108 | pkg_postinst() { |
109 | elog "To use ${MY_PN}, you first need to:" |
110 | elog "1. Call 'openvas-nvt-sync' to download/update plugins" |
111 | elog "2. Call 'openvas-mkcert' to generate a server certificate" |
112 | } |