pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
greenbone-security-assistant: Use configuration framework
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Oct 12 04:16:01 2016 +0200
Changeset: e3724ee3d20d71db121f935155c9f6ef426934da
Modified Files:
greenbone-security-assistant/Makefile
greenbone-security-assistant/PLIST
Log Message:
greenbone-security-assistant: Use configuration framework
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e3724ee3d20d71db121f935155c9f6ef426934da
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
greenbone-security-assistant/Makefile | 13 ++++++++++++-
greenbone-security-assistant/PLIST | 2 +-
2 files changed, 13 insertions(+), 2 deletions(-)
diffs:
diff --git a/greenbone-security-assistant/Makefile b/greenbone-security-assistant/Makefile
index 20cbb54..af18aa6 100644
--- a/greenbone-security-assistant/Makefile
+++ b/greenbone-security-assistant/Makefile
@@ -16,7 +16,18 @@ USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DLOCALSTATEDIR:PATH=${VARBASE}
-BUILDLINK_TRANSFORM+= rm:-Werror
+BUILDLINK_TRANSFORM+= rm:-Werror # Redefinition of macros
+
+EGDIR= ${PREFIX}/share/examples/greenbone-security-assistant
+
+MAKE_DIRS= ${PKG_SYSCONFDIR}/openvas
+
+CONF_FILES+= ${EGDIR}/gsad_log.conf ${PKG_SYSCONFDIR}/openvas/gsad_log.conf
+
+SUBST_CLASSES+= confdir
+SUBST_FILES.confdir= CMakeLists.txt
+SUBST_SED.confdir= -e 's,DESTINATION $${GSA_CONFIG_DIR},DESTINATION ${EGDIR}/,'
+SUBST_STAGE.confdir= post-patch
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
diff --git a/greenbone-security-assistant/PLIST b/greenbone-security-assistant/PLIST
index bca499e..9da7988 100644
--- a/greenbone-security-assistant/PLIST
+++ b/greenbone-security-assistant/PLIST
@@ -1,7 +1,7 @@
@comment $NetBSD$
-etc/openvas/gsad_log.conf
man/man8/gsad.8
sbin/gsad
+share/examples/greenbone-security-assistant/gsad_log.conf
share/locale/de/LC_MESSAGES/gsad_xsl.mo
share/locale/ru/LC_MESSAGES/gsad_xsl.mo
share/locale/zh_CN/LC_MESSAGES/gsad_xsl.mo
Home |
Main Index |
Thread Index |
Old Index