1 |
jlec 14/10/01 10:58:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openvas-manager-5.0.4-r1.ebuild |
5 |
Log: |
6 |
net-analyzer/openvas-manager: Enhance init and systemd support; drop installation instructions in favour of meta package |
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.12 net-analyzer/openvas-manager/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-manager/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-manager/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-manager/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 29 Sep 2014 19:37:47 -0000 1.11 |
24 |
+++ ChangeLog 1 Oct 2014 10:58:58 -0000 1.12 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-analyzer/openvas-manager |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.11 2014/09/29 19:37:47 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.12 2014/10/01 10:58:58 jlec Exp $ |
30 |
+ |
31 |
+*openvas-manager-5.0.4-r1 (01 Oct 2014) |
32 |
+ |
33 |
+ 01 Oct 2014; Justin Lecher <jlec@g.o> |
34 |
+ +openvas-manager-5.0.4-r1.ebuild, +files/openvas-manager-5.0.4-run.patch, |
35 |
+ files/openvasmd.init, files/openvasmd.service, files/openvasmd-daemon.conf: |
36 |
+ Enhance init and systemd support; drop installation instructions in favour of |
37 |
+ meta package |
38 |
|
39 |
*openvas-manager-6.0_beta2 (29 Sep 2014) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-analyzer/openvas-manager/openvas-manager-5.0.4-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-5.0.4-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-5.0.4-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: openvas-manager-5.0.4-r1.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-manager/openvas-manager-5.0.4-r1.ebuild,v 1.1 2014/10/01 10:58:58 jlec Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit cmake-utils systemd |
58 |
|
59 |
MY_PN=openvasmd |
60 |
|
61 |
DESCRIPTION="A remote security scanner for Linux (openvas-manager)" |
62 |
HOMEPAGE="http://www.openvas.org/" |
63 |
SRC_URI="http://wald.intevation.org/frs/download.php/1730/${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 |
>=dev-db/sqlite-3 |
73 |
!net-analyzer/openvas-administrator" |
74 |
DEPEND="${RDEPEND} |
75 |
virtual/pkgconfig |
76 |
dev-util/cmake" |
77 |
|
78 |
PATCHES=( |
79 |
"${FILESDIR}"/${P}-gpgerror.patch |
80 |
"${FILESDIR}"/${P}-bsdsource.patch |
81 |
"${FILESDIR}"/${P}-run.patch |
82 |
) |
83 |
|
84 |
src_prepare() { |
85 |
sed \ |
86 |
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
87 |
-i CMakeLists.txt || die |
88 |
cmake-utils_src_prepare |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local mycmakeargs=( |
93 |
-DLOCALSTATEDIR="${EPREFIX}/var" |
94 |
-DSYSCONFDIR="${EPREFIX}/etc" |
95 |
) |
96 |
cmake-utils_src_configure |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
cmake-utils_src_install |
101 |
|
102 |
insinto /etc/openvas/ |
103 |
doins "${FILESDIR}"/${MY_PN}-daemon.conf |
104 |
dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN} |
105 |
|
106 |
insinto /etc/logrotate.d |
107 |
newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} |
108 |
|
109 |
newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} |
110 |
systemd_dounit "${FILESDIR}"/${MY_PN}.service |
111 |
} |