"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CMakeLists.txt" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

CMakeLists.txt  (ettercap-0.8.3):CMakeLists.txt  (ettercap-0.8.3.1)
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
project(ettercap C) project(ettercap C)
set(VERSION "0.8.2") set(VERSION "0.8.3.1")
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules") set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules")
set(CMAKE_SCRIPT_PATH "${CMAKE_SOURCE_DIR}/cmake/Scripts") set(CMAKE_SCRIPT_PATH "${CMAKE_SOURCE_DIR}/cmake/Scripts")
include(MacroEnsureOutOfSourceBuild) include(MacroEnsureOutOfSourceBuild)
macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source buil d. macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source buil d.
Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.") Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")
option(ENABLE_CURSES "Enable curses interface" ON) option(ENABLE_CURSES "Enable curses interface" ON)
option(ENABLE_GTK "Enable GTK interface" ON) option(ENABLE_GTK "Enable GTK interface" ON)
skipping to change at line 114 skipping to change at line 114
include(EttercapHeadersCheck) include(EttercapHeadersCheck)
include(EttercapLibCheck) include(EttercapLibCheck)
include(EttercapVariableCheck) include(EttercapVariableCheck)
set(INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Installation prefix") set(INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Installation prefix")
set(INSTALL_SYSCONFDIR /etc CACHE PATH "System configuration directory") set(INSTALL_SYSCONFDIR /etc CACHE PATH "System configuration directory")
set(INSTALL_LIBDIR ${INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "Library instal lation directory") set(INSTALL_LIBDIR ${INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "Library instal lation directory")
set(INSTALL_DATADIR ${INSTALL_PREFIX}/share CACHE PATH "Data installation direct ory") set(INSTALL_DATADIR ${INSTALL_PREFIX}/share CACHE PATH "Data installation direct ory")
set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH "") set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH "")
set(INSTALL_BINDIR ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory") set(INSTALL_BINDIR ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory")
if(OS_DARWIN OR OS_WINDOWS) if(OS_DARWIN OR OS_BSD_FREE OR OS_WINDOWS)
set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit in stallation directory") set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit in stallation directory")
else() else()
#at least on ubuntu, polkit dir couldn't be /usr/local/share, but should be /usr /share #at least on ubuntu, polkit dir couldn't be /usr/local/share, but should be /usr /share
set(POLKIT_DIR /usr/share/polkit-1/actions/ CACHE PATH "Polkit installation di rectory") set(POLKIT_DIR /usr/share/polkit-1/actions/ CACHE PATH "Polkit installation di rectory")
endif() endif()
set(PKEXEC_INSTALL_WRAPPER org.pkexec.ettercap CACHE PATH "Name of the pkexec ac tion file") set(PKEXEC_INSTALL_WRAPPER org.pkexec.ettercap CACHE PATH "Name of the pkexec ac tion file")
set(DESKTOP_DIR ${INSTALL_PREFIX}/share/applications/ CACHE PATH "Desktop file i nstallation directory") set(DESKTOP_DIR ${INSTALL_PREFIX}/share/applications/ CACHE PATH "Desktop file i nstallation directory")
set(APPDATA_DIR ${INSTALL_PREFIX}/share/appdata/ CACHE PATH "Appdata file instal lation directory") set(METAINFO_DIR ${INSTALL_PREFIX}/share/metainfo/ CACHE PATH "Metainfo file ins tallation directory")
set(ICON_DIR ${INSTALL_PREFIX}/share/pixmaps CACHE PATH "Icon file installation directory") set(ICON_DIR ${INSTALL_PREFIX}/share/pixmaps CACHE PATH "Icon file installation directory")
set(MAN_INSTALLDIR ${INSTALL_PREFIX}/share/man CACHE PATH "Path for manual pages ") set(MAN_INSTALLDIR ${INSTALL_PREFIX}/share/man CACHE PATH "Path for manual pages ")
if(NOT DISABLE_RPATH) if(NOT DISABLE_RPATH)
# Ensure that, when we link to stuff outside of our build path, we include the # Ensure that, when we link to stuff outside of our build path, we include the
# library dir path in our RPATH. # library dir path in our RPATH.
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
set(CMAKE_MACOSX_RPATH 1) set(CMAKE_MACOSX_RPATH 1)
endif() endif()
# set general build flags for debug build-type # set general build flags for debug build-type
set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -DDEBUG -Wall -Wno-pointer-sign -D_FORTIFY_S OURCE=2 -Wformat -Wformat-security -Werror=format-security -Wextra -Wredundant-d ecls" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -DDEBUG -fno-common -Wall -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wextra - Wredundant-decls" CACHE STRING "" FORCE)
## append ASAN build flags if compiler version has support ## append ASAN build flags if compiler version has support
#if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") #if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
# if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.8) # if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.8)
# set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fsanitize=address # set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fsanitize=address
# -fno-omit-frame-pointer" CACHE STRING "" FORCE) # -fno-omit-frame-pointer" CACHE STRING "" FORCE)
# message("Building with ASAN support (GNU compiler)") # message("Building with ASAN support (GNU compiler)")
# else() # else()
# message("Building without ASAN support (GNU compiler)") # message("Building without ASAN support (GNU compiler)")
# endif() # endif()
#elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") #elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
skipping to change at line 169 skipping to change at line 169
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-Wl" CACHE STRING "" FORCE) set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-Wl" CACHE STRING "" FORCE)
set(CMAKE_MODULE_LINKER_FLAGS "-Wl" CACHE STRING "" FORCE) set(CMAKE_MODULE_LINKER_FLAGS "-Wl" CACHE STRING "" FORCE)
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup" CACHE STRING "" FORCE) set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup" CACHE STRING "" FORCE)
endif() endif()
if(ENABLE_LUA) if(ENABLE_LUA)
include(EttercapLuajit) include(EttercapLuajit)
set(HAVE_EC_LUA 1) set(HAVE_EC_LUA 1)
endif() endif()
if(CURL_FOUND)
set(HAVE_CURL 1)
endif()
set(EC_INCLUDE_PATH ${CMAKE_CURRENT_BINARY_DIR}/include ${CMAKE_SOURCE_DIR}/incl ude ${EC_INCLUDE}) set(EC_INCLUDE_PATH ${CMAKE_CURRENT_BINARY_DIR}/include ${CMAKE_SOURCE_DIR}/incl ude ${EC_INCLUDE})
include_directories(${EC_INCLUDE_PATH}) include_directories(${EC_INCLUDE_PATH})
add_subdirectory(src) add_subdirectory(src)
if(INSTALL_DESKTOP) if(INSTALL_DESKTOP)
add_subdirectory(desktop) add_subdirectory(desktop)
endif() endif()
if(HAVE_PLUGINS) if(HAVE_PLUGINS)
 End of changes. 5 change blocks. 
4 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)