292294adfb
been renamed and rearranged. The graphical user interface provided by security/openvas-client has been discontinued. Instead there is now a web interface provided by security/greenbone-security-assistant and a command-line interface provided by security/openvas-client.
51 lines
1.7 KiB
Text
51 lines
1.7 KiB
Text
--- CMakeLists.txt.orig 2015-12-21 09:35:15 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -166,7 +166,7 @@ if (NOT LIBDIR)
|
|
endif (NOT LIBDIR)
|
|
|
|
if (NOT LOCALSTATEDIR)
|
|
- set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var")
|
|
+ set (LOCALSTATEDIR "/var")
|
|
endif (NOT LOCALSTATEDIR)
|
|
|
|
if (NOT INCLUDEDIR)
|
|
@@ -272,7 +272,7 @@ if (NOT MINGW)
|
|
message (STATUS "Looking for ksba... ${KSBA}")
|
|
|
|
message (STATUS "Looking for netsnmp...")
|
|
- find_library (SNMP snmp)
|
|
+ find_library (SNMP netsnmp)
|
|
message (STATUS "Looking for netsnmp... ${SNMP}")
|
|
if (SNMP)
|
|
execute_process (COMMAND net-snmp-config --libs
|
|
@@ -303,7 +303,7 @@ if (NOT MINGW)
|
|
|
|
endif (NOT MINGW)
|
|
|
|
-set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now")
|
|
+set (HARDENING_FLAGS "-Wformat -Wformat-security -Wl,-z,relro -Wl,-z,now")
|
|
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")
|
|
|
|
|
|
@@ -344,16 +344,16 @@ add_subdirectory (doc)
|
|
## Install
|
|
|
|
install (FILES doc/openvas-nasl.1
|
|
- DESTINATION ${DATADIR}/man/man1 )
|
|
+ DESTINATION man/man1 )
|
|
|
|
install (FILES ${CMAKE_BINARY_DIR}/libopenvas_base.pc
|
|
- DESTINATION ${LIBDIR}/pkgconfig)
|
|
+ DESTINATION libdata/pkgconfig)
|
|
install (FILES ${CMAKE_BINARY_DIR}/libopenvas_omp.pc
|
|
- DESTINATION ${LIBDIR}/pkgconfig)
|
|
+ DESTINATION libdata/pkgconfig)
|
|
install (FILES ${CMAKE_BINARY_DIR}/libopenvas_misc.pc
|
|
- DESTINATION ${LIBDIR}/pkgconfig)
|
|
+ DESTINATION libdata/pkgconfig)
|
|
install (FILES ${CMAKE_BINARY_DIR}/libopenvas_nasl.pc
|
|
- DESTINATION ${LIBDIR}/pkgconfig)
|
|
+ DESTINATION libdata/pkgconfig)
|
|
|
|
install (DIRECTORY DESTINATION ${OPENVAS_LOG_DIR})
|
|
install (DIRECTORY DESTINATION ${OPENVAS_DATA_DIR})
|