/[packages]/cauldron/bind/current/SOURCES/bind-9.5-libidn.patch
ViewVC logotype

Diff of /cauldron/bind/current/SOURCES/bind-9.5-libidn.patch

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

revision 481650 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 481651 by oden, Fri Sep 20 07:01:24 2013 UTC
# Line 1  Line 1 
1  diff -up bind-9.7.0b1/bin/dig/dighost.c.libidn bind-9.7.0b1/bin/dig/dighost.c  diff -Naurp bind-9.9.4/bin/dig/dighost.c bind-9.9.4.oden/bin/dig/dighost.c
2  --- bind-9.7.0b1/bin/dig/dighost.c.libidn       2009-09-16 01:48:09.000000000 +0200  --- bind-9.9.4/bin/dig/dighost.c        2013-09-05 05:09:08.000000000 +0000
3  +++ bind-9.7.0b1/bin/dig/dighost.c      2009-10-20 10:49:26.719056220 +0200  +++ bind-9.9.4.oden/bin/dig/dighost.c   2013-09-20 06:22:19.000000000 +0000
4  @@ -44,6 +44,11 @@  @@ -44,6 +44,11 @@
5   #include <idn/api.h>   #include <idn/api.h>
6   #endif   #endif
# Line 12  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 12  diff -up bind-9.7.0b1/bin/dig/dighost.c.
12  +  +
13   #include <dns/byaddr.h>   #include <dns/byaddr.h>
14   #ifdef DIG_SIGCHASE   #ifdef DIG_SIGCHASE
15   #include <dns/dnssec.h>   #include <dns/callbacks.h>
16  @@ -153,6 +158,14 @@ static void                idn_check_result(idn_result  @@ -157,6 +162,14 @@ static void                idn_check_result(idn_result
17   int  idnoptions        = 0;   int  idnoptions        = 0;
18   #endif   #endif
19    
# Line 28  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 28  diff -up bind-9.7.0b1/bin/dig/dighost.c.
28   /*%   /*%
29    * Exit Codes:    * Exit Codes:
30    *    *
31  @@ -1184,6 +1197,9 @@ setup_system(void) {  @@ -1199,6 +1212,9 @@ setup_system(void) {
32          dig_searchlist_t *domain = NULL;          dig_searchlist_t *domain = NULL;
33          lwres_result_t lwresult;          lwres_result_t lwresult;
34          unsigned int lwresflags;          unsigned int lwresflags;
# Line 38  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 38  diff -up bind-9.7.0b1/bin/dig/dighost.c.
38    
39          debug("setup_system()");          debug("setup_system()");
40    
41  @@ -1242,8 +1258,15 @@ setup_system(void) {  @@ -1257,8 +1273,15 @@ setup_system(void) {
42    
43   #ifdef WITH_IDN   #ifdef WITH_IDN
44          initialize_idn();          initialize_idn();
# Line 55  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 55  diff -up bind-9.7.0b1/bin/dig/dighost.c.
55          if (keyfile[0] != 0)          if (keyfile[0] != 0)
56                  setup_file_key();                  setup_file_key();
57          else if (keysecret[0] != 0)          else if (keysecret[0] != 0)
58  @@ -1957,12 +1980,18 @@ setup_lookup(dig_lookup_t *lookup) {  @@ -1999,12 +2022,18 @@ setup_lookup(dig_lookup_t *lookup) {
59          idn_result_t mr;          idn_result_t mr;
60          char utf8_textname[MXNAME], utf8_origin[MXNAME], idn_textname[MXNAME];          char utf8_textname[MXNAME], utf8_origin[MXNAME], idn_textname[MXNAME];
61   #endif   #endif
# Line 75  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 75  diff -up bind-9.7.0b1/bin/dig/dighost.c.
75          REQUIRE(lookup != NULL);          REQUIRE(lookup != NULL);
76          INSIST(!free_now);          INSIST(!free_now);
77    
78  @@ -1999,6 +2028,16 @@ setup_lookup(dig_lookup_t *lookup) {  @@ -2041,6 +2070,16 @@ setup_lookup(dig_lookup_t *lookup) {
79          mr = idn_encodename(IDN_LOCALCONV | IDN_DELIMMAP, lookup->textname,          mr = idn_encodename(IDN_LOCALCONV | IDN_DELIMMAP, lookup->textname,
80                              utf8_textname, sizeof(utf8_textname));                              utf8_textname, sizeof(utf8_textname));
81          idn_check_result(mr, "convert textname to UTF-8");          idn_check_result(mr, "convert textname to UTF-8");
# Line 92  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 92  diff -up bind-9.7.0b1/bin/dig/dighost.c.
92   #endif   #endif
93    
94          /*          /*
95  @@ -2018,6 +2057,15 @@ setup_lookup(dig_lookup_t *lookup) {  @@ -2060,6 +2099,15 @@ setup_lookup(dig_lookup_t *lookup) {
96                          lookup->origin = ISC_LIST_HEAD(search_list);                          lookup->origin = ISC_LIST_HEAD(search_list);
97                          lookup->need_search = ISC_FALSE;                          lookup->need_search = ISC_FALSE;
98                  }                  }
# Line 108  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 108  diff -up bind-9.7.0b1/bin/dig/dighost.c.
108   #else   #else
109                  if ((count_dots(lookup->textname) >= ndots) || !usesearch) {                  if ((count_dots(lookup->textname) >= ndots) || !usesearch) {
110                          lookup->origin = NULL; /* Force abs lookup */                          lookup->origin = NULL; /* Force abs lookup */
111  @@ -2044,6 +2092,20 @@ setup_lookup(dig_lookup_t *lookup) {  @@ -2086,6 +2134,20 @@ setup_lookup(dig_lookup_t *lookup) {
112                              IDN_IDNCONV | IDN_LENCHECK, utf8_textname,                              IDN_IDNCONV | IDN_LENCHECK, utf8_textname,
113                              idn_textname, sizeof(idn_textname));                              idn_textname, sizeof(idn_textname));
114          idn_check_result(mr, "convert UTF-8 textname to IDN encoding");          idn_check_result(mr, "convert UTF-8 textname to IDN encoding");
# Line 129  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 129  diff -up bind-9.7.0b1/bin/dig/dighost.c.
129   #else   #else
130          if (lookup->origin != NULL) {          if (lookup->origin != NULL) {
131                  debug("trying origin %s", lookup->origin->origin);                  debug("trying origin %s", lookup->origin->origin);
132  @@ -2099,6 +2161,13 @@ setup_lookup(dig_lookup_t *lookup) {  @@ -2141,6 +2203,13 @@ setup_lookup(dig_lookup_t *lookup) {
133                          result = dns_name_fromtext(lookup->name, &b,                          result = dns_name_fromtext(lookup->name, &b,
134                                                     dns_rootname, 0,                                                     dns_rootname, 0,
135                                                     &lookup->namebuf);                                                     &lookup->namebuf);
# Line 143  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 143  diff -up bind-9.7.0b1/bin/dig/dighost.c.
143   #else   #else
144                          len = strlen(lookup->textname);                          len = strlen(lookup->textname);
145                          isc_buffer_init(&b, lookup->textname, len);                          isc_buffer_init(&b, lookup->textname, len);
146  @@ -3617,7 +3686,7 @@ destroy_libs(void) {  @@ -3703,7 +3772,7 @@ destroy_libs(void) {
147          void * ptr;          void * ptr;
148          dig_message_t *chase_msg;          dig_message_t *chase_msg;
149   #endif   #endif
# Line 152  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 152  diff -up bind-9.7.0b1/bin/dig/dighost.c.
152          isc_result_t result;          isc_result_t result;
153   #endif   #endif
154    
155  @@ -3656,6 +3725,10 @@ destroy_libs(void) {  @@ -3742,6 +3811,10 @@ destroy_libs(void) {
156          result = dns_name_settotextfilter(NULL);          result = dns_name_settotextfilter(NULL);
157          check_result(result, "dns_name_settotextfilter");          check_result(result, "dns_name_settotextfilter");
158   #endif   #endif
# Line 163  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 163  diff -up bind-9.7.0b1/bin/dig/dighost.c.
163          dns_name_destroy();          dns_name_destroy();
164    
165          if (commctx != NULL) {          if (commctx != NULL) {
166  @@ -3834,6 +3907,79 @@ idn_check_result(idn_result_t r, const c  @@ -3920,6 +3993,79 @@ idn_check_result(idn_result_t r, const c
167          }          }
168   }   }
169   #endif /* WITH_IDN */   #endif /* WITH_IDN */
# Line 243  diff -up bind-9.7.0b1/bin/dig/dighost.c. Line 243  diff -up bind-9.7.0b1/bin/dig/dighost.c.
243    
244   #ifdef DIG_SIGCHASE   #ifdef DIG_SIGCHASE
245   void   void
246  diff -up bind-9.7.0b1/bin/dig/Makefile.in.libidn bind-9.7.0b1/bin/dig/Makefile.in  diff -Naurp bind-9.9.4/bin/dig/Makefile.in bind-9.9.4.oden/bin/dig/Makefile.in
247  --- bind-9.7.0b1/bin/dig/Makefile.in.libidn     2009-09-22 10:47:55.000000000 +0200  --- bind-9.9.4/bin/dig/Makefile.in      2013-09-05 05:09:08.000000000 +0000
248  +++ bind-9.7.0b1/bin/dig/Makefile.in    2009-10-20 10:50:06.201543709 +0200  +++ bind-9.9.4.oden/bin/dig/Makefile.in 2013-09-20 06:22:19.000000000 +0000
249  @@ -46,10 +46,10 @@ DEPLIBS =   ${DNSDEPLIBS} ${BIND9DEPLIBS}  @@ -48,10 +48,10 @@ DEPLIBS =   ${DNSDEPLIBS} ${BIND9DEPLIBS}
250                  ${LWRESDEPLIBS}                  ${LWRESDEPLIBS}
251    
252   LIBS =         ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \   LIBS =         ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
# Line 259  diff -up bind-9.7.0b1/bin/dig/Makefile.i Line 259  diff -up bind-9.7.0b1/bin/dig/Makefile.i
259    
260   SUBDIRS =   SUBDIRS =
261    
262  @@ -67,6 +67,8 @@ HTMLPAGES =   dig.html host.html nslookup.  @@ -69,6 +69,8 @@ HTMLPAGES =   dig.html host.html nslookup.
263    
264   MANOBJS =      ${MANPAGES} ${HTMLPAGES}   MANOBJS =      ${MANPAGES} ${HTMLPAGES}
265    

Legend:
Removed from v.481650  
changed lines
  Added in v.481651

  ViewVC Help
Powered by ViewVC 1.1.30