Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/greenbone-security-assistant: ChangeLog greenbone-security-assistant-6.0_beta4.ebuild greenbone-security-assistant-4.0.2.ebuild greenbone-security-assistant-4.0.1.ebuild greenbone-security-assistant-5.0.3-r1.ebuild greenbone-security-assistant-2.0.1.ebuild
Date: Mon, 01 Dec 2014 16:52:44
Message-Id: 20141201165240.367A5B4C7@oystercatcher.gentoo.org
1 jlec 14/12/01 16:52:40
2
3 Modified: ChangeLog
4 Added: greenbone-security-assistant-6.0_beta4.ebuild
5 Removed: greenbone-security-assistant-4.0.2.ebuild
6 greenbone-security-assistant-4.0.1.ebuild
7 greenbone-security-assistant-5.0.3-r1.ebuild
8 greenbone-security-assistant-2.0.1.ebuild
9 Log:
10 net-analyzer/greenbone-security-assistant: Version Bump; drop old
11
12 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
13
14 Revision Changes Path
15 1.13 net-analyzer/greenbone-security-assistant/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.13&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.13&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?r1=1.12&r2=1.13
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v
24 retrieving revision 1.12
25 retrieving revision 1.13
26 diff -u -r1.12 -r1.13
27 --- ChangeLog 4 Nov 2014 12:33:12 -0000 1.12
28 +++ ChangeLog 1 Dec 2014 16:52:40 -0000 1.13
29 @@ -1,6 +1,16 @@
30 # ChangeLog for net-analyzer/greenbone-security-assistant
31 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.12 2014/11/04 12:33:12 jlec Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.13 2014/12/01 16:52:40 jlec Exp $
34 +
35 +*greenbone-security-assistant-6.0_beta4 (01 Dec 2014)
36 +
37 + 01 Dec 2014; Justin Lecher <jlec@g.o>
38 + -greenbone-security-assistant-2.0.1.ebuild,
39 + -greenbone-security-assistant-4.0.1.ebuild,
40 + -greenbone-security-assistant-4.0.2.ebuild,
41 + -greenbone-security-assistant-5.0.3-r1.ebuild,
42 + +greenbone-security-assistant-6.0_beta4.ebuild:
43 + Version Bump; drop old
44
45 *greenbone-security-assistant-5.0.4 (04 Nov 2014)
46
47
48
49
50 1.1 net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta4.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta4.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta4.ebuild?rev=1.1&content-type=text/plain
54
55 Index: greenbone-security-assistant-6.0_beta4.ebuild
56 ===================================================================
57 # Copyright 1999-2014 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta4.ebuild,v 1.1 2014/12/01 16:52:40 jlec Exp $
60
61 EAPI=5
62
63 inherit cmake-utils systemd
64
65 MY_PN=gsad
66
67 DL_ID=1819
68
69 DESCRIPTION="Greenbone Security Assistant for openvas"
70 HOMEPAGE="http://www.openvas.org/"
71 SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz"
72
73 SLOT="0"
74 LICENSE="GPL-2+ BSD MIT"
75 KEYWORDS=""
76 IUSE=""
77
78 RDEPEND="
79 >=net-analyzer/openvas-libraries-8.0_beta3
80 dev-libs/libxslt
81 net-libs/libmicrohttpd[messages]"
82 DEPEND="${RDEPEND}
83 virtual/pkgconfig"
84
85 PATCHES=(
86 "${FILESDIR}"/${PN}-5.0.3-run.patch
87 )
88
89 S="${WORKDIR}"/${P/_beta/+beta}
90
91 src_prepare() {
92 sed \
93 -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
94 -i CMakeLists.txt || die
95 cmake-utils_src_prepare
96 }
97
98 src_configure() {
99 local mycmakeargs=(
100 -DLOCALSTATEDIR="${EPREFIX}/var"
101 -DSYSCONFDIR="${EPREFIX}/etc"
102 )
103 cmake-utils_src_configure
104 }
105
106 src_install() {
107 cmake-utils_src_install
108 newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
109
110 insinto /etc/openvas
111 doins "${FILESDIR}"/${MY_PN}-daemon.conf
112 dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
113
114 insinto /etc/logrotate.d
115 doins "${FILESDIR}"/${MY_PN}.logrotate
116
117 systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
118 systemd_dounit "${FILESDIR}"/${MY_PN}.service
119 }