A major overhaul to the openssl package

- shared libraries are now built
- sh lib versioning changed to follow redhat
- install location changed. Most of it is now installed in
  /usr/local/[bin|lib|man]
- allow seperate installation of libraries for runtime support of
  legacy applications
This commit is contained in:
Tom G. Christensen
2003-10-16 10:27:28 +00:00
committed by tgc
parent a9c9d57ede
commit 6c2766639d
3 changed files with 107 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
--- openssl-0.9.6k/Configure.orig 2003-10-02 10:59:28.409538000 +0200
+++ openssl-0.9.6k/Configure 2003-10-02 11:01:48.521291000 +0200
@@ -1006,7 +1006,7 @@
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_SOVER) .s$sotmp/;
}
elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
{

View File

@@ -0,0 +1,21 @@
--- openssl-0.9.6k/Makefile.org.orig 2003-10-15 14:32:32.535403000 +0200
+++ openssl-0.9.6k/Makefile.org 2003-10-15 15:06:34.108563000 +0200
@@ -10,6 +10,7 @@
SHLIB_MAJOR=
SHLIB_MINOR=
SHLIB_EXT=
+SHLIB_SOVER=2
PLATFORM=dist
OPTIONS=
CONFIGURE_ARGS=
@@ -351,8 +352,9 @@
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
( PATH=/usr/ccs/bin:$$PATH ; export PATH; \
set -x; ${CC} ${SHARED_LDFLAGS} \
+ -R${INSTALLTOP}/lib \
-G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ -h lib$$i.so.${SHLIB_SOVER} \
-z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \
libs="$$libs -l$$i"; \
done; \