ports/90070: [MAINTAINER] mail/rabl_server: per sougb request, use "new style" RC script

Doug Barton dougb at FreeBSD.org
Sat Dec 10 07:44:00 UTC 2005


Ion-Mihai Tetcu wrote:
> On Fri, 09 Dec 2005 14:44:06 -0800
> Doug Barton <dougb at FreeBSD.org> wrote:

> That's why I posted on ports a few days ago, before sending this PR.
> But I got no reply then.

Sorry about that, I haven't been able to follow the lists as closely as I'd 
like to, I've mostly been looking for error reports with the new stuff.

>> In an ideal world, it would be great if all of the ports could be
>> converted to the new style, but I've been very careful not to ask for
>> that, as I realize it's a big chunk of work, and I'm not in a
> 
> Given what happen last time this kind of change was tried it's a very
> wise position :)

I accidentally get it right every once in a while. :)

> Actually I find rcorder(8) but esp. rc(8) to be a little disappointing.

Well, suggestions on how to improve them are welcome. The problem is that 
they make sense to most of the people who work on the code, so it's hard for 
us to see how best to improve them.

>> to create simple rc.d scripts, feel free to ask on freebsd-rc@ if you
>> need more help than that. FYI, the current rcorder is up at
>> http://people.freebsd.org/~dougb/rcorder.all, although it's easy
>> enough to reproduce if you follow what's in rc. I've attached a
> 
> Thanks you. Please include this in the rc(8); "basic services",
> "general purpose daemons", etc. don't tell much, at leas to me.

Do you mean include the sample script, or include the output of rcorder? The 
first might make sense, the second doesn't, as whatever rcorder is at a 
given time can change based on changes to the scripts.

> Besides shutdown and nojail are there any other keywords ?

grep KEYWORD /etc/rc.d/* is your friend. :)

>>>>>> Is it a good thing to modify USE_RC_SUBR inside bsd.port.mk to
>>>>>> install without .sh suffix if ${OSVERSION} > 7000xx and be done
>>>>>> with it?
>> Agree. Also, this will make it a LOT easier when we MFC this change,
>> which I'll be ready for very soon.
> 
> We've discussed various ways and the result is the above idea with patch in:
>  ports/90150: update USE_RC_SUBR for >= 700007

Ok, cool. That way, when the change is MFC'ed, we can just change that to be 
whatever the value of OSVERSION is in RELENG_6.

> Ideally each maintainer should convert his script; but since doesn't
> happen and with the details you gave us in this email, thanks again,
> we'll convert the scripts and leave fine-tuning to the maintainers.

One idea we've kicked around is to send an e-mail to all the maintainers 
whose ports install boot scripts and let them know what's up. Do you feel 
that would be practical? A quick look at the ports shows that there are 
about 275 such maintainers.

BTW, while I was doing the quick sort to find out roughly how many unique 
maintainers there are, I noticed that there are over 100 of the 600 or so 
ports which install boot scripts that list ports@ as maintainer. When you 
guys are ready to start converting stuff, it might be reasonable to start 
there. I might take a stab at a few of those myself.

hth,

Doug

-- 

     This .signature sanitized for your protection




More information about the freebsd-ports-bugs mailing list