- cleanup fips

- remove harmfull -Wl,-Bsymbolic

  strcmp did not work correctly,
  and the initialisation of internal hashs was defunct.
  Therefor serveral applications failed to find some of the ciphers.
  e.G. openvpn, jabberd
This commit is contained in:
Dirk Meyer 2004-11-06 05:12:46 +00:00
parent a33f8481f4
commit 8d0380392d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120938
3 changed files with 17 additions and 6 deletions

View file

@ -11,6 +11,7 @@ PORTVERSION= 0.9.7
PORTREVISION!= date -v-1d +%Y%m%d
.else
PORTVERSION= 0.9.7e
PORTREVISION?= 1
.endif
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \

View file

@ -1,5 +1,16 @@
--- Makefile.org.orig Tue Sep 28 22:52:14 2004
+++ Makefile.org Tue Oct 26 18:08:14 2004
+++ Makefile.org Fri Nov 5 18:21:09 2004
@@ -175,8 +175,8 @@
# we might set SHLIB_MARK to '$(SHARED_LIBS)'.
SHLIB_MARK=
-DIRS= crypto fips ssl $(SHLIB_MARK) sigs apps test tools
-SHLIBDIRS= fips crypto ssl
+DIRS= crypto ssl $(SHLIB_MARK) sigs apps test tools
+SHLIBDIRS= crypto ssl
# dirs in crypto to build
SDIRS= objects \
@@ -194,7 +194,7 @@
MAKEFILE= Makefile
@ -9,17 +20,19 @@
MAN1=1
MAN3=3
MANSUFFIX=
@@ -305,8 +305,8 @@
@@ -305,9 +305,9 @@
libs="$(LIBKRB5) $$libs"; \
fi; \
( set -x; ${CC} ${SHARED_LDFLAGS} \
- -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -Wl,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -Wl,-Bsymbolic \
+ -nodefaultlibs \
+ -shared -o lib$$i.so.${SHLIBVER} \
+ -Wl,-soname=lib$$i.so.${SHLIBVER} \
-Wl,-Bsymbolic \
-Wl,--whole-archive lib$$i.a \
-Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \
libs="-l$$i $$libs"; \
@@ -795,7 +795,7 @@
install_sw:
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \

View file

@ -1,6 +1,5 @@
bin/c_rehash
bin/openssl
bin/openssl_fips_fingerprint
include/openssl/aes.h
include/openssl/asn1.h
include/openssl/asn1_mac.h
@ -25,8 +24,6 @@ include/openssl/ec.h
include/openssl/engine.h
include/openssl/err.h
include/openssl/evp.h
include/openssl/fips.h
include/openssl/fips_rand.h
include/openssl/hmac.h
include/openssl/idea.h
include/openssl/krb5_asn.h