6 Jul 09:54
Packaging a CGI with modules?
MJ Ray <mjr <at> phonecoop.coop>
2007-07-06 07:54:52 GMT
2007-07-06 07:54:52 GMT
Perl sages, What is the recommended way to package a CGI with its own modules? This seems not very well-documented: not just for debian, but generally. I'm using MakeMaker because it seems to be halfway portable. As well as having ITP'd koha, I am an upstream developer of it. Upstream, I am setting WriteMakefile()'s PM to move the files into good locations - for example, I'm currently putting the CGIs in $(INST_LIB)/koha/cgi-bin - and I intend to mv them with debian/rules to meet policy. Is that the best MakeMaker-definable location for them to start in? Also, I'm intending to use prompt() to obtain values to generate configuration files. Is there a slick way to get debconf to supply prompt() answers, should I rerewrite the config file from post-inst, or something else? Any answers to the above or any pointers to stuff I've not found would be very appreciated. Thanks, -- -- MJR/slef My Opinion Only: see http://people.debian.org/~mjr/ Please follow http://www.uk.debian.org/MailingLists/#codeofconduct
RSS Feed