package/cyassl: update to version 1.6.5
[openwrt/svn-archive/archive.git] / package / cyassl / patches / 110-makefile_disable_examples_tests.patch
index d991a336dfeae0083b5578f8aea89a3b69960ddb..c66ab8c13764b14713754d211b52b78d64249b09 100644 (file)
@@ -1,32 +1,25 @@
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -1,10 +1,10 @@
--SUBDIRS = src ctaocrypt examples testsuite\r
+@@ -1,4 +1,4 @@
+-SUBDIRS = src ctaocrypt examples testsuite sslSniffer\r
 +SUBDIRS = src ctaocrypt\r
  EXTRA_DIST = cyassl.dsp cyassl.dsw certs/*.pem certs/*.der certs/*.txt \\r
      lib/dummy cyassl.sln cyassl.vcproj cyassl-iphone.xcodeproj/project.pbxproj \\r
-     doc/*.pdf\r
\r
- basic:\r
--      cd src; $(MAKE); cd ../testsuite; $(MAKE); cd ../\r
-+      cd src; $(MAKE); cd ../\r
\r
- openssl-links:\r
-       cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \\r
+     doc/*.pdf swig/README swig/*.i swig/cyassl_adds.c swig/*.sh swig/runme.* \\r
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -190,7 +190,7 @@ target_os = @target_os@
+@@ -193,7 +193,7 @@ target_os = @target_os@
  target_vendor = @target_vendor@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
--SUBDIRS = src ctaocrypt examples testsuite
+-SUBDIRS = src ctaocrypt examples testsuite sslSniffer
 +SUBDIRS = src ctaocrypt
  EXTRA_DIST = cyassl.dsp cyassl.dsw certs/*.pem certs/*.der certs/*.txt \
      lib/dummy cyassl.sln cyassl.vcproj cyassl-iphone.xcodeproj/project.pbxproj \
-     doc/*.pdf
-@@ -638,7 +638,7 @@ uninstall-am:
+     doc/*.pdf swig/README swig/*.i swig/cyassl_adds.c swig/*.sh swig/runme.* \
+@@ -643,7 +643,7 @@ uninstall-am:
  
+ # !!!! first line of rule has to start with a hard (real) tab, not spaces
  basic:
 -      cd src; $(MAKE); cd ../testsuite; $(MAKE); cd ../
 +      cd src; $(MAKE); cd ../
@@ -42,7 +35,7 @@
  \r
 --- a/ctaocrypt/Makefile.in
 +++ b/ctaocrypt/Makefile.in
-@@ -174,7 +174,7 @@ target_os = @target_os@
+@@ -177,7 +177,7 @@ target_os = @target_os@
  target_vendor = @target_vendor@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@