debian: Update to 3.3.8

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Update to 3.3.9

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Fix the systemd unit file handling

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Centralize feature enabling/disabling

Instead of having different branches for the various features, have them
controlled centrally. The generated source package will be different,
but we'll use the same repository.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/rules: Support building directly from git

When building directly from git, without exporting, configure is in
../../${SRCDIR}, update the configure invocation to find it there.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Further configuration centralisation

Since the libsyslog-ng stuff differs between multi-arch and
non-multi-arch, make some more files generated.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Finalised the multi-arch centralisation

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Drop hardening-includes requirement

We can build just fine with hardening flags, even when
hardening-includes is not used. So drop the build-depends and the
support code.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/rules: check debian/control for systemd support

Instead of relying on the vendor for systemd support, check
debian/control, because systemd is disabled for Squeeze too.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Update to 3.3.10

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Update to 3.3.11

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Ship /var/lib/syslog-ng in the syslog-ng-core package

Closes: Debian #699942
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Do not always wait for syslog-ng to settle down

When running the init script, do not wait for syslog-ng to settle down
when being installed for the first time, or when upgraded. This fixes
the issue of erroring out during debootstrap.

Closes: 714254
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Do not try to automatically select features

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/rules: Minor comment cleanups

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/tools/bootstrap.sh: Default to systemd + multi-arch

When no features are set on the command-line, default to systemd +
multi-arch enabled. To turn both off, pass an empty string argument to
the script.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Simplify the multi-arch code

Instead of having separate files for multi-arch and non-multi-arch, just
use a double-star in the path.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian: Always enable multi-arch

With the new system, this should be supported everywhere.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/rules: Use dh_auto_configure in the override

Use dh_auto_configure in the override, so that multi-arch stuff gets
passed along properly.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
debian/tools: Fix update-control.sh

There was still a reference to debian/control.d/default, drop it.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>