mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 20:36:30 -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>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 430000
|
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
|
||||||
OPENSSLBASE= /usr/local
|
OPENSSLBASE= ${LOCALBASE}
|
||||||
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
||||||
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
|
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
|
||||||
OPENSSLLIB= ${OPENSSLBASE}/lib
|
OPENSSLLIB= ${OPENSSLBASE}/lib
|
||||||
OPENSSLINC= ${OPENSSLBASE}/include
|
OPENSSLINC= ${OPENSSLBASE}/include
|
||||||
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
||||||
|
|
|
@ -83,10 +83,10 @@ post-install:
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 430000
|
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
|
||||||
OPENSSLBASE= /usr/local
|
OPENSSLBASE= ${LOCALBASE}
|
||||||
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
||||||
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
|
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
|
||||||
OPENSSLLIB= ${OPENSSLBASE}/lib
|
OPENSSLLIB= ${OPENSSLBASE}/lib
|
||||||
OPENSSLINC= ${OPENSSLBASE}/include
|
OPENSSLINC= ${OPENSSLBASE}/include
|
||||||
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
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>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 430000
|
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
|
||||||
OPENSSLBASE= /usr/local
|
OPENSSLBASE= ${LOCALBASE}
|
||||||
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
||||||
LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl
|
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
|
||||||
OPENSSLLIB= ${OPENSSLBASE}/lib
|
OPENSSLLIB= ${OPENSSLBASE}/lib
|
||||||
OPENSSLINC= ${OPENSSLBASE}/include
|
OPENSSLINC= ${OPENSSLBASE}/include
|
||||||
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= openssl
|
PORTNAME= openssl
|
||||||
PORTVERSION= 0.9.6c
|
PORTVERSION= 0.9.6c
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= security devel
|
CATEGORIES= security devel
|
||||||
MASTER_SITES= http://www.openssl.org/source/ \
|
MASTER_SITES= http://www.openssl.org/source/ \
|
||||||
ftp://ftp.openssl.org/source/ \
|
ftp://ftp.openssl.org/source/ \
|
||||||
|
@ -31,8 +32,9 @@ USE_PERL5= yes
|
||||||
PLIST= ${PKGDIR}/pkg-plist.noshared
|
PLIST= ${PKGDIR}/pkg-plist.noshared
|
||||||
.else
|
.else
|
||||||
ALL_TARGET= freebsd-shared all
|
ALL_TARGET= freebsd-shared all
|
||||||
SHLIBVER= 2
|
SHLIBVER= 3
|
||||||
MAKE_ENV+= SHLIBVER=${SHLIBVER}
|
MAKE_ENV+= SHLIBVER=${SHLIBVER}
|
||||||
|
PLIST_SUB+= SHLIBVER=${SHLIBVER}
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -58,10 +58,10 @@ include/openssl/x509v3.h
|
||||||
lib/libRSAglue.a
|
lib/libRSAglue.a
|
||||||
lib/libcrypto.a
|
lib/libcrypto.a
|
||||||
lib/libcrypto.so
|
lib/libcrypto.so
|
||||||
lib/libcrypto.so.2
|
lib/libcrypto.so.%%SHLIBVER%%
|
||||||
lib/libssl.a
|
lib/libssl.a
|
||||||
lib/libssl.so
|
lib/libssl.so
|
||||||
lib/libssl.so.2
|
lib/libssl.so.%%SHLIBVER%%
|
||||||
openssl/misc/CA.pl
|
openssl/misc/CA.pl
|
||||||
openssl/misc/CA.sh
|
openssl/misc/CA.sh
|
||||||
openssl/misc/c_hash
|
openssl/misc/c_hash
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= openssl
|
PORTNAME= openssl
|
||||||
PORTVERSION= 0.9.6c
|
PORTVERSION= 0.9.6c
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= security devel
|
CATEGORIES= security devel
|
||||||
MASTER_SITES= http://www.openssl.org/source/ \
|
MASTER_SITES= http://www.openssl.org/source/ \
|
||||||
ftp://ftp.openssl.org/source/ \
|
ftp://ftp.openssl.org/source/ \
|
||||||
|
@ -31,8 +32,9 @@ USE_PERL5= yes
|
||||||
PLIST= ${PKGDIR}/pkg-plist.noshared
|
PLIST= ${PKGDIR}/pkg-plist.noshared
|
||||||
.else
|
.else
|
||||||
ALL_TARGET= freebsd-shared all
|
ALL_TARGET= freebsd-shared all
|
||||||
SHLIBVER= 2
|
SHLIBVER= 3
|
||||||
MAKE_ENV+= SHLIBVER=${SHLIBVER}
|
MAKE_ENV+= SHLIBVER=${SHLIBVER}
|
||||||
|
PLIST_SUB+= SHLIBVER=${SHLIBVER}
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -58,10 +58,10 @@ include/openssl/x509v3.h
|
||||||
lib/libRSAglue.a
|
lib/libRSAglue.a
|
||||||
lib/libcrypto.a
|
lib/libcrypto.a
|
||||||
lib/libcrypto.so
|
lib/libcrypto.so
|
||||||
lib/libcrypto.so.2
|
lib/libcrypto.so.%%SHLIBVER%%
|
||||||
lib/libssl.a
|
lib/libssl.a
|
||||||
lib/libssl.so
|
lib/libssl.so
|
||||||
lib/libssl.so.2
|
lib/libssl.so.%%SHLIBVER%%
|
||||||
openssl/misc/CA.pl
|
openssl/misc/CA.pl
|
||||||
openssl/misc/CA.sh
|
openssl/misc/CA.sh
|
||||||
openssl/misc/c_hash
|
openssl/misc/c_hash
|
||||||
|
|
Loading…
Add table
Reference in a new issue