jlec        14/10/01 09:33:11

  Modified:             ChangeLog
  Added:                greenbone-security-assistant-5.0.3-r1.ebuild
  Log:
  net-analyzer/greenbone-security-assistant: Add systemd support
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key B9D4F231BD1558AB!)

Revision  Changes    Path
1.9                  net-analyzer/greenbone-security-assistant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog   28 Sep 2014 18:23:34 -0000      1.8
+++ ChangeLog   1 Oct 2014 09:33:11 -0000       1.9
@@ -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.8 2014/09/28 18:23:34 jlec Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 
1.9 2014/10/01 09:33:11 jlec Exp $
+
+*greenbone-security-assistant-5.0.3-r1 (01 Oct 2014)
+
+  01 Oct 2014; Justin Lecher <j...@gentoo.org>
+  +greenbone-security-assistant-5.0.3-r1.ebuild,
+  +files/greenbone-security-assistant-5.0.3-run.patch, +files/gsad.init,
+  +files/gsad.logrotate, +files/gsad.service, +files/gsad.tmpfiles.d,
+  +files/gsad-daemon.conf:
+  Add systemd support
 
 *greenbone-security-assistant-5.0.3 (28 Sep 2014)
 



1.1                  
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.1&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.1&content-type=text/plain

Index: greenbone-security-assistant-5.0.3-r1.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-5.0.3-r1.ebuild,v
 1.1 2014/10/01 09:33:11 jlec Exp $

EAPI=5

inherit cmake-utils systemd

MY_PN=gsad

DESCRIPTION="Greenbone Security Assistant for openvas"
HOMEPAGE="http://www.openvas.org/";
SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz";

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND="
        >=net-analyzer/openvas-libraries-7.0.4
        dev-libs/libxslt
        net-libs/libmicrohttpd[messages]"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

PATCHES=(
        "${FILESDIR}"/${P}-run.patch
        )

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
}

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"
}




Reply via email to