From 73f4adaa542d555fe589aacfd8da5b8100820610 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 14 Apr 2009 05:21:22 +0000 Subject: openssl: git rid of version number in patches As noted by Hamish Moffatt on the list. --- .../openssl/openssl-0.9.8k-do-not-build-docs.patch | 13 ------------- .../openssl-0.9.8k-dont-force-large-file.patch | 19 ------------------- package/openssl/openssl-0.9.8k-nofips.patch | 12 ------------ .../openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch | 18 ------------------ package/openssl/openssl-do-not-build-docs.patch | 13 +++++++++++++ package/openssl/openssl-dont-force-large-file.patch | 19 +++++++++++++++++++ package/openssl/openssl-nofips.patch | 12 ++++++++++++ package/openssl/openssl-uclibc-susv3-legacy.patch | 18 ++++++++++++++++++ 8 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 package/openssl/openssl-0.9.8k-do-not-build-docs.patch delete mode 100644 package/openssl/openssl-0.9.8k-dont-force-large-file.patch delete mode 100644 package/openssl/openssl-0.9.8k-nofips.patch delete mode 100644 package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch create mode 100644 package/openssl/openssl-do-not-build-docs.patch create mode 100644 package/openssl/openssl-dont-force-large-file.patch create mode 100644 package/openssl/openssl-nofips.patch create mode 100644 package/openssl/openssl-uclibc-susv3-legacy.patch diff --git a/package/openssl/openssl-0.9.8k-do-not-build-docs.patch b/package/openssl/openssl-0.9.8k-do-not-build-docs.patch deleted file mode 100644 index 135a9d3b0..000000000 --- a/package/openssl/openssl-0.9.8k-do-not-build-docs.patch +++ /dev/null @@ -1,13 +0,0 @@ -Dont waste time building manpages if we're not going to use em. - ---- openssl/Makefile.org -+++ openssl/Makefile.org -@@ -792,7 +792,7 @@ - dist_pem_h: - (cd crypto/pem; $(MAKE) CC='${CC}' SDIRS='${SDIRS}' CFLAG='${CFLAG}' 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 --git a/package/openssl/openssl-0.9.8k-dont-force-large-file.patch b/package/openssl/openssl-0.9.8k-dont-force-large-file.patch deleted file mode 100644 index 5b04656ff..000000000 --- a/package/openssl/openssl-0.9.8k-dont-force-large-file.patch +++ /dev/null @@ -1,19 +0,0 @@ -[patch]: bss_file.c: don't force largefile mode ---- - crypto/bio/bss_file.c | 3 --- - 1 file changed, 3 deletions(-) - -Index: openssl-0.9.8g/crypto/bio/bss_file.c -=================================================================== ---- openssl-0.9.8g.orig/crypto/bio/bss_file.c -+++ openssl-0.9.8g/crypto/bio/bss_file.c -@@ -78,9 +78,6 @@ - * sequential access of large files without extra "magic" comprise *BSD, - * Darwin, IRIX... - */ --#ifndef _FILE_OFFSET_BITS --#define _FILE_OFFSET_BITS 64 --#endif - #endif - - #include diff --git a/package/openssl/openssl-0.9.8k-nofips.patch b/package/openssl/openssl-0.9.8k-nofips.patch deleted file mode 100644 index 0edea3ebc..000000000 --- a/package/openssl/openssl-0.9.8k-nofips.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nura openssl-0.9.8k/Makefile.org openssl-0.9.8k.nofips/Makefile.org ---- openssl-0.9.8k/Makefile.org 2009-03-03 20:40:29.000000000 -0200 -+++ openssl-0.9.8k.nofips/Makefile.org 2009-03-26 09:50:27.000000000 -0300 -@@ -131,7 +131,7 @@ - - BASEADDR= - --DIRS= crypto fips ssl engines apps test tools -+DIRS= crypto ssl engines apps test tools - SHLIBDIRS= crypto ssl fips - - # dirs in crypto to build diff --git a/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch b/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch deleted file mode 100644 index eb1d27798..000000000 --- a/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch +++ /dev/null @@ -1,18 +0,0 @@ -sys/timeb.h / ftime are legacy, so don't enable them for uClibc ---- - apps/speed.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: openssl-0.9.8g/apps/speed.c -=================================================================== ---- openssl-0.9.8g.orig/apps/speed.c -+++ openssl-0.9.8g/apps/speed.c -@@ -113,7 +113,7 @@ - #elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) - # define TIMES - #endif --#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) /* FIXME */ -+#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) && !defined(__UCLIBC__) /* FIXME */ - # define TIMEB - #endif - diff --git a/package/openssl/openssl-do-not-build-docs.patch b/package/openssl/openssl-do-not-build-docs.patch new file mode 100644 index 000000000..135a9d3b0 --- /dev/null +++ b/package/openssl/openssl-do-not-build-docs.patch @@ -0,0 +1,13 @@ +Dont waste time building manpages if we're not going to use em. + +--- openssl/Makefile.org ++++ openssl/Makefile.org +@@ -792,7 +792,7 @@ + dist_pem_h: + (cd crypto/pem; $(MAKE) CC='${CC}' SDIRS='${SDIRS}' CFLAG='${CFLAG}' 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 --git a/package/openssl/openssl-dont-force-large-file.patch b/package/openssl/openssl-dont-force-large-file.patch new file mode 100644 index 000000000..5b04656ff --- /dev/null +++ b/package/openssl/openssl-dont-force-large-file.patch @@ -0,0 +1,19 @@ +[patch]: bss_file.c: don't force largefile mode +--- + crypto/bio/bss_file.c | 3 --- + 1 file changed, 3 deletions(-) + +Index: openssl-0.9.8g/crypto/bio/bss_file.c +=================================================================== +--- openssl-0.9.8g.orig/crypto/bio/bss_file.c ++++ openssl-0.9.8g/crypto/bio/bss_file.c +@@ -78,9 +78,6 @@ + * sequential access of large files without extra "magic" comprise *BSD, + * Darwin, IRIX... + */ +-#ifndef _FILE_OFFSET_BITS +-#define _FILE_OFFSET_BITS 64 +-#endif + #endif + + #include diff --git a/package/openssl/openssl-nofips.patch b/package/openssl/openssl-nofips.patch new file mode 100644 index 000000000..0edea3ebc --- /dev/null +++ b/package/openssl/openssl-nofips.patch @@ -0,0 +1,12 @@ +diff -Nura openssl-0.9.8k/Makefile.org openssl-0.9.8k.nofips/Makefile.org +--- openssl-0.9.8k/Makefile.org 2009-03-03 20:40:29.000000000 -0200 ++++ openssl-0.9.8k.nofips/Makefile.org 2009-03-26 09:50:27.000000000 -0300 +@@ -131,7 +131,7 @@ + + BASEADDR= + +-DIRS= crypto fips ssl engines apps test tools ++DIRS= crypto ssl engines apps test tools + SHLIBDIRS= crypto ssl fips + + # dirs in crypto to build diff --git a/package/openssl/openssl-uclibc-susv3-legacy.patch b/package/openssl/openssl-uclibc-susv3-legacy.patch new file mode 100644 index 000000000..eb1d27798 --- /dev/null +++ b/package/openssl/openssl-uclibc-susv3-legacy.patch @@ -0,0 +1,18 @@ +sys/timeb.h / ftime are legacy, so don't enable them for uClibc +--- + apps/speed.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: openssl-0.9.8g/apps/speed.c +=================================================================== +--- openssl-0.9.8g.orig/apps/speed.c ++++ openssl-0.9.8g/apps/speed.c +@@ -113,7 +113,7 @@ + #elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) + # define TIMES + #endif +-#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) /* FIXME */ ++#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) && !defined(__UCLIBC__) /* FIXME */ + # define TIMEB + #endif + -- cgit v1.2.3