From owner-svn-ports-head@freebsd.org Mon Jan 15 17:17:10 2018 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 AE5B6EBC2B9; Mon, 15 Jan 2018 17:17:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49BC082BAA; Mon, 15 Jan 2018 17:17:03 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E607614152; Mon, 15 Jan 2018 17:17:01 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0FHH1EU063531; Mon, 15 Jan 2018 17:17:01 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0FHH18u063528; Mon, 15 Jan 2018 17:17:01 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801151717.w0FHH18u063528@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 15 Jan 2018 17:17:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459096 - in head/security/botan2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/security/botan2: . files X-SVN-Commit-Revision: 459096 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.25 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: Mon, 15 Jan 2018 17:17:10 -0000 Author: sunpoet Date: Mon Jan 15 17:17:01 2018 New Revision: 459096 URL: https://svnweb.freebsd.org/changeset/ports/459096 Log: Update security/botan2 to 2.4.0 - Fix build on aarch64 - While I'm here: - Strip shared library in post-install: - Do not silence installation message - Bump PORTREVISION of dependent ports for shlib change Changes: https://botan.randombit.net/news.html PR: 225085 Submitted by: Ralf van der Enden (maintainer) Deleted: head/security/botan2/files/ Modified: head/security/botan2/Makefile head/security/botan2/distinfo head/security/botan2/pkg-plist Modified: head/security/botan2/Makefile ============================================================================== --- head/security/botan2/Makefile Mon Jan 15 17:16:56 2018 (r459095) +++ head/security/botan2/Makefile Mon Jan 15 17:17:01 2018 (r459096) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= botan -DISTVERSION= 2.3.0 +DISTVERSION= 2.4.0 CATEGORIES= security MASTER_SITES= http://botan.randombit.net/releases/ PKGNAMESUFFIX= 2 @@ -15,8 +15,6 @@ LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs -BROKEN_aarch64= fails to compile: ./src/lib/block/aes/aes_armv8/aes_armv8.cpp:40:25: use of undeclared identifier 'vaeseq_u8' - OPTIONS_DEFINE= SQLITE3 SSL DOCS OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes @@ -42,13 +40,25 @@ SSL_USES= ssl SSL_CONFIGURE_WITH= openssl SSL_VARS= BROKEN_SSL= openssl-devel +.include + +.if ${ARCH} == aarch64 +CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto" +.endif + +.if ${ARCH} == i386 || ${ARCH} == amd64 +PLIST_SUB+= HAS_RDRAND_RNG="" +.else +PLIST_SUB+= HAS_RDRAND_RNG="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \ ${WRKSRC}/src/build-data/cc/clang.txt -post-stage: -.for i in bin/botan lib/libbotan-2.so.3.3.0 - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${i} +post-install: +.for i in bin/botan lib/libbotan-2.so.4.4.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${i} .endfor .include Modified: head/security/botan2/distinfo ============================================================================== --- head/security/botan2/distinfo Mon Jan 15 17:16:56 2018 (r459095) +++ head/security/botan2/distinfo Mon Jan 15 17:17:01 2018 (r459096) @@ -1,3 +1,3 @@ -TIMESTAMP = 1508527395 -SHA256 (Botan-2.3.0.tgz) = 39f970fee5986a4c3e425030aef50ac284da18596c004d1a9cce7688c4e6d47c -SIZE (Botan-2.3.0.tgz) = 5947072 +TIMESTAMP = 1515446913 +SHA256 (Botan-2.4.0.tgz) = ed9464e2a5cfee4cd3d9bd7a8f80673b45c8a0718db2181a73f5465a606608a5 +SIZE (Botan-2.4.0.tgz) = 6530714 Modified: head/security/botan2/pkg-plist ============================================================================== --- head/security/botan2/pkg-plist Mon Jan 15 17:16:56 2018 (r459095) +++ head/security/botan2/pkg-plist Mon Jan 15 17:17:01 2018 (r459096) @@ -8,6 +8,7 @@ include/botan-2/botan/asn1_alt_name.h include/botan-2/botan/asn1_attribute.h include/botan-2/botan/asn1_obj.h include/botan-2/botan/asn1_oid.h +include/botan-2/botan/asn1_print.h include/botan-2/botan/asn1_str.h include/botan-2/botan/asn1_time.h include/botan-2/botan/assert.h @@ -105,6 +106,7 @@ include/botan-2/botan/filters.h include/botan-2/botan/fpe_fe1.h include/botan-2/botan/gcm.h include/botan-2/botan/gf2m_small_m.h +include/botan-2/botan/ghash.h include/botan-2/botan/gmac.h include/botan-2/botan/gost_28147.h include/botan-2/botan/gost_3410.h @@ -151,6 +153,7 @@ include/botan-2/botan/mul128.h include/botan-2/botan/mutex.h include/botan-2/botan/name_constraint.h include/botan-2/botan/newhope.h +include/botan-2/botan/nist_keywrap.h include/botan-2/botan/noekeon.h include/botan-2/botan/numthry.h include/botan-2/botan/oaep.h @@ -196,10 +199,12 @@ include/botan-2/botan/polyn_gf2m.h include/botan-2/botan/pow_mod.h include/botan-2/botan/prf_tls.h include/botan-2/botan/prf_x942.h +include/botan-2/botan/psk_db.h +include/botan-2/botan/psk_db_sql.h include/botan-2/botan/pssr.h include/botan-2/botan/pubkey.h include/botan-2/botan/rc4.h -include/botan-2/botan/rdrand_rng.h +%%HAS_RDRAND_RNG%%include/botan-2/botan/rdrand_rng.h include/botan-2/botan/reducer.h include/botan-2/botan/rfc3394.h include/botan-2/botan/rfc6979.h @@ -296,7 +301,7 @@ include/botan-2/botan/xts.h include/botan-2/botan/zlib.h lib/libbotan-2.a lib/libbotan-2.so -lib/libbotan-2.so.3 -lib/libbotan-2.so.3.3.0 +lib/libbotan-2.so.4 +lib/libbotan-2.so.4.4.0 %%PYTHON_SITELIBDIR%%/botan2.py libdata/pkgconfig/botan-2.pc