summaryrefslogtreecommitdiff
path: root/net/howl
diff options
context:
space:
mode:
authornathanw <nathanw>2004-06-05 19:03:12 +0000
committernathanw <nathanw>2004-06-05 19:03:12 +0000
commit7baaf107b0d8022054590b85fe9e28fad5e31a4c (patch)
tree476b53b7227952265b8a7f1ac8dbda42a411c1de /net/howl
parentd3a6ca3f268e7f411ff31c06a11f7e6b36d500c1 (diff)
downloadpkgsrc-7baaf107b0d8022054590b85fe9e28fad5e31a4c.tar.gz
Initial import of Howl 0.9.5.
Howl is a cross-platform implementation of the Zeroconf networking standard. Branded as Rendezvous tm by Apple Computer, Inc., Zeroconf standardizes networking protocols for delivering hassle-free ad-hoc networking, service discovery, and IP configuration. Howl version 0.6 contains both runtime components, which deliver the Zeroconf/Rendezvous functionality, and an SDK for embedding Zeroconf/Rendezvous functionality in your applications.
Diffstat (limited to 'net/howl')
-rw-r--r--net/howl/DESCR8
-rw-r--r--net/howl/Makefile16
-rw-r--r--net/howl/PLIST56
-rw-r--r--net/howl/buildlink3.mk18
-rw-r--r--net/howl/distinfo7
-rw-r--r--net/howl/patches/patch-aa22
-rw-r--r--net/howl/patches/patch-ab42
-rw-r--r--net/howl/patches/patch-ac28
8 files changed, 197 insertions, 0 deletions
diff --git a/net/howl/DESCR b/net/howl/DESCR
new file mode 100644
index 00000000000..36b50275291
--- /dev/null
+++ b/net/howl/DESCR
@@ -0,0 +1,8 @@
+Howl is a cross-platform implementation of the Zeroconf networking standard.
+Branded as Rendezvous tm by Apple Computer, Inc., Zeroconf standardizes
+networking protocols for delivering hassle-free ad-hoc networking, service
+discovery, and IP configuration.
+
+Howl version 0.6 contains both runtime components, which deliver the
+Zeroconf/Rendezvous functionality, and an SDK for embedding Zeroconf/Rendezvous
+functionality in your applications.
diff --git a/net/howl/Makefile b/net/howl/Makefile
new file mode 100644
index 00000000000..0c272de721b
--- /dev/null
+++ b/net/howl/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
+
+DISTNAME= howl-0.9.5
+CATEGORIES= net
+MASTER_SITES= http://www.porchdogsoft.com/download/
+
+MAINTAINER= nathanw@NetBSD.org
+HOMEPAGE= http://www.porchdogsoft.com/products/howl/
+COMMENT= Zeroconf (Rendezvous) implementation
+
+USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/howl/PLIST b/net/howl/PLIST
new file mode 100644
index 00000000000..48011583de7
--- /dev/null
+++ b/net/howl/PLIST
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
+bin/mDNSBrowse
+bin/mDNSPublish
+bin/mDNSResponder
+include/howl/corby/buffer.h
+include/howl/corby/channel.h
+include/howl/corby/corby.h
+include/howl/corby/message.h
+include/howl/corby/object.h
+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/rendezvous/rendezvous.h
+include/howl/rendezvous/text_record.h
+include/howl/salt/address.h
+include/howl/salt/assert.h
+include/howl/salt/interface.h
+include/howl/salt/log.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/lib${PKGNAME}.so.0
+lib/lib${PKGNAME}.so.0.2
+lib/libhowl.a
+lib/libhowl.la
+lib/libhowl.so
+lib/pkgconfig/howl.pc
+man/man8/mDNSResponder.8
+share/howl/help/address-summary.html
+share/howl/help/address.html
+share/howl/help/discovery-summary.html
+share/howl/help/discovery.html
+share/howl/help/index.html
+share/howl/help/overall.html
+share/howl/help/salt-summary.html
+share/howl/help/salt.html
+share/howl/help/txt_rec-summary.html
+share/howl/help/txt_rec.html
+share/howl/help/txt_rec_iter-summary.html
+share/howl/help/txt_rec_iter.html
+share/howl/help/txt_rec_str_iter-summary.html
+share/howl/help/txt_rec_str_iter.html
+@dirrm share/howl/help
+@dirrm share/howl
+@dirrm include/howl/salt
+@dirrm include/howl/rendezvous
+@dirrm include/howl/discovery
+@dirrm include/howl/corby
+@dirrm include/howl
diff --git a/net/howl/buildlink3.mk b/net/howl/buildlink3.mk
new file mode 100644
index 00000000000..fba98338591
--- /dev/null
+++ b/net/howl/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/05 19:03:12 nathanw Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HOWL_BUILDLINK3_MK:= ${HOWL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= howl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhowl}
+BUILDLINK_PACKAGES+= howl
+
+.if !empty(HOWL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.howl+= howl>=0.9.5
+BUILDLINK_PKGSRCDIR.howl?= ../../net/howl
+.endif # HOWL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/howl/distinfo b/net/howl/distinfo
new file mode 100644
index 00000000000..3f8c0359a45
--- /dev/null
+++ b/net/howl/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/05 19:03:12 nathanw 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
diff --git a/net/howl/patches/patch-aa b/net/howl/patches/patch-aa
new file mode 100644
index 00000000000..7b76b32d355
--- /dev/null
+++ b/net/howl/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/05 19:03:12 nathanw 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 @@
+ #else
+ sw_ulong real_ttl = ttl;
+ #endif
+-
++ sw_uchar mttl = (sw_uchar) ttl;
+ /*
+ initialize the group membership
+ */
+@@ -422,7 +422,7 @@
+ return sw_system_error();
+ }
+
+- 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
new file mode 100644
index 00000000000..f65f0b6668c
--- /dev/null
+++ b/net/howl/patches/patch-ab
@@ -0,0 +1,42 @@
+$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
new file mode 100644
index 00000000000..9bd26d841cf
--- /dev/null
+++ b/net/howl/patches/patch-ac
@@ -0,0 +1,28 @@
+$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 );
+