From 0eebba60c1dd078ab35b3bff9920cf5a22d4d05c Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 12 May 2009 09:53:55 +0000 Subject: [PATCH] [package] prevent lsof from enabling selinux support (#4967) git-svn-id: svn://svn.openwrt.org/openwrt/packages@15793 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/lsof/patches/004-lsof_selinux.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 utils/lsof/patches/004-lsof_selinux.patch diff --git a/utils/lsof/patches/004-lsof_selinux.patch b/utils/lsof/patches/004-lsof_selinux.patch new file mode 100644 index 000000000..8188b3864 --- /dev/null +++ b/utils/lsof/patches/004-lsof_selinux.patch @@ -0,0 +1,12 @@ +diff -Naur lsof-4.81.dfsg.1.orig/Configure lsof-4.81.dfsg.1/Configure +--- lsof-4.81.dfsg.1.orig/Configure 2009-04-20 03:03:28.863704499 -0400 ++++ lsof-4.81.dfsg.1/Configure 2009-04-20 03:05:58.467696265 -0400 +@@ -2646,7 +2646,7 @@ + LSOF_TMP1=1 + fi # } + fi # } +- if test $LSOF_TMP1 -eq 1 # { ++ if 0 -eq 1 # { + then + LSOF_CFGF="$LSOF_CFGF -DHASSELINUX" + LSOF_CFGL="$LSOF_CFGL -lselinux"