From owner-svn-ports-head@freebsd.org Thu Jun 29 15:51:03 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B9B6DA0063; Thu, 29 Jun 2017 15:51:03 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 448E8647C0; Thu, 29 Jun 2017 15:51:03 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5TFp2UA071891; Thu, 29 Jun 2017 15:51:02 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5TFp1De071879; Thu, 29 Jun 2017 15:51:01 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201706291551.v5TFp1De071879@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 29 Jun 2017 15:51:01 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/security: . boringssl boringssl/files X-SVN-Commit-Revision: 444652 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 15:51:03 -0000 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 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 + #include + 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 + + #include 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