[csw-maintainers] packages names normalization (long)
Peter FELECAN
pfelecan at opencsw.org
Wed Apr 29 18:47:40 CEST 2009
Dagobert Michelsen <dam at opencsw.org> writes:
> Hi Darin,
>
> Am 29.04.2009 um 18:22 schrieb Darin Perusich:
>> One thing I feel needs to be addressed is package naming consistency
>> between PKGname and shortname. If the short name is soft_rt or soft-rt
>> shouldn't the PKGname be CSWsoft_rt or CSWsoft-rt? There's no
>> "technical" reason for this given my reading of the pkginfo manual.
>> This
>> lack of consistency makes searching for packages with pkginfo or
>> listing
>> /var/sadm/pkg a really hassle.
>>
>> A perfect example of this is openSSL or openSSH. The PKGname for the
>> various component packages is CSWossl* or CSWossh*. One would kind of
>> expect to the PKGname to be CSWopenssl_rt or CSWopenssh_client. I
>> realize there are historical reasons for not changed this, I'm simply
>> using this as examples.
>
> The Sun "Standard" uses "-" as separator, so it would be more like
> CSWopenssl-rt. However, some packages already use no separator like
> CSWopensslrt.
The reason for which '-' cannot be used in catalogue package, vs. sys V
pkg, names is that is a "field separator" used for name, version,
revision, architecture &c; in my understanding, we can use '_' in
catalogue names and also in sys V pkg. If we want to normalize, your
example becomes CSWopenssl_rt with a catalogue name of openssl_rt.
--
Peter
More information about the maintainers
mailing list