~ubuntu-branches/ubuntu/trusty/maradns/trusty-proposed

« back to all changes in this revision

Viewing changes to deadwood-3.2.02/update/2.9.05/deadwood-2.9.04-compile.options.patch

  • Committer: Package Import Robot
  • Author(s): Dariusz Dwornikowski
  • Date: 2014-02-16 19:36:04 UTC
  • mfrom: (1.2.11) (21.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20140216193604-xtmcopn9pilzszae
Tags: 2.0.09-1
* New maintainer (Closes: #739084)
* New upstream release to unstable
* Several security bugs (Closes: #739755)
   - security bugfix for CVE-2011-5055, CVE-2011-5056, CVE-2012-0024,
   CVE-2012-1570
   - security bugfix agains blind spoofing attack (no CVE number)
   - security bugfix for packet of death attack (no CVE number)
* Bump standards to 3.9.5
* Updated d/postinst to no longer modify conffiles (Closes: #710903)
* Init script fixed (Closes: #709826)
* --reinstall no longer kills the process (Closes: #701657)
* Updated old d/changelog entries, added information when the CVEs were
  fixed: 2.0.06-1, 2.0.04-1, 1.4.11-1, 1.2.12.06-1, 1.2.12.05-1, 1.0.28-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- deadwood-2.9.04/doc/compile.options 2009-05-10 11:14:23.000000000 -0700
2
 
+++ deadwood-2.9.05/doc/compile.options 2010-08-16 07:31:50.000000000 -0700
3
 
@@ -10,7 +10,74 @@
4
 
 The default compile gives no IPv6
5
 
 
6
 
 To compile Deadwood with IPv6 support, add '-DIPV6' to the compile-time
7
 
-flags.  
8
 
+flags, e.g. 'cd src/ ; export FLAGS='-O3 -DIPV6'; make'
9
 
 
10
 
 The reason why one may wish IPv6 is to use Deadwood on an IPv6 network.
11
 
 
12
 
+---
13
 
+
14
 
+Full list of compile flags Deadwood has:
15
 
+
16
 
+IPV6 (-DIPV6): Adds IPv6 support to Deadwood
17
 
+
18
 
+STRICT_RFC2671_COMPLIANCE (-DSTRICT_RFC2671_COMPLIANCE): Normally, Deadwood
19
 
+       handles EDNS (RFC2671) packets by acting like the packet was an
20
 
+       ordinary RFC1035 DNS request.  This flag conforms to section 5.3 of
21
 
+       RFC2671 by having Deadwood instead reply to ENDS packets with a
22
 
+       "not implemented" error.
23
 
+
24
 
+MINGW (use the correct Makefile): Used to replace *NIX sockets with Windows 
25
 
+       sockets and make other changes to make the program a native Windows 
26
 
+       service.  This  flag should not be invoked by the end-user compiling 
27
 
+       Deadwood; instead use the 'Makefile.mingw' file: 
28
 
+       make -f Makefile.mingw342
29
 
+
30
 
+__CYGWIN__ (no flag to set; Cygwin sets this): It is also possible to 
31
 
+       compile this program using Cygwin, an environment that fully
32
 
+       emulates a *NIX development environment in Windows.
33
 
+
34
 
+Note: The following compile-time flags will only be of interest to developers
35
 
+       debugging Deadwood
36
 
+
37
 
+VALGRIND_NOERRORS (-DVALGRIND_NOERRORS): Normally, Deadwood uses the contents
38
 
+       of uninitialized memory as an entropy source for the random number
39
 
+       generator.  This compile-time flag disables that behavior so that
40
 
+       Valgrind (a debugging tool for C programs) does not complain about      
41
 
+       program behavior affected by uninitizlized data.
42
 
+
43
 
+XTRA_STUFF (-DXTRA_STUFF): Add some routines that allow the printing of
44
 
+       debug information to standard output.  
45
 
+
46
 
+HASH_DEBUG (-DHASH_DEBUG): Add information used by the 
47
 
+       dwood2rc_n_hash_magic_number SQA regression
48
 
+
49
 
+HAVE_MAIN (-DHAVE_MAIN): DwCompress.c, DwHash.c, DwMararc.c, and
50
 
+       DwRadioGatun.c all have main() routines that can be enabled with
51
 
+       this compile-time flag.  This is mainly used for debugging.
52
 
+       DwRadioGatun.c, when compiled with 
53
 
+       'gcc -g -DHAVE_MAIN -o RadioGatun DwRadioGatun.c' makes a program
54
 
+       that will output on standard output the RadioGatun[32] sum of the
55
 
+       first argument given to the program.  We use this in the SQA test
56
 
+       (sqa_rg32) to ensure that DwRadioGatun.c makes a RadioGatun[32]
57
 
+       implementation that passes all official RadioGatun[32] test vectors.
58
 
+
59
 
+HSCK (-DHSCK): Adds some routines to ensure that DwHash.c is correctly
60
 
+       creating a doubly linked list hash and queue.  Used with the
61
 
+       debug-only Makefile.hsck make file.
62
 
+
63
 
+INFLIGHT_VERBOSE (-DINFLIGHT_VERBOSE): Used by the dwood2rc_n_max_inflights 
64
 
+       SQA test to ensure multiple inflight merging works
65
 
+
66
 
+MARARC_C: Used internally by DwMararc.c to ensure that it sees some data
67
 
+       in DwMararc.h that other program files should not see.  Not used
68
 
+       as a compile-time flag.  We do things this way so a new dwood3rc
69
 
+       parameter can be added by only modifying one file (however, we 
70
 
+       still need to modify DwMararc.c to give said parameter a default
71
 
+       value)
72
 
+
73
 
+NO_INET_PTON: Deadwood uses inet_pton() to convert human-readable IP
74
 
+       addresses like "10.1.2.3" in to binary IPs.  If a given system
75
 
+       doesn't have inet_pton() (Windows doesn't), this creates
76
 
+       a inet_pton() using inet_addr() to convert the actual IP (since
77
 
+       Windows does have inet_addr() )
78
 
+