Date: Thu, 29 Jun 2017 15:51:01 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444652 - in head/security: . boringssl boringssl/files Message-ID: <201706291551.v5TFp1De071879@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Thu Jun 29 15:51:01 2017 New Revision: 444652 URL: https://svnweb.freebsd.org/changeset/ports/444652 Log: security/boringssl: create port Fork of OpenSSL that is designed to meet Google's needs WWW: https://github.com/google/boringssl Added: head/security/boringssl/ head/security/boringssl/Makefile (contents, props changed) head/security/boringssl/distinfo (contents, props changed) head/security/boringssl/files/ head/security/boringssl/files/patch-crypto_bio_bio__test.cc (contents, props changed) head/security/boringssl/files/patch-crypto_lhash_lhash__test.cc (contents, props changed) head/security/boringssl/pkg-descr (contents, props changed) head/security/boringssl/pkg-plist (contents, props changed) head/security/boringssl/version.mk (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Thu Jun 29 15:43:50 2017 (r444651) +++ head/security/Makefile Thu Jun 29 15:51:01 2017 (r444652) @@ -46,6 +46,7 @@ SUBDIR += bfbtester SUBDIR += binwalk SUBDIR += blindelephant + SUBDIR += boringssl SUBDIR += botan110 SUBDIR += bro SUBDIR += broccoli Added: head/security/boringssl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/Makefile Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= boringssl +PORTVERSION= 0.0.0.0.2017.06.28.01 +CATEGORIES= security + +MAINTAINER= swills@FreeBSD.org +COMMENT= Fork of OpenSSL + +BUILD_DEPENDS= go:lang/go + +USE_GITHUB= yes +GH_ACCOUNT= google +GH_TAGNAME= 3c97292 +USES= cmake localbase perl5 +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 +USE_LDCONFIG= yes +LDFLAGS+= -Wl,-rpath,${PREFIX}/lib + +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 + +test: build + cd ${WRKSRC} ; ${MAKE_CMD} run_tests + +.include <bsd.port.mk> Added: head/security/boringssl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/distinfo Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,3 @@ +TIMESTAMP = 1498679351 +SHA256 (google-boringssl-0.0.0.0.2017.06.28.01-3c97292_GH0.tar.gz) = 30df74b1bc32f9e6b34009bb4adc3c97c7cd1379ebd291f850dcee35d9b31cf6 +SIZE (google-boringssl-0.0.0.0.2017.06.28.01-3c97292_GH0.tar.gz) = 12809805 Added: head/security/boringssl/files/patch-crypto_bio_bio__test.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/files/patch-crypto_bio_bio__test.cc Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,13 @@ +--- crypto/bio/bio_test.cc.orig 2017-06-28 13:35:29 UTC ++++ crypto/bio/bio_test.cc +@@ -12,10 +12,6 @@ + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +-#if !defined(_POSIX_C_SOURCE) +-#define _POSIX_C_SOURCE 201410L +-#endif +- + #include <algorithm> + #include <string> + Added: head/security/boringssl/files/patch-crypto_lhash_lhash__test.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/files/patch-crypto_lhash_lhash__test.cc Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,13 @@ +--- crypto/lhash/lhash_test.cc.orig 2017-06-28 13:35:29 UTC ++++ crypto/lhash/lhash_test.cc +@@ -12,10 +12,6 @@ + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +-#if !defined(_POSIX_C_SOURCE) +-#define _POSIX_C_SOURCE 201410L +-#endif +- + #include <openssl/lhash.h> + + #include <stdio.h> Added: head/security/boringssl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/pkg-descr Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,3 @@ +Fork of OpenSSL that is designed to meet Google's needs + +WWW: https://github.com/google/boringssl Added: head/security/boringssl/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/pkg-plist Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1,79 @@ +bin/bssl +include/openssl/aead.h +include/openssl/aes.h +include/openssl/arm_arch.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/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/curve25519.h +include/openssl/des.h +include/openssl/dh.h +include/openssl/digest.h +include/openssl/dsa.h +include/openssl/dtls1.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/ex_data.h +include/openssl/hkdf.h +include/openssl/hmac.h +include/openssl/is_boringssl.h +include/openssl/lhash.h +include/openssl/lhash_macros.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/sha.h +include/openssl/srtp.h +include/openssl/ssl.h +include/openssl/ssl3.h +include/openssl/stack.h +include/openssl/thread.h +include/openssl/tls1.h +include/openssl/type_check.h +include/openssl/x509.h +include/openssl/x509_vfy.h +include/openssl/x509v3.h +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 Added: head/security/boringssl/version.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/boringssl/version.mk Thu Jun 29 15:51:01 2017 (r444652) @@ -0,0 +1 @@ +OPENSSL_SHLIBVER?= 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706291551.v5TFp1De071879>