2006-05-11 11:52:19 +00:00
|
|
|
Define and use a soname -- because we have to care about binary
|
|
|
|
compatibility, we have to increment the soname in order to allow
|
|
|
|
this version to co-exist with another versions and have everything
|
|
|
|
work right.
|
|
|
|
|
2009-01-15 09:10:25 +00:00
|
|
|
diff -up openssl-0.9.8j/Configure.soversion openssl-0.9.8j/Configure
|
|
|
|
--- openssl-0.9.8j/Configure.soversion 2007-12-03 14:41:19.000000000 +0100
|
|
|
|
+++ openssl-0.9.8j/Configure 2007-12-03 14:41:19.000000000 +0100
|
2007-12-03 14:24:08 +00:00
|
|
|
@@ -1371,7 +1371,7 @@ while (<IN>)
|
|
|
|
elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)
|
|
|
|
{
|
|
|
|
my $sotmp = $1;
|
|
|
|
- s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
|
|
|
|
+ s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_SONAMEVER) .s$sotmp/;
|
|
|
|
}
|
|
|
|
elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
|
|
|
|
{
|
2009-01-15 09:10:25 +00:00
|
|
|
diff -up openssl-0.9.8j/Makefile.org.soversion openssl-0.9.8j/Makefile.org
|
|
|
|
--- openssl-0.9.8j/Makefile.org.soversion 2007-12-03 14:41:19.000000000 +0100
|
|
|
|
+++ openssl-0.9.8j/Makefile.org 2007-12-03 14:41:19.000000000 +0100
|
2007-12-03 14:24:08 +00:00
|
|
|
@@ -10,6 +10,7 @@ SHLIB_VERSION_HISTORY=
|
2006-05-11 11:52:19 +00:00
|
|
|
SHLIB_MAJOR=
|
|
|
|
SHLIB_MINOR=
|
|
|
|
SHLIB_EXT=
|
2009-01-15 09:10:25 +00:00
|
|
|
+SHLIB_SONAMEVER=8
|
2006-05-11 11:52:19 +00:00
|
|
|
PLATFORM=dist
|
|
|
|
OPTIONS=
|
|
|
|
CONFIGURE_ARGS=
|
2007-12-03 14:24:08 +00:00
|
|
|
@@ -277,10 +278,9 @@ clean-shared:
|
2006-05-11 11:52:19 +00:00
|
|
|
link-shared:
|
|
|
|
@ set -e; for i in ${SHLIBDIRS}; do \
|
|
|
|
$(MAKE) -f $(HERE)/Makefile.shared -e $(BUILDENV) \
|
|
|
|
- LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
|
+ LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
|
|
|
|
LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
|
|
|
|
symlink.$(SHLIB_TARGET); \
|
|
|
|
- libs="$$libs -l$$i"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
build-shared: do_$(SHLIB_TARGET) link-shared
|
2007-12-03 14:24:08 +00:00
|
|
|
@@ -291,7 +291,7 @@ do_$(SHLIB_TARGET):
|
2006-05-11 11:52:19 +00:00
|
|
|
libs="$(LIBKRB5) $$libs"; \
|
|
|
|
fi; \
|
|
|
|
$(CLEARENV) && $(MAKE) -f Makefile.shared -e $(BUILDENV) \
|
|
|
|
- LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
|
+ LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
|
|
|
|
LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
|
|
|
|
LIBDEPS="$$libs $(EX_LIBS)" \
|
|
|
|
link_a.$(SHLIB_TARGET); \
|