tag 752074 + patch thanks Hello,
Please find here a patch that fixes this bug Cheers, Laurent Bigonville On Thu, 19 Jun 2014 12:40:37 +0200 Laurent Bigonville <bi...@debian.org> wrote: > Source: cfengine2 > Version: 2.2.10-5 > Severity: wishlist > > Hi, > > Could you please enable SELinux support in cfengine, it makes sure > that files created are properly labeled on disk. > > To enable SELinux support you need to add libselinux1-dev [linux-any] > to the build-dependencies and pass --enable-selinux to the configure. > > Cheers, > > Laurent Bigonville > > -- System Information: > Debian Release: jessie/sid > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > >
diff -Nru cfengine2-2.2.10/debian/changelog cfengine2-2.2.10/debian/changelog --- cfengine2-2.2.10/debian/changelog 2012-03-20 23:59:25.000000000 +0100 +++ cfengine2-2.2.10/debian/changelog 2015-04-17 18:25:27.000000000 +0200 @@ -1,3 +1,9 @@ +cfengine2 (2.2.10-6) UNRELEASED; urgency=medium + + * Enable SELinux support on linux architectures (Closes: #752074) + + -- Laurent Bigonville <bi...@debian.org> Fri, 17 Apr 2015 18:25:23 +0200 + cfengine2 (2.2.10-5) unstable; urgency=low * debian/patches: diff -Nru cfengine2-2.2.10/debian/control cfengine2-2.2.10/debian/control --- cfengine2-2.2.10/debian/control 2012-03-20 23:59:31.000000000 +0100 +++ cfengine2-2.2.10/debian/control 2015-04-17 18:23:25.000000000 +0200 @@ -4,7 +4,7 @@ Maintainer: Antonio Radici <anto...@debian.org> Build-Depends: debhelper (>= 7.0.50), autoconf, automake, autotools-dev, bison, dh-autoreconf, flex, libdb-dev, libssl-dev, libtool, perl (>= 5), - po-debconf, texinfo, quilt + po-debconf, texinfo, quilt, libselinux1-dev [linux-any] Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=collab-maint/cfengine2.git Vcs-Git: git://git.debian.org/git/collab-maint/cfengine2.git diff -Nru cfengine2-2.2.10/debian/rules cfengine2-2.2.10/debian/rules --- cfengine2-2.2.10/debian/rules 2012-03-20 23:15:55.000000000 +0100 +++ cfengine2-2.2.10/debian/rules 2015-04-17 18:24:31.000000000 +0200 @@ -1,6 +1,10 @@ #!/usr/bin/make -f # vim:noet:ts=4:sw=4: +ifeq ($(DEB_BUILD_ARCH_OS),linux) +SELINUX_FLAGS = --enable-selinux +endif + %: dh $@ @@ -11,8 +15,8 @@ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ - --with-docs CFLAGS="$(CFLAGS)" \ - LDFLAGS="-Wl,-z,defs" + --with-docs $(SELINUX_FLAGS) \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" override_dh_clean: dh_autoreconf_clean