[openvas-manager] Patch is needed to be able to install to DESTDIR
rebus
rebus at fedoraproject.org
Tue Apr 19 20:36:34 UTC 2011
commit b92cdffbec0ad96869b9dcbe1493473b839e4ce0
Author: Michal Ambroz <rebus at seznam.cz>
Date: Tue Apr 19 22:35:32 2011 +0200
Patch is needed to be able to install to DESTDIR
openvas-manager-destdir.patch | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/openvas-manager-destdir.patch b/openvas-manager-destdir.patch
new file mode 100644
index 0000000..a0c4039
--- /dev/null
+++ b/openvas-manager-destdir.patch
@@ -0,0 +1,13 @@
+diff -ru openvas-manager-2.0.3/CMakeLists.txt openvas-manager-2.0.3.new/CMakeLists.txt
+--- openvas-manager-2.0.3/CMakeLists.txt 2011-04-19 21:43:50.000000000 +0200
++++ openvas-manager-2.0.3.new/CMakeLists.txt 2011-04-19 22:14:29.000000000 +0200
+@@ -258,7 +258,8 @@
+
+ ## Install
+
+-install (CODE "file (MAKE_DIRECTORY ${OPENVAS_STATE_DIR}/openvasmd/report_formats/)")
++install (DIRECTORY DESTINATION ${OPENVAS_STATE_DIR}/openvasmd/report_formats/)
++##install (CODE "file (MAKE_DIRECTORY ${OPENVAS_STATE_DIR}/openvasmd/report_formats/)")
+
+ install (FILES ${CMAKE_BINARY_DIR}/src/openvasmd_log.conf
+ DESTINATION ${OPENVAS_SYSCONF_DIR})
More information about the scm-commits
mailing list