Index: head/security/botan2/Makefile =================================================================== --- head/security/botan2/Makefile (revision 555219) +++ head/security/botan2/Makefile (revision 555220) @@ -1,85 +1,85 @@ # $FreeBSD$ PORTNAME= botan -DISTVERSION= 2.17.1 +DISTVERSION= 2.17.2 CATEGORIES= security MASTER_SITES= http://botan.randombit.net/releases/ PKGNAMESUFFIX= 2 DISTNAME= Botan-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Portable, easy to use and efficient C++ crypto library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt BROKEN_armv6= include/arm_neon.h:28:2: error: "NEON support not enabled" LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs USES= compiler:c++11-lang gmake shebangfix tar:xz USE_LDCONFIG= yes SHEBANG_FILES= configure.py src/python/botan2.py src/scripts/install.py HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --cc=${COMPILER_TYPE} \ --prefix=${PREFIX:Q} \ --with-boost \ --with-bzip2 \ --with-external-includedir=${LOCALBASE}/include \ --with-external-libdir=${LOCALBASE}/lib \ --with-lzma \ --with-zlib LDFLAGS+= -pthread DOCSDIR= ${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION} _SOABIVER= 17 _SHLIBVER= ${DISTVERSION:S/./ /g:[2]} _SHLIBVERPATCH= ${DISTVERSION:S/./ /g:[3]} PLIST_SUB= SOABIVER=${_SOABIVER} SHLIBVER=${_SHLIBVER} SHLIBVERPATCH=${_SHLIBVERPATCH} PORTDOCS= * OPTIONS_DEFINE= DOCS PYTHON SQLITE3 SSL OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_CONFIGURE_ON= --with-python-versions=${PYTHON_VER} PYTHON_CONFIGURE_OFF= --no-install-python-module SQLITE3_USES= sqlite SQLITE3_CONFIGURE_WITH= sqlite3 SSL_USES= ssl SSL_CONFIGURE_WITH= openssl .include .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto" .elif ${ARCH:Mpowerpc64*} CONFIGURE_ARGS+= --cpu="ppc64" .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 CONFIGURE_ARGS+= --without-os-features=getentropy,elf_aux_info .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-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/botan ${STAGEDIR}${PREFIX}/lib/libbotan-2.so.${_SOABIVER}.${_SHLIBVER}.${_SHLIBVERPATCH} .include Index: head/security/botan2/distinfo =================================================================== --- head/security/botan2/distinfo (revision 555219) +++ head/security/botan2/distinfo (revision 555220) @@ -1,3 +1,3 @@ -TIMESTAMP = 1604775880 -SHA256 (Botan-2.17.1.tar.xz) = 741358b3f1638ed7d9b2f59b4e344aa46f4966b15958b5434c0ac1580df0c0c1 -SIZE (Botan-2.17.1.tar.xz) = 5970240 +TIMESTAMP = 1605386323 +SHA256 (Botan-2.17.2.tar.xz) = ebe27dfe2b55d7e02bf520e926606c48b76b22facb483256b13ab38e018e1e6c +SIZE (Botan-2.17.2.tar.xz) = 5940964 Index: head/security/botan2/files/patch-fix-link-paths =================================================================== --- head/security/botan2/files/patch-fix-link-paths (nonexistent) +++ head/security/botan2/files/patch-fix-link-paths (revision 555220) @@ -0,0 +1,36 @@ +From 639a5c4515a36bcbadb82145d755005620c535c3 Mon Sep 17 00:00:00 2001 +From: Jack Lloyd +Date: Fri, 13 Nov 2020 18:04:09 -0500 +Subject: [PATCH] Fix use of -L flag when combined with --external-libdir + +GH #2496 +--- configure.py.orig 2020-11-14 16:39:43 UTC ++++ configure.py +@@ -2118,9 +2118,9 @@ def create_template_vars(source_paths, build_paths, op + + 'visibility_attribute': cc.gen_visibility_attribute(options), + +- 'lib_link_cmd': cc.so_link_command_for(osinfo.basename, options) + ' ' + external_link_cmd(), +- 'exe_link_cmd': cc.binary_link_command_for(osinfo.basename, options) + ' ' + external_link_cmd(), +- 'post_link_cmd': '', ++ 'lib_link_cmd': cc.so_link_command_for(osinfo.basename, options), ++ 'exe_link_cmd': cc.binary_link_command_for(osinfo.basename, options), ++ 'external_link_cmd': external_link_cmd(), + + 'ar_command': ar_command(), + 'ar_options': options.ar_options or cc.ar_options or osinfo.ar_options, + configure.py | 6 +++--- + src/build-data/makefile.in | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +--- src/build-data/makefile.in.orig 2020-11-07 07:43:35 UTC ++++ src/build-data/makefile.in +@@ -20,7 +20,7 @@ LDFLAGS = %{ldflags} + + EXE_LINK_CMD = %{exe_link_cmd} + +-LIB_LINKS_TO = %{link_to} ++LIB_LINKS_TO = %{external_link_cmd} %{link_to} + EXE_LINKS_TO = %{link_to_botan} $(LIB_LINKS_TO) + + BUILD_FLAGS = $(ABI_FLAGS) $(LANG_FLAGS) $(CXXFLAGS) $(WARN_FLAGS) Property changes on: head/security/botan2/files/patch-fix-link-paths ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property