- some configure scripts check the version of the lib
  so we need to update SHLIBVER
- bump PORTREVISION

openssh:
- build ports with local openssl, if it exists
This commit is contained in:
Dirk Meyer 2002-05-04 04:38:12 +00:00
parent 68fc467fd6
commit dd32b25a29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58521
7 changed files with 19 additions and 15 deletions

View file

@ -83,10 +83,10 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 430000
OPENSSLBASE= /usr/local
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
OPENSSLBASE= ${LOCALBASE}
OPENSSLDIR= ${OPENSSLBASE}/openssl
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
OPENSSLLIB= ${OPENSSLBASE}/lib
OPENSSLINC= ${OPENSSLBASE}/include
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \

View file

@ -83,10 +83,10 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 430000
OPENSSLBASE= /usr/local
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
OPENSSLBASE= ${LOCALBASE}
OPENSSLDIR= ${OPENSSLBASE}/openssl
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
OPENSSLLIB= ${OPENSSLBASE}/lib
OPENSSLINC= ${OPENSSLBASE}/include
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \

View file

@ -32,10 +32,10 @@ FIXME= lib/Makefile scp/Makefile sftp/Makefile sftp-server/Makefile \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 430000
OPENSSLBASE= /usr/local
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
OPENSSLBASE= ${LOCALBASE}
OPENSSLDIR= ${OPENSSLBASE}/openssl
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
OPENSSLLIB= ${OPENSSLBASE}/lib
OPENSSLINC= ${OPENSSLBASE}/include
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \

View file

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.6c
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
@ -31,8 +32,9 @@ USE_PERL5= yes
PLIST= ${PKGDIR}/pkg-plist.noshared
.else
ALL_TARGET= freebsd-shared all
SHLIBVER= 2
SHLIBVER= 3
MAKE_ENV+= SHLIBVER=${SHLIBVER}
PLIST_SUB+= SHLIBVER=${SHLIBVER}
INSTALLS_SHLIB= yes
.endif

View file

@ -58,10 +58,10 @@ include/openssl/x509v3.h
lib/libRSAglue.a
lib/libcrypto.a
lib/libcrypto.so
lib/libcrypto.so.2
lib/libcrypto.so.%%SHLIBVER%%
lib/libssl.a
lib/libssl.so
lib/libssl.so.2
lib/libssl.so.%%SHLIBVER%%
openssl/misc/CA.pl
openssl/misc/CA.sh
openssl/misc/c_hash

View file

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.6c
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
@ -31,8 +32,9 @@ USE_PERL5= yes
PLIST= ${PKGDIR}/pkg-plist.noshared
.else
ALL_TARGET= freebsd-shared all
SHLIBVER= 2
SHLIBVER= 3
MAKE_ENV+= SHLIBVER=${SHLIBVER}
PLIST_SUB+= SHLIBVER=${SHLIBVER}
INSTALLS_SHLIB= yes
.endif

View file

@ -58,10 +58,10 @@ include/openssl/x509v3.h
lib/libRSAglue.a
lib/libcrypto.a
lib/libcrypto.so
lib/libcrypto.so.2
lib/libcrypto.so.%%SHLIBVER%%
lib/libssl.a
lib/libssl.so
lib/libssl.so.2
lib/libssl.so.%%SHLIBVER%%
openssl/misc/CA.pl
openssl/misc/CA.sh
openssl/misc/c_hash