Index: head/net/howl/Makefile =================================================================== --- head/net/howl/Makefile (revision 127679) +++ head/net/howl/Makefile (revision 127680) @@ -1,39 +1,42 @@ # New ports collection makefile for: howl # Date created: 21 July 2003 # Whom: David Magda # $FreeBSD$ # PORTNAME= howl -PORTVERSION= 0.9.8 -PORTREVISION= 1 +PORTVERSION= 0.9.10 CATEGORIES?= net devel MASTER_SITES= http://www.porchdogsoft.com/download/ -MAINTAINER= paul@aps.org +MAINTAINER= marcus@FreeBSD.org COMMENT= Zeroconf/Rendezvous implementation USE_GMAKE= yes USE_GNOME= gnometarget pkgconfig USE_LIBTOOL_VER=15 +USE_RC_SUBR= yes CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}" CPPFLAGS+= ${PTHREAD_CFLAGS} USE_REINPLACE= yes INSTALLS_SHLIB= yes MAN8= mDNSResponder.8 PLIST_SUB= VERSION="${PORTVERSION}" +RC_SCRIPTS_SUB= RC_SUBR=${RC_SUBR} PREFIX=${PREFIX} -.include - -.if ${ARCH} == "alpha" && ${OSVERSION} < 500000 -CPPFLAGS+= -D_LP64 -.endif - CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +post-extract: + @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + ${FILESDIR}/mdnsresponder.sh > ${WRKSRC}/mdnsresponder.sh + post-patch: @${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure -.include +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/mdnsresponder.sh \ + ${PREFIX}/etc/rc.d/mdnsresponder.sh + +.include Property changes on: head/net/howl/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.19 \ No newline at end of property +1.20 \ No newline at end of property Index: head/net/howl/distinfo =================================================================== --- head/net/howl/distinfo (revision 127679) +++ head/net/howl/distinfo (revision 127680) @@ -1,2 +1,2 @@ -MD5 (howl-0.9.8.tar.gz) = 92a1c18bf9b6817ec47fc7565166eb03 -SIZE (howl-0.9.8.tar.gz) = 540208 +MD5 (howl-0.9.10.tar.gz) = 444f2c1fe8eaf16d6822c01bfafba99b +SIZE (howl-0.9.10.tar.gz) = 541004 Property changes on: head/net/howl/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net/howl/files/mdnsresponder.sh =================================================================== --- head/net/howl/files/mdnsresponder.sh (nonexistent) +++ head/net/howl/files/mdnsresponder.sh (revision 127680) @@ -0,0 +1,34 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: mdnsresponder +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# Howl's mDNSResponder, a Zeroconf (Rendezvous) service advertisement daemon. +# + +mdnsresponder_enable=${mdnsresponder_enable-"NO"} +mdnsresponder_flags=${mdnsresponder_flags-""} + +. %%RC_SUBR%% + +name=mdnsresponder +rcvar=`set_rcvar` + +start_cmd=mdnsresponder_start +stop_cmd=mdnsresponder_stop + +mdnsresponder_start() { + checkyesno mdnsresponder_enable && echo "Starting mDNSResponder." && \ + %%PREFIX%%/bin/mDNSResponder ${mdnsresponder_flags} +} + +mdnsresponder_stop() { + checkyesno mdnsresponder_enable && echo "Stopping mDNSResponder." && \ + killall mDNSResponder +} + +load_rc_config ${name} +run_rc_command "$1" Property changes on: head/net/howl/files/mdnsresponder.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/net/howl/pkg-plist =================================================================== --- head/net/howl/pkg-plist (revision 127679) +++ head/net/howl/pkg-plist (revision 127680) @@ -1,53 +1,54 @@ bin/mDNSBrowse bin/mDNSPublish bin/mDNSQuery bin/mDNSResolve bin/mDNSResponder +etc/rc.d/mdnsresponder.sh 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_config.h include/howl/rendezvous/rendezvous.h include/howl/rendezvous/text_record.h include/howl/salt/address.h include/howl/salt/debug.h include/howl/salt/interface.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 lib/libhowl.a lib/libhowl.so lib/libhowl.so.0 lib/libmDNSResponder.a lib/libmDNSResponder.so lib/libmDNSResponder.so.0 libdata/pkgconfig/howl.pc %%DATADIR%%/help/address-summary.html %%DATADIR%%/help/address.html %%DATADIR%%/help/discovery-summary.html %%DATADIR%%/help/discovery.html %%DATADIR%%/help/index.html %%DATADIR%%/help/overall.html %%DATADIR%%/help/salt-summary.html %%DATADIR%%/help/salt.html %%DATADIR%%/help/txt_rec-summary.html %%DATADIR%%/help/txt_rec.html %%DATADIR%%/help/txt_rec_iter-summary.html %%DATADIR%%/help/txt_rec_iter.html %%DATADIR%%/help/txt_rec_str_iter-summary.html %%DATADIR%%/help/txt_rec_str_iter.html @dirrm %%DATADIR%%/help @dirrm %%DATADIR%% @dirrm include/howl/salt @dirrm include/howl/rendezvous @dirrm include/howl/discovery @dirrm include/howl/corby @dirrm include/howl Property changes on: head/net/howl/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property