On Sun, Oct 15, 2006 at 04:59:26AM -0400, Roberto C. Sanchez wrote: > On Sat, Oct 14, 2006 at 11:54:44PM -0300, Henrique de Moraes Holschuh wrote: > > On Sat, 14 Oct 2006, Roberto C. Sanchez wrote: > > > * Fixed load_config to search for the config file in all directories > > > (bug # 2796). Changed the default search path to be > > > /usr/lib/sasl2:/etc/sasl2 > > > > > > Is this sufficient for our needs? > > > > No, it has to be in the inverse way. Look at /etc first. > > > OK. I will hunt down where in the upstream source this is and rearrange > it with patch. > Actually, I found that no patch is necessary.
This piece is now in the configure script:
# Check whether --with-configdir or --without-configdir was given.
if test "${with_configdir+set}" = set; then
withval="$with_configdir"
configdir=$withval
else
configdir=$plugindir:/etc/sasl2
fi;
cat >>confdefs.h <<_ACEOF
#define CONFIGDIR "$configdir"
_ACEOF
Thus, I have simply set '--with-configdir=/etc/sasl:/usr/lib/sasl2' in
debian/rules. Is this acceptable to everyone?
Regards,
-Roberto
--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com
signature.asc
Description: Digital signature

