1 |
jlec 14/09/30 16:03:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openvas-scanner-4.0.3-r2.ebuild |
5 |
Log: |
6 |
net-analyzer/openvas-scanner: Correct pidfile location |
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.10 net-analyzer/openvas-scanner/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 29 Sep 2014 18:39:15 -0000 1.9 |
24 |
+++ ChangeLog 30 Sep 2014 16:03:10 -0000 1.10 |
25 |
@@ -1,6 +1,14 @@ |
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.9 2014/09/29 18:39:15 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.10 2014/09/30 16:03:10 jlec Exp $ |
30 |
+ |
31 |
+*openvas-scanner-4.0.3-r2 (30 Sep 2014) |
32 |
+ |
33 |
+ 30 Sep 2014; Justin Lecher <jlec@g.o> |
34 |
+ +openvas-scanner-4.0.3-r2.ebuild, +files/openvas-scanner-4.0.3-run.patch, |
35 |
+ files/openvassd.init, files/openvassd.service, files/openvassd.tmpfiles.d, |
36 |
+ files/openvassd-daemon.conf: |
37 |
+ Correct pidfile location |
38 |
|
39 |
*openvas-scanner-5.0_beta2 (29 Sep 2014) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-analyzer/openvas-scanner/openvas-scanner-4.0.3-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-4.0.3-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-4.0.3-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: openvas-scanner-4.0.3-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-4.0.3-r2.ebuild,v 1.1 2014/09/30 16:03:10 jlec Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit cmake-utils systemd |
58 |
|
59 |
MY_PN=openvassd |
60 |
|
61 |
DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)" |
62 |
HOMEPAGE="http://www.openvas.org/" |
63 |
SRC_URI="http://wald.intevation.org/frs/download.php/1726/${P}.tar.gz" |
64 |
|
65 |
SLOT="0" |
66 |
LICENSE="GPL-2" |
67 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
68 |
IUSE="" |
69 |
|
70 |
RDEPEND=" |
71 |
>=net-analyzer/openvas-libraries-7.0.4 |
72 |
!net-analyzer/openvas-plugins |
73 |
!net-analyzer/openvas-server" |
74 |
DEPEND="${RDEPEND} |
75 |
virtual/pkgconfig |
76 |
dev-util/cmake" |
77 |
|
78 |
PATCHES=( |
79 |
"${FILESDIR}"/${P}-bsdsource.patch |
80 |
"${FILESDIR}"/${P}-mkcertclient.patch |
81 |
"${FILESDIR}"/${P}-rulesdir.patch |
82 |
"${FILESDIR}"/${P}-run.patch |
83 |
) |
84 |
|
85 |
src_prepare() { |
86 |
sed \ |
87 |
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
88 |
-i CMakeLists.txt || die |
89 |
cmake-utils_src_prepare |
90 |
} |
91 |
|
92 |
src_configure() { |
93 |
local mycmakeargs=( -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc ) |
94 |
cmake-utils_src_configure |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
cmake-utils_src_install |
99 |
|
100 |
newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} |
101 |
|
102 |
insinto /etc/openvas |
103 |
doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf |
104 |
dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN} |
105 |
|
106 |
insinto /etc/logrotate.d |
107 |
doins "${FILESDIR}"/${MY_PN}.logrotate |
108 |
|
109 |
dodoc "${FILESDIR}"/openvas-nvt-sync-cron |
110 |
|
111 |
systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf |
112 |
systemd_dounit "${FILESDIR}"/${MY_PN}.service |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
elog "To use ${MY_PN}, you first need to:" |
117 |
elog "1. Call 'openvas-nvt-sync' to download/update plugins" |
118 |
elog "2. Call 'openvas-mkcert' to generate a server certificate" |
119 |
} |