summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2004-11-20 14:43:32 +0000
committermjl <mjl@pkgsrc.org>2004-11-20 14:43:32 +0000
commitb7adfd544b9fdf9f942a35812b1df244e5b2d040 (patch)
tree9445eb34be5f098d1071663a17586da375352fe0 /net
parent10d44c56a9c80c1c3734073dac57fc08c32862e5 (diff)
downloadpkgsrc-b7adfd544b9fdf9f942a35812b1df244e5b2d040.tar.gz
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 (limited to 'net')
-rw-r--r--net/howl/Makefile6
-rw-r--r--net/howl/PLIST12
-rw-r--r--net/howl/distinfo11
-rw-r--r--net/howl/patches/patch-aa40
-rw-r--r--net/howl/patches/patch-ab42
-rw-r--r--net/howl/patches/patch-ac28
-rw-r--r--net/howl/patches/patch-ad25
7 files changed, 35 insertions, 129 deletions
diff --git a/net/howl/Makefile b/net/howl/Makefile
index 22ae9a1b341..77527680d5e 100644
--- a/net/howl/Makefile
+++ b/net/howl/Makefile
@@ -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 --git a/net/howl/PLIST b/net/howl/PLIST
index 7b5de55fd4a..be64a98ae5b 100644
--- a/net/howl/PLIST
+++ b/net/howl/PLIST
@@ -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/corby/orb.h
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 --git a/net/howl/distinfo b/net/howl/distinfo
index 461743b6350..54832354d89 100644
--- a/net/howl/distinfo
+++ b/net/howl/distinfo
@@ -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 --git a/net/howl/patches/patch-aa b/net/howl/patches/patch-aa
index 7b76b32d355..fefbf802254 100644
--- a/net/howl/patches/patch-aa
+++ b/net/howl/patches/patch-aa
@@ -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);
+
+- 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);
-- 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();
diff --git a/net/howl/patches/patch-ab b/net/howl/patches/patch-ab
deleted file mode 100644
index f65f0b6668c..00000000000
--- a/net/howl/patches/patch-ab
+++ /dev/null
@@ -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 --git a/net/howl/patches/patch-ac b/net/howl/patches/patch-ac
deleted file mode 100644
index 9bd26d841cf..00000000000
--- a/net/howl/patches/patch-ac
+++ /dev/null
@@ -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 --git a/net/howl/patches/patch-ad b/net/howl/patches/patch-ad
deleted file mode 100644
index 2bb381ba355..00000000000
--- a/net/howl/patches/patch-ad
+++ /dev/null
@@ -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)