pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/partysip use the BIND4 (?) nameserver interface ra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8fbe97dd49bb
branches:  trunk
changeset: 499255:8fbe97dd49bb
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Sep 16 15:24:23 2005 +0000

description:
use the BIND4 (?) nameserver interface rather than the new one;
the former is still provided through nameser_compat.h while the
latter is not available on older NetBSDs
should fix build error seen in the 2.0.2 bulk build

diffstat:

 net/partysip/distinfo         |   4 ++--
 net/partysip/patches/patch-aa |  43 ++++++++++++++++++++++++++++++++++---------
 2 files changed, 36 insertions(+), 11 deletions(-)

diffs (111 lines):

diff -r fe0403488ae0 -r 8fbe97dd49bb net/partysip/distinfo
--- a/net/partysip/distinfo     Fri Sep 16 14:46:42 2005 +0000
+++ b/net/partysip/distinfo     Fri Sep 16 15:24:23 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/08/11 18:19:14 drochner Exp $
+$NetBSD: distinfo,v 1.3 2005/09/16 15:24:23 drochner Exp $
 
 SHA1 (partysip-2.2.3.tar.gz) = 140e8fc1dc7df52e8f409babebbaf4fcabe213aa
 RMD160 (partysip-2.2.3.tar.gz) = 31f24803488a86b00711c924f4327564e960e3b2
 Size (partysip-2.2.3.tar.gz) = 568193 bytes
-SHA1 (patch-aa) = 333762c23022dd65c7f7b2b38d907cd69e44d595
+SHA1 (patch-aa) = 2c8bd0c9f782e066d6d4433ade4cb5161a237a4f
 SHA1 (patch-ab) = d661caf4c229ba51ec98439ca089dc26e3cdb6e6
diff -r fe0403488ae0 -r 8fbe97dd49bb net/partysip/patches/patch-aa
--- a/net/partysip/patches/patch-aa     Fri Sep 16 14:46:42 2005 +0000
+++ b/net/partysip/patches/patch-aa     Fri Sep 16 15:24:23 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2005/09/16 15:24:23 drochner Exp $
 
---- ppl/unix/ppldnsv6.c.orig   2005-04-01 19:42:57.000000000 +0200
+--- ppl/unix/ppldnsv6.c.orig   2005-01-26 17:58:44.000000000 +0100
 +++ ppl/unix/ppldnsv6.c
-@@ -314,7 +314,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+@@ -314,41 +314,41 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
        cp += n;
  
  
@@ -11,7 +11,10 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        type = _get_short (cp);
        cp += sizeof (u_short);
-@@ -324,7 +324,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(type, cp);
+ #else
        NS_GET16 (type, cp);
  #endif
  
@@ -20,7 +23,10 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        aclass = _get_short (cp);
        cp += sizeof (u_short);
-@@ -334,7 +334,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(aclass, cp);
+ #else
        NS_GET16 (aclass, cp);
  #endif
  
@@ -29,7 +35,10 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        ttl = _get_long (cp);
        cp += sizeof (u_long);
-@@ -344,7 +344,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETLONG(ttl, cp);
+ #else
        NS_GET32 (ttl, cp);
  #endif
  
@@ -38,7 +47,12 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        dlen = _get_short (cp);
        cp += sizeof (u_short);
-@@ -359,7 +359,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(dlen, cp);
+ #else
+       NS_GET16 (dlen, cp);
+@@ -359,31 +359,31 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
          cp += dlen;
          continue;
        }
@@ -47,7 +61,10 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        pref = _get_short (cp);
        cp += sizeof (u_short);
-@@ -369,7 +369,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(pref, cp);
+ #else
        NS_GET16 (pref, cp);
  #endif
  
@@ -56,7 +73,10 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        weight = _get_short (cp);
        cp += sizeof (u_short);
-@@ -379,7 +379,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(weight, cp);
+ #else
        NS_GET16 (weight, cp);
  #endif
  
@@ -65,3 +85,8 @@
      defined(OLD_NAMESER) || defined(__FreeBSD__)
        port = _get_short (cp);
        cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+       GETSHORT(port, cp);
+ #else
+       NS_GET16 (port, cp);



Home | Main Index | Thread Index | Old Index