pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/howl Update howl to 0.9.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a6a649aa133
branches:  trunk
changeset: 483860:7a6a649aa133
user:      mjl <mjl%pkgsrc.org@localhost>
date:      Sat Nov 20 14:43:32 2004 +0000

description:
Update howl to 0.9.7

- FIX: network interface index was not being initialized correctly on non-Linux platforms
- FIX: sw_mdns_stub_init() was not initializing m_pending_ops
- FIX: autoipd was not handling return code from fcntl correctly
- FIX: portability patches from GNOME team
- integration of patches necessary to build and run on Solaris
- Separate Apple code into separate mDNSResponder library.
- Add sw_discovery_query_record() to discovery API to query individual resource records
- Support for discovery operations on specific network interfaces
- Support for 64 bit Linux
- FIX: client side memory leak when cancelling discovery operations
- FIX: FreeBSD mDNSResponder didn't work with -a switch
- FIX: mDNSResponder would occasionally crash  when waking from sleep on Windows
- FIX: mDNSResponder code for parsing config files had buffer overflow

diffstat:

 net/howl/Makefile         |   6 +++---
 net/howl/PLIST            |  12 ++++--------
 net/howl/distinfo         |  11 ++++-------
 net/howl/patches/patch-aa |  40 ++++++++++++++++++++++++----------------
 net/howl/patches/patch-ab |  42 ------------------------------------------
 net/howl/patches/patch-ac |  28 ----------------------------
 net/howl/patches/patch-ad |  25 -------------------------
 7 files changed, 35 insertions(+), 129 deletions(-)

diffs (221 lines):

diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/Makefile
--- a/net/howl/Makefile Sat Nov 20 13:26:39 2004 +0000
+++ b/net/howl/Makefile Sat Nov 20 14:43:32 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:17:53 tv Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/20 14:43:32 mjl Exp $
 
-DISTNAME=              howl-0.9.5
-PKGREVISION=           1
+DISTNAME=              howl-0.9.7
+# PKGREVISION=         1
 CATEGORIES=            net
 MASTER_SITES=          http://www.porchdogsoft.com/download/
 
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/PLIST
--- a/net/howl/PLIST    Sat Nov 20 13:26:39 2004 +0000
+++ b/net/howl/PLIST    Sat Nov 20 14:43:32 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:47 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/11/20 14:43:32 mjl Exp $
 bin/mDNSBrowse
 bin/mDNSPublish
 bin/mDNSResponder
@@ -11,21 +11,17 @@
 include/howl/discovery/discovery.h
 include/howl/discovery/text_record.h
 include/howl/howl.h
-include/howl/howl_dll.h
+include/howl/howl_config.h
 include/howl/rendezvous/rendezvous.h
 include/howl/rendezvous/text_record.h
 include/howl/salt/address.h
-include/howl/salt/assert.h
+include/howl/salt/debug.h
 include/howl/salt/interface.h
-include/howl/salt/log.h
+include/howl/salt/platform.h
 include/howl/salt/salt.h
 include/howl/salt/signal.h
 include/howl/salt/socket.h
 include/howl/salt/time.h
-include/howl/salt/verrno.h
-include/howl/salt/vstdlib.h
-include/howl/salt/vstring.h
-include/howl/salt/vtypes.h
 lib/libhowl.la
 lib/pkgconfig/howl.pc
 man/man8/mDNSResponder.8
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/distinfo
--- a/net/howl/distinfo Sat Nov 20 13:26:39 2004 +0000
+++ b/net/howl/distinfo Sat Nov 20 14:43:32 2004 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/06/10 10:20:28 lha Exp $
+$NetBSD: distinfo,v 1.3 2004/11/20 14:43:32 mjl Exp $
 
-SHA1 (howl-0.9.5.tar.gz) = b8d77c4f7643cbf06c61ccd9de0abb8787489d03
-Size (howl-0.9.5.tar.gz) = 552178 bytes
-SHA1 (patch-aa) = 05333a1cc99f2cb0b3fc7f15debca0d7805837fb
-SHA1 (patch-ab) = 59e6d15b8b9e1e8bb6b45a8dc7f656b0a790a5d9
-SHA1 (patch-ac) = 325138c5d2b4e48ef7a1a80afd1adc864825fb50
-SHA1 (patch-ad) = 9c3992b4254cdee83ec298aa356eeea398f6aaed
+SHA1 (howl-0.9.7.tar.gz) = 890d4e69282cfe10796f477003e93c113da46fb8
+Size (howl-0.9.7.tar.gz) = 539899 bytes
+SHA1 (patch-aa) = d3921cd6d4634e49660c53ea1f1c3927ae900c58
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/patches/patch-aa
--- a/net/howl/patches/patch-aa Sat Nov 20 13:26:39 2004 +0000
+++ b/net/howl/patches/patch-aa Sat Nov 20 14:43:32 2004 +0000
@@ -1,22 +1,30 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/20 14:43:32 mjl Exp $
 
---- src/lib/howl/socket.c.orig 2004-02-18 13:05:46.000000000 -0500
-+++ src/lib/howl/socket.c      2004-06-04 18:22:49.000000000 -0400
-@@ -363,7 +363,7 @@
+--- src/lib/howl/socket.c.orig 2004-11-20 14:57:33.000000000 +0100
++++ src/lib/howl/socket.c      2004-11-20 14:57:38.000000000 +0100
+@@ -261,7 +261,7 @@
+       err = sw_translate_error(self->m_desc != SW_INVALID_SOCKET, sw_socket_errno());
+       sw_check_okay_log(err, exit);
+ 
+-#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__)
++#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__) || defined(__NetBSD__)
+    res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt));
  #else
-       sw_ulong                                                real_ttl                                = ttl;
+       res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEADDR, (char*) &opt, sizeof(opt));
+@@ -375,6 +375,7 @@
  #endif
--
-+      sw_uchar                                                mttl                                    = (sw_uchar) ttl;
+       int                                                     res;
+       sw_result                                       err;
++      sw_uchar                                                mttl                                    = (sw_uchar) ttl;
+ 
     /*
        initialize the group membership
-    */
-@@ -422,7 +422,7 @@
-               return sw_system_error();
-       }
+@@ -425,7 +426,7 @@
+       err = sw_translate_error(res == 0, sw_socket_errno());
+       sw_check_okay_log(err, exit);
  
--      if (setsockopt(self->m_fd, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &real_ttl, sizeof(real_ttl)) == -1)
-+      if (setsockopt(self->m_fd, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &mttl, sizeof(mttl)) == -1)
-       {
-       sw_log(SW_LOG_ERROR, "sw_socket_join_multicast_group", "setsockopt(IP_MULTICAST_TTL) failed: %d\n", sw_socket_error_code());
-       return sw_system_error();
+-      res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &real_ttl, sizeof(real_ttl));
++      res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &mttl, sizeof(mttl));
+       err = sw_translate_error(res == 0, sw_socket_errno());
+       sw_check_okay_log(err, exit);
+ 
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/patches/patch-ab
--- a/net/howl/patches/patch-ab Sat Nov 20 13:26:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
-
---- include/salt/vtypes.h.orig 2004-04-17 17:51:40.000000000 -0400
-+++ include/salt/vtypes.h      2004-06-04 18:14:53.000000000 -0400
-@@ -55,8 +55,13 @@
- typedef unsigned char         sw_uchar;                               
- typedef short                                 sw_short;
- typedef unsigned short                sw_ushort;
-+#if defined(_LP64) || defined (__LP64__)
-+typedef int                                   sw_long;
-+typedef unsigned int          sw_ulong;
-+#else
- typedef long                                  sw_long;
- typedef unsigned long         sw_ulong;
-+#endif
- typedef unsigned char *       sw_octets;
- typedef char                          *       sw_string;
- #if !defined(__VXWORKS__) || defined(__cplusplus)
-@@ -137,7 +142,7 @@
- #             error "CPU unknown"
- #     endif
- 
--#elif defined(__FreeBSD__) || defined(__NetBSD__)
-+#elif defined(__FreeBSD__)
- 
- #     if defined(i386)
- #             define SW_ENDIAN                1
-@@ -149,6 +154,14 @@
- 
- #             define SW_ENDIAN                0
- 
-+#elif defined(__NetBSD__)
-+
-+#     if BYTE_ORDER == LITTLE_ENDIAN
-+#             define SW_ENDIAN                1
-+#     else
-+#             define SW_ENDIAN                0
-+#     endif
-+
- #else
- 
- #error        "CPU unknown"
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/patches/patch-ac
--- a/net/howl/patches/patch-ac Sat Nov 20 13:26:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
-
---- src/lib/howl/NotOSX/DNSServices.h.orig     2004-06-04 16:21:47.000000000 -0400
-+++ src/lib/howl/NotOSX/DNSServices.h  2004-06-04 16:23:20.000000000 -0400
-@@ -244,7 +244,11 @@
-       @abstract       32-bit unsigned data type.
- */
- 
-+#if defined(_LP64) || defined (__LP64__)
-+typedef unsigned int          DNSUInt32;
-+#else
- typedef unsigned long         DNSUInt32;
-+#endif
- 
- dns_check_compile_time( sizeof( DNSUInt32 ) == 4 );
- 
-@@ -254,7 +258,11 @@
-       @abstract       32-bit signed data type.
- */
- 
-+#if defined(_LP64) || defined (__LP64__)
-+typedef signed int            DNSSInt32;
-+#else
- typedef signed long           DNSSInt32;
-+#endif
- 
- dns_check_compile_time( sizeof( DNSSInt32 ) == 4 );
- 
diff -r 1133ad3ed62e -r 7a6a649aa133 net/howl/patches/patch-ad
--- a/net/howl/patches/patch-ad Sat Nov 20 13:26:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-       $NetBSD: patch-ad,v 1.1 2004/06/10 10:20:28 lha Exp $
-
-NetBSD needs SO_REUSEPORT not SO_REUSEADDR, should use "int" not
-"long" otherwise it wont work on big-endian machines.
-
---- src/lib/howl/socket.c      2004-06-09 20:10:51.000000000 +0200
-+++ src/lib/howl/socket.c.new  2004-06-09 20:10:59.000000000 +0200
-@@ -242,7 +242,7 @@
- sw_multicast_socket_super_init(
-                sw_socket      self)
- {
--      sw_ulong        opt = 1;
-+      int     opt = 1;
-    
-    SW_TRY(sw_socket_init(self, SW_FALSE, &sw_socket_udp_connect, &sw_socket_udp_send, &sw_socket_udp_sendto, &sw_socket_udp_recv, &sw_socket_udp_recvfrom, &sw_socket_udp_close));
- 
-@@ -252,7 +252,7 @@
-               return SW_E_FAIL;
-    }
- 
--#if defined(__APPLE__) || defined(__VXWORKS__)
-+#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__NetBSD__)
-    if (setsockopt(self->m_fd, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt)) == -1)
- #else
-       if (setsockopt(self->m_fd, SOL_SOCKET, SO_REUSEADDR, (char*) &opt, sizeof(opt)) == -1)



Home | Main Index | Thread Index | Old Index