aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-08-13 13:59:01 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-08-13 14:03:07 +0100
commit0709f6e798c32cb509964794cd388d10470343f8 (patch)
tree291f150f747ab7ed10bd107fa281eb8b51fd5495 /package/network/utils/iproute2
parentef765ceb0924134658876512132af5184c4dd947 (diff)
downloadupstream-0709f6e798c32cb509964794cd388d10470343f8.tar.gz
upstream-0709f6e798c32cb509964794cd388d10470343f8.tar.bz2
upstream-0709f6e798c32cb509964794cd388d10470343f8.zip
iproute2: disable SELinux for now
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/utils/iproute2')
-rw-r--r--package/network/utils/iproute2/patches/300-selinux-configurable.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..4cda30f978
--- /dev/null
+++ b/package/network/utils/iproute2/patches/300-selinux-configurable.patch
@@ -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"
+