Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / net / uanytun / Makefile
index 5091920e430b8edc6661584c0b6cb53a566fd0b7..ddce67cbfe55626a9217d4ddfed672f73b2da966 100644 (file)
@@ -17,7 +17,7 @@ PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.anytun.org/download/
-PKG_MD5SUM:=ce47ad45003ff1d84eaf5276941b9ddf
+PKG_HASH:=8edeed2ce185cc1add8a53de9f9192dfa65a48b559cccae6393faf2a1cd6f093
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
 PKG_LICENSE:=GPL-3.0+
@@ -53,7 +53,7 @@ uAnytun is a tiny implementation of SATP the secure anycast tunneling protocol.
   IPSec in Tunnel mode and allows tunneling of every ETHER TYPE protocol (e.g.
   ethernet, ip, arp ...). SATP directly includes cryptography and message
   authentication based on the methods used by SRTP.  It is intended to deliver
-  a generic, scaleable and secure solution for tunneling and relaying of packets
+  a generic, scalable and secure solution for tunneling and relaying of packets
   of any protocol.
   Unlike Anytun which is a full featured implementation uAnytun has no support
   for multiple connections or synchronisation. It is a small single threaded
@@ -137,7 +137,7 @@ define Build/Compile
     $(TARGET_CONFIGURE_OPTS) \
     $(VARIANT_MAKE_OPTS) \
     TARGET=Linux \
-    CFLAGS="$(TARGET_CFLAGS) $(VARIANT_CFLAGS)" \
+    CFLAGS="$(TARGET_CFLAGS) $(VARIANT_CFLAGS) $(TARGET_CPPFLAGS)" \
     LDFLAGS="$(TARGET_LDFLAGS) $(VARIANT_LDFLAGS)"
        $(STRIP) $(PKG_BUILD_DIR)/src/uanytun
 endef