/[smeserver]/rpms/openssl/sme8/openssl-0.9.8b-soversion.patch
ViewVC logotype

Contents of /rpms/openssl/sme8/openssl-0.9.8b-soversion.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 18 03:03:08 2014 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: openssl-0_9_8e-28_el5_sme, openssl-0_9_8e-33_1_el5_sme, openssl-0_9_8e-32_1_el5_sme, openssl-0_9_8e-27_1_el5_sme, openssl-0_9_8e-27_el5_10_1, openssl-0_9_8e-31_1_el5_sme, HEAD
Branch point for: upstream
Initial import

1 Define and use a soname -- because we have to care about binary
2 compatibility, we have to increment the soname in order to allow
3 this version to co-exist with another versions and have everything
4 work right.
5
6 --- openssl-0.9.8b/Makefile.org.soversion 2006-05-11 11:53:26.000000000 +0200
7 +++ openssl-0.9.8b/Makefile.org 2006-05-11 12:14:05.000000000 +0200
8 @@ -10,6 +10,7 @@
9 SHLIB_MAJOR=
10 SHLIB_MINOR=
11 SHLIB_EXT=
12 +SHLIB_SONAMEVER=6
13 PLATFORM=dist
14 OPTIONS=
15 CONFIGURE_ARGS=
16 @@ -277,10 +278,9 @@
17 link-shared:
18 @ set -e; for i in ${SHLIBDIRS}; do \
19 $(MAKE) -f $(HERE)/Makefile.shared -e $(BUILDENV) \
20 - LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
21 + LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
22 LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
23 symlink.$(SHLIB_TARGET); \
24 - libs="$$libs -l$$i"; \
25 done
26
27 build-shared: do_$(SHLIB_TARGET) link-shared
28 @@ -291,7 +291,7 @@
29 libs="$(LIBKRB5) $$libs"; \
30 fi; \
31 $(CLEARENV) && $(MAKE) -f Makefile.shared -e $(BUILDENV) \
32 - LIBNAME=$$i LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
33 + LIBNAME=$$i LIBVERSION=${SHLIB_SONAMEVER} \
34 LIBCOMPATVERSIONS=";${SHLIB_VERSION_HISTORY}" \
35 LIBDEPS="$$libs $(EX_LIBS)" \
36 link_a.$(SHLIB_TARGET); \
37 --- openssl-0.9.8b/Configure.soversion 2006-05-11 11:53:26.000000000 +0200
38 +++ openssl-0.9.8b/Configure 2006-05-11 11:53:26.000000000 +0200
39 @@ -1327,7 +1327,7 @@
40 elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)
41 {
42 my $sotmp = $1;
43 - s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
44 + s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_SONAMEVER) .s$sotmp/;
45 }
46 elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
47 {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed