1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00
openwrt-packages/net/iodine/patches/010-cross-compile.patch
Uwe Kleine-König 7d5784fc51 net/iodine: upgrade to version 0.7.0
This is compatible to 0.6.0-rc1 client and servers and fixes an
authentication bypass bug (CVE-2014-4168).

Signed-off-by: Uwe Kleine-König <uwe+openwrt@kleine-koenig.org>
2014-07-21 21:29:40 +02:00

25 lines
610 B
Diff

--- iodine-0.7.0.orig/src/osflags
+++ iodine-0.7.0/src/osflags
@@ -16,12 +16,6 @@ link)
windows32)
echo '-lws2_32 -liphlpapi';
;;
- Linux)
- FLAGS="";
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
- echo $FLAGS;
- ;;
esac
;;
cflags)
@@ -34,8 +28,6 @@ cflags)
;;
Linux)
FLAGS="-D_GNU_SOURCE"
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
echo $FLAGS;
;;
esac