1 |
pinkbyte 14/02/26 14:13:34 |
2 |
|
3 |
Added: maradns-2.0.09-build.patch |
4 |
Log: |
5 |
Version bump, wrt bug #501686 |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-dns/maradns/files/maradns-2.0.09-build.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/maradns/files/maradns-2.0.09-build.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/maradns/files/maradns-2.0.09-build.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: maradns-2.0.09-build.patch |
16 |
=================================================================== |
17 |
Index: maradns-2.0.09/build/Makefile.linux |
18 |
=================================================================== |
19 |
--- maradns-2.0.09.orig/build/Makefile.linux |
20 |
+++ maradns-2.0.09/build/Makefile.linux |
21 |
@@ -10,7 +10,7 @@ POBJECTS=parse/ParseMaraRc.o parse/Parse |
22 |
DOBJECTS=dns/Queries.o dns/Compress.o dns/bobbit.o |
23 |
# Secure random number generator objects |
24 |
ROBJECTS=rng/rng-api-fst.o rng/rng-alg-fst.o |
25 |
-OBJECTS=$(JOBJS) $(MHOBJS) $(SOBJECTS) $(DOBJECTS) $(POBJECTS) $(DOBJECTS) $(ROBJECTS) |
26 |
+OBJECTS=$(JOBJS) $(MHOBJS) $(SOBJECTS) $(DOBJECTS) $(POBJECTS) $(DOBJECTS) $(ROBJECTS) -lrt |
27 |
EXECS=server/maradns |
28 |
|
29 |
# Uncomment the following three lines to get this to compile on Solaris |
30 |
@@ -28,19 +28,21 @@ Q="DEFINES=-DSELECT_PROBLEM" |
31 |
|
32 |
# Debug |
33 |
|
34 |
-FLAGS = -O2 -Wall -DSELECT_PROBLEM |
35 |
+FLAGS=$(CFLAGS) $(LDFLAGS) -Wall -DSELECT_PROBLEM |
36 |
M="CC=$(CC) $(FLAGS)" |
37 |
D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS" |
38 |
#FLAGS = -g |
39 |
|
40 |
all: |
41 |
- cd libs ; make $(M) ; cd ../dns ; make $(M) ; \ |
42 |
- cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \ |
43 |
- cd ../qual ; make $(M) ; cd ../server ; \ |
44 |
- make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ |
45 |
- cd ../tools ; make $(M) ; \ |
46 |
- cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ |
47 |
- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST |
48 |
+ $(MAKE) -C libs $(M) |
49 |
+ $(MAKE) -C dns $(M) |
50 |
+ $(MAKE) -C rng $(M) |
51 |
+ $(MAKE) -C parse $(M) |
52 |
+ $(MAKE_ -C qual $(M) |
53 |
+ $(MAKE) -C server $(M) $(V) COMPILED=\"$(COMPILED)\" |
54 |
+ $(MAKE) -C tools $(M) |
55 |
+ $(MAKE) -C deadwood-*/src $(M) |
56 |
+ $(MAKE) -C tcp $(M) $(V) |
57 |
|
58 |
debug: |
59 |
cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \ |