[Kolab-devel] [issue693] Hardcoded paths in perl-kolab

Richard Bos kolab-issues at intevation.de
Thu Mar 17 21:06:23 CET 2005


New submission from Richard Bos <radoeka at xs4all.nl>:

In cooperation with Marcus we tried to autoconfigure the perl-kolab 
module.  But there are some problems with paths that have been hardcoded. 
 
In the *.pm files there are more or less hardcoded paths, I'll give some  
examples: 
LDAP.pm /var/kolab/mailbox 
LDAP.pm $Kolab::config{'prefix'} 
Conf.pm  $prefix/etc/postfix/ 
Conf.pm  prefix/sbin/postmap $prefix/etc/postfix/transport 
Conf.pm  $prefix/etc/kolab/cyrus.conf.templ 
Conf.pm  chown($Kolab::config{'kolab_uid'}, $Kolab::config{'kolab_gid'} 
Mailer.pm /sbin/sendmail 
 
Normally one could use autoconf to make these paths configurable (distribution 
independent).  But perl-kolab is a collection of perl modules, so I think 
another mechanism is used.  Perhaps some perl variables can be used during the 
make process?? 
 
 
There is also something like: 
Conf.pm  our $VERSION = sprintf ..... 
 
Also this is maybe to be autoconfigured?

----------
messages: 4122
nosy: rbos
priority: bug
status: unread
title: Hardcoded paths in perl-kolab
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue693>
________________________________________________




More information about the devel mailing list