Hi,
I am packaging stunnel for opencsw.org. Would you guys mind merging a patch [1] to make use of --sysconfdir and --localstatedir (instead of @prefix@/{etc,var}) in the sample configuration file? Currently, if --sysconfdir and --localstatedir are passed to ./configure and are not a directory below prefix, the configuration file doesn't reflect this layout.
The patch is against 4.33. Fedora seems to carry the same change [2].
Sebastian
[1]http://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/stunnel/trunk/files/0001-Make... [2]http://lists.fedoraproject.org/pipermail/scm-commits/2010-March/413078.html
On Thu, Jul 29, 2010 at 12:47:00AM +0200, Sebastian Kayser wrote:
Hi,
I am packaging stunnel for opencsw.org. Would you guys mind merging a patch [1] to make use of --sysconfdir and --localstatedir (instead of @prefix@/{etc,var})
The patch is against 4.33. Fedora seems to carry the same change [2].
FWIW, so does Debian.
Sebastian Kayser wrote:
I am packaging stunnel for opencsw.org. Would you guys mind merging a patch [1] to make use of --sysconfdir and --localstatedir (instead of @prefix@/{etc,var}) in the sample configuration file? Currently, if --sysconfdir and --localstatedir are passed to ./configure and are not a directory below prefix, the configuration file doesn't reflect this layout.
Maybe it works for you, but for me this patch results with the following (obviously incorrect) lines of stunnel.conf-sample file :
cert = ${prefix}/etc/stunnel/mail.pem ;key = ${prefix}/etc/stunnel/mail.pem
Mike
* Michal Trojnara Michal.Trojnara@mirt.net wrote:
Sebastian Kayser wrote:
I am packaging stunnel for opencsw.org. Would you guys mind merging a patch [1] to make use of --sysconfdir and --localstatedir (instead of @prefix@/{etc,var}) in the sample configuration file? Currently, if --sysconfdir and --localstatedir are passed to ./configure and are not a directory below prefix, the configuration file doesn't reflect this layout.
Maybe it works for you, but for me this patch results with the following (obviously incorrect) lines of stunnel.conf-sample file :
cert = ${prefix}/etc/stunnel/mail.pem ;key = ${prefix}/etc/stunnel/mail.pem
Thanks for giving it a spin. Is this the verbatim result after running ./configure (in particular ${prefix})? Which options do you pass to ./configure and what does config.log say about sysconfdir? If possible, I would like to try to reproduce this here.
Sebastian
Sebastian Kayser wrote:
cert = ${prefix}/etc/stunnel/mail.pem ;key = ${prefix}/etc/stunnel/mail.pem
Thanks for giving it a spin. Is this the verbatim result after running ./configure (in particular ${prefix})? Which options do you pass to ./configure and what does config.log say about sysconfdir? If possible, I would like to try to reproduce this here.
It's a part of stunnel.conf generated from stunnel.conf.in by ./configure executed without any options.
${prefix} would be fine in Makefile, but it's not acceptable in stunnel.conf.
Mike