[PATCH] Allow overriding PIDFILE, was Re: [stunnel-users] stunnel 4.14 released

Miloslav Trmac mitr at redhat.com
Thu Nov 3 01:40:50 CET 2005

Michal Trojnara wrote:
>   - Default pidfile changed from $localstatedir/run/stunnel.pid
>     to $localstatedir/stunnel/stunnel.pid.
For a system-wide installation this conflicts with the Linux FHS,
which specifies "Applications must generally not add directories to the
top level of /var".

At minimum the path should be reasonably easily configurable, which is
what the attached patch does: it allows
	./configure CPPFLAGS=-DPIDFILE='\"/my/desired/path\"'
Currently it is necessary to use
always specyfing all three variables.
See also (info '(automake)Flag Variables Ordering').

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel-4.14-am_.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20051103/0f9580f9/attachment.bin>

More information about the stunnel-users mailing list