]> git.pld-linux.org Git - packages/ettercap6.git/commitdiff
- Simply rips some checks from configure.
authormkochano <mkochano@pld-linux.org>
Thu, 6 Sep 2001 15:41:14 +0000 (15:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ettercap-dont_require_root.patch -> 1.1

ettercap-dont_require_root.patch [new file with mode: 0644]

diff --git a/ettercap-dont_require_root.patch b/ettercap-dont_require_root.patch
new file mode 100644 (file)
index 0000000..f176180
--- /dev/null
@@ -0,0 +1,29 @@
+diff -urN ettercap-0.5.4.orig/configure.in ettercap-0.5.4/configure.in
+--- ettercap-0.5.4.orig/configure.in   Sat Jul 21 16:25:35 2001
++++ ettercap-0.5.4/configure.in        Thu Sep  6 16:34:39 2001
+@@ -158,21 +158,11 @@
+       dnl ===========================
+       dnl   Check for Socket Packet
+       dnl ===========================
+-              id=`id -u`
+-              AC_MSG_CHECKING(for correct UID)
+-              if test ${id} -gt 0; then
+-                      AC_MSG_RESULT(${id}. not sufficient)
+-                      AC_MSG_WARN(***********************************************);
+-                      AC_MSG_WARN(* This configure must run with UID 0 (root)!! *);
+-                      AC_MSG_WARN(***********************************************);
+-                      rm -f *.cache *.log
+-                      exit;
+-              else
+-                      AC_MSG_RESULT($UID ok root let's go...)
+-              fi
+-              EC_PF_PACKET()
+-              EC_SOCK_PACKET()
++dnl           EC_PF_PACKET()
++dnl           EC_SOCK_PACKET()
++              AC_DEFINE(HAVE_PF_PACKET,1)
++              AC_DEFINE(HAVE_SOCK_PACKET,1)
+               if test "$nopf" = 1 && test "$nosock" = 1; then
+                       AC_MSG_WARN(*************************************);
This page took 0.097002 seconds and 4 git commands to generate.