package/syslog-ng: fix localstatdir directory
commit6868a342b4cf6a0b0184a0c3040cc300a68bb86b
authorAdam Duskett <Aduskett@gmail.com>
Tue, 12 Jul 2016 17:09:20 +0000 (12 13:09 -0400)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Jul 2016 21:50:33 +0000 (12 23:50 +0200)
treed793dc52882699f316d3a99792794f8f02a30b81
parent3536225c8e6e8416f176b1187a8f4ef172be8bbe
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>
package/syslog-ng/syslog-ng.mk