summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-01-08 06:24:41 +0000
committerschmonz <schmonz@pkgsrc.org>2005-01-08 06:24:41 +0000
commit8ab68520f7ac3c845cf336037e58357cfd457a5a (patch)
treee5a33f07f64421c0b47baf181f13f58013e5cafd /net
parent1b47ce507b31f51ed7bf69a7c15f6773b0317a7c (diff)
downloadpkgsrc-8ab68520f7ac3c845cf336037e58357cfd457a5a.tar.gz
Update to 0.9.8, mostly from Ian Zagorskih on tech-pkg@. Changes:
- FIX: shared library naming scheme included the howl version number (jdub@perkypants.org) - FIX: pkgconfig include pathing included the howl version number (eloli@hotmail.com) - FIX: howl_config.h was being included when compiling apps that use howl (sebastien.estienne@gmail.com) - FIX: publish sample had reversed callback parameters (sebastien.estienne@gmail.com) - nicer printing of text records in browse example (sebastien.estienne@gmail.com) Additional pkgsrc changes by me: * Create a "howl" user and group. * Add rc.d script. * Format DESCR.
Diffstat (limited to 'net')
-rw-r--r--net/howl/DESCR14
-rw-r--r--net/howl/Makefile10
-rw-r--r--net/howl/PLIST5
-rw-r--r--net/howl/distinfo8
-rw-r--r--net/howl/files/howl.sh18
-rw-r--r--net/howl/patches/patch-aa12
6 files changed, 46 insertions, 21 deletions
diff --git a/net/howl/DESCR b/net/howl/DESCR
index 36b50275291..dcae715bc51 100644
--- a/net/howl/DESCR
+++ b/net/howl/DESCR
@@ -1,8 +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 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.
+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
index 45f98bd15e2..d224693e258 100644
--- a/net/howl/Makefile
+++ b/net/howl/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2004/12/18 20:58:30 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/01/08 06:24:41 schmonz Exp $
-DISTNAME= howl-0.9.7
-# PKGREVISION= 1
+DISTNAME= howl-0.9.8
CATEGORIES= net
MASTER_SITES= http://www.porchdogsoft.com/download/
@@ -11,9 +10,14 @@ COMMENT= Zeroconf (Rendezvous) implementation
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
+RCD_SCRIPTS= howl
+PKG_GROUPS+= howl
+PKG_USERS+= howl:howl::Zeroconf\\ user
+
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/howl/PLIST b/net/howl/PLIST
index be64a98ae5b..3b88b564a52 100644
--- a/net/howl/PLIST
+++ b/net/howl/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2004/11/20 14:43:32 mjl Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/01/08 06:24:41 schmonz Exp $
bin/mDNSBrowse
bin/mDNSPublish
+bin/mDNSQuery
+bin/mDNSResolve
bin/mDNSResponder
include/howl/corby/buffer.h
include/howl/corby/channel.h
@@ -23,6 +25,7 @@ include/howl/salt/signal.h
include/howl/salt/socket.h
include/howl/salt/time.h
lib/libhowl.la
+lib/libmDNSResponder.la
lib/pkgconfig/howl.pc
man/man8/mDNSResponder.8
share/howl/help/address-summary.html
diff --git a/net/howl/distinfo b/net/howl/distinfo
index 54832354d89..1e46c39d216 100644
--- a/net/howl/distinfo
+++ b/net/howl/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/11/20 14:43:32 mjl Exp $
+$NetBSD: distinfo,v 1.4 2005/01/08 06:24:41 schmonz Exp $
-SHA1 (howl-0.9.7.tar.gz) = 890d4e69282cfe10796f477003e93c113da46fb8
-Size (howl-0.9.7.tar.gz) = 539899 bytes
-SHA1 (patch-aa) = d3921cd6d4634e49660c53ea1f1c3927ae900c58
+SHA1 (howl-0.9.8.tar.gz) = dd343b8d87de28f5627aa26b24234da557a9f064
+Size (howl-0.9.8.tar.gz) = 540208 bytes
+SHA1 (patch-aa) = c7218a7c4a58498c465057dde43c5943bce2ea5b
diff --git a/net/howl/files/howl.sh b/net/howl/files/howl.sh
new file mode 100644
index 00000000000..4cf66bd93fc
--- /dev/null
+++ b/net/howl/files/howl.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: howl.sh,v 1.1 2005/01/08 06:24:41 schmonz Exp $
+#
+
+# PROVIDE: howl
+# REQUIRE: NETWORKING
+
+. /etc/rc.subr
+
+name="howl"
+rcvar=$name
+command="@PREFIX@/bin/mDNSResponder"
+stop_cmd=":"
+howl_user="howl"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/net/howl/patches/patch-aa b/net/howl/patches/patch-aa
index fefbf802254..5764134d3ec 100644
--- a/net/howl/patches/patch-aa
+++ b/net/howl/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2004/11/20 14:43:32 mjl Exp $
+$NetBSD: patch-aa,v 1.3 2005/01/08 06:24:41 schmonz Exp $
---- 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 @@
+--- src/lib/howl/socket.c.orig 2004-10-27 13:39:52.000000000 -0400
++++ src/lib/howl/socket.c
+@@ -261,7 +261,7 @@ sw_multicast_socket_super_init(
err = sw_translate_error(self->m_desc != SW_INVALID_SOCKET, sw_socket_errno());
sw_check_okay_log(err, exit);
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.2 2004/11/20 14:43:32 mjl Exp $
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt));
#else
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEADDR, (char*) &opt, sizeof(opt));
-@@ -375,6 +375,7 @@
+@@ -375,6 +375,7 @@ sw_socket_join_multicast_group(
#endif
int res;
sw_result err;
@@ -19,7 +19,7 @@ $NetBSD: patch-aa,v 1.2 2004/11/20 14:43:32 mjl Exp $
/*
initialize the group membership
-@@ -425,7 +426,7 @@
+@@ -425,7 +426,7 @@ sw_socket_join_multicast_group(
err = sw_translate_error(res == 0, sw_socket_errno());
sw_check_okay_log(err, exit);