File: send_arp.patch

package info (click to toggle)
fake 1.1.11-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 336 kB
  • ctags: 42
  • sloc: sh: 258; makefile: 110; ansic: 103
file content (49 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
diff -uN send_arp.orig/Makefile send_arp/Makefile
--- send_arp.orig/Makefile	Wed Dec 31 19:00:00 1969
+++ send_arp/Makefile	Thu Oct 29 15:40:47 1998
@@ -0,0 +1,35 @@
+######################################################################
+# Makefile for send_arp                                   October 1998
+# horms                                             horms@vergenet.net
+#
+#
+# Freely distributable under the terms of the 
+# GNU General Public License
+#
+# Note: send_arp was written by:
+#         yuri volobuev'97
+#         volobuev@t1.chem.umn.edu
+#
+#
+# This make file is included to help automation of installation
+#
+######################################################################
+
+ROOT_DIR=
+SRC=send_arp.c
+BIN=send_arp
+BIN_DIR=$(ROOT_DIR)/usr/sbin
+
+.PHONY: all install clean
+
+all: $(BIN)
+
+$(BIN): $(SRC)
+	$(CC) $(SRC) -o $(BIN)
+
+clean:
+	rm -f $(BIN) core $(SRC).*
+
+install:
+	mkdir -p $(BIN_DIR)
+	cp $(BIN) $(BIN_DIR)
diff -uN send_arp.orig/send_arp.c send_arp/send_arp.c
--- send_arp.orig/send_arp.c	Thu Oct 29 15:56:46 1998
+++ send_arp/send_arp.c	Thu Oct 29 15:20:43 1998
@@ -21,7 +21,6 @@
 #include <errno.h>
 #include <netdb.h>
 #include <sys/socket.h>
-#include <linux/in.h>
 #include <arpa/inet.h>
 #include <linux/if_ether.h>