pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/howl Update to 0.9.8, mostly from Ian Zagorskih on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f738a49d0ed
branches:  trunk
changeset: 487052:3f738a49d0ed
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jan 08 06:24:41 2005 +0000

description:
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@localhost)
- FIX: pkgconfig include pathing included the howl version number
  (eloli%hotmail.com@localhost)
- FIX: howl_config.h was being included when compiling apps that use howl
  (sebastien.estienne%gmail.com@localhost)
- FIX: publish sample had reversed callback parameters
  (sebastien.estienne%gmail.com@localhost)
- nicer printing of text records in browse example
  (sebastien.estienne%gmail.com@localhost)

Additional pkgsrc changes by me:

* Create a "howl" user and group.
* Add rc.d script.
* Format DESCR.

diffstat:

 net/howl/DESCR            |  14 +++++++-------
 net/howl/Makefile         |  10 +++++++---
 net/howl/PLIST            |   5 ++++-
 net/howl/distinfo         |   8 ++++----
 net/howl/files/howl.sh    |  18 ++++++++++++++++++
 net/howl/patches/patch-aa |  12 ++++++------
 6 files changed, 46 insertions(+), 21 deletions(-)

diffs (137 lines):

diff -r 0540a3485940 -r 3f738a49d0ed net/howl/DESCR
--- a/net/howl/DESCR    Sat Jan 08 05:22:36 2005 +0000
+++ b/net/howl/DESCR    Sat Jan 08 06:24:41 2005 +0000
@@ -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 -r 0540a3485940 -r 3f738a49d0ed net/howl/Makefile
--- a/net/howl/Makefile Sat Jan 08 05:22:36 2005 +0000
+++ b/net/howl/Makefile Sat Jan 08 06:24:41 2005 +0000
@@ -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 @@
 
 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 -r 0540a3485940 -r 3f738a49d0ed net/howl/PLIST
--- a/net/howl/PLIST    Sat Jan 08 05:22:36 2005 +0000
+++ b/net/howl/PLIST    Sat Jan 08 06:24:41 2005 +0000
@@ -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/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 -r 0540a3485940 -r 3f738a49d0ed net/howl/distinfo
--- a/net/howl/distinfo Sat Jan 08 05:22:36 2005 +0000
+++ b/net/howl/distinfo Sat Jan 08 06:24:41 2005 +0000
@@ -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 -r 0540a3485940 -r 3f738a49d0ed net/howl/files/howl.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/howl/files/howl.sh    Sat Jan 08 06:24:41 2005 +0000
@@ -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 -r 0540a3485940 -r 3f738a49d0ed net/howl/patches/patch-aa
--- a/net/howl/patches/patch-aa Sat Jan 08 05:22:36 2005 +0000
+++ b/net/howl/patches/patch-aa Sat Jan 08 06:24:41 2005 +0000
@@ -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 @@
     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 @@
  
     /*
        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);
  



Home | Main Index | Thread Index | Old Index