/[smeserver]/rpms/djbdns/sme10/djbdns.spec
ViewVC logotype

Diff of /rpms/djbdns/sme10/djbdns.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by vip-ire, Thu Feb 4 12:33:23 2016 UTC Revision 1.4 by jpp, Tue Apr 13 01:01:10 2021 UTC
# Line 1  Line 1 
1  # $Id: djbdns.spec,v 1.1 2013/02/06 22:00:55 slords Exp $  # $Id: djbdns.spec,v 1.3 2017/07/12 16:43:25 unnilennium Exp $
2    
3  #  #
4  # RPM spec file for Dan Bernstein's djbdns package  # RPM spec file for Dan Bernstein's djbdns package
5  #  #
6  # $Id: djbdns.spec,v 1.1 2013/02/06 22:00:55 slords Exp $  # $Id: djbdns.spec,v 1.3 2017/07/12 16:43:25 unnilennium Exp $
7  #  #
8  Summary: collection of Domain Name System tools  Summary: collection of Domain Name System tools
9  %define name djbdns  %define name djbdns
10  Name: %{name}  Name: %{name}
11  %define version 1.05  %define version 1.05
12  %define release 8  %define release 11
13  Version: %{version}  Version: %{version}
14  Release: %{release}%{?dist}  Release: %{release}%{?dist}
15  License: Public Domain  License: Public Domain
# Line 18  Source: http://cr.yp.to/%{name}/%{name}- Line 18  Source: http://cr.yp.to/%{name}/%{name}-
18  URL: http://cr.yp.to/%{name}.html  URL: http://cr.yp.to/%{name}.html
19  Patch0: %{name}-%{version}.patch.2001022000  Patch0: %{name}-%{version}.patch.2001022000
20  Patch1: dns_transmit-bug.patch  Patch1: dns_transmit-bug.patch
21  Patch2: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-cname-handling.patch  #Patch2: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-cname-handling.patch
22  Patch3: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-strict-forwardonly.patch  #Patch3: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-strict-forwardonly.patch
23  Patch4: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/tinydns-alias-chain-truncation.patch  #Patch4: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/tinydns-alias-chain-truncation.patch
24    
25    # openwrt patches
26    Patch20: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/020-dnsroots-update.patch
27    Patch30: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/030-srv-records-and-axfrget.patch
28    Patch50: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/050-tinydns-mmap-leak.patch
29    Patch60: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/060-dnscache-big-udp-packets.patch  
30    Patch70: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/070-dnscache-dpos-tcp-servfail.patch
31    Patch90: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/090-tinydns-one-second.patch
32    Patch80: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/080-dnscache-cache-negatives.patch
33    Patch120: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/120-compiler-temporary-filename.patch
34    Patch200: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/200-dnscache-cname-handling.patch
35    Patch210: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/210-dnscache-strict-forwardonly.patch
36    Patch230: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/230-tinydns-data-semantic-error.patch
37    Patch240: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/240-tinydns-alias-chain-truncation.patch
38    Patch270: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/270-dnscache-sigpipe-fix.patch
39    Patch300: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/300-bugfix-dnscache-dempsky-poison.patch
40    Patch310: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/310-bugfix-dnscache-merge-outgoing-requests.patch
41    Patch320: https://dev.openwrt.org/export/HEAD/packages/net/djbdns/patches/320-bugfix-dnscache-cache-soa-records.patch
42    Patch330: https://dev.openwrt.org/raw-attachment/ticket/5881/330-fix-dnscache-cname-handling.patch
43    
44    #after openwrt applied patches
45    Patch450: 450-dnscache-ghost-domain-CVE-2012-1191.patch
46    Patch500: 500-cutom-dnscache-maxloop.patch
47    
48    
49  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
50  Provides: djbdns  Provides: djbdns
51  AutoReqProv: no  AutoReqProv: no
# Line 59  djbdns was written by Daniel J Bernstein Line 84  djbdns was written by Daniel J Bernstein
84  domain on Dec 28, 2007.  domain on Dec 28, 2007.
85    
86  %changelog  %changelog
87    * Mon Apr 12 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.05-11.sme
88    - import modification from SME9 [SME: 11548]
89    - improve short ttl cname resolution and glueless answer from akadns [SME: 8362]
90    - 500-cutom-dnscache-maxloop.patch: set QUERY_MAXLEVEL 5 QUERY_MAXLOOP 500 QUERY_MAXNS 16 [SME: 10300]
91    
92    * Wed Jul 12 2017 Jean-Philippe Pialasse <tests@pialasse.com> 1.05-10.sme
93    - improve short ttl cname resolution and glueless answer from akadns [SME: 8362]
94    - 500-cutom-dnscache-maxloop.patch: increase QUERY_MAXLEVEL 5->10 , set  QUERY_MAXLOOP 160
95    
96    * Tue Jul 11 2017 Jean-Philippe Pialasse <tests@pialasse.com> 1.05-9.sme
97    --import patches from openwrt and rename already applied patches
98    --fix security issues [SME: 10374]
99    - 020-dnsroots-update.patch: update list of root DNS servers
100    - 070-dnscache-dpos-tcp-servfail.patch: SERVFAIL rename previous patch dns_transmit-bug.patch
101    - 080-dnscache-cache-negatives.patch: rfc2308 ?
102    - 210-dnscache-strict-forwardonly.patch: rename previous patch dnscache-strict-forwardonly.patch
103    - 240-tinydns-alias-chain-truncation.patch: rename previous patch tinydns-alias-chain-truncation.patch
104    - 270-dnscache-sigpipe-fix.patch: SIGPIPE
105    - 300-bugfix-dnscache-dempsky-poison.patch: CVE-2009-0858
106    - 310-bugfix-dnscache-merge-outgoing-requests.patch: CVE-2008-4392
107    - 320-bugfix-dnscache-cache-soa-records.patch: CVE-2008-4392
108    - 450-dnscache-ghost-domain-CVE-2012-1191.patch: CVE-2012-1191 http://marc.info/?l=djbdns&m=134190748729079&w=2
109    --bug fixes [SME: 10374]
110    - 060-dnscache-big-udp-packets.patch: accept and handle longer than 512 bytes UDP packets
111    - 230-tinydns-data-semantic-error.patch: handle semantic error to avoid publishing false dns records
112    --fix issue with short ttl cname like akamaid [SME: 8362]
113    - 200-dnscache-cname-handling.patch: rename previous patch dnscache-cname-handling.patch
114    - 330-fix-dnscache-cname-handling.patch: fix dnscache cname for short ttl
115    - 500-cutom-dnscache-maxloop.patch: set max loop to 200
116    --needed for previous patches to apply cleanly
117    - 030-srv-records-and-axfrget.patch: add SRV record type and axfr-get decompose SRC and PTR records (for 230-*.patch)
118    - 050-tinydns-mmap-leak.patch: report cdb leak
119    - 080-dnscache-cache-negatives.patch: rfc2308 ?
120    - 090-tinydns-one-second.patch: improve tinydns with 8 or more  concurent connections (for 240-*.patch)
121    - 120-compiler-temporary-filename.patch: change tmp filename to avoid conflicts (for 230-*.patch)
122    
123  * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.05-8  * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.05-8
124  - Comment out contentious patches for now [SME: 3826] [SME: 3824]  - Comment out contentious patches for now [SME: 3826] [SME: 3824]
125    
# Line 107  domain on Dec 28, 2007. Line 168  domain on Dec 28, 2007.
168  mkdir -p ./root/usr  mkdir -p ./root/usr
169  mkdir -p ./root/etc  mkdir -p ./root/etc
170    
171  %patch1 -p1  %patch20 -p1
172  #%patch2 -p1  %patch30 -p1
173  %patch3 -p1  %patch50 -p1
174  #%patch4 -p1  %patch60 -p1
175    %patch70 -p1
176    %patch80 -p1
177    %patch90 -p1
178    %patch120 -p1
179    %patch200 -p1
180    %patch210 -p1
181    %patch230 -p1
182    %patch240 -p1
183    %patch270 -p1
184    %patch300 -p1
185    %patch310 -p1
186    %patch320 -p1
187    %patch330 -p1
188    %patch450 -p1
189    %patch500 -p1
190    
191    
192  %build  %build
193  echo "gcc -O2 -Wall --include /usr/include/errno.h" > conf-cc  echo "gcc -O2 -Wall --include /usr/include/errno.h" > conf-cc


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed