[csw-maintainers] more gar?

Maciej (Matchek) Blizinski maciej at opencsw.org
Fri May 14 18:02:40 CEST 2010


No dia 14 de Maio de 2010 16:46, Dagobert Michelsen <dam at opencsw.org> escreveu:
> Hi Maciej,
>
> Am 14.05.2010 um 17:30 schrieb Maciej (Matchek) Blizinski:
>>
>> No dia 14 de Maio de 2010 15:43, Dagobert Michelsen <dam at opencsw.org>
>> escreveu:
>>>
>>> Ok, then I should fix the docs. The code is in there to always rename
>>> templates to have the .CSW-suffix:
>>>
>>>  <http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.pkg.mk#L219>
>>
>> I've added information about a gotcha: If you use
>> csw{sample,preserve}conf together with PKGFILES, the following won't
>> work:
>>
>> PRESERVECONF = /etc/opt/csw/yourprog.cnf
>> PKGFILES_CSWfoo = /etc/opt/csw/yourprog.cnf
>>
>> Instead, you need to do the following:
>>
>> PRESERVECONF = /etc/opt/csw/yourprog.cnf
>> PKGFILES_CSWfoo = /etc/opt/csw/yourprog.cnf.CSW
>
> Right. Would you consider this a bug? It shouldn't be too
> hard to fix it.

By documenting it and relying on it, I just made it a feature!

http://blog.jorgepereira.com.br/jorge/wp-content/uploads/2008/12/bug-feature.jpg

I think it would be more intuitive if PKGFILES would use the original
file names.  If you fix it, let me know, I'll need to adjust some
Makefiles.


More information about the maintainers mailing list