- copied from ettercap-*.patch AC-branch AC-STABLE auto/ac/ettercap6-0_6_b-5
authorundefine <undefine@pld-linux.org>
Wed, 19 Oct 2005 16:59:30 +0000 (16:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ettercap6-kernel_version.patch -> 1.1
    ettercap6-ncurses.patch -> 1.1
    ettercap6-plugin_dir.patch -> 1.1

ettercap6-kernel_version.patch [new file with mode: 0644]
ettercap6-ncurses.patch [new file with mode: 0644]
ettercap6-plugin_dir.patch [new file with mode: 0644]

diff --git a/ettercap6-kernel_version.patch b/ettercap6-kernel_version.patch
new file mode 100644 (file)
index 0000000..65a859d
--- /dev/null
@@ -0,0 +1,16 @@
+diff -uNr ettercap-0.6.3.1.orig/aclocal.m4 ettercap-0.6.3.1/aclocal.m4
+--- ettercap-0.6.3.1.orig/aclocal.m4   Thu Dec 13 18:05:18 2001
++++ ettercap-0.6.3.1/aclocal.m4        Sun Feb 10 16:32:29 2002
+@@ -25,9 +25,9 @@
+ AC_DEFUN(EC_LINUX_KERNEL,[
+    AC_MSG_CHECKING(Linux kernel version)
+-   major=`uname -r  | cut -f1 -d"."`
+-   minor=`uname -r  | cut -f2 -d"."`
+-   uname=`uname -r`
++   major=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\"" | cut -f1 -d"."`
++   minor=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"."`
++   uname=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\""`
+    AC_MSG_RESULT($uname)
+    if test "$major$minor" -lt 20; then
+       AC_MSG_WARN(*******************************);
diff --git a/ettercap6-ncurses.patch b/ettercap6-ncurses.patch
new file mode 100644 (file)
index 0000000..db7f306
--- /dev/null
@@ -0,0 +1,29 @@
+--- configure.in.orig  Wed Jun  5 07:32:08 2002
++++ configure.in       Wed Jun  5 07:33:42 2002
+@@ -444,7 +444,7 @@
+    AC_CHECK_LIB(ncurses,newpad,,ncurses_warn=1)
+    if test $ncurses_warn -ne 1; then
+-      AC_CHECK_HEADERS(ncurses.h,,ncurses_warn=2)
++      AC_CHECK_HEADERS(ncurses/ncurses.h,,ncurses_warn=2)
+       if test $ncurses_warn -ne 2; then
+          AC_DEFINE(HAVE_NCURSES,1)
+          ac_cv_ec_ncurses=yes
+@@ -454,7 +454,7 @@
+       AC_CHECK_LIB(curses,mvwgetnstr,,curses_warn=1)
+       if test $curses_warn -ne 1; then
+-         AC_CHECK_HEADERS(curses.h,,curses_warn=2)
++         AC_CHECK_HEADERS(ncurses/curses.h,,curses_warn=2)
+          if test $curses_warn -ne 2; then
+             AC_DEFINE(HAVE_NCURSES,1)
+             ac_cv_ec_ncurses=yes
+@@ -573,7 +573,7 @@
+       ac_cv_ec_debug=yes
+       ;;
+    no)  AC_MSG_RESULT(no.)
+-      E_CFLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
++      E_CFLAGS="${CFLAGS} -fomit-frame-pointer -Wall"
+       ac_cv_ec_debug=no
+       ;;
+ esac ],
diff --git a/ettercap6-plugin_dir.patch b/ettercap6-plugin_dir.patch
new file mode 100644 (file)
index 0000000..d4a69e6
--- /dev/null
@@ -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 ========================
This page took 0.040949 seconds and 4 git commands to generate.