[csw-maintainers] pkgname limit 20 chars?

Sebastian Kayser skayser at opencsw.org
Fri May 15 15:43:10 CEST 2009


Hi,

i just wanted to package the perl module DateTime::TimeZone and checkpkg
bails out on the pkgname: CSWpmdatetimetimezone

 ==> Checking compliance: CSWpmdatetimetimezone
Examining
/home/skayser/pkgs/pm_datetimetimezone-0.90,REV=2009.05.15-SunOS5.8-all-CSW.pkg.gz
...
pkgname='CSWpmdatetimetimezone'
...
ERROR:
/tmp/pm_datetimetimezone-0.90,REV=2009.05.15-SunOS5.8-all-CSW.pkg.gz:
pkg name greater than 20 chars
gmake: *** [pkgcheck-CSWpmdatetimetimezone] Error 2

I have seen that a couple of packages already condense their package and
software names, but IMHO this leads to a rather inconsistent naming.
Take for example the following perl modules:

Perl Module            Package Name          Software Name
--------------------   -------------------   ----------------------
Class::Inspector       CSWpmclassinspector   pm_classinspector
Class::Accessor        CSWpmclsaccessor      pm_clsaccessor
Class::ReturnValue     CSWpmclassretval      pm_classretval

Ideally (IMHO), all the perl modules would just have their full name
spelled out in the package / software name (as with Class::Inspector) or
at least follow a consistent naming scheme.

Are we restricted by external limitations here?

Sebastian



More information about the maintainers mailing list