From owner-freebsd-ports@FreeBSD.ORG Mon Nov 19 03:42:57 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EED216A4DF for ; Mon, 19 Nov 2007 03:42:57 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 1932613C44B for ; Mon, 19 Nov 2007 03:42:57 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA07.westchester.pa.mail.comcast.net with comcast id ERiL1Y0060QuhwU050Aa00; Mon, 19 Nov 2007 03:31:13 +0000 Received: from kirby.cyberbotx.com ([68.43.195.82]) by OMTA02.westchester.pa.mail.comcast.net with comcast id ETXC1Y0061n8LeU0300000; Mon, 19 Nov 2007 03:31:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=bC6HxIIgF2NRi3Bp4L0A:9 a=Ji6vgJ_kbBjji-fwM9IA:7 a=pTrGNaeYR_lIb3SoTt8rxlZO6pEA:4 a=SV7veod9ZcQA:10 a=v47ZLdibA2YA:10 Message-ID: <47410380.5080406@cyberbotx.com> Date: Sun, 18 Nov 2007 22:31:12 -0500 From: Naram Qashat User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Chuck Robey References: <4740E430.9050901@chuckr.org> In-Reply-To: <4740E430.9050901@chuckr.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-ports@FreeBSD.org Subject: Re: ports modifying system setups X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 03:42:57 -0000 Also a good thing to point out is that portupgrade can be configured to automatically start or stop a port's daemon via it's /usr/local/etc/rc.d script, which still relies on having the appropriate line in /etc/rc.conf to tell the rc.d script to run, but it is helpful for upgrading ports which have daemons so they can be shut down and then started again after the upgrade is complete. Naram Qashat Chuck Robey wrote: > I was wondering why ports apparently aren't allowed an obvious freedom, > that of being able to set themselves to run as daemons. A greate long > time past, I seem to remember that there used to be a file > /usr/local/etc/rc.local, which (if it existed) would be automatically > sourced in at the end of rc.conf. Ports which built daemons were > allowed (well, actually, expected) to ask the user if they wished to > activate the port, and if so, the port would add a line of the form > 'portname_enable="YES"', and this would make your new port operate. > Well, it seems from what I see of my new system, that this is no longer > the case. I could understand (and approve of) ports not being allowed > to modify any /etc/contents, but howcome ports can't use this rather > obvious workaround? > > I'm pretty sure this used to be allowed... and it seems like a good > policy to me, from the number of non-technical folks who now run > FreeBSD. I just wanted to know why its not anymore. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >