diet-qmail-oversize-dns.patch
changeset 141 0f8cd90097d8
parent 140 e924b9ad558a
equal deleted inserted replaced
140:e924b9ad558a 141:0f8cd90097d8
     1 Accept oversize DNS packets; CNAME errors avoidance
     1 Accept oversize DNS packets; CNAME errors avoidance
     2 
     2 
       
     3 diff -r 262ce8533627 source/dietlibc/diet-qmail/FrugalBuild
       
     4 --- a/source/dietlibc/diet-qmail/FrugalBuild	Fri May 04 20:22:54 2012 +0200
       
     5 +++ b/source/dietlibc/diet-qmail/FrugalBuild	Fri May 04 21:03:18 2012 +0200
       
     6 @@ -8,13 +8,14 @@
       
     7  # + queue-fix package with patches:
       
     8  #	errno
       
     9  #	dietlibc
       
    10 +# + oversize DNS packets patch
       
    11  # Maintainer: Tomas Zeman <tzeman@volny.cz>
       
    12  
       
    13  branch=diet
       
    14  pkgorig=qmail
       
    15  pkgname=$branch-$pkgorig
       
    16  pkgver=1.03
       
    17 -pkgrel=2
       
    18 +pkgrel=3
       
    19  pkgdesc="A secure, reliable, efficient, SMTP/POP3 server."
       
    20  url="http://cr.yp.to/qmail.html"
       
    21  depends=('daemontools' 'ucspi-tcp' 'openssl')
       
    22 @@ -43,6 +44,7 @@
       
    23  	http://www.netmeridian.com/e-huss/queue-fix-1.4.tar.gz \
       
    24  	queue-fix-errno.patch \
       
    25  	queue-fix-dietlibc.patch \
       
    26 +	qmail-103-oversize-dns.patch \
       
    27          rc smtpd_run pop3d_run qmail.profile qmail.rc send_log_run \
       
    28          send_run smtpd_log_run pop3d_log_run tcp.smtp tcp.pop3 \
       
    29          make_cert.sh)
       
    30 @@ -57,6 +59,7 @@
       
    31            'ce42fcc4daf5076adcf8fea6a9a84f2e1716c67c' \
       
    32            '72be22c7987ff3639692cda21c09dec340e06a4a' \
       
    33            '7d3525ab4a2e0e2be2bcd074dd94ae2784309d1b' \
       
    34 +          '6eac86e4782ad3863c6d35ba2ddc38130d8e8dcc' \
       
    35            '3111cc689b5b1f6caa38997bf5f85aa3a516ef9c' \
       
    36            '3a80e44c97fd3035ce16c68fd2f611a64c61d169' \
       
    37            'f14f63c7b1bdc2d1f527249235551dc7f21ad47d' \
       
    38 @@ -181,6 +184,7 @@
       
    39    Fpatch qregex-20060423-qmail.patch
       
    40    Fpatch qmail-dietlibc.patch
       
    41    Fpatch qmail-smtpd.spam.patch
       
    42 +  Fpatch qmail-103-oversize-dns.patch
       
    43  
       
    44    # compile qmail
       
    45    make it man || Fdie 
     3 diff -r 262ce8533627 source/dietlibc/diet-qmail/qmail-103-oversize-dns.patch
    46 diff -r 262ce8533627 source/dietlibc/diet-qmail/qmail-103-oversize-dns.patch
     4 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5 +++ b/source/dietlibc/diet-qmail/qmail-103-oversize-dns.patch	Fri May 04 20:46:20 2012 +0200
    48 +++ b/source/dietlibc/diet-qmail/qmail-103-oversize-dns.patch	Fri May 04 21:03:18 2012 +0200
     6 @@ -0,0 +1,71 @@
    49 @@ -0,0 +1,71 @@
     7 +http://www.ckdhr.com/ckd/qmail-103.patch
    50 +http://www.ckdhr.com/ckd/qmail-103.patch
     8 +
    51 +
     9 +Description from http://qmail.ruk.cuni.cz/top.html :
    52 +Description from http://qmail.ruk.cuni.cz/top.html :
    10 +Christopher K. Davis has a patch to accept oversize DNS packets which works on
    53 +Christopher K. Davis has a patch to accept oversize DNS packets which works on
    22 ++static struct { unsigned char *buf; } response;
    65 ++static struct { unsigned char *buf; } response;
    23 ++static int responsebuflen = 0;
    66 ++static int responsebuflen = 0;
    24 + static int responselen;
    67 + static int responselen;
    25 + static unsigned char *responseend;
    68 + static unsigned char *responseend;
    26 + static unsigned char *responsepos;
    69 + static unsigned char *responsepos;
    27 ++static u_long saveresoptions;
    70 ++static unsigned long saveresoptions;
    28 + 
    71 + 
    29 + static int numanswers;
    72 + static int numanswers;
    30 + static char name[MAXDNAME];
    73 + static char name[MAXDNAME];
    31 +@@ -45,18 +47,33 @@
    74 +@@ -45,18 +47,33 @@
    32 +  errno = 0;
    75 +  errno = 0;