[package] prevent lsof from enabling selinux support (#4967)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 May 2009 09:53:55 +0000 (09:53 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 May 2009 09:53:55 +0000 (09:53 +0000)
SVN-Revision: 15793

utils/lsof/patches/004-lsof_selinux.patch [new file with mode: 0644]

diff --git a/utils/lsof/patches/004-lsof_selinux.patch b/utils/lsof/patches/004-lsof_selinux.patch
new file mode 100644 (file)
index 0000000..8188b38
--- /dev/null
@@ -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"