Justification: Fails to build from source on non-linux architectures
syslog-ng fails to build from source on non-linux architectures, due to
the systemd symlinks under /etc/systemd being in
debian/syslog-ng-core.conffiles. These symlinks are only installed on
This should be changed to run unconditionally, on all architectures, and
instead of copying debian/tmp/lib to the syslog-ng-core package, install
the service file ourselves, not relying on the upstream build system to
do it (since it will only do that on linux, when systemd is enabled).
I'll submit a patch later to do just this.
Sadly, the FTBFS is my fault, the above code is mine. Should've realized
that we need to install the files in .conffiles, or things will
break. Next time, I'll test my changes on kFreeBSD & Hurd aswell.