From 64a5828382234f256812fb421a72fefaa5774ca7 Mon Sep 17 00:00:00 2001 From: mkochano Date: Thu, 6 Sep 2001 16:12:10 +0000 Subject: [PATCH] - Moves binary (*.so) plugins from %%{_datadir} to %%{_libdir}. Changed files: ettercap-plugin_dir.patch -> 1.1 --- ettercap-plugin_dir.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ettercap-plugin_dir.patch diff --git a/ettercap-plugin_dir.patch b/ettercap-plugin_dir.patch new file mode 100644 index 0000000..d4a69e6 --- /dev/null +++ b/ettercap-plugin_dir.patch @@ -0,0 +1,16 @@ +diff -urN ettercap-0.5.4.orig/configure.in ettercap-0.5.4/configure.in +--- ettercap-0.5.4.orig/configure.in Thu Sep 6 17:51:02 2001 ++++ ettercap-0.5.4/configure.in Thu Sep 6 17:51:40 2001 +@@ -102,11 +102,7 @@ + + dnl configuring path for rpm version... + +-if test "$RPM_BUILD_ROOT" = ""; then +- echo "#define INSTALL_PATH \"$prefix/share/ettercap/\"" > ./src/include/ec_install_path.h +-else +- echo "#define INSTALL_PATH \"/usr/local/share/ettercap/\"" > ./src/include/ec_install_path.h +-fi ++echo "#define INSTALL_PATH \"$libdir/ettercap/\"" > ./src/include/ec_install_path.h + + + dnl ======================== -- 2.43.0