From a4ae7a90a8dc6d77d94d138248884a6ad6e6a545 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 29 Mar 2006 13:53:54 +0000 Subject: [PATCH] Disable tests and documentation compilation and/or installation, speeds up compilation SVN-Revision: 3549 --- .../patches/160-disable_doc_tests.patch | 153 ++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 openwrt/package/openssl/patches/160-disable_doc_tests.patch diff --git a/openwrt/package/openssl/patches/160-disable_doc_tests.patch b/openwrt/package/openssl/patches/160-disable_doc_tests.patch new file mode 100644 index 0000000000..b571580314 --- /dev/null +++ b/openwrt/package/openssl/patches/160-disable_doc_tests.patch @@ -0,0 +1,153 @@ +diff -urN openssl-0.9.8a/Makefile openssl-0.9.8a.new/Makefile +--- openssl-0.9.8a/Makefile 2005-10-11 12:21:48.000000000 +0200 ++++ openssl-0.9.8a.new/Makefile 2006-03-29 15:23:28.107586680 +0200 +@@ -102,7 +102,7 @@ + KRB5_INCLUDES= + LIBKRB5= + +-DIRS= crypto ssl engines apps test tools ++DIRS= crypto ssl engines apps tools + SHLIBDIRS= crypto ssl + + # dirs in crypto to build +@@ -119,7 +119,7 @@ + + # tests to perform. "alltests" is a special word indicating that all tests + # should be performed. +-TESTS = alltests ++TESTS = + + MAKEFILE= Makefile + +@@ -131,7 +131,7 @@ + + TOP= . + ONEDIRS=out tmp +-EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS ++EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS + WDIRS= windows + LIBS= libcrypto.a libssl.a + SHARED_CRYPTO=libcrypto$(SHLIB_EXT) +@@ -204,7 +204,7 @@ + @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) + + sub_all: build_all +-build_all: build_libs build_apps build_tests build_tools ++build_all: build_libs build_apps build_tools + + build_libs: build_crypto build_ssl build_engines + +@@ -454,7 +454,7 @@ + dist_pem_h: + (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean) + +-install: all install_docs install_sw ++install: all install_sw + + install_sw: + @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ +diff -urN openssl-0.9.8a/Makefile.bak openssl-0.9.8a.new/Makefile.bak +--- openssl-0.9.8a/Makefile.bak 2005-10-11 12:21:44.000000000 +0200 ++++ openssl-0.9.8a.new/Makefile.bak 2006-03-29 15:28:48.660855176 +0200 +@@ -102,7 +102,7 @@ + KRB5_INCLUDES= + LIBKRB5= + +-DIRS= crypto ssl engines apps test tools ++DIRS= crypto ssl engines apps tools + SHLIBDIRS= crypto ssl + + # dirs in crypto to build +@@ -119,7 +119,7 @@ + + # tests to perform. "alltests" is a special word indicating that all tests + # should be performed. +-TESTS = alltests ++TESTS = + + MAKEFILE= Makefile + +@@ -131,7 +131,7 @@ + + TOP= . + ONEDIRS=out tmp +-EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS ++EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS + WDIRS= windows + LIBS= libcrypto.a libssl.a + SHARED_CRYPTO=libcrypto$(SHLIB_EXT) +@@ -204,7 +204,7 @@ + @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) + + sub_all: build_all +-build_all: build_libs build_apps build_tests build_tools ++build_all: build_libs build_apps build_tools + + build_libs: build_crypto build_ssl build_engines + +@@ -221,7 +221,7 @@ + build_tools: + @dir=tools; target=all; $(BUILD_CMD) + +-all_testapps: build_libs build_testapps ++all_testapps: build_libs + build_testapps: + @dir=crypto; target=testapps; $(BUILD_CMD) + +@@ -454,7 +454,7 @@ + dist_pem_h: + (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean) + +-install: all install_docs install_sw ++install: all install_sw + + install_sw: + @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ +diff -urN openssl-0.9.8a/Makefile.org openssl-0.9.8a.new/Makefile.org +--- openssl-0.9.8a/Makefile.org 2006-03-29 14:59:41.941396896 +0200 ++++ openssl-0.9.8a.new/Makefile.org 2006-03-29 15:29:46.126119128 +0200 +@@ -117,7 +117,7 @@ + + # tests to perform. "alltests" is a special word indicating that all tests + # should be performed. +-TESTS = alltests ++TESTS = + + MAKEFILE= Makefile + +@@ -129,7 +129,7 @@ + + TOP= . + ONEDIRS=out tmp +-EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS ++EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS + WDIRS= windows + LIBS= libcrypto.a libssl.a + SHARED_CRYPTO=libcrypto$(SHLIB_EXT) +@@ -202,7 +202,7 @@ + @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) + + sub_all: build_all +-build_all: build_libs build_apps build_tests build_tools ++build_all: build_libs build_apps build_tools + + build_libs: build_crypto build_ssl build_engines + +@@ -219,7 +219,7 @@ + build_tools: + @dir=tools; target=all; $(BUILD_CMD) + +-all_testapps: build_libs build_testapps ++all_testapps: build_libs + build_testapps: + @dir=crypto; target=testapps; $(BUILD_CMD) + +@@ -452,7 +452,7 @@ + dist_pem_h: + (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean) + +-install: all install_docs install_sw ++install: all install_sw + + install_sw: + @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \