[csw-maintainers] nginx pacakge

Dagobert Michelsen dam at opencsw.org
Mon May 11 19:05:06 CEST 2009


Hi Andy,

Am 11.05.2009 um 18:51 schrieb Andy Igoshin:
> after reading message below i was confused.
> do i use cswclassutils in my package?
> if yes do i use it in a right way?

It looks ok to me. The classutils are documented here:
<http://apps.sourceforge.net/trac/gar/wiki/cswclassutils>

Phil, what did you have in mind posting this?


Best regards

-- Dago


> ----------  Forwarded Message  ----------
>
> Subject: Re: nginx pacakge
> Date: Mon of May 11 2009
> From: Andy Igoshin <ai at vsu.ru>
> To: Philip Brown <phil at bolthole.com>
>
> On Mon of May 11 2009 19:38:38 you wrote:
>> On Mon, May 11, 2009 at 06:41:43PM +0400, Andy Igoshin wrote:
>>>>> - nginx package supports both init.d and SMF.
>>>>
>>>> thats why we have cswclassutils. So that one package, can  
>>>> transparently
>>>> support both, depending on what kind of system it is installed to.
>>>
>>> it is already done.
>>
>> what do you mean by that? you already use it, or "the package is  
>> already
>> made"?
>> The second, is no excuse to not redo it a better way :-)
>>
>> I see that you did not use cswclassutils.
>>
>> Please redo (both) packages, to use cswclassutils smf support,  
>> instead of
>> the way you do it now?
>>
>> It is beneficial both because it makes your package layout simpler,  
>> AND
>> also because we can add extra feature to the common cswclassutils  
>> package
>> later on, without you having to redo the package every time.
>>
>>> solaris 8/9 does not have 'event port' at all.
>>>
>>> nginx built on solaris 10 can use select, poll, devpoll, event port.
>>>
>>> nginx built on solaris 8/9 can use only select, poll, devpoll.
>>
>> very well... i hate doing it, but i will accept separate packages  
>> for sol8
>> and sol10.
>>
>> please redo to use cswclassutils, though.
>
> CSWnginx.gspec:
> -----------------------------------------------------------------
> %var            bitname nginx
> %var            pkgname CSWnginx
> %include        url file://%{PKGLIB}/csw_dyndepend.gspec
> %include        url file://%{PKGLIB}/smf_enabled.gspec
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> %var            SERVICE_CONF_FILES /opt/csw/etc/nginx/nginx.conf
> /opt/csw/etc/nginx/fastcgi_params /opt/csw/etc/nginx/mime.types
> %var            RC_INIT_SCRIPT     cswnginx
> %var            INIT_KILL_PRIO     16
> %var            INIT_START_PRIO    90
> %var            CAN_BE_AUTOENABLED no
> %copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE
> -----------------------------------------------------------------
>
> i thought using of such file CSWnginx.gspec in such form
> means using of cswclassutils. if it is not correct could you
> please give me an example of using cswclassutils in some package?




More information about the maintainers mailing list