package/syslog-ng: fix localstatdir directory
syslog-ng is built with the default buildroot flag localstatdir=/var
This causes three issues:
1) syslog-ng creates two files (syslog-ng.ctl and syslog-ng.persist in /var)
which shouldn't have random files generated in it.
2) SELinux expects it in it's default directory /var/run.
3) This breakes read only file systems because /var/ usually isn't mounted as
a seperate filing system.
Setting the buildflag to the default /var/run
fixes all three of thee of these issues.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>