This patch update CyaSSL library to last version 2.6.0
Currently on the trunk version CyaSSL is version 1.6.5 stops to 2010.


you need to delete the folder "patches" no longer required

diff -r -u a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile
--- a/package/libs/cyassl/Makefile      2013-03-21 08:08:18.000000000 +0100
+++ b/package/libs/cyassl/Makefile      2013-05-05 10:02:56.000000000 +0200
@@ -8,16 +8,14 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=cyassl
-PKG_VERSION:=1.6.5
-PKG_RELEASE:=2
+PKG_VERSION:=2.6.0
+PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=98c2c6350acf1d089756a1de9ccb9903
+PKG_MD5SUM:=9c48fd4ab677c11b4612fb4eb15444d9

-PKG_FIXUP:=patch-libtool
 PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1

 include $(INCLUDE_DIR)/package.mk

@@ -26,6 +24,7 @@
   SUBMENU:=SSL
   CATEGORY:=Libraries
   TITLE:=CyaSSL library
+  DEPENDS:=+libpthread
   URL:=http://www.yassl.com/
 endef

@@ -37,8 +36,11 @@
 TARGET_CFLAGS += $(FPIC)

 CONFIGURE_ARGS += \
-       --without-zlib \
-       --enable-singleThreaded
+       --enable-dtls \
+       --enable-static \
+       --enable-opensslextra \
+       --enable-singleThreaded \
+       --disable-examples

 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
Only in a/package/libs/cyassl: patches



I tested the patch for x86 and mipsel target, compiled without warning.

Bye

Massimo
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to