iproute2: disable SELinux for now
authorDaniel Golle <daniel@makrotopia.org>
Thu, 13 Aug 2020 12:59:01 +0000 (13:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 13 Aug 2020 13:03:07 +0000 (14:03 +0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/utils/iproute2/patches/300-selinux-configurable.patch [new file with mode: 0644]

diff --git a/package/network/utils/iproute2/patches/300-selinux-configurable.patch b/package/network/utils/iproute2/patches/300-selinux-configurable.patch
new file mode 100644 (file)
index 0000000..4cda30f
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -244,7 +244,7 @@ check_elf()
+ check_selinux()
+ # SELinux is a compile time option in the ss utility
+ {
+-      if ${PKG_CONFIG} libselinux --exists; then
++      if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
+               echo "HAVE_SELINUX:=y" >>$CONFIG
+               echo "yes"