Apache::AuthTkt Perl module installed in usable path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache2-mod-auth-tkt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This package comes with the Apache::AuthTkt Perl library for generating the cookies used by the Apache module. But it's currently installed in the doc/examples/ subdirectory as a mere example, not in a place where users can use it directly.
In the upstream source Apache/AuthTkt.pm is in the cgi/ subdirectory: https:/
The other files in that subdirectory are indeed examples and are appropriately installed into /usr/share/
But Apache::AuthTkt is the actual library that user programs should use. It's also published separately on CPAN: https:/
To be usable it needs to be installed under /usr/share/perl5/ or /usr/share/perl/, so perl finds it.
As it is, users wanting to use this Perl module have several suboptimal options:
* Start their Perl program with use lib '/usr/share/
* Create a symlink into a directory that is already in perl's @PATH, such as /usr/local/
* Install Apache::AuthTkt separately directly from CPAN — meaning the module is wastefully installed twice on the server, and the sys-admin has to manage the module separately, outside of the Debian packaging system.
Please can you move Apache/AuthTkt.pm to be installed in the usual place for .deb-provided Perl modules. Thank you.