jlec 14/10/22 08:19:17
Modified: greenbone-security-assistant-5.0.3-r1.ebuild
ChangeLog
Added: greenbone-security-assistant-6.0_beta3.ebuild
Removed: greenbone-security-assistant-5.0.3.ebuild
greenbone-security-assistant-5.0.1.ebuild
Log:
net-analyzer/greenbone-security-assistant: Update to latest beta; drop old
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
B9D4F231BD1558AB!)
Revision Changes Path
1.2
net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild?r1=1.1&r2=1.2
Index: greenbone-security-assistant-5.0.3-r1.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- greenbone-security-assistant-5.0.3-r1.ebuild 1 Oct 2014 09:33:11
-0000 1.1
+++ greenbone-security-assistant-5.0.3-r1.ebuild 22 Oct 2014 08:19:17
-0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v
1.1 2014/10/01 09:33:11 jlec Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v
1.2 2014/10/22 08:19:17 jlec Exp $
EAPI=5
@@ -8,9 +8,11 @@
MY_PN=gsad
+DL_ID=1734
+
DESCRIPTION="Greenbone Security Assistant for openvas"
HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz"
+SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
@@ -37,8 +39,8 @@
src_configure() {
local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
+ -DLOCALSTATEDIR="${EPREFIX}/var"
+ -DSYSCONFDIR="${EPREFIX}/etc"
)
cmake-utils_src_configure
}
@@ -57,9 +59,3 @@
systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
systemd_dounit "${FILESDIR}"/${MY_PN}.service
}
-
-pkg_postinst() {
- elog "To use ${MY_PN}, you first need to:"
- elog "1. Call 'openvas-nvt-sync' to download/update plugins"
- elog "2. Call 'openvas-mkcert' to generate a server certificate"
-}
1.11 net-analyzer/greenbone-security-assistant/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.11&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.11&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?r1=1.10&r2=1.11
Index: ChangeLog
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog 1 Oct 2014 11:13:53 -0000 1.10
+++ ChangeLog 22 Oct 2014 08:19:17 -0000 1.11
@@ -1,6 +1,15 @@
# ChangeLog for net-analyzer/greenbone-security-assistant
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v
1.10 2014/10/01 11:13:53 jlec Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v
1.11 2014/10/22 08:19:17 jlec Exp $
+
+*greenbone-security-assistant-6.0_beta3 (22 Oct 2014)
+
+ 22 Oct 2014; Justin Lecher <[email protected]>
+ -greenbone-security-assistant-5.0.1.ebuild,
+ -greenbone-security-assistant-5.0.3.ebuild,
+ greenbone-security-assistant-5.0.3-r1.ebuild,
+ +greenbone-security-assistant-6.0_beta3.ebuild:
+ Update to latest beta; drop old
01 Oct 2014; Justin Lecher <[email protected]> files/gsad.init:
Fix service dependency
1.1
net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild?rev=1.1&content-type=text/plain
Index: greenbone-security-assistant-6.0_beta3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild,v
1.1 2014/10/22 08:19:17 jlec Exp $
EAPI=5
inherit cmake-utils systemd
MY_PN=gsad
DL_ID=1775
DESCRIPTION="Greenbone Security Assistant for openvas"
HOMEPAGE="http://www.openvas.org/"
SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz"
SLOT="0"
LICENSE="GPL-2+ BSD MIT"
KEYWORDS=""
IUSE=""
RDEPEND="
>=net-analyzer/openvas-libraries-8.0_beta3
dev-libs/libxslt
net-libs/libmicrohttpd[messages]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-5.0.3-run.patch
)
S="${WORKDIR}"/${P/_beta/+beta}
src_prepare() {
sed \
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \
-i CMakeLists.txt || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DLOCALSTATEDIR="${EPREFIX}/var"
-DSYSCONFDIR="${EPREFIX}/etc"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
insinto /etc/openvas
doins "${FILESDIR}"/${MY_PN}-daemon.conf
dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
insinto /etc/logrotate.d
doins "${FILESDIR}"/${MY_PN}.logrotate
systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
systemd_dounit "${FILESDIR}"/${MY_PN}.service
}