nemesis-1.4-libnet-1.0.patch 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. --- nemesis-1.4.orig/configure 2006-12-15 13:56:46.000000000 -0700
  2. +++ nemesis-1.4/configure 2006-12-15 14:17:33.000000000 -0700
  3. @@ -4150 +4150 @@
  4. -CPPFLAGS="${CPPFLAGS} `libnet-config --defines`"
  5. +CPPFLAGS="${CPPFLAGS} `libnet-1.0-config --defines`"
  6. @@ -4153 +4153 @@
  7. -if test `libnet-config --cflags | wc -c` = "1"; then
  8. +if test `libnet-1.0-config --cflags | wc -c` = "1"; then
  9. @@ -4157 +4157 @@
  10. - CPPFLAGS="${CPPFLAGS} `libnet-config --cflags`"
  11. + CPPFLAGS="${CPPFLAGS} `libnet-1.0-config --cflags`"
  12. @@ -4160,3 +4160,3 @@
  13. -if test `libnet-config --libs | wc -c` = "1"; then
  14. - { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5
  15. -echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;}
  16. +if test `libnet-1.0-config --libs | wc -c` = "1"; then
  17. + { echo "$as_me:$LINENO: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&5
  18. +echo "$as_me: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&2;}
  19. @@ -4167 +4167 @@
  20. - LIBS="${LIBS} `libnet-config --libs | sed s/\-lnet//`"
  21. + LIBS="${LIBS} `libnet-1.0-config --libs | sed s/\-lnet-1.0//`"
  22. @@ -4712,2 +4712,2 @@
  23. -echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet" >&5
  24. -echo $ECHO_N "checking for libnet_build_ip in -lnet... $ECHO_C" >&6
  25. +echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet-1.0" >&5
  26. +echo $ECHO_N "checking for libnet_build_ip in -lnet-1.0... $ECHO_C" >&6
  27. @@ -4718 +4718 @@
  28. -LIBS="-lnet $LIBS"
  29. +LIBS="-lnet-1.0 $LIBS"
  30. @@ -4781 +4781 @@
  31. - LIBS="-lnet $LIBS"
  32. + LIBS="-lnet-1.0 $LIBS"
  33. @@ -5263 +5263 @@
  34. -for ac_header in libnet.h
  35. +for ac_header in libnet-1.0.h
  36. @@ -5433 +5433 @@
  37. - libnet_dir=`libnet-config --cflags | cut -dI -f2`
  38. + libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2`
  39. @@ -5438 +5438 @@
  40. - if test -r $i/libnet.h; then
  41. + if test -r $i/libnet-1.0.h; then
  42. @@ -5444 +5444 @@
  43. - if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0.2a >/dev/null"; then
  44. + if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet-1.0.h | grep -v 1.0.2a >/dev/null"; then
  45. @@ -5455 +5455 @@
  46. - echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
  47. + echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
  48. @@ -5474 +5474 @@
  49. - echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
  50. + echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
  51. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-arp.h nemesis-1.4beta3/src/nemesis-arp.h
  52. --- nemesis-1.4beta3.orig/src/nemesis-arp.h 2003-08-19 15:45:45.675664688 -0400
  53. +++ nemesis-1.4beta3/src/nemesis-arp.h 2003-08-19 15:47:07.631205552 -0400
  54. @@ -30 +30 @@
  55. -#include <libnet.h>
  56. +#include <libnet-1.0.h>
  57. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-dns.h nemesis-1.4beta3/src/nemesis-dns.h
  58. --- nemesis-1.4beta3.orig/src/nemesis-dns.h 2003-08-19 15:45:45.675664688 -0400
  59. +++ nemesis-1.4beta3/src/nemesis-dns.h 2003-08-19 15:47:07.638204488 -0400
  60. @@ -30 +30 @@
  61. -#include <libnet.h>
  62. +#include <libnet-1.0.h>
  63. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-ethernet.h nemesis-1.4beta3/src/nemesis-ethernet.h
  64. --- nemesis-1.4beta3.orig/src/nemesis-ethernet.h 2003-08-19 15:45:45.676664536 -0400
  65. +++ nemesis-1.4beta3/src/nemesis-ethernet.h 2003-08-19 15:47:07.641204032 -0400
  66. @@ -29 +29 @@
  67. -#include <libnet.h>
  68. +#include <libnet-1.0.h>
  69. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-functions.c nemesis-1.4beta3/src/nemesis-functions.c
  70. --- nemesis-1.4beta3.orig/src/nemesis-functions.c 2003-08-19 15:45:45.676664536 -0400
  71. +++ nemesis-1.4beta3/src/nemesis-functions.c 2003-08-19 15:47:07.656201752 -0400
  72. @@ -37 +37 @@
  73. -#include <libnet.h>
  74. +#include <libnet-1.0.h>
  75. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-icmp.h nemesis-1.4beta3/src/nemesis-icmp.h
  76. --- nemesis-1.4beta3.orig/src/nemesis-icmp.h 2003-08-19 15:45:45.676664536 -0400
  77. +++ nemesis-1.4beta3/src/nemesis-icmp.h 2003-08-19 15:47:07.665200384 -0400
  78. @@ -31 +31 @@
  79. -#include <libnet.h>
  80. +#include <libnet-1.0.h>
  81. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-igmp.h nemesis-1.4beta3/src/nemesis-igmp.h
  82. --- nemesis-1.4beta3.orig/src/nemesis-igmp.h 2003-08-19 15:45:45.676664536 -0400
  83. +++ nemesis-1.4beta3/src/nemesis-igmp.h 2003-08-19 15:47:07.670199624 -0400
  84. @@ -30 +30 @@
  85. -#include <libnet.h>
  86. +#include <libnet-1.0.h>
  87. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-ip.h nemesis-1.4beta3/src/nemesis-ip.h
  88. --- nemesis-1.4beta3.orig/src/nemesis-ip.h 2003-08-19 15:45:45.676664536 -0400
  89. +++ nemesis-1.4beta3/src/nemesis-ip.h 2003-08-19 15:47:07.677198560 -0400
  90. @@ -26 +26 @@
  91. -#include <libnet.h>
  92. +#include <libnet-1.0.h>
  93. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-ospf.h nemesis-1.4beta3/src/nemesis-ospf.h
  94. --- nemesis-1.4beta3.orig/src/nemesis-ospf.h 2003-08-19 15:45:45.677664384 -0400
  95. +++ nemesis-1.4beta3/src/nemesis-ospf.h 2003-08-19 15:47:07.684197496 -0400
  96. @@ -33 +33 @@
  97. -#include <libnet.h>
  98. +#include <libnet-1.0.h>
  99. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-rip.h nemesis-1.4beta3/src/nemesis-rip.h
  100. --- nemesis-1.4beta3.orig/src/nemesis-rip.h 2003-08-19 15:45:45.678664232 -0400
  101. +++ nemesis-1.4beta3/src/nemesis-rip.h 2003-08-19 15:47:07.717192480 -0400
  102. @@ -33 +33 @@
  103. -#include <libnet.h>
  104. +#include <libnet-1.0.h>
  105. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-tcp.h nemesis-1.4beta3/src/nemesis-tcp.h
  106. --- nemesis-1.4beta3.orig/src/nemesis-tcp.h 2003-08-19 15:45:45.678664232 -0400
  107. +++ nemesis-1.4beta3/src/nemesis-tcp.h 2003-08-19 15:47:07.723191568 -0400
  108. @@ -30 +30 @@
  109. -#include <libnet.h>
  110. +#include <libnet-1.0.h>
  111. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis-udp.h nemesis-1.4beta3/src/nemesis-udp.h
  112. --- nemesis-1.4beta3.orig/src/nemesis-udp.h 2003-08-19 15:45:45.678664232 -0400
  113. +++ nemesis-1.4beta3/src/nemesis-udp.h 2003-08-19 15:47:07.728190808 -0400
  114. @@ -30 +30 @@
  115. -#include <libnet.h>
  116. +#include <libnet-1.0.h>
  117. diff -r -U 0 nemesis-1.4beta3.orig/src/nemesis.h nemesis-1.4beta3/src/nemesis.h
  118. --- nemesis-1.4beta3.orig/src/nemesis.h 2003-08-19 15:45:45.678664232 -0400
  119. +++ nemesis-1.4beta3/src/nemesis.h 2003-08-19 15:47:07.731190352 -0400
  120. @@ -15 +15 @@
  121. -#include <libnet.h>
  122. +#include <libnet-1.0.h>
  123. --- nemesis-1.4.orig/src/nemesis-printout.c 2006-12-15 13:56:46.000000000 -0700
  124. +++ nemesis-1.4/src/nemesis-printout.c 2006-12-15 14:47:14.000000000 -0700
  125. @@ -34 +34 @@
  126. -#include <libnet.h>
  127. +#include <libnet-1.0.h>