]> git.pld-linux.org Git - packages/botnet.git/blob - botnet-examples.patch
- tabs in preamble
[packages/botnet.git] / botnet-examples.patch
1 diff -Nru botnet-1.5.3/Makefile.am botnet-1.5.3.new/Makefile.am
2 --- botnet-1.5.3/Makefile.am    Thu Sep 14 04:03:53 2000
3 +++ botnet-1.5.3.new/Makefile.am        Thu Sep 14 04:03:08 2000
4 @@ -1,6 +1,6 @@
5  ## Process this file with automake to produce Makefile.in
6  
7 -SUBDIRS = makelib example
8 +SUBDIRS = makelib
9  
10  bin_SCRIPTS = botnet-config
11  
12 diff -Nru botnet-1.5.3/Makefile.am~ botnet-1.5.3.new/Makefile.am~
13 --- botnet-1.5.3/Makefile.am~   Thu Jan  1 01:00:00 1970
14 +++ botnet-1.5.3.new/Makefile.am~       Tue Sep 12 14:17:57 2000
15 @@ -0,0 +1,12 @@
16 +## Process this file with automake to produce Makefile.in
17 +
18 +SUBDIRS = makelib example
19 +
20 +bin_SCRIPTS = botnet-config
21 +
22 +EXTRA_DIST = \
23 +        License.txt \
24 +       botnet.txt \
25 +       file_id.diz \
26 +       todo.txt
27 +
28 diff -Nru botnet-1.5.3/example/Makefile.new botnet-1.5.3.new/example/Makefile.new
29 --- botnet-1.5.3/example/Makefile.new   Thu Jan  1 01:00:00 1970
30 +++ botnet-1.5.3.new/example/Makefile.new       Thu Sep 14 04:03:08 2000
31 @@ -0,0 +1,14 @@
32 +%.o: %.c
33 +       $(CC) $(CFLAGS) -c -o $@ $<
34 +
35 +#all: bot serv
36 +all: bot
37 +
38 +bot: bot.o
39 +       $(CC) $(LDFLAGS) -lbotnet -o $@ $<
40 +
41 +serv: serv.o
42 +       $(CC) $(LDFLAGS) -lbotnet -o $@ $<
43 +
44 +clean:
45 +       rm -f *.o bot serv core
46 diff -Nru botnet-1.5.3/example/bot.c botnet-1.5.3.new/example/bot.c
47 --- botnet-1.5.3/example/bot.c  Thu Sep 14 04:03:53 2000
48 +++ botnet-1.5.3.new/example/bot.c      Thu Sep 14 04:03:08 2000
49 @@ -4,7 +4,7 @@
50  */
51  
52  
53 -#include "../makelib/botnet.h"
54 +#include <botnet.h>
55  #include <stdio.h>
56  #include <stdlib.h>
57  #ifdef __unix__
58 diff -Nru botnet-1.5.3/example/serv.c botnet-1.5.3.new/example/serv.c
59 --- botnet-1.5.3/example/serv.c Thu Sep 14 04:03:53 2000
60 +++ botnet-1.5.3.new/example/serv.c     Thu Sep 14 04:04:40 2000
61 @@ -3,7 +3,7 @@
62    aka Ze KiLleR / SkyTech
63  */
64  
65 -#include "../makelib/botnet.h"
66 +#include "botnet.h"
67  #include <stdio.h>
68  #include <stdlib.h>
69  #include <string.h>
This page took 0.044486 seconds and 3 git commands to generate.