This was fixed upstream [WAS: Re: Please consider this patch
from the Debian BTS]
Roberto C. Sanchez
roberto at connexer.com
Sun Oct 15 10:47:38 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20061015/7254b1dc/attachment.pgp
More information about the Pkg-cyrus-sasl2-debian-devel
mailing list