Blame SOURCES/mingw32-openssl-1.0.0-beta3-libversion.patch

aa8173
diff -up openssl-1.0.0-beta3/Makefile.org.mingw-libversion openssl-1.0.0-beta3/Makefile.org
aa8173
--- openssl-1.0.0-beta3/Makefile.org.mingw-libversion	2009-08-29 22:44:10.000000000 +0300
aa8173
+++ openssl-1.0.0-beta3/Makefile.org	2009-08-29 22:45:42.000000000 +0300
aa8173
@@ -542,8 +542,8 @@ install_sw:
aa8173
 				fi ); \
aa8173
 				if expr $(PLATFORM) : 'mingw' > /dev/null; then \
aa8173
 				(	case $$i in \
aa8173
-						*crypto*) i=libeay32.dll;; \
aa8173
-						*ssl*)    i=ssleay32.dll;; \
aa8173
+						*crypto*) i=libcrypto-$(SHLIB_SONAMEVER).dll;; \
aa8173
+						*ssl*)    i=libssl-$(SHLIB_SONAMEVER).dll;; \
aa8173
 					esac; \
aa8173
 					echo installing $$i; \
aa8173
 	 				cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
aa8173
diff -up openssl-1.0.0-beta3/Makefile.shared.mingw-libversion openssl-1.0.0-beta3/Makefile.shared
aa8173
--- openssl-1.0.0-beta3/Makefile.shared.mingw-libversion	2009-08-29 22:33:22.000000000 +0300
aa8173
+++ openssl-1.0.0-beta3/Makefile.shared	2009-08-29 22:33:22.000000000 +0300
aa8173
@@ -47,7 +47,7 @@ LIBEXTRAS=
aa8173
 # LIBVERSION contains the current version of the library.
aa8173
 # For example, to build libfoo.so.1.2, you need to do the following:
aa8173
 #LIBVERSION=1.2
aa8173
-LIBVERSION=
aa8173
+LIBVERSION=10
aa8173
 
aa8173
 # LIBCOMPATVERSIONS contains the compatibility versions (a list) of
aa8173
 # the library.  They MUST be in decreasing order.
aa8173
@@ -250,7 +250,7 @@ link_o.cygwin:
aa8173
 	base=-Wl,--enable-auto-image-base; \
aa8173
 	deffile=; \
aa8173
 	if expr $(PLATFORM) : 'mingw' > /dev/null; then \
aa8173
-		SHLIB=$(LIBNAME)eay32; base=; \
aa8173
+		SHLIB=lib$(LIBNAME); base=; \
aa8173
 		if test -f $(LIBNAME)eay32.def; then \
aa8173
 			deffile=$(LIBNAME)eay32.def; \
aa8173
 		fi; \
aa8173
@@ -282,13 +282,7 @@
aa8173
 	dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; extras=; \
aa8173
 	base=-Wl,--enable-auto-image-base; \
aa8173
 	if expr $(PLATFORM) : 'mingw' > /dev/null; then \
aa8173
-		case $(LIBNAME) in \
aa8173
-			crypto) SHLIB=libeay;; \
aa8173
-			ssl) SHLIB=ssleay;; \
aa8173
-		esac; \
aa8173
-		SHLIB_SOVER=32; \
aa8173
-		extras="$(LIBNAME).def"; \
aa8173
-		$(PERL) util/mkdef.pl 32 $$SHLIB > $$extras; \
aa8173
+		SHLIB=lib$(LIBNAME); \
aa8173
 		base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && base=-Wl,--image-base,0x63000000; \
aa8173
 	fi; \
aa8173
 	dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \