From owner-freebsd-gnome@FreeBSD.ORG Sat Mar 27 22:57:24 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AE931065670 for ; Sat, 27 Mar 2010 22:57:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 149268FC0C for ; Sat, 27 Mar 2010 22:57:23 +0000 (UTC) Received: (qmail 4971 invoked by uid 399); 27 Mar 2010 22:57:23 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Mar 2010 22:57:23 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BAE8D52.401@FreeBSD.org> Date: Sat, 27 Mar 2010 15:57:22 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100218 Thunderbird/3.0.1 MIME-Version: 1.0 To: Joe Marcus Clarke References: <4BAD5C0F.6050705@FreeBSD.org> <1269723950.40651.64.camel@shumai.marcuscom.com> In-Reply-To: <1269723950.40651.64.camel@shumai.marcuscom.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: net/avahi-app X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 22:57:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 On 03/27/10 14:05, Joe Marcus Clarke wrote: > On Fri, 2010-03-26 at 18:14 -0700, Doug Barton wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: RIPEMD160 >> >> Howdy, >> >> FYI I am in the process of deprecating the %%RC_SUBR%% stuff and noticed >> that net/avahi-app has some code related to it. I have already updated >> the patch files for the rc.d scripts (which can now be simplified the >> next time they are regenerated) but I also noticed that there are some >> other related items in the Makefile that can probably be eliminated as >> well. > > Do you have specifics of what needs to be changed? Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/avahi-app/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile - --- Makefile 2 Aug 2009 19:34:56 -0000 1.22 +++ Makefile 27 Mar 2010 22:53:54 -0000 @@ -111,7 +111,7 @@ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|(LIBINTL)|(INTLLIBS)|g ; \ s|(LIBICONV)|(LTLIBICONV)|g' - - @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|${RC_SUBR}| ; \ + @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|/etc/rc.subr| ; \ s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \ ${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \ ${WRKSRC}/initscript/freebsd/avahi-daemon.sh.in Also, the 2 patches patch-initscript_freebsd_avahi-daemon.sh.in and patch-initscript_freebsd_avahi-dnsconfd.sh.in can be regenerated, although that's not urgent. > Avahi is interesting > as it includes FreeBSD init scripts in the distribution. Right, I noticed a few other ports with similar configurations. In that case USE_RC_SUBR= yes is probably the right solution. Doug - -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEAREDAAYFAkuujVEACgkQyIakK9Wy8Pv2WgCgzu7DarSEYKGqqxm6nBBR/Jd1 10QAnifz6GLmUMpfNWZ1W5091WoPqAAp =oVoJ -----END PGP SIGNATURE-----