[stunnel-users] Missing uses of @localstatedir@ in beta version [Was: Debian Bug#460019]

Michal Trojnara Michal.Trojnara at mobi-com.net
Wed Jan 16 17:40:46 CET 2008

Luis Rodrigo Gallardo Cruz wrote:
> The file tools/stunnel.conf-sample.in was not converted to use
> automake's dirs. The following patch has the required changes:
> -cert = @prefix@/etc/stunnel/mail.pem
> -;key = @prefix@/etc/stunnel/mail.pem
> +cert = @sysconfdir@/stunnel/mail.pem
> +;key = @sysconfdir@/stunnel/mail.pem

It's expanded *by default* (at least on my machine) to:
cert = ${prefix}/etc/stunnel/mail.pem
;key = ${prefix}/etc/stunnel/mail.pem
It's fine on Makefile, but it does not work with other files.
You need to specify --sysconfdir explicitly to have correct results.

It looks like I'm not the only one suffering from this problem:
You'll easily find several other examples with your favorite search engine.

Best regards,

More information about the stunnel-users mailing list