3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- zcip-4/Makefile~compile
9 CPPFLAGS=`libnet-config --cflags` `libnet-config --defines`
10 CFLAGS=-O2 -Wall -W -I/usr/local/contrib/include -I/usr/local/include/pcap
11 LDFLAGS=-L/usr/local/contrib/lib -L/usr/local/lib -static
14 +LIBS=-lpcap `libnet-config --libs`
24 - $(CC) make-arp.o $(LDFLAGS) -o make-arp -lpcap `libnet-config --libs`
25 + $(CC) make-arp.o $(LDFLAGS) -o make-arp $(LIBS)
28 - $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o zcip -lpcap `libnet-config --libs`
29 + $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o zcip $(LIBS)
33 --- zcip-4/zcip.c~compile
35 @@ -1204,14 +1204,14 @@
39 - printf("zcip release " RELEASE "
40 -Copyright (C) 2001-2002 Various authors
41 -zcip comes with NO WARRANTY,
42 -to the extent permitted by law.
43 -You may redistribute copies of zcip
44 -under the terms of the 3-clause BSD license.
45 -For more information about these matters,
46 -see the file named Copyright.
47 + printf("zcip release " RELEASE "\n\
48 +Copyright (C) 2001-2002 Various authors\n\
49 +zcip comes with NO WARRANTY,\n\
50 +to the extent permitted by law.\n\
51 +You may redistribute copies of zcip\n\
52 +under the terms of the 3-clause BSD license.\n\
53 +For more information about these matters,\n\
54 +see the file named Copyright.\n\
58 @@ -1219,19 +1219,19 @@
61 void usage(int exit_code) {
62 - printf("usage: zcip [OPTIONS]
63 -Zeroconf IPv4 Link-Local Address Configuration
65 - -h, --help Print this help, and exit.
66 - -i, --interface IFNAME Use interface IFNAME.
67 - If not provided it uses 'eth0'.
68 - -r, --randseed Seeds RNG with random # rather than MAC address.
69 - -s, --syslog Output to syslog instead of stdout.
70 - -v, --version Print the version information, and exit.
72 -This program does the ad-hoc link-local IPv4 auto-configuration trick, as
73 -described in the IETF Internet Draft 'Dynamic Configuration of IPv4
74 -Link-Local Addresses'.
75 + printf("usage: zcip [OPTIONS]\n\
76 +Zeroconf IPv4 Link-Local Address Configuration\n\
78 + -h, --help Print this help, and exit.\n\
79 + -i, --interface IFNAME Use interface IFNAME.\n\
80 + If not provided it uses 'eth0'.\n\
81 + -r, --randseed Seeds RNG with random # rather than MAC address.\n\
82 + -s, --syslog Output to syslog instead of stdout.\n\
83 + -v, --version Print the version information, and exit.\n\
85 +This program does the ad-hoc link-local IPv4 auto-configuration trick, as\n\
86 +described in the IETF Internet Draft 'Dynamic Configuration of IPv4\n\
87 +Link-Local Addresses'.\n\
91 --- zcip-4/make-arp.c~compile
96 void usage(int exit_code) {
98 -make-arp -- sends arbitrary ARP Requests
100 -usage: make-arp [OPTIONS] [sea=SOURCE-EA] [sip=SOURCE-IP] tea=TARGET-EA tip=TARGET-IP
104 - -h Print this help.
107 -Only ARP Requests for now. In the Ethernet header, the source EA is
108 -mine and the target EA is the broadcast address FF:FF:FF:FF:FF:FF.
111 +make-arp -- sends arbitrary ARP Requests\n\
113 +usage: make-arp [OPTIONS] [sea=SOURCE-EA] [sip=SOURCE-IP] tea=TARGET-EA tip=TARGET-IP\n\
117 + -h Print this help.\n\
120 +Only ARP Requests for now. In the Ethernet header, the source EA is\n\
121 +mine and the target EA is the broadcast address FF:FF:FF:FF:FF:FF.\n\