diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index fe073e822441..15084b61dced 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,50 +1,46 @@ PORTNAME= boringssl PORTVERSION= 0.0.0.0.2023.08.05.01 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES+= https://proxy.golang.org/:gomods DISTFILES+= golang.org/x/crypto/@v/v0.10.0.zip:gomods \ golang.org/x/crypto/@v/v0.10.0.mod:gomods \ golang.org/x/net/@v/v0.11.0.zip:gomods \ golang.org/x/net/@v/v0.11.0.mod:gomods \ golang.org/x/sys/@v/v0.9.0.zip:gomods \ golang.org/x/sys/@v/v0.9.0.mod:gomods \ golang.org/x/term/@v/v0.9.0.zip:gomods \ golang.org/x/term/@v/v0.9.0.mod:gomods EXTRACT_ONLY= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}-${GH_TAGNAME}_GH0.tar.gz MAINTAINER= osa@FreeBSD.org COMMENT= Fork of OpenSSL WWW= https://boringssl.googlesource.com/boringssl/ LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:insource cpe go:no_targets localbase perl5 CONFLICTS_INSTALL= libressl libressl-devel \ openssl openssl3[01] openssl-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= e28988e CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1 \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} USE_LDCONFIG= yes LDFLAGS+= -Wl,-rpath,${LOCALBASE}/lib TEST_TARGET= run_tests MAKE_ENV+= GOFLAGS=-mod=readonly \ GOPROXY=file://${DISTDIR} -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tool/bssl ${STAGEDIR}${PREFIX}/bin/ - (cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include) - ${INSTALL_LIB} ${WRKSRC}/crypto/libcrypto.so ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1.0.0 - ${INSTALL_LIB} ${WRKSRC}/ssl/libssl.so ${STAGEDIR}${PREFIX}/lib/libssl.so.1.0.0 - ${LN} -sf libcrypto.so.1 ${STAGEDIR}${PREFIX}/lib/libcrypto.so - ${LN} -sf libcrypto.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1 - ${LN} -sf libssl.so.1 ${STAGEDIR}${PREFIX}/lib/libssl.so - ${LN} -sf libssl.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libssl.so.1 +post-install: + ${LN} -sf libcrypto.so.1 ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1.0.0 + ${LN} -sf libssl.so.1 ${STAGEDIR}${PREFIX}/lib/libssl.so.1.0.0 .include diff --git a/security/boringssl/pkg-plist b/security/boringssl/pkg-plist index 3175d612e22e..9c9205e8e554 100644 --- a/security/boringssl/pkg-plist +++ b/security/boringssl/pkg-plist @@ -1,93 +1,96 @@ bin/bssl include/openssl/aead.h include/openssl/aes.h include/openssl/arm_arch.h include/openssl/asm_base.h include/openssl/asn1.h include/openssl/asn1_mac.h include/openssl/asn1t.h include/openssl/base.h include/openssl/base64.h include/openssl/bio.h include/openssl/blake2.h include/openssl/blowfish.h include/openssl/bn.h include/openssl/buf.h include/openssl/buffer.h include/openssl/bytestring.h include/openssl/cast.h include/openssl/chacha.h include/openssl/cipher.h include/openssl/cmac.h include/openssl/conf.h include/openssl/cpu.h include/openssl/crypto.h include/openssl/ctrdrbg.h include/openssl/curve25519.h include/openssl/des.h include/openssl/dh.h include/openssl/digest.h include/openssl/dsa.h include/openssl/dtls1.h include/openssl/e_os2.h include/openssl/ec.h include/openssl/ec_key.h include/openssl/ecdh.h include/openssl/ecdsa.h include/openssl/engine.h include/openssl/err.h include/openssl/evp.h include/openssl/evp_errors.h include/openssl/ex_data.h include/openssl/hkdf.h include/openssl/hmac.h include/openssl/hpke.h include/openssl/hrss.h include/openssl/is_boringssl.h include/openssl/kdf.h include/openssl/kyber.h include/openssl/lhash.h include/openssl/md4.h include/openssl/md5.h include/openssl/mem.h include/openssl/nid.h include/openssl/obj.h include/openssl/obj_mac.h include/openssl/objects.h include/openssl/opensslconf.h include/openssl/opensslv.h include/openssl/ossl_typ.h include/openssl/pem.h include/openssl/pkcs12.h include/openssl/pkcs7.h include/openssl/pkcs8.h include/openssl/poly1305.h include/openssl/pool.h include/openssl/rand.h include/openssl/rc4.h include/openssl/ripemd.h include/openssl/rsa.h include/openssl/safestack.h include/openssl/service_indicator.h include/openssl/sha.h include/openssl/siphash.h include/openssl/span.h include/openssl/srtp.h include/openssl/ssl.h include/openssl/ssl3.h include/openssl/stack.h include/openssl/target.h include/openssl/thread.h include/openssl/time.h include/openssl/tls1.h include/openssl/trust_token.h include/openssl/type_check.h include/openssl/x509.h include/openssl/x509_vfy.h include/openssl/x509v3.h +lib/cmake/OpenSSL/OpenSSLConfig.cmake +lib/cmake/OpenSSL/OpenSSLTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/OpenSSL/OpenSSLTargets.cmake lib/libcrypto.so lib/libcrypto.so.1 lib/libcrypto.so.1.0.0 lib/libssl.so lib/libssl.so.1 lib/libssl.so.1.0.0