Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 12:12:34 +0200
From:      Cyril Guibourg <plonk-o-matic@teaser.fr>
To:        ports@freebsd.org
Subject:   Best way for dealing with RC scripts
Message-ID:  <871xl7cx9p.fsf@blackbox.babasse.net>

next in thread | raw e-mail | index | archive | help

Hello,

I am in the final stage of creating a new port and I would like to get
some advice about the best way to handle differences between 4.X and 5.X
for the startup script.

The source of the port already comes from NetBSD pkgsrc with a RCNG style
script. I plan tocreate a 4.X script and  add special targets in post-install
in order to check ${OSVERSION} and then install the appropriate script.

Is this a good way to do it or is there something better to do ?

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?871xl7cx9p.fsf>