Source: openrc
Version: 0.13.1-4
Severity: wishlist
Tags: patch
User: selinux-de...@lists.alioth.debian.org
Usertags: selinux selinux-aware

Hello,

Could it be possible to enable openrc selinux support?

The attached patch should achieve this.

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-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
Init: systemd (via /run/systemd/system)
diff -Nru openrc-0.13.1/debian/control openrc-0.13.1/debian/control
--- openrc-0.13.1/debian/control	2014-10-26 17:34:13.000000000 +0100
+++ openrc-0.13.1/debian/control	2014-12-16 14:39:56.000000000 +0100
@@ -5,7 +5,7 @@
 Uploaders: Roger Leigh <rle...@debian.org>,
            Thomas Goirand <z...@debian.org>,
            Benda Xu <hero...@gentoo.org>, Ritesh Raj Sarraf <r...@debian.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), libselinux1-dev [linux-any]
 Standards-Version: 3.9.5
 Homepage: http://www.gentoo.org/proj/en/base/openrc/
 Vcs-Git: git://anonscm.debian.org/openrc/openrc.git
diff -Nru openrc-0.13.1/debian/rules openrc-0.13.1/debian/rules
--- openrc-0.13.1/debian/rules	2014-10-26 17:34:13.000000000 +0100
+++ openrc-0.13.1/debian/rules	2014-12-16 14:43:24.000000000 +0100
@@ -23,6 +23,10 @@
 export LIBEXECDIR = /lib/rc
 #export OS = Linux
 
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+export MKSELINUX = yes
+endif
+
 %:
 	dh $@
 

Reply via email to