Date: Mon, 15 Jan 2018 17:17:01 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459096 - in head/security/botan2: . files Message-ID: <201801151717.w0FHH18u063528@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tremere@cainites.net> (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 <bsd.port.options.mk> + +.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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801151717.w0FHH18u063528>