mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
openssl:
- 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:
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
|
@ -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} \
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue