pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/mDNSResponder-nss Update to mDNSResponder-214.3.2 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa1a54fc8533
branches:  trunk
changeset: 577790:aa1a54fc8533
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Tue Jul 20 07:24:10 2010 +0000

description:
Update to mDNSResponder-214.3.2 source
Changes unknown.

diffstat:

 net/mDNSResponder-nss/Makefile         |   7 +--
 net/mDNSResponder-nss/distinfo         |  10 ++--
 net/mDNSResponder-nss/patches/patch-aa |  61 ++++++++++++++-------------------
 3 files changed, 34 insertions(+), 44 deletions(-)

diffs (271 lines):

diff -r 99c558639808 -r aa1a54fc8533 net/mDNSResponder-nss/Makefile
--- a/net/mDNSResponder-nss/Makefile    Tue Jul 20 06:47:37 2010 +0000
+++ b/net/mDNSResponder-nss/Makefile    Tue Jul 20 07:24:10 2010 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2010/07/14 11:11:28 sbd Exp $
+# $NetBSD: Makefile,v 1.9 2010/07/20 07:24:10 sbd Exp $
 
-DISTNAME=      mDNSResponder-108
-PKGNAME=       mDNSResponder-nss-108
-PKGREVISION=   2
+DISTNAME=      mDNSResponder-214.3.2
+PKGNAME=       mDNSResponder-nss-214.3.2
 CATEGORIES=    net
 MASTER_SITES=  http://www.opensource.apple.com/tarballs/mDNSResponder/
 
diff -r 99c558639808 -r aa1a54fc8533 net/mDNSResponder-nss/distinfo
--- a/net/mDNSResponder-nss/distinfo    Tue Jul 20 06:47:37 2010 +0000
+++ b/net/mDNSResponder-nss/distinfo    Tue Jul 20 07:24:10 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/07/10 17:35:30 drochner Exp $
+$NetBSD: distinfo,v 1.2 2010/07/20 07:24:10 sbd Exp $
 
-SHA1 (mDNSResponder-108.tar.gz) = d51509077be75ec8ba49c805fef701c3370428fc
-RMD160 (mDNSResponder-108.tar.gz) = 3a1961f3267bcf009b52c8d8ce234ee6045aeed2
-Size (mDNSResponder-108.tar.gz) = 1362840 bytes
-SHA1 (patch-aa) = 17dc96e6671c974df086d1cb9143163b22309fd7
+SHA1 (mDNSResponder-214.3.2.tar.gz) = bd59e0e3008ba797a30360dd8e59beb7152d9872
+RMD160 (mDNSResponder-214.3.2.tar.gz) = f9670f661083dae5529422b19655ba9c473960c7
+Size (mDNSResponder-214.3.2.tar.gz) = 1633510 bytes
+SHA1 (patch-aa) = e8e0f41dd5793cc431f56866e8b44a3c9f3c207a
diff -r 99c558639808 -r aa1a54fc8533 net/mDNSResponder-nss/patches/patch-aa
--- a/net/mDNSResponder-nss/patches/patch-aa    Tue Jul 20 06:47:37 2010 +0000
+++ b/net/mDNSResponder-nss/patches/patch-aa    Tue Jul 20 07:24:10 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/07/10 17:35:30 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2010/07/20 07:24:10 sbd Exp $
 
---- mDNSPosix/nss_mdns.c.orig  2006-07-10 13:43:18.000000000 +0200
+--- mDNSPosix/nss_mdns.c.orig  2008-11-04 20:06:20.000000000 +0000
 +++ mDNSPosix/nss_mdns.c
 @@ -96,7 +96,7 @@ b. in the case of services:
  /*
@@ -166,7 +166,7 @@
        // For nss_status
  #include <netdb.h>
        // For hostent
-@@ -600,7 +604,7 @@ mdns_lookup_callback_t
+@@ -584,7 +588,7 @@ mdns_lookup_callback_t
        void                            *context
  );
  
@@ -175,7 +175,7 @@
  
  
  static int
-@@ -1070,7 +1074,7 @@ handle_events (DNSServiceRef sdref, resu
+@@ -1054,7 +1058,7 @@ handle_events (DNSServiceRef sdref, resu
        Examine incoming data and add to relevant fields in result structure.
        This routine is called from DNSServiceProcessResult where appropriate.
   */
@@ -184,7 +184,7 @@
  mdns_lookup_callback
  (
        DNSServiceRef           sdref,
-@@ -1700,14 +1704,14 @@ is_applicable_addr (
+@@ -1684,14 +1688,14 @@ is_applicable_addr (
  //----------
  // Types and Constants
  
@@ -203,7 +203,7 @@
        {
                "local",
                "254.169.in-addr.arpa",
-@@ -1731,7 +1735,7 @@ typedef struct
+@@ -1721,7 +1725,7 @@ typedef struct
        domain_entry_t * domains;
  } config_t;
  
@@ -212,7 +212,7 @@
        {
                NULL
        };
-@@ -1780,7 +1784,7 @@ contains_domain_suffix (const config_t *
+@@ -1770,7 +1774,7 @@ contains_domain_suffix (const config_t *
  static config_t * g_config = NULL;
        // Configuration info
  
@@ -221,7 +221,7 @@
  #ifdef PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
        PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP;
  #else
-@@ -1799,7 +1803,7 @@ pthread_mutex_t g_config_mutex =
+@@ -1789,7 +1793,7 @@ pthread_mutex_t g_config_mutex =
                0 success
                non-zero error code on failure
   */
@@ -230,7 +230,7 @@
  init_config ()
  {
        if (g_config)
-@@ -1872,7 +1876,7 @@ init_config ()
+@@ -1862,7 +1866,7 @@ init_config ()
  }
  
  
@@ -239,7 +239,7 @@
  config_is_mdns_suffix (const char * name)
  {
        int errcode = init_config ();
-@@ -2025,7 +2029,7 @@ get_next_word (char * input, char **next
+@@ -2018,7 +2022,7 @@ get_next_word (char * input, char **next
        char * curr = input;
        char * result;
        
@@ -248,7 +248,7 @@
        {
                curr ++;
        }
-@@ -2036,7 +2040,7 @@ get_next_word (char * input, char **next
+@@ -2029,7 +2033,7 @@ get_next_word (char * input, char **next
        }
        
        result = curr;
@@ -257,7 +257,7 @@
        {
                curr++;
        }
-@@ -2254,7 +2258,7 @@ table_index_value (const table_entry_t t
+@@ -2247,7 +2251,7 @@ table_index_value (const table_entry_t t
  //----------
  // Util functions
  
@@ -266,7 +266,7 @@
  count_dots (const char * name)
  {
        int count = 0;
-@@ -2269,14 +2273,14 @@ count_dots (const char * name)
+@@ -2262,14 +2266,14 @@ count_dots (const char * name)
  }
  
  
@@ -283,7 +283,7 @@
  rr_to_af (ns_type_t rrtype)
  {
        switch (rrtype)
-@@ -2293,7 +2297,7 @@ rr_to_af (ns_type_t rrtype)
+@@ -2286,7 +2290,7 @@ rr_to_af (ns_type_t rrtype)
  }
  
  
@@ -292,7 +292,7 @@
  af_to_rr (int af)
  {
        switch (af)
-@@ -2311,7 +2315,7 @@ af_to_rr (int af)
+@@ -2304,7 +2308,7 @@ af_to_rr (int af)
  }
  
  
@@ -301,7 +301,7 @@
  str_to_af (const char * str)
  {
        int result =
-@@ -2323,7 +2327,7 @@ str_to_af (const char * str)
+@@ -2316,7 +2320,7 @@ str_to_af (const char * str)
  }
  
  
@@ -310,7 +310,7 @@
  str_to_ns_class (const char * str)
  {
        return (ns_class_t)
-@@ -2331,7 +2335,7 @@ str_to_ns_class (const char * str)
+@@ -2324,7 +2328,7 @@ str_to_ns_class (const char * str)
  }
  
  
@@ -319,7 +319,7 @@
  str_to_ns_type (const char * str)
  {
        return (ns_type_t)
-@@ -2339,7 +2343,7 @@ str_to_ns_type (const char * str)
+@@ -2332,7 +2336,7 @@ str_to_ns_type (const char * str)
  }
  
  
@@ -328,7 +328,7 @@
  af_to_str (int in)
  {
        int result =
-@@ -2351,7 +2355,7 @@ af_to_str (int in)
+@@ -2344,7 +2348,7 @@ af_to_str (int in)
  }
  
  
@@ -337,7 +337,7 @@
  ns_class_to_str (ns_class_t in)
  {
        if (in < k_table_ns_class_size)
-@@ -2361,7 +2365,7 @@ ns_class_to_str (ns_class_t in)
+@@ -2354,7 +2358,7 @@ ns_class_to_str (ns_class_t in)
  }
  
  
@@ -346,7 +346,7 @@
  ns_type_to_str (ns_type_t in)
  {
        if (in < k_table_ns_type_size)
-@@ -2371,7 +2375,7 @@ ns_type_to_str (ns_type_t in)
+@@ -2364,7 +2368,7 @@ ns_type_to_str (ns_type_t in)
  }
  
  
@@ -355,7 +355,7 @@
  format_reverse_addr_in (
        const struct in_addr * addr,
        int prefixlen,
-@@ -2402,7 +2406,7 @@ format_reverse_addr_in (
+@@ -2395,7 +2399,7 @@ format_reverse_addr_in (
  }
  
  
@@ -364,7 +364,7 @@
  format_reverse_addr_in6 (
        const struct in6_addr * addr,
        int prefixlen,
-@@ -2444,7 +2448,7 @@ format_reverse_addr_in6 (
+@@ -2437,7 +2441,7 @@ format_reverse_addr_in6 (
  }
  
  
@@ -373,7 +373,7 @@
  format_reverse_addr (
        int af,
        const void * addr,
-@@ -2474,7 +2478,7 @@ format_reverse_addr (
+@@ -2467,7 +2471,7 @@ format_reverse_addr (
  }
  
  
@@ -382,7 +382,7 @@
  cmp_dns_suffix (const char * name, const char * domain)
  {
        const char * nametail;
-@@ -2534,7 +2538,7 @@ cmp_dns_suffix (const char * name, const
+@@ -2527,7 +2531,7 @@ cmp_dns_suffix (const char * name, const
        while (
                nametail >= name
                && domaintail >= domain
@@ -391,7 +391,7 @@
        {
                nametail--;
                domaintail--;
-@@ -2565,7 +2569,7 @@ cmp_dns_suffix (const char * name, const
+@@ -2558,7 +2562,7 @@ cmp_dns_suffix (const char * name, const
  }
  
  
@@ -400,12 +400,3 @@
  dns_rdata_to_name (const char * rdata, int rdlen, char * name, int name_len)
  {
        int i = 0;
-@@ -2573,7 +2577,7 @@ dns_rdata_to_name (const char * rdata, i
-       const char * rdata_curr = rdata;
-       
-       // drop any leading whitespace rubbish
--      while (isspace (*rdata_curr))
-+      while (isspace ((unsigned)*rdata_curr))
-       {
-               rdata_curr ++;
-               if (rdata_curr > rdata + rdlen)



Home | Main Index | Thread Index | Old Index