Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 ettercap (1:0.8.0+git20140910-1) unstable; urgency=medium
 .
   [ Gianfranco Costamagna ]
   * Add appdata file
   * New rc release. (Closes: #690158)
 .
   [ Barak A. Pearlmutter ]
   * rename upstream point release using + instead of ~
   * Single debian patch source option
Author: Barak A. Pearlmutter <bap@debian.org>
Bug-Debian: https://bugs.debian.org/690158

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- ettercap-0.8.0+git20140910.orig/CMakeLists.txt
+++ ettercap-0.8.0+git20140910/CMakeLists.txt
@@ -33,10 +33,6 @@ if(contains_valid EQUAL -1)
 endif()
 UNSET(contains_valid)
 
-# Ensure that, when we link to stuff outside of our build path, we include the
-# library dir path in our RPATH.
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-
 include(CMakeDependentOption)
 
 # If SYSTEM_LIBS is set to off, then all SYSTEM_* options will be
--- ettercap-0.8.0+git20140910.orig/src/CMakeLists.txt
+++ ettercap-0.8.0+git20140910/src/CMakeLists.txt
@@ -200,7 +200,6 @@ endif(ENABLE_LUA)
 set_target_properties(lib_ettercap PROPERTIES 
   ENABLE_EXPORTS On
   #  LINK_INTERFACE_LIBRARIES ""
-  #  INSTALL_RPATH ${INSTALL_LIBDIR}
   OUTPUT_NAME ettercap
   VERSION 0.0.0
   SOVERSION 0
@@ -217,8 +216,6 @@ if (NOT LIBRARY_BUILD)
   endif(ENABLE_GTK)
   add_executable(ettercap ec_parser.c ec_main.c)
   target_link_libraries(ettercap ec_interfaces lib_ettercap ${EC_LIBS})
-  set_target_properties(ettercap PROPERTIES 
-  INSTALL_RPATH ${INSTALL_LIBDIR})
 endif(NOT LIBRARY_BUILD)
 
 install(TARGETS lib_ettercap DESTINATION ${INSTALL_LIBDIR})
--- ettercap-0.8.0+git20140910.orig/src/interfaces/CMakeLists.txt
+++ ettercap-0.8.0+git20140910/src/interfaces/CMakeLists.txt
@@ -77,6 +77,5 @@ SET_TARGET_PROPERTIES(ec_interfaces PROP
 set_target_properties(ec_interfaces PROPERTIES 
   ENABLE_EXPORTS On
   #  LINK_INTERFACE_LIBRARIES ""
-  #  INSTALL_RPATH ${INSTALL_LIBDIR}
   OUTPUT_NAME ec_interfaces 
   )
--- ettercap-0.8.0+git20140910.orig/utils/CMakeLists.txt
+++ ettercap-0.8.0+git20140910/utils/CMakeLists.txt
@@ -22,7 +22,6 @@ include_directories(${CMAKE_CURRENT_BINA
 
 add_executable(etterfilter ${EF_SRC} ${FLEX_EF_SCANNER_OUTPUTS} ${BISON_EF_PARSER_OUTPUTS})
 target_link_libraries(etterfilter lib_ettercap)
-set_target_properties(etterfilter PROPERTIES INSTALL_RPATH ${INSTALL_LIBDIR})
 
 ## Etterlog
 
@@ -43,6 +42,5 @@ set(EL_SRC
 
 add_executable(etterlog ${EL_SRC})
 target_link_libraries(etterlog lib_ettercap)
-set_target_properties(etterlog PROPERTIES INSTALL_RPATH ${INSTALL_LIBDIR})
 
 install(TARGETS etterfilter etterlog DESTINATION ${INSTALL_BINDIR})
