|
|
5820f5 |
Define and use a soname -- because we have to care about binary
|
|
|
5820f5 |
compatibility, we have to increment the soname in order to allow
|
|
|
5820f5 |
this version to co-exist with another versions and have everything
|
|
|
5820f5 |
work right.
|
|
|
5820f5 |
|
|
|
5820f5 |
--- openssl-0.9.8b/Makefile.org.soversion 2006-05-11 11:53:26.000000000 +0200
|
|
|
5820f5 |
+++ openssl-0.9.8b/Makefile.org 2006-05-11 12:14:05.000000000 +0200
|
|
|
5820f5 |
@@ -10,6 +10,7 @@
|
|
|
5820f5 |
SHLIB_MAJOR=
|
|
|
5820f5 |
SHLIB_MINOR=
|
|
|
5820f5 |
SHLIB_EXT=
|
|
|
5820f5 |
+SHLIB_SONAMEVER=6
|
|
|
5820f5 |
PLATFORM=dist
|
|
|
5820f5 |
OPTIONS=
|
|
|
5820f5 |
CONFIGURE_ARGS=
|
|
|
5820f5 |
@@ -277,10 +278,9 @@
|
|
|
5820f5 |
link-shared:
|
|
|
5820f5 |
@ set -e; for i in ${SHLIBDIRS}; do \
|
|
|
5820f5 |
$(MAKE) -f $(HERE)/Makefile.shared -e $(BUILDENV) \
|
|
|
5820f5 |
- LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
5820f5 |
+ LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
|
|
|
5820f5 |
LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
|
|
|
5820f5 |
symlink.$(SHLIB_TARGET); \
|
|
|
5820f5 |
- libs="$$libs -l$$i"; \
|
|
|
5820f5 |
done
|
|
|
5820f5 |
|
|
|
5820f5 |
build-shared: do_$(SHLIB_TARGET) link-shared
|
|
|
5820f5 |
@@ -291,7 +291,7 @@
|
|
|
5820f5 |
libs="$(LIBKRB5) $$libs"; \
|
|
|
5820f5 |
fi; \
|
|
|
5820f5 |
$(CLEARENV) && $(MAKE) -f Makefile.shared -e $(BUILDENV) \
|
|
|
5820f5 |
- LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
5820f5 |
+ LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
|
|
|
5820f5 |
LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
|
|
|
5820f5 |
LIBDEPS="$$libs $(EX_LIBS)" \
|
|
|
5820f5 |
link_a.$(SHLIB_TARGET); \
|
|
|
5820f5 |
--- openssl-0.9.8b/Configure.soversion 2006-05-11 11:53:26.000000000 +0200
|
|
|
5820f5 |
+++ openssl-0.9.8b/Configure 2006-05-11 11:53:26.000000000 +0200
|
|
|
5820f5 |
@@ -1327,7 +1327,7 @@
|
|
|
5820f5 |
elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)
|
|
|
5820f5 |
{
|
|
|
5820f5 |
my $sotmp = $1;
|
|
|
5820f5 |
- s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
|
|
|
5820f5 |
+ s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_SONAMEVER) .s$sotmp/;
|
|
|
5820f5 |
}
|
|
|
5820f5 |
elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
|
|
|
5820f5 |
{
|