[Bug 265019] Re: nbsmtp looks for config file in the wrong place

2010-02-17 Thread Brian Murray
This package has been removed from the archive in Lucid and subsequently
I am setting this bug's status to Won't Fix. Please submit any bugs
about other packages that you may experience in the future.

** Changed in: nbsmtp (Ubuntu)
   Status: New = Won't Fix

-- 
nbsmtp looks for config file in the wrong place
https://bugs.launchpad.net/bugs/265019
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 265019] Re: nbsmtp looks for config file in the wrong place

2010-01-06 Thread David Frey
I also discovered that nbsmtp wasn't reading my /etc/nbsmtprc file.  I
looked at the nbsmtprc source a bit and found this block of code at line
67 of fileconfig.c:

asprintf(local_tmp_buf,%s/nbsmtprc,SYSCONFDIR);

I'm not really sure what defines SYSCONFDIR, but a little bit of
searching uncovered a few suspicious lines in the configure file:

bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'

If ${prefix} is empty then datadir=/share, but if ${prefix} is /usr,
then sysconfdir=/usr/etc.  It seems like the latter case is what is
happening.

Hopefully someone who knows a little bit more about Linux applications
and package building can translate this information into a fix.

-- 
nbsmtp looks for config file in the wrong place
https://bugs.launchpad.net/bugs/265019
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs